/* style/index-b66-platform-overview.css */

:root {
    --page-index-b66-platform-overview__primary-color: #017439;
    --page-index-b66-platform-overview__secondary-color: #FFFFFF;
    --page-index-b66-platform-overview__dark-background: #121212; /* From shared.css body background */
    --page-index-b66-platform-overview__light-text: #ffffff;
    --page-index-b66-platform-overview__dark-text: #333333;
    --page-index-b66-platform-overview__register-login-bg: #C30808;
    --page-index-b66-platform-overview__register-login-text: #ffffff; /* Adjusted for WCAG AA contrast */
}

.page-index-b66-platform-overview {
    color: var(--page-index-b66-platform-overview__light-text); /* Default text color for dark body background */
    background-color: var(--page-index-b66-platform-overview__dark-background);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-index-b66-platform-overview__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-b66-platform-overview__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px);
    min-height: 600px;
    overflow: hidden;
    color: var(--page-index-b66-platform-overview__light-text);
}

.page-index-b66-platform-overview__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-index-b66-platform-overview__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.page-index-b66-platform-overview__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-index-b66-platform-overview__light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-b66-platform-overview__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    color: var(--page-index-b66-platform-overview__light-text);
}

.page-index-b66-platform-overview__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-b66-platform-overview__btn-primary,
.page-index-b66-platform-overview__btn-secondary,
.page-index-b66-platform-overview__step-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-b66-platform-overview__btn-primary {
    background-color: var(--page-index-b66-platform-overview__primary-color);
    color: var(--page-index-b66-platform-overview__secondary-color);
    border: 2px solid var(--page-index-b66-platform-overview__primary-color);
}

.page-index-b66-platform-overview__btn-primary:hover {
    background-color: #015f2f;
    transform: translateY(-2px);
}

.page-index-b66-platform-overview__btn-secondary {
    background-color: transparent;
    color: var(--page-index-b66-platform-overview__primary-color);
    border: 2px solid var(--page-index-b66-platform-overview__primary-color);
}

.page-index-b66-platform-overview__btn-secondary:hover {
    background-color: var(--page-index-b66-platform-overview__primary-color);
    color: var(--page-index-b66-platform-overview__secondary-color);
    transform: translateY(-2px);
}

/* Specific button styles for Register/Login */
.page-index-b66-platform-overview__btn-register-login {
    background-color: var(--page-index-b66-platform-overview__register-login-bg);
    color: var(--page-index-b66-platform-overview__register-login-text);
    border: 2px solid var(--page-index-b66-platform-overview__register-login-bg);
}

.page-index-b66-platform-overview__btn-register-login:hover {
    background-color: #a30707;
    transform: translateY(-2px);
}

.page-index-b66-platform-overview__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-b66-platform-overview__dark-bg {
    background-color: var(--page-index-b66-platform-overview__dark-background);
    color: var(--page-index-b66-platform-overview__light-text);
}

.page-index-b66-platform-overview__light-bg {
    background-color: var(--page-index-b66-platform-overview__secondary-color);
    color: var(--page-index-b66-platform-overview__dark-text);
}

.page-index-b66-platform-overview__about-section,
.page-index-b66-platform-overview__features-section,
.page-index-b66-platform-overview__games-section,
.page-index-b66-platform-overview__download-section,
.page-index-b66-platform-overview__promo-section,
.page-index-b66-platform-overview__faq-section,
.page-index-b66-platform-overview__cta-final-section {
    padding: 80px 0;
}

.page-index-b66-platform-overview__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-index-b66-platform-overview__features-grid,
.page-index-b66-platform-overview__games-grid,
.page-index-b66-platform-overview__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-b66-platform-overview__feature-card,
.page-index-b66-platform-overview__game-card,
.page-index-b66-platform-overview__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-index-b66-platform-overview__light-text);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-index-b66-platform-overview__light-bg .page-index-b66-platform-overview__feature-card,
.page-index-b66-platform-overview__light-bg .page-index-b66-platform-overview__game-card,
.page-index-b66-platform-overview__light-bg .page-index-b66-platform-overview__promo-card {
    background-color: var(--page-index-b66-platform-overview__secondary-color);
    color: var(--page-index-b66-platform-overview__dark-text);
    border: 1px solid #e0e0e0;
}

.page-index-b66-platform-overview__feature-card:hover,
.page-index-b66-platform-overview__game-card:hover,
.page-index-b66-platform-overview__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-b66-platform-overview__feature-icon,
.page-index-b66-platform-overview__game-image,
.page-index-b66-platform-overview__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-b66-platform-overview__feature-title,
.page-index-b66-platform-overview__game-title,
.page-index-b66-platform-overview__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--page-index-b66-platform-overview__primary-color);
}

