/* style/index-game-highlights.css */

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

/* Body background is handled by shared.css var(--bg-color) which is #0A0A0A (dark) */
.page-index-game-highlights {
    color: var(--winslot-text-main); /* Light text on dark background */
    background-color: var(--winslot-bg); /* Ensure consistency if shared.css doesn't apply to main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding to the bottom of the main content */
}

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

.page-index-game-highlights__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-game-highlights__section-title {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--winslot-secondary-color);
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-index-game-highlights__text-block {
    font-size: 1.1em;
    color: var(--winslot-text-main);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-game-highlights__highlight {
    color: var(--winslot-secondary-color);
    font-weight: bold;
}

.page-index-game-highlights__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    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;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-index-game-highlights__btn-primary {
    background: var(--button-gradient);
    color: #000000; /* Dark text for gradient button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-index-game-highlights__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-index-game-highlights__btn-secondary {
    background-color: transparent;
    color: var(--winslot-secondary-color);
    border: 2px solid var(--winslot-secondary-color);
    box-shadow: 0 2px 10px rgba(255, 211, 107, 0.2);
}

.page-index-game-highlights__btn-secondary:hover {
    background-color: var(--winslot-secondary-color);
    color: var(--winslot-card-bg); /* Dark text on secondary hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

/* Video Section */
.page-index-game-highlights__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Adjusted padding-top as per instructions */
    background-color: var(--winslot-bg);
}

.page-index-game-highlights__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

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

.page-index-game-highlights__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-index-game-highlights__video-content {
    max-width: 1000px;
    margin-top: 40px;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-index-game-highlights__main-title {
    font-size: 3.5em;
    font-weight: bold;
    color: var(--winslot-secondary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-index-game-highlights__main-description {
    font-size: 1.3em;
    color: var(--winslot-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.page-index-game-highlights__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-game-highlights__feature-card {
    background-color: var(--winslot-card-bg);
    border: 1px solid var(--winslot-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(--winslot-text-main);
}

.page-index-game-highlights__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--winslot-glow-color);
}

.page-index-game-highlights__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-index-game-highlights__feature-title {
    font-size: 1.8em;
    color: var(--winslot-secondary-color);
    margin-bottom: 15px;
}

.page-index-game-highlights__feature-description {
    font-size: 1em;
    line-height: 1.7;
}

/* Game Categories */
.page-index-game-highlights__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-game-highlights__game-card {
    background-color: var(--winslot-card-bg);
    border: 1px solid var(--winslot-border-color);
    border-radius: 12px;
    padding: 25px;
    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(--winslot-text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-highlights__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--winslot-glow-color);
}

.page-index-game-highlights__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-index-game-highlights__game-title {
    font-size: 1.6em;
    color: var(--winslot-secondary-color);
    margin-bottom: 10px;
}

.page-index-game-highlights__game-description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-index-game-highlights__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Getting Started Section */
.page-index-game-highlights__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-game-highlights__step-card {
    background-color: var(--winslot-card-bg);
    border: 1px solid var(--winslot-border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--winslot-text-main);
}

.page-index-game-highlights__step-title {
    font-size: 1.5em;
    color: var(--winslot-primary-color);
    margin-bottom: 15px;
}

.page-index-game-highlights__step-description {
    font-size: 1em;
    line-height: 1.7;
}

.page-index-game-highlights__getting-started-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile App Section */
.page-index-game-highlights__mobile-app-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsible Gaming Section */
.page-index-game-highlights__responsible-gaming-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Support Section */
.page-index-game-highlights__support-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-index-game-highlights__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-index-game-highlights__faq-item {
    background-color: var(--winslot-card-bg);
    border: 1px solid var(--winslot-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;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--winslot-secondary-color);
    background-color: var(--winslot-card-bg);
    transition: background-color 0.3s ease;
}

.page-index-game-highlights__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.1);
}

.page-index-game-highlights__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--winslot-primary-color);
}

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--winslot-text-main);
    font-size: 1em;
    line-height: 1.7;
}

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

.page-index-game-highlights__faq-answer p {
    margin: 0;
}

/* Partners Section */
.page-index-game-highlights__partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 2x5 grid */
    gap: 20px;
    margin-top: 50px;
    justify-items: center;
    align-items: center;
}

.page-index-game-highlights__partner-logo {
    width: 167px;
    height: 127px;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.2); /* Subtle effect, not changing color */
    transition: filter 0.3s ease;
}

.page-index-game-highlights__partner-logo:hover {
    filter: brightness(1) grayscale(0); /* Remove filter on hover */
}

/* Join Today Section */
.page-index-game-highlights__join-today-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-game-highlights__section-title {
        font-size: 2.2em;
    }
    .page-index-game-highlights__main-title {
        font-size: 2.8em;
    }
    .page-index-game-highlights__main-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-index-game-highlights__section-title {
        font-size: 1.8em;
    }
    .page-index-game-highlights__main-title {
        font-size: 2.2em;
    }
    .page-index-game-highlights__main-description {
        font-size: 1em;
    }

    .page-index-game-highlights__video-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

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

    .page-index-game-highlights__video-content {
        padding: 0 15px;
        margin-top: 20px;
    }

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .page-index-game-highlights__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-game-highlights__section {
        padding: 40px 0;
    }

    .page-index-game-highlights__features-grid,
    .page-index-game-highlights__game-categories,
    .page-index-game-highlights__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-game-highlights__feature-card,
    .page-index-game-highlights__game-card,
    .page-index-game-highlights__step-card {
        padding: 20px;
    }

    .page-index-game-highlights__feature-image,
    .page-index-game-highlights__game-image,
    .page-index-game-highlights__promo-image,
    .page-index-game-highlights__getting-started-image,
    .page-index-game-highlights__mobile-app-image,
    .page-index-game-highlights__responsible-gaming-image,
    .page-index-game-highlights__support-image,
    .page-index-game-highlights__join-today-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-index-game-highlights__partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 5x2 grid for mobile */
        gap: 15px;
    }

    .page-index-game-highlights__partner-logo {
        width: 100% !important;
        height: auto !important; /* Allow height to adjust */
        max-width: 120px; /* Max width to prevent them from being too large */
    }

    .page-index-game-highlights__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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

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

@media (max-width: 480px) {
    .page-index-game-highlights__main-title {
        font-size: 1.8em;
    }
    .page-index-game-highlights__section-title {
        font-size: 1.5em;
    }
    .page-index-game-highlights__partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ensure no image filters */
.page-index-game-highlights img {
    filter: none; /* Explicitly remove any default filters */
}

/* Specific filter for partner logos, which is allowed as it's not changing original color */
.page-index-game-highlights__partner-logo {
    filter: brightness(0.8) grayscale(0.2); /* Subtle effect, not changing color */
}

.page-index-game-highlights__partner-logo:hover {
    filter: brightness(1) grayscale(0); /* Remove filter on hover */
}