/* style/promotions.css */

/* Custom Colors */
:root {
    --color-main: #11A84E;
    --color-accent: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-promotions {
    color: var(--color-text-main); /* Default text color for the page, based on dark background */
    background-color: var(--color-background);
}

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-promotions__hero-content {
    max-width: 900px;
    margin-top: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions__btn-secondary {
    background: none;
    color: var(--color-main);
    border: 2px solid var(--color-main);
    margin-left: 20px;
}

.page-promotions__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.page-promotions__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden;
}

.page-promotions__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Consistent padding for content */
}

.page-promotions__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-promotions__section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-promotions__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: var(--color-card-bg);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-promotions__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-promotions__content-area {
    padding: 40px 0;
    box-sizing: border-box;
}

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

.page-promotions__promotion-card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
}

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

.page-promotions__card-image {
    width: 100%;
    height: 250px;
    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: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-promotions__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-promotions__how-to-claim .page-promotions__section-description {
    margin-bottom: 50px;
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    display: grid;
    gap: 30px;
}

.page-promotions__step-item {
    background-color: var(--color-card-bg);
    border-left: 5px solid var(--color-main);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    counter-increment: step-counter;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-promotions__step-item::before {
    content: counter(step-counter);
    position: absolute;
    top: 15px;
    left: -20px;
    background: var(--color-gold);
    color: var(--color-background);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-promotions__step-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin-bottom: 10px;
    margin-left: 30px; /* Offset for step number */
}

.page-promotions__step-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-left: 30px;
}

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

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

.page-promotions__btn-full-width {
    width: 100%;
    max-width: 400px;
    margin: 50px auto 0 auto;
    display: block;
    text-align: center;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-promotions__terms-item {
    background-color: var(--color-card-bg);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    border: 1px solid var(--color-divider);
}

.page-promotions__read-more {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-promotions__read-more a {
    color: var(--color-accent);
    text-decoration: underline;
}

.page-promotions__read-more a:hover {
    color: var(--color-gold);
}

.page-promotions__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-promotions__faq-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 1px solid var(--color-divider);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
    background-color: rgba(10, 75, 44, 0.8);
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--color-divider);
}

.page-promotions__faq-item:not([open]) .page-promotions__faq-answer {
    display: none; /* Hide answer when not open for non-JS scenario */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-promotions__hero-description {
        font-size: 1.1rem;
    }

    .page-promotions__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        margin-left: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-promotions__cta-buttons a {
        margin-left: 0;
    }

    .page-promotions__video-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }

    .page-promotions__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }

    .page-promotions__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-promotions__card-image {
        height: 200px;
    }

    .page-promotions__card-title {
        font-size: 1.3rem;
    }

    .page-promotions__card-text,
    .page-promotions p,
    .page-promotions li {
        font-size: 0.9rem;
    }

    .page-promotions__step-item {
        padding: 20px;
    }

    .page-promotions__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        left: -17px;
        top: 10px;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
        margin-left: 25px;
    }

    .page-promotions__step-item p {
        margin-left: 25px;
    }

    .page-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    
    /* Mobile image and video responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions__hero-image-wrapper,
    .page-promotions__video-wrapper,
    .page-promotions__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-promotions__promotion-card,
    .page-promotions__step-item,
    .page-promotions__terms-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}