/* style/promotions.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --main-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(--main-bg);
    color: var(--text-main);
    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;
    text-align: center;
    overflow: hidden;
}

.page-promotions__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for aesthetic */
    border-radius: 10px;
}

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

.page-promotions__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-promotions__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--main-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.2);
}

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

.page-promotions__intro-section,
.page-promotions__featured-offers-section,
.page-promotions__game-offers-section,
.page-promotions__daily-weekly-section,
.page-promotions__guide-section,
.page-promotions__cta-section {
    padding: 60px 0;
    background-color: var(--main-bg);
}

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

.page-promotions__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-promotions__text-block {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: justify;
    margin-bottom: 20px;
}

.page-promotions__text-block a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

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

.page-promotions__offer-card,
.page-promotions__step-card,
.page-promotions__vip-card,
.page-promotions__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(87, 227, 141, 0.2);
}

.page-promotions__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 1.6em;
    color: var(--glow-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    color: var(--text-secondary);
}

.page-promotions__list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
}

.page-promotions__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow-color);
}

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

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
}

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

.page-promotions__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--glow-color);
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
    border-bottom-color: var(--glow-color);
}

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

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

.page-promotions__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    text-align: justify;
}

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

.page-promotions__faq-answer a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-promotions__hero-image {
        max-height: 500px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-promotions__section-title {
        font-size: 2em;
    }

    .page-promotions__offers-grid,
    .page-promotions__game-offers-grid,
    .page-promotions__steps-grid,
    .page-promotions__grid-half,
    .page-promotions__vip-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-promotions__offer-card,
    .page-promotions__step-card,
    .page-promotions__vip-card,
    .page-promotions__card {
        padding: 25px;
    }

    .page-promotions__card-title {
        font-size: 1.4em;
    }

    .page-promotions__hero-section,
    .page-promotions__intro-section,
    .page-promotions__featured-offers-section,
    .page-promotions__game-offers-section,
    .page-promotions__daily-weekly-section,
    .page-promotions__guide-section,
    .page-promotions__cta-section,
    .page-promotions__dark-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions img {
        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__intro-section,
    .page-promotions__featured-offers-section,
    .page-promotions__game-offers-section,
    .page-promotions__daily-weekly-section,
    .page-promotions__guide-section,
    .page-promotions__cta-section,
    .page-promotions__dark-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-promotions__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
    }

    .page-promotions__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-promotions__description {
        font-size: clamp(0.9em, 2.5vw, 1.1em);
    }

    .page-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions__text-block {
        font-size: 1em;
    }

    .page-promotions__offers-grid,
    .page-promotions__game-offers-grid,
    .page-promotions__steps-grid,
    .page-promotions__grid-half,
    .page-promotions__vip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .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;
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
}