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

.page-promotions {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-promotions__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-promotions__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
    box-sizing: border-box;
}

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions__intro-text {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    background: var(--button-gradient);
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__section {
    padding: 80px 0;
    text-align: center;
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main-color);
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-promotions__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__card-text {
    font-size: 1em;
    color: var(--text-secondary-color);
    margin-bottom: 25px;
}

.page-promotions__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__light-bg {
    background-color: #f2fff6; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-promotions__light-bg .page-promotions__section-title {
    color: var(--deep-green-color);
}

.page-promotions__light-bg .page-promotions__section-description,
.page-promotions__light-bg .page-promotions__step-text {
    color: #555555;
}

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

.page-promotions__step-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
    margin: 0 auto 20px auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
    font-size: 1.6em;
    color: var(--deep-green-color);
    margin-bottom: 15px;
}

.page-promotions__step-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 50px auto;
    max-width: 800px;
    text-align: left;
    color: var(--text-secondary-color);
}

.page-promotions__terms-list li {
    background-color: var(--card-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1em;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-item summary {
    list-style: none;
}

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

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 10px 10px 0 0;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom: 1px solid var(--border-color);
    border-radius: 10px 10px 0 0;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

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

.page-promotions__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-radius: 0 0 10px 10px;
}

.page-promotions__vip-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-promotions__vip-image {
    flex: 1 1 45%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-promotions__vip-text-content {
    flex: 1 1 45%;
    color: var(--text-secondary-color);
}

.page-promotions__vip-text-content .page-promotions__section-description {
    margin-bottom: 30px;
    text-align: left;
}

.page-promotions__final-cta {
    padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 90%;
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__vip-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 40px;
    }
    .page-promotions__hero-content {
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.6);
        width: calc(100% - 30px);
        max-width: none;
    }
    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-promotions__intro-text {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 1em;
    }
    .page-promotions__card-grid,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__card,
    .page-promotions__step-item {
        padding: 20px;
    }
    .page-promotions__vip-content {
        flex-direction: column;
        gap: 20px;
    }
    .page-promotions__vip-image,
    .page-promotions__vip-text-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .page-promotions__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 15px;
    }

    /* --- Mobile Responsive Image/Video/Button Adaptation --- */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions video,
    .page-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__hero-section,
    .page-promotions__vip-content,
    .page-promotions__vip-image,
    .page-promotions__vip-text-content,
    .page-promotions__video-section,
    .page-promotions__video-container,
    .page-promotions__video-wrapper,
    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-promotions__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions a[class*="btn"] {
        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,
    .page-promotions__button-group,
    .page-promotions__btn-container {
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    .page-promotions__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    .page-promotions__hero-content {
        width: calc(100% - 30px) !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.2em, 7vw, 2em);
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-button {
        padding: 12px 20px;
    }
    .page-promotions__card-title {
        font-size: 1.3em;
    }
}