/* General styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Main text color for dark background */
    line-height: 1.6;
    background-color: #0D0E12; /* Fallback/section background */
}

.page-promotions__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-promotions__section-title {
    font-size: 36px;
    color: #FFB04D; /* Glow color for titles */
    margin-bottom: 15px;
    font-weight: 700;
}

.page-promotions__section-subtitle {
    font-size: 18px;
    color: rgba(255, 243, 230, 0.8);
    margin-bottom: 40px;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 810px; /* Keep aspect ratio but limit height */
}

.page-promotions__hero-content {
    position: relative;
    padding: 40px 20px;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    background: rgba(13, 14, 18, 0.8); /* Dark background for readability */
    border-radius: 8px;
    margin-top: -80px; /* Pull content up slightly over the image if desired, but not *on* the image */
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.page-promotions__hero-title {
    font-size: 48px;
    color: #FFB04D;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 600px; /* Constrain H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-description {
    font-size: 20px;
    color: #FFF3E6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt to container */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
    filter: brightness(1.1);
}

.page-promotions__btn-secondary {
    background: transparent;
    color: #FFA53A;
    border: 2px solid #FFA53A;
    box-shadow: 0 4px 10px rgba(255, 165, 58, 0.2);
}

.page-promotions__btn-secondary:hover {
    transform: translateY(-3px);
    background: #FFA53A;
    color: #17191F;
    box-shadow: 0 6px 15px rgba(255, 165, 58, 0.4);
}

/* Promotions Grid */
.page-promotions__promotions-grid {
    background-color: #17191F; /* Card BG color */
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-promotions__promotion-card {
    background-color: #0D0E12; /* Background color for cards */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

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

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-promotions__card-title {
    font-size: 24px;
    color: #FFB04D;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-promotions__card-title a:hover {
    text-decoration: underline;
}

.page-promotions__card-description {
    font-size: 16px;
    color: rgba(255, 243, 230, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 30px;
    align-self: flex-start;
}

.page-promotions__card-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* How to Claim Section */
.page-promotions__how-to-claim {
    background-color: #0D0E12;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-promotions__claim-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-promotions__step-item {
    background-color: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-promotions__step-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 2px solid #FFA53A;
}

.page-promotions__step-title {
    font-size: 22px;
    color: #FFA53A;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-promotions__step-description {
    font-size: 15px;
    color: rgba(255, 243, 230, 0.7);
}

.page-promotions__claim-cta {
    margin-top: 60px;
}

/* Terms and Conditions Summary */
.page-promotions__terms-conditions-summary {
    background-color: #17191F;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-promotions__terms-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: rgba(255, 243, 230, 0.8);
}

.page-promotions__terms-content p {
    margin-bottom: 20px;
}

.page-promotions__terms-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-promotions__terms-content li {
    margin-bottom: 10px;
}

.page-promotions__read-more-link {
    display: inline-block;
    color: #FFA53A;
    text-decoration: underline;
    font-weight: 600;
    margin-top: 20px;
}

.page-promotions__read-more-link:hover {
    color: #FFB04D;
}

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

.page-promotions__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    margin-top: 50px;
}

details.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #A84F0C;
    overflow: hidden;
    background: #17191F; /* Card BG color */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: #FFF3E6;
    font-size: 18px;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
    background: rgba(255, 140, 26, 0.1); /* Slight highlight on hover */
}
.page-promotions__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}
.page-promotions__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFA53A;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 25px 25px;
    background: #0D0E12; /* Background color for answer */
    border-radius: 0 0 8px 8px;
    color: rgba(255, 243, 230, 0.7);
    font-size: 16px;
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin: 0;
}

/* CTA Section */
.page-promotions__cta-section {
    background: linear-gradient(90deg, #D96800 0%, #FFA53A 100%);
    padding: 80px 20px;
    text-align: center;
    box-shadow: inset 0 5px 20px rgba(0,0,0,0.3);
}

.page-promotions__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions__cta-title {
    font-size: 40px;
    color: #FFF3E6;
    margin-bottom: 20px;
    font-weight: 800;
}

.page-promotions__cta-description {
    font-size: 20px;
    color: rgba(255, 243, 230, 0.9);
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 42px;
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* General responsive adjustments */
    .page-promotions__section {
        padding: 40px 15px;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .page-promotions__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-promotions__hero-section {
        padding-top: 10px; /* Still small padding */
    }
    .page-promotions__hero-image {
        max-height: 400px; /* Adjust max height for mobile */
        object-fit: contain !important; /* Ensure image fits well and override cover */
    }
    .page-promotions__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust margin for mobile */
    }
    .page-promotions__hero-title {
        font-size: 32px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-promotions__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Mobile button adaptation - !important for enforcement */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__card-button,
    .page-promotions__claim-cta .page-promotions__btn-primary,
    .page-promotions__cta-section .page-promotions__btn-primary {
        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__hero-buttons,
    .page-promotions__claim-cta,
    .page-promotions__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Promotions Grid */
    .page-promotions__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promotion-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-promotions__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 180px;
    }
    .page-promotions__card-title {
        font-size: 20px;
    }
    .page-promotions__card-description {
        font-size: 14px;
    }
    .page-promotions__card-content {
        padding: 20px;
    }

    /* How to Claim Section */
    .page-promotions__claim-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__step-item {
        padding: 25px;
    }
    .page-promotions__step-icon {
        width: 100px;
        height: 100px;
    }
    .page-promotions__step-title {
        font-size: 20px;
    }
    .page-promotions__step-description {
        font-size: 14px;
    }

    /* Terms and Conditions Summary */
    .page-promotions__terms-content {
        padding: 0 15px;
        font-size: 14px;
    }
    .page-promotions__terms-content ul {
        margin-left: 20px;
    }

    /* FAQ Section */
    .page-promotions__faq-list {
        padding: 0 15px;
    }
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
        font-size: 16px;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
    .page-promotions__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
        font-size: 14px;
    }

    /* CTA Section */
    .page-promotions__cta-section {
        padding: 50px 15px;
    }
    .page-promotions__cta-title {
        font-size: 30px;
    }
    .page-promotions__cta-description {
        font-size: 16px;
    }

    /* Generic image 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__grid-container,
    .page-promotions__claim-steps,
    .page-promotions__terms-content,
    .page-promotions__faq-list,
    .page-promotions__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}