:root {
    /* Custom Colors */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --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-first-deposit-bonus {
    background-color: var(--color-background); /* #08160F */
    color: var(--color-text-main); /* #F2FFF6 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

.page-promotions-first-deposit-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-promotions-first-deposit-bonus__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-promotions-first-deposit-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* No filter allowed */
}

.page-promotions-first-deposit-bonus__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 30px 20px;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background elements */
    color: var(--color-text-main);
}

.page-promotions-first-deposit-bonus__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
    color: var(--color-gold); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-promotions-first-deposit-bonus__intro-text {
    font-size: 1.15rem;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.page-promotions-first-deposit-bonus__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions-first-deposit-bonus__btn-primary,
.page-promotions-first-deposit-bonus__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button adapts to width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-first-deposit-bonus__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for browsers without gradient support */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid var(--color-glow); /* #57E38D */
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-promotions-first-deposit-bonus__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.8);
    transform: translateY(-2px);
}

.page-promotions-first-deposit-bonus__btn-secondary {
    background-color: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
}

.page-promotions-first-deposit-bonus__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-2px);
}

.page-promotions-first-deposit-bonus__section {
    padding: 60px 0;
    border-top: 1px solid var(--color-divider); /* #1E3A2A */
}

.page-promotions-first-deposit-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions-first-deposit-bonus__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-promotions-first-deposit-bonus__text-block {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-first-deposit-bonus__steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__step-item {
    background-color: var(--color-card-bg); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border); /* #2E7A4E */
}

.page-promotions-first-deposit-bonus__step-image {
    width: 100%;
    max-width: 400px; /* Limit image width within card */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    /* No filter allowed */
}

.page-promotions-first-deposit-bonus__step-title {
    font-size: 1.5rem;
    color: var(--color-glow); /* #57E38D */
    margin-bottom: 15px;
}

.page-promotions-first-deposit-bonus__step-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary); /* #A7D9B8 */
}

.page-promotions-first-deposit-bonus__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-first-deposit-bonus__term-item {
    background-color: var(--color-card-bg); /* #11271B */
    border-left: 5px solid var(--color-primary); /* #11A84E */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-first-deposit-bonus__term-item strong {
    color: var(--color-gold);
}

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

.page-promotions-first-deposit-bonus__feature-card.page-promotions-first-deposit-bonus__card {
    background-color: var(--color-card-bg); /* #11271B */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border); /* #2E7A4E */
    text-align: left;
}

.page-promotions-first-deposit-bonus__card-title {
    font-size: 1.4rem;
    color: var(--color-glow); /* #57E38D */
    margin-bottom: 15px;
}

.page-promotions-first-deposit-bonus__card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary); /* #A7D9B8 */
}

.page-promotions-first-deposit-bonus__faq-list {
    margin-top: 40px;
}

.page-promotions-first-deposit-bonus__faq-item.page-promotions-first-deposit-bonus__card {
    background-color: var(--color-card-bg); /* #11271B */
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border); /* #2E7A4E */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* For smooth transition if JS-based */
}

.page-promotions-first-deposit-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-card-bg);
    border-bottom: 1px solid var(--color-divider);
}

.page-promotions-first-deposit-bonus__faq-item[open] .page-promotions-first-deposit-bonus__faq-question {
    border-bottom-color: transparent; /* Hide border when open */
}

.page-promotions-first-deposit-bonus__faq-qtext {
    color: var(--color-gold);
}

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

.page-promotions-first-deposit-bonus__faq-item[open] .page-promotions-first-deposit-bonus__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form cross */
}

/* Hide default details marker */
.page-promotions-first-deposit-bonus__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions-first-deposit-bonus__faq-item summary {
    list-style: none;
}


.page-promotions-first-deposit-bonus__faq-answer {
    padding: 0 30px 20px 30px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-promotions-first-deposit-bonus {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-first-deposit-bonus__hero-content {
        padding: 20px 15px;
    }

    .page-promotions-first-deposit-bonus__main-title {
        font-size: 2rem;
    }

    .page-promotions-first-deposit-bonus__intro-text {
        font-size: 1rem;
    }

    .page-promotions-first-deposit-bonus__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promotions-first-deposit-bonus__btn-primary,
    .page-promotions-first-deposit-bonus__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-promotions-first-deposit-bonus__section {
        padding: 40px 0;
    }

    .page-promotions-first-deposit-bonus__container {
        padding: 0 15px;
    }

    .page-promotions-first-deposit-bonus__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-promotions-first-deposit-bonus__text-block {
        font-size: 0.9rem;
    }

    .page-promotions-first-deposit-bonus__steps-list,
    .page-promotions-first-deposit-bonus__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-first-deposit-bonus__step-item,
    .page-promotions-first-deposit-bonus__feature-card.page-promotions-first-deposit-bonus__card {
        padding: 20px;
    }

    .page-promotions-first-deposit-bonus__step-title {
        font-size: 1.3rem;
    }

    .page-promotions-first-deposit-bonus__card-title {
        font-size: 1.2rem;
    }

    .page-promotions-first-deposit-bonus__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-promotions-first-deposit-bonus__faq-answer {
        padding: 0 20px 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-promotions-first-deposit-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-first-deposit-bonus__hero-image-wrapper,
    .page-promotions-first-deposit-bonus__section,
    .page-promotions-first-deposit-bonus__container,
    .page-promotions-first-deposit-bonus__step-item,
    .page-promotions-first-deposit-bonus__feature-card,
    .page-promotions-first-deposit-bonus__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }
    
    /* Specific padding for sections if they need it */
    .page-promotions-first-deposit-bonus__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}