/* style/promotions-first-deposit.css */

/* Custom Colors */
:root {
    --on88-primary-color: #11A84E; /* Main */
    --on88-secondary-color: #22C768; /* Auxiliary */
    --on88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --on88-card-bg: #11271B; /* Card BG */
    --on88-background: #08160F; /* Background */
    --on88-text-main: #F2FFF6; /* Text Main */
    --on88-text-secondary: #A7D9B8; /* Text Secondary */
    --on88-border-color: #2E7A4E; /* Border */
    --on88-glow-color: #57E38D; /* Glow */
    --on88-gold-color: #F2C14E; /* Gold */
    --on88-divider-color: #1E3A2A; /* Divider */
    --on88-deep-green: #0A4B2C; /* Deep Green */
}

.page-promotions-first-deposit {
    background-color: var(--on88-background); /* Dark background */
    color: var(--on88-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

/* Header/Footer are handled by shared, main content starts below header */
/* body already has padding-top from shared.css, no need to add here */

.page-promotions-first-deposit__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
}

.page-promotions-first-deposit__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper doesn't overflow */
    margin-bottom: 30px; /* Space between image and text */
    overflow: hidden; /* Prevent image overflow */
}

.page-promotions-first-deposit__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Use a more neutral shadow for images */
}

.page-promotions-first-deposit__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-promotions-first-deposit__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--on88-gold-color); /* Use gold for main title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-promotions-first-deposit__intro-description {
    font-size: 1.15rem;
    color: var(--on88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions-first-deposit__cta-buttons--centered {
    margin-top: 40px;
}

.page-promotions-first-deposit__btn-primary,
.page-promotions-first-deposit__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-promotions-first-deposit__btn-primary {
    background: var(--on88-button-gradient);
    color: var(--on88-text-main);
    border: none;
}

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

.page-promotions-first-deposit__btn-secondary {
    background-color: transparent;
    color: var(--on88-primary-color);
    border: 2px solid var(--on88-primary-color);
}

.page-promotions-first-deposit__btn-secondary:hover {
    background-color: var(--on88-primary-color);
    color: var(--on88-text-main);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--on88-gold-color);
    text-align: center;
    margin: 60px 0 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-promotions-first-deposit__section-description {
    font-size: 1rem;
    color: var(--on88-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px;
}

.page-promotions-first-deposit__benefits-section,
.page-promotions-first-deposit__how-to-claim-section,
.page-promotions-first-deposit__terms-section,
.page-promotions-first-deposit__other-promotions-section,
.page-promotions-first-deposit__faq-section,
.page-promotions-first-deposit__contact-cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions-first-deposit__benefits-grid,
.page-promotions-first-deposit__steps-grid,
.page-promotions-first-deposit__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-promotions-first-deposit__benefit-card,
.page-promotions-first-deposit__step-card,
.page-promotions-first-deposit__promotion-card {
    background-color: var(--on88-card-bg);
    border: 1px solid var(--on88-border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-first-deposit__benefit-card:hover,
.page-promotions-first-deposit__step-card:hover,
.page-promotions-first-deposit__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-first-deposit__benefit-icon,
.page-promotions-first-deposit__step-image,
.page-promotions-first-deposit__promotion-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block; /* Ensure block display for proper spacing */
}

.page-promotions-first-deposit__benefit-title,
.page-promotions-first-deposit__step-title,
.page-promotions-first-deposit__promotion-title {
    font-size: 1.5rem;
    color: var(--on88-gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-first-deposit__promotion-title a {
    color: var(--on88-gold-color);
    text-decoration: none;
}

.page-promotions-first-deposit__promotion-title a:hover {
    text-decoration: underline;
}

.page-promotions-first-deposit__benefit-text,
.page-promotions-first-deposit__step-text,
.page-promotions-first-deposit__promotion-text {
    font-size: 1rem;
    color: var(--on88-text-secondary);
    flex-grow: 1; /* Allow text to take available space */
}

.page-promotions-first-deposit__btn-text {
    color: var(--on88-primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.page-promotions-first-deposit__btn-text:hover {
    color: var(--on88-secondary-color);
    text-decoration: underline;
}

.page-promotions-first-deposit__terms-content {
    background-color: var(--on88-card-bg);
    border: 1px solid var(--on88-border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: var(--on88-text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
}

.page-promotions-first-deposit__terms-content p {
    margin-bottom: 15px;
}

.page-promotions-first-deposit__terms-list {
    list-style-type: disc;
    margin-left: 25px;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-promotions-first-deposit__terms-list li {
    margin-bottom: 10px;
    color: var(--on88-text-secondary);
}

.page-promotions-first-deposit__terms-list strong {
    color: var(--on88-text-main);
}

.page-promotions-first-deposit__faq-list {
    margin-top: 30px;
    margin-bottom: 40px;
}

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

.page-promotions-first-deposit__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--on88-text-main);
    cursor: pointer;
    background-color: var(--on88-deep-green);
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
    list-style: none; /* For details/summary */
}

/* Hide default marker for details/summary */
.page-promotions-first-deposit__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions-first-deposit__faq-item summary::marker {
    display: none;
}


.page-promotions-first-deposit__faq-item[open] .page-promotions-first-deposit__faq-question {
    background-color: var(--on88-primary-color);
    border-bottom-color: var(--on88-border-color);
}

.page-promotions-first-deposit__faq-qtext {
    flex-grow: 1;
}

.page-promotions-first-deposit__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 15px;
    color: var(--on88-text-main);
}

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

.page-promotions-first-deposit__faq-answer p {
    margin-top: 15px;
}

.page-promotions-first-deposit__contact-cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--on88-primary-color), var(--on88-deep-green));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.page-promotions-first-deposit__contact-cta .page-promotions-first-deposit__section-title {
    color: var(--on88-text-main);
    margin-top: 0;
    margin-bottom: 20px;
}

.page-promotions-first-deposit__contact-cta .page-promotions-first-deposit__section-description {
    color: var(--on88-text-main);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-promotions-first-deposit__hero-content {
        max-width: 700px;
    }

    .page-promotions-first-deposit__benefits-grid,
    .page-promotions-first-deposit__steps-grid,
    .page-promotions-first-deposit__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-promotions-first-deposit__hero-section {
        padding: 10px 15px 40px;
    }

    .page-promotions-first-deposit__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-promotions-first-deposit__intro-description {
        font-size: 1rem;
    }

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

    .page-promotions-first-deposit__btn-primary,
    .page-promotions-first-deposit__btn-secondary {
        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-first-deposit__cta-buttons,
    .page-promotions-first-deposit__button-group,
    .page-promotions-first-deposit__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;
    }

    .page-promotions-first-deposit__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin: 40px 0 30px;
    }

    .page-promotions-first-deposit__section-description {
        margin: -10px auto 30px;
    }

    .page-promotions-first-deposit__benefits-section,
    .page-promotions-first-deposit__how-to-claim-section,
    .page-promotions-first-deposit__terms-section,
    .page-promotions-first-deposit__other-promotions-section,
    .page-promotions-first-deposit__faq-section,
    .page-promotions-first-deposit__contact-cta {
        padding: 0 15px; /* Adjust padding for mobile */
    }

    .page-promotions-first-deposit__benefits-grid,
    .page-promotions-first-deposit__steps-grid,
    .page-promotions-first-deposit__promotions-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
        gap: 25px;
    }

    .page-promotions-first-deposit__benefit-card,
    .page-promotions-first-deposit__step-card,
    .page-promotions-first-deposit__promotion-card {
        padding: 25px;
    }

    .page-promotions-first-deposit__benefit-icon,
    .page-promotions-first-deposit__step-image,
    .page-promotions-first-deposit__promotion-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers that might hold images/videos must be 100% width on mobile */
    .page-promotions-first-deposit__section,
    .page-promotions-first-deposit__card,
    .page-promotions-first-deposit__container,
    .page-promotions-first-deposit__hero-image-wrapper,
    .page-promotions-first-deposit__video-container,
    .page-promotions-first-deposit__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    .page-promotions-first-deposit__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-promotions-first-deposit__terms-content {
        padding: 25px;
    }

    .page-promotions-first-deposit__terms-list {
        margin-left: 20px;
    }

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

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

    .page-promotions-first-deposit__contact-cta {
        padding: 40px 15px;
    }
}