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

.page-promotions {
    background-color: var(--page-bg);
    color: var(--text-main);
}

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

.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;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    margin-top: -80px; /* Adjust to bring content slightly over the bottom of the hero image */
}

.page-promotions__main-title {
    color: var(--text-main);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    /* Using clamp for responsive font size, but within limits */
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

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

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--page-bg);
    transform: translateY(-2px);
}

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

.page-promotions__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-promotions__section-title {
    color: var(--gold-color);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions__text-block {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.page-promotions__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

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

.page-promotions__card-title {
    color: var(--gold-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 20px 10px;
    line-height: 1.4;
}

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

.page-promotions__promo-card .page-promotions__btn-primary,
.page-promotions__promo-card .page-promotions__btn-secondary {
    align-self: center;
    width: calc(100% - 40px);
    margin-top: auto; /* Push buttons to bottom */
}

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

.page-promotions__event-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions__event-title {
    color: var(--glow-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-promotions__event-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.page-promotions__vip-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-promotions__vip-image {
    flex: 1 1 45%;
    min-width: 300px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    max-width: 100%;
    height: auto;
}

.page-promotions__vip-content {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-promotions__vip-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-promotions__vip-list-item {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M9 20l-5-5L7 12l2 2 6-6 2 2 4-4-2-2-6 6-6-6-2 2-4 4z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.page-promotions__terms-list-item {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23A7D9B8"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-promotions__terms-list-item strong {
    color: var(--text-main);
}

.page-promotions__how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-promotions__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
}

.page-promotions__step-title {
    color: var(--glow-color);
    font-size: 1.4rem;
    font-weight: bold;
}

.page-promotions__step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.page-promotions__faq-list {
    margin-top: 30px;
}

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: var(--deep-green);
}

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

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

.page-promotions__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.page-promotions__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* Details tag specific styles to hide default marker */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

.page-promotions__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        margin-top: -60px;
    }
    .page-promotions__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-promotions__description {
        font-size: 1rem;
    }
    .page-promotions__vip-section {
        flex-direction: column;
    }
    .page-promotions__vip-image,
    .page-promotions__vip-content {
        flex: 1 1 100%;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-bottom: 20px;
    }
    .page-promotions__hero-content {
        margin-top: -40px;
        padding: 15px;
    }
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-promotions__description {
        font-size: 0.95rem;
    }
    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__content-area {
        padding: 20px 15px;
    }
    .page-promotions__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 20px;
    }
    .page-promotions__text-block {
        font-size: 0.9rem;
    }
    .page-promotions__promo-grid,
    .page-promotions__event-grid,
    .page-promotions__how-to-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__card-image {
        height: 180px;
    }
    .page-promotions__card-title {
        font-size: 1.3rem;
    }
    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image responsiveness */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container responsiveness */
    .page-promotions__hero-image-wrapper,
    .page-promotions__content-area,
    .page-promotions__promo-grid,
    .page-promotions__promo-card,
    .page-promotions__event-grid,
    .page-promotions__event-item,
    .page-promotions__vip-section,
    .page-promotions__vip-content,
    .page-promotions__how-to-steps,
    .page-promotions__step-card,
    .page-promotions__faq-list,
    .page-promotions__faq-item,
    .page-promotions__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific padding adjustments for sections that already have padding */
    .page-promotions__content-area.page-promotions__dark-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}