:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-index-game-highlights {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Body is dark, so text is light */
    background-color: var(--background-color);
    line-height: 1.6;
}

.page-index-game-highlights__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom */
    text-align: center;
    overflow: hidden;
}

.page-index-game-highlights__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-index-game-highlights__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-index-game-highlights__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.page-index-game-highlights__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-index-game-highlights__hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.5;
    color: var(--text-main-color);
}

.page-index-game-highlights__section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-game-highlights__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-index-game-highlights__section-description {
    font-size: 1.1rem;
    color: var(--text-main-color);
}

.page-index-game-highlights__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-game-highlights__btn-primary,
.page-index-game-highlights__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-game-highlights__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* Button text always white */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-index-game-highlights__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-index-game-highlights__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index-game-highlights__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

.page-index-game-highlights__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px;
}

.page-index-game-highlights__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-game-highlights__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-index-game-highlights__game-portfolio,
.page-index-game-highlights__core-features,
.page-index-game-highlights__getting-started,
.page-index-game-highlights__community,
.page-index-game-highlights__faq-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index-game-highlights__game-grid,
.page-index-game-highlights__feature-grid,
.page-index-game-highlights__steps-grid,
.page-index-game-highlights__resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-game-highlights__card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-index-game-highlights__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-index-game-highlights__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure min size */
    min-height: 200px;
}

.page-index-game-highlights__card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-index-game-highlights__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-game-highlights__card-title a:hover {
    text-decoration: underline;
}

.page-index-game-highlights__card-text {
    font-size: 1rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-index-game-highlights__card-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--background-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-index-game-highlights__card-link:hover {
    background: var(--secondary-color);
}

.page-index-game-highlights__cta-banner {
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    margin-bottom: 80px;
}

.page-index-game-highlights__cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay to ensure text readability */
    z-index: 0;
}

.page-index-game-highlights__cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-index-game-highlights__cta-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-index-game-highlights__cta-description {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-index-game-highlights__faq-list {
    margin-top: 40px;
}

.page-index-game-highlights__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-game-highlights__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background: var(--card-bg);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.page-index-game-highlights__faq-question:hover {
    background: rgba(242, 193, 78, 0.1);
}

.page-index-game-highlights__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-index-game-highlights__faq-item.active .page-index-game-highlights__faq-toggle {
    transform: rotate(45deg);
}

.page-index-game-highlights__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main-color);
}

.page-index-game-highlights__faq-item.active .page-index-game-highlights__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 30px;
}

.page-index-game-highlights__faq-answer p {
    margin-bottom: 0;
    font-size: 1rem;
}

.page-index-game-highlights__copyright-section {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
}

.page-index-game-highlights__copyright-text {
    font-size: 0.9rem;
    color: #888;
}

.page-index-game-highlights__copyright-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-index-game-highlights__copyright-text a:hover {
    text-decoration: underline;
}

.highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-index-game-highlights {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-game-highlights__hero-content {
        padding: 60px 15px;
    }

    .page-index-game-highlights__main-title {
        font-size: 2.2rem;
    }

    .page-index-game-highlights__hero-description {
        font-size: 1rem;
    }

    .page-index-game-highlights__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-index-game-highlights__btn-primary,
    .page-index-game-highlights__btn-secondary,
    .page-index-game-highlights a[class*="button"],
    .page-index-game-highlights a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-game-highlights__section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .page-index-game-highlights__section-title {
        font-size: 1.8rem;
    }

    .page-index-game-highlights__section-description {
        font-size: 1rem;
    }

    .page-index-game-highlights__video-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-game-highlights__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-game-highlights__game-portfolio,
    .page-index-game-highlights__core-features,
    .page-index-game-highlights__getting-started,
    .page-index-game-highlights__community,
    .page-index-game-highlights__faq-section {
        padding: 60px 15px;
    }

    .page-index-game-highlights__game-grid,
    .page-index-game-highlights__feature-grid,
    .page-index-game-highlights__steps-grid,
    .page-index-game-highlights__resource-grid {
        grid-template-columns: 1fr;
    }

    .page-index-game-highlights__card {
        padding: 25px;
    }

    .page-index-game-highlights__card-image {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-index-game-highlights__cta-banner {
        padding: 80px 15px;
    }

    .page-index-game-highlights__cta-title {
        font-size: 2rem;
    }

    .page-index-game-highlights__cta-description {
        font-size: 1rem;
    }

    .page-index-game-highlights__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-index-game-highlights__faq-answer {
        padding: 0 20px;
    }

    .page-index-game-highlights__faq-item.active .page-index-game-highlights__faq-answer {
        padding: 15px 20px;
    }

    .page-index-game-highlights__copyright-section {
        padding: 30px 15px;
    }

    .page-index-game-highlights img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-index-game-highlights__section,
    .page-index-game-highlights__card,
    .page-index-game-highlights__container,
    .page-index-game-highlights__cta-buttons,
    .page-index-game-highlights__button-group,
    .page-index-game-highlights__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}