:root {
    /* Custom Color Palette */
    --color-primary: #11A84E;
    --color-secondary: #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;
}

/* Base styles for the page content, ensuring light text on dark background */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Main text color */
    background-color: var(--color-background); /* Page background color, from shared.css body */
    line-height: 1.6;
    padding-top: 0; /* body already handles padding-top from shared.css */
}

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

.page-promotions__section-spacing {
    padding: 60px 0;
}

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

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

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

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

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

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

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-tertiary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-background);
}

.page-promotions__btn-tertiary {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    border: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 5px;
}

.page-promotions__btn-tertiary:hover {
    background-color: var(--color-secondary);
}

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

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

.page-promotions__promo-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.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-gold);
    line-height: 1.3;
}

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

.page-promotions__card-title a:hover {
    color: var(--color-secondary);
}

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

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

.page-promotions__game-promo-item {
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__game-promo-title {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-promotions__game-promo-text {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

.page-promotions__vip-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-promotions__vip-text-block {
    flex: 1;
}

.page-promotions__vip-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.page-promotions__vip-text {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-promotions__vip-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-promotions__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-title {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-promotions__step-text {
    color: var(--color-text-secondary);
}

.page-promotions__step-text a {
    color: var(--color-secondary);
    text-decoration: none;
}

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

.page-promotions__how-to-claim-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 60px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--color-text-secondary);
    max-width: 900px;
    margin: 40px auto 30px auto;
    font-size: 1rem;
}

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

.page-promotions__terms-section .page-promotions__btn-secondary {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

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

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    background-color: var(--color-deep-green);
}

.page-promotions__faq-qtext {
    flex-grow: 1;
    color: var(--color-gold);
}

.page-promotions__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-secondary);
}

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

.page-promotions__faq-answer p {
    margin-bottom: 0;
}

/* Hide default details arrow */
.page-promotions__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions__faq-item summary {
    list-style: none;
}

.page-promotions__cta-content {
    text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-promotions__vip-content {
        flex-direction: column;
        text-align: center;
    }

    .page-promotions__vip-image {
        max-width: 80%;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-promotions__section-spacing {
        padding: 40px 0;
    }

    .page-promotions__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-promotions__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-promotions__hero-content,
    .page-promotions__container,
    .page-promotions__promo-card,
    .page-promotions__game-promo-item,
    .page-promotions__step-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    /* Buttons responsive */
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions__btn-tertiary,
    .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;
        margin-left: 0 !important; /* Reset margin for single column */
        margin-bottom: 15px; /* Add spacing between stacked buttons */
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 0; /* Reset gap if using margin-bottom */
    }

    .page-promotions__hero-section {
        padding-bottom: 40px;
    }

    .page-promotions__hero-image {
        max-height: 400px;
    }

    .page-promotions__hero-content {
        margin-top: 20px;
    }

    .page-promotions__promo-card {
        margin-bottom: 20px;
    }

    .page-promotions__vip-image {
        max-width: 100%;
    }

    .page-promotions__how-to-claim-image {
        margin-top: 40px;
    }

    .page-promotions__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions video,
    .page-promotions__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .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: 0;
      padding-right: 0;
      overflow: hidden !important;
    }
    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .page-promotions__faq-question,
    .page-promotions__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .page-promotions__section-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}