/* Base styles for the promotions page */
.page-promotions {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Main text color */
    background-color: #0A0A0A; /* Page background color */
}

/* Hero Section */
.page-promotions__hero-section {
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Ensure consistent background */
}

.page-promotions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 15px;
}

.page-promotions__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-promotions__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Accent color for title */
}

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

.page-promotions__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    color: #FFF6D6;
    transform: translateY(-2px);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #FFD36B;
    border: 2px solid #FFD36B;
    box-shadow: 0 2px 10px rgba(255, 211, 107, 0.2);
}

.page-promotions__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    transform: translateY(-2px);
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
}

.page-promotions__btn-small:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    color: #FFF6D6;
}

.page-promotions__hero-image {
    flex: 1 1 40%;
    min-width: 280px;
    text-align: center;
}

.page-promotions__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* General Section Styles */
.page-promotions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Primary color for section titles */
}

.page-promotions__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #FFF6D6;
}

/* Promo List Section */
.page-promotions__promo-list-section {
    background-color: #0A0A0A;
    padding-bottom: 60px;
}

.page-promotions__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__promo-card {
    background-color: #111111; /* Card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
}

.page-promotions__promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.page-promotions__promo-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2C14E; /* Primary color for card titles */
}

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

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

.page-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-item {
    background-color: #111111;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border color */
}

.page-promotions__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 211, 107, 0.5);
}

.page-promotions__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-promotions__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
}

.page-promotions__center-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-promotions__faq-section {
    background-color: #0A0A0A;
    padding-bottom: 80px;
}

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

.page-promotions__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2C14E;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-promotions__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #FFF6D6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    transition: max-height 0.5s ease-in;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-promotions__hero-content {
        text-align: center;
    }
    .page-promotions__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-promotions__cta-buttons {
        justify-content: center;
    }
    .page-promotions__hero-image {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    /* HERO section */
    .page-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding, no var(--header-offset) */
        padding-bottom: 40px;
    }
    .page-promotions__hero-container {
        padding: 20px 15px;
        gap: 20px;
    }
    .page-promotions__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-promotions__hero-description {
        font-size: 1rem;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-small {
        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-promotions__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Ensure buttons wrap */
    }

    /* General content area */
    .page-promotions__content-area {
        padding: 30px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    .page-promotions__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Promo List Section */
    .page-promotions__promo-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-promotions__promo-card-image {
        height: 180px; /* Slightly smaller image height */
    }
    .page-promotions__promo-card-title {
        font-size: 1.2rem;
    }
    .page-promotions__promo-card-text {
        font-size: 0.9rem;
    }

    /* How to Claim Section */
    .page-promotions__steps-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }
    .page-promotions__step-item {
        padding: 25px;
    }
    .page-promotions__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    .page-promotions__step-title {
        font-size: 1.3rem;
    }
    .page-promotions__step-text {
        font-size: 0.9rem;
    }

    /* FAQ Section */
    .page-promotions__faq-list {
        margin-top: 30px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-toggle {
        font-size: 1.5rem;
    }
    .page-promotions__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* Universal image and container adaptation for mobile */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__promo-list-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}