/* style/promo.css */
/* Body background is #0A0A0A (dark), so main text color should be #FFF6D6 (light) */
.page-promo {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

/* --- Hero Section --- */
.page-promo__hero-section {
    display: flex;
    flex-direction: column; /* Default for mobile, will change for desktop */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0A0A0A; /* Ensure consistency */
    position: relative;
    overflow: hidden;
}

.page-promo__hero-content-wrapper {
    max-width: 800px;
    margin-bottom: 30px; /* Space between content and image on mobile */
    z-index: 2; /* Ensure content is above image if any overlap */
}

.page-promo__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color for emphasis */
    letter-spacing: 1px;
}

.page-promo__hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-promo__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons on mobile */
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.page-promo__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-top: 30px; /* Space between content and image on desktop */
    z-index: 1;
}

.page-promo__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.5); /* Subtle glow effect */
}

/* --- Buttons --- */
.page-promo__btn-primary,
.page-promo__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promo__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for contrast */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

.page-promo__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Main color for text */
    border: 2px solid #F2C14E; /* Border color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promo__btn-secondary:hover {
    background: #F2C14E; /* Main color for background */
    color: #111111; /* Dark text for contrast */
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.5);
    transform: translateY(-2px);
}

/* --- Section Titles & Descriptions --- */
.page-promo__section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color */
    letter-spacing: 0.5px;
}

.page-promo__section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #FFF6D6;
}

/* --- Video Section --- */
.page-promo__video-section {
    padding: 60px 20px;
    background-color: #0A0A0A;
    text-align: center;
    padding-top: 10px; /* Small top padding for video section */
}

.page-promo__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* Ensure video doesn't overflow */
}

.page-promo__video-link {
    display: block; /* Make the whole video clickable */
    text-decoration: none;
    cursor: pointer;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.5);
}

.page-promo__video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.page-promo__video-link:hover .page-promo__video {
    transform: scale(1.02);
}

/* --- Promotions Grid --- */
.page-promo__promotions-grid {
    padding: 60px 20px;
    background-color: #0A0A0A;
}

.page-promo__cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-promo__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promo__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.4);
}

.page-promo__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promo__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promo__card-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD36B;
}

.page-promo__card-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-promo__card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-promo__card-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.page-promo__card-features li::before {
    content: '✓';
    color: #F2C14E; /* Main color */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-promo__full-cta {
    text-align: center;
    margin-top: 60px;
    background-color: #111111; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3A2A12;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo__full-cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #FFF6D6;
    line-height: 1.6;
}

/* --- How to Claim Section --- */
.page-promo__how-to-claim {
    padding: 60px 20px;
    background-color: #0A0A0A;
}

.page-promo__steps-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-promo__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    gap: 20px;
}

.page-promo__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    flex-shrink: 0;
    line-height: 1;
}

.page-promo__step-content {
    flex-grow: 1;
}

.page-promo__step-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFD36B;
}

.page-promo__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
    margin-bottom: 15px;
}

/* --- Featured Games Section --- */
.page-promo__featured-games {
    padding: 60px 20px;
    background-color: #0A0A0A;
}

.page-promo__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-promo__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promo__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.4);
}

.page-promo__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-promo__game-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promo__game-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-promo__game-link {
    color: #FFD36B; /* Glow color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promo__game-link:hover {
    color: #F2C14E; /* Main color */
    text-decoration: underline;
}

.page-promo__game-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #FFF6D6;
    margin-bottom: 15px;
}

/* --- Why Choose Section --- */
.page-promo__why-choose {
    padding: 60px 20px;
    background-color: #0A0A0A;
}

.page-promo__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.page-promo__feature-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-promo__feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD36B;
}

.page-promo__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
    flex-grow: 1; /* Allow text to push buttons down */
    margin-bottom: 20px;
}

/* --- FAQ Section --- */
.page-promo__faq-section {
    padding: 60px 20px;
    background-color: #0A0A0A;
}

.page-promo__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-promo__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promo__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111;
    transition: background-color 0.3s ease;
}

.page-promo__faq-question h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFD36B;
    margin: 0;
    flex-grow: 1;
}

.page-promo__faq-toggle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #F2C14E;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes cross */
}

.page-promo__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #0A0A0A; /* Darker background for answer */
    color: #FFF6D6;
}

.page-promo__faq-item.active .page-promo__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure override */
    padding: 15px 25px 25px 25px;
}

.page-promo__faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* --- Responsible Gaming Section --- */
.page-promo__responsible-gaming {
    padding: 60px 20px;
    background-color: #111111; /* Card BG for distinction */
    text-align: center;
    border-top: 1px solid #3A2A12;
}

/* --- Final CTA Section --- */
.page-promo__final-cta {
    padding: 60px 20px;
    background-color: #0A0A0A;
    text-align: center;
}

/* --- Media Queries --- */
/* Desktop (larger screens) */
@media (min-width: 769px) {
    .page-promo__hero-section {
        flex-direction: row; /* Side-by-side layout */
        text-align: left;
        padding-top: 60px; /* Adjust for desktop */
        gap: 40px;
    }

    .page-promo__hero-content-wrapper {
        margin-bottom: 0;
        flex: 1;
    }

    .page-promo__hero-image-wrapper {
        margin-top: 0;
        flex: 1;
    }

    .page-promo__cta-buttons {
        flex-direction: row; /* Horizontal buttons on desktop */
        justify-content: flex-start;
    }

    .page-promo__step-item {
        align-items: center; /* Align vertically for steps */
    }
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .page-promo {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promo__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-promo__hero-description,
    .page-promo__section-description,
    .page-promo__full-cta-text {
        font-size: 1rem;
    }

    .page-promo__section-title {
        font-size: 2rem;
    }

    .page-promo__cta-buttons {
        flex-direction: column; /* Stack buttons */
        gap: 10px;
        width: 100%;
        padding: 0 15px; /* Add padding to buttons container */
        box-sizing: border-box;
    }

    .page-promo__btn-primary,
    .page-promo__btn-secondary {
        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;
    }

    /* Video responsiveness */
    .page-promo__video-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-promo__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Add padding to video container */
    }

    .page-promo__video {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    /* Image responsiveness */
    .page-promo img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        display: block !important;
    }

    .page-promo__section,
    .page-promo__card,
    .page-promo__container,
    .page-promo__promotions-grid,
    .page-promo__how-to-claim,
    .page-promo__featured-games,
    .page-promo__why-choose,
    .page-promo__faq-section,
    .page-promo__responsible-gaming,
    .page-promo__final-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promo__card-image {
        height: 200px; /* Adjust card image height for mobile */
    }

    .page-promo__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .page-promo__step-number {
        margin-bottom: 15px;
    }

    .page-promo__step-content .page-promo__btn-secondary {
        margin-top: 15px;
    }
}