.page-index-b66-platform-overview__dark-bg .page-index-b66-platform-overview__feature-title,
.page-index-b66-platform-overview__dark-bg .page-index-b66-platform-overview__game-title,
.page-index-b66-platform-overview__dark-bg .page-index-b66-platform-overview__promo-title {
    color: var(--page-index-b66-platform-overview__light-text);
}

.page-index-b66-platform-overview__game-title a,
.page-index-b66-platform-overview__promo-title a {
    text-decoration: none;
    color: inherit;
}

.page-index-b66-platform-overview__game-title a:hover,
.page-index-b66-platform-overview__promo-title a:hover {
    text-decoration: underline;
}

.page-index-b66-platform-overview__feature-description,
.page-index-b66-platform-overview__game-description,
.page-index-b66-platform-overview__promo-description {
    font-size: 1em;
    flex-grow: 1;
}

.page-index-b66-platform-overview__download-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-b66-platform-overview__download-steps li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--page-index-b66-platform-overview__light-text);
}

.page-index-b66-platform-overview__step-number {
    background-color: var(--page-index-b66-platform-overview__primary-color);
    color: var(--page-index-b66-platform-overview__secondary-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-index-b66-platform-overview__step-link {
    color: var(--page-index-b66-platform-overview__primary-color);
    text-decoration: underline;
}

.page-index-b66-platform-overview__step-link:hover {
    color: #015f2f;
}

.page-index-b66-platform-overview__dark-bg .page-index-b66-platform-overview__step-link {
    color: #90ee90; /* Lighter green for contrast on dark background */
}

.page-index-b66-platform-overview__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-index-b66-platform-overview__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-b66-platform-overview__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--page-index-b66-platform-overview__primary-color);
    color: var(--page-index-b66-platform-overview__light-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-b66-platform-overview__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
}

.page-index-b66-platform-overview__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-index-b66-platform-overview__faq-item.active .page-index-b66-platform-overview__faq-toggle {
    transform: rotate(45deg);
}

.page-index-b66-platform-overview__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--page-index-b66-platform-overview__light-text);
}

.page-index-b66-platform-overview__faq-item.active .page-index-b66-platform-overview__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-index-b66-platform-overview__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-index-b66-platform-overview__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
}

.page-index-b66-platform-overview__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-index-b66-platform-overview__text-center {
    text-align: center;
}

/* Image global responsive styles */
.page-index-b66-platform-overview img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
    .page-index-b66-platform-overview__hero-title {
        font-size: 3em;
    }
    .page-index-b66-platform-overview__section-title {
        font-size: 2em;
    }
    .page-index-b66-platform-overview__features-grid,
    .page-index-b66-platform-overview__games-grid,
    .page-index-b66-platform-overview__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-b66-platform-overview {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-b66-platform-overview__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
        min-height: 500px;
    }
    .page-index-b66-platform-overview__hero-title {
        font-size: 2.5em;
    }
    .page-index-b66-platform-overview__hero-description {
        font-size: 1.1em;
    }
    .page-index-b66-platform-overview__section-title {
        font-size: 1.8em;
    }
    .page-index-b66-platform-overview__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-b66-platform-overview__btn-primary,
    .page-index-b66-platform-overview__btn-secondary,
    .page-index-b66-platform-overview__step-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-index-b66-platform-overview__features-grid,
    .page-index-b66-platform-overview__games-grid,
    .page-index-b66-platform-overview__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-index-b66-platform-overview__about-section,
    .page-index-b66-platform-overview__features-section,
    .page-index-b66-platform-overview__games-section,
    .page-index-b66-platform-overview__download-section,
    .page-index-b66-platform-overview__promo-section,
    .page-index-b66-platform-overview__faq-section,
    .page-index-b66-platform-overview__cta-final-section {
        padding: 60px 0;
    }
    .page-index-b66-platform-overview__container {
        padding: 0 15px;
    }
    .page-index-b66-platform-overview img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-b66-platform-overview__video-section video,
    .page-index-b66-platform-overview__video-container video,
    .page-index-b66-platform-overview__video-wrapper video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-b66-platform-overview__video-section,
    .page-index-b66-platform-overview__video-container,
    .page-index-b66-platform-overview__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-index-b66-platform-overview__faq-question {
        padding: 15px;
    }
    .page-index-b66-platform-overview__faq-answer {
        padding: 0 15px;
    }
    .page-index-b66-platform-overview__faq-item.active .page-index-b66-platform-overview__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-b66-platform-overview__hero-title {
        font-size: 2em;
    }
    .page-index-b66-platform-overview__hero-description {
        font-size: 1em;
    }
    .page-index-b66-platform-overview__section-title {
        font-size: 1.5em;
    }
    .page-index-b66-platform-overview__btn-primary--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}