/* style/promotions.css */

/* Variables */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --bg-card: #11271B;
    --bg-dark: #08160F;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page-promotions scope */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-dark); /* Assuming body background is dark based on custom colors */
}

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

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* body handles padding-top, so only a small top padding for visual separation */
    background-color: var(--bg-dark);
}

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

.page-promotions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay to make text pop */
    display: block;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
    border-radius: 10px;
    margin-top: 60px; /* Space from top */
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.5);
}

.page-promotions__section-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    margin: 10px;
}

.page-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px var(--glow-color);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 10px;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 0 15px var(--primary-color);
}

/* Intro Section */
.page-promotions__intro-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333;
}

.page-promotions__intro-section .page-promotions__section-title {
    color: #000000;
    text-shadow: none;
}

.page-promotions__intro-section .page-promotions__section-text {
    color: #555555;
}

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

.page-promotions__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.page-promotions__feature-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-promotions__feature-description {
    font-size: 1rem;
    color: #666666;
}

/* Promotion Categories */
.page-promotions__promotion-categories {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-promotions__category-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--divider-color);
}

.page-promotions__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin: 20px 15px 10px 15px;
}

.page-promotions__card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-promotions__category-card .page-promotions__btn-secondary {
    margin: 0 15px 20px 15px;
    align-self: center;
    width: calc(100% - 30px);
}

/* VIP Section */
.page-promotions__vip-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333;
}

.page-promotions__vip-section .page-promotions__section-title {
    color: #000000;
    text-shadow: none;
}

.page-promotions__vip-section .page-promotions__section-text {
    color: #555555;
}

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

.page-promotions__vip-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-promotions__vip-title {
    font-size: 1.3rem;
    color: var(--deep-green);
    margin-bottom: 15px;
}

.page-promotions__vip-description {
    font-size: 0.95rem;
    color: #666666;
}

.page-promotions__vip-section .page-promotions__btn-primary {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-promotions__step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
    text-align: left;
}

.page-promotions__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--gold-color);
    color: var(--bg-dark);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.page-promotions__steps-list li {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    counter-increment: step-counter;
}

.page-promotions__step-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: left;
}

.page-promotions__step-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-promotions__step-description a:hover {
    color: var(--gold-color);
}

.page-promotions__how-to-claim .page-promotions__btn-primary {
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333;
}

.page-promotions__faq-section .page-promotions__section-title {
    color: #000000;
    text-shadow: none;
}

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

.page-promotions__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: #555555;
}

/* CTA Section */
.page-promotions__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green);
}

.page-promotions__cta-section .page-promotions__section-title {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.page-promotions__cta-section .page-promotions__section-text {
    color: #e0e0e0;
}

.page-promotions__cta-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        padding: 30px 20px;
    }
    .page-promotions__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
    }
    .page-promotions__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-promotions__hero-content {
        padding: 20px 15px;
        margin-top: 40px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    .page-promotions__hero-description {
        font-size: 1rem;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        margin: 8px 0;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px;
    }
    .page-promotions__feature-list,
    .page-promotions__category-grid,
    .page-promotions__vip-benefits,
    .page-promotions__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__category-card .page-promotions__btn-secondary {
        width: calc(100% - 30px) !important;
    }
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-promotions__video-section {
        padding-top: 10px !important;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-promotions__faq-answer {
        padding: 10px 20px 15px 20px;
        font-size: 0.95rem;
    }
    .page-promotions__step-title {
        padding-left: 35px;
        font-size: 1.2rem;
    }
    .page-promotions__step-title::before {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-content {
        padding: 15px 10px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-promotions__feature-item,
    .page-promotions__vip-item,
    .page-promotions__steps-list li {
        padding: 20px;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
}