/* style/promotions-new-user-bonus.css */

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

    /* Body background is assumed dark based on the custom colors, so text should be light */
    --page-text-color: var(--ev88-text-main);
    --page-secondary-text-color: var(--ev88-text-secondary);
    --page-background-color: var(--ev88-background);
    --page-card-background-color: var(--ev88-card-bg);
}

.page-promotions-new-user-bonus {
    background-color: var(--page-background-color);
    color: var(--page-text-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce top image, bottom text */
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--ev88-deep-green); /* A darker green for hero section background */
    overflow: hidden; /* Ensure no overflow */
}

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

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-promotions-new-user-bonus__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with the image for a cohesive look, but not *on* the image */
    background-color: var(--page-background-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.page-promotions-new-user-bonus__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 */
    color: var(--ev88-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-promotions-new-user-bonus__description {
    font-size: 1.1rem;
    color: var(--page-secondary-text-color);
    margin-bottom: 30px;
}

.page-promotions-new-user-bonus__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* General Section Styling */
.page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--ev88-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-promotions-new-user-bonus__text-block {
    font-size: 1.05rem;
    color: var(--page-secondary-text-color);
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-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 responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-promotions-new-user-bonus__btn-primary {
    background: var(--ev88-button-gradient);
    color: var(--ev88-text-main); /* White text for dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-user-bonus__btn-secondary {
    background-color: transparent;
    color: var(--ev88-primary-color); /* Brand color text for light button */
    border: 2px solid var(--ev88-primary-color);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: var(--ev88-primary-color);
    color: var(--ev88-text-main);
}

.page-promotions-new-user-bonus__btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

/* Benefits Section */
.page-promotions-new-user-bonus__benefits-section {
    padding: 60px 0;
    background-color: var(--page-background-color);
}

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

.page-promotions-new-user-bonus__benefit-card {
    background-color: var(--page-card-background-color);
    border: 1px solid var(--ev88-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--page-text-color); /* Ensure text is light on dark card background */
}

.page-promotions-new-user-bonus__benefit-card:hover {
    transform: translateY(-5px);
}

.page-promotions-new-user-bonus__benefit-icon {
    width: 200px; /* Min size 200px */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

.page-promotions-new-user-bonus__card-title {
    font-size: 1.4rem;
    color: var(--ev88-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__card-description {
    font-size: 1rem;
    color: var(--page-secondary-text-color);
}

/* How To Claim Section */
.page-promotions-new-user-bonus__how-to-claim-section {
    padding: 60px 0;
    background-color: var(--ev88-deep-green); /* Slightly different background for visual break */
}

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

.page-promotions-new-user-bonus__step-card {
    background-color: var(--page-card-background-color);
    border: 1px solid var(--ev88-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-text-color);
}

.page-promotions-new-user-bonus__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--ev88-button-gradient);
    color: var(--ev88-text-main);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-promotions-new-user-bonus__step-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Example max-width for step image */
    display: block;
    margin: 20px auto 0;
    border-radius: 8px;
    object-fit: cover;
}

/* Terms Section */
.page-promotions-new-user-bonus__terms-section {
    padding: 60px 0;
    background-color: var(--page-background-color);
}

.page-promotions-new-user-bonus__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__term-item {
    background-color: var(--page-card-background-color);
    border: 1px solid var(--ev88-divider);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--page-secondary-text-color);
    line-height: 1.5;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
    padding: 60px 0;
    background-color: var(--ev88-deep-green);
}

.page-promotions-new-user-bonus__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-promotions-new-user-bonus__faq-item {
    background-color: var(--page-card-background-color);
    border: 1px solid var(--ev88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-text-color);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--ev88-gold);
    cursor: pointer;
    background-color: var(--ev88-deep-green); /* Slightly darker for question header */
    border-bottom: 1px solid var(--ev88-border);
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
    display: none;
}
.page-promotions-new-user-bonus__faq-question::marker {
    display: none;
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--ev88-text-main);
}

.page-promotions-new-user-bonus__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-secondary-text-color);
    line-height: 1.5;
}

/* CTA Section */
.page-promotions-new-user-bonus__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--ev88-deep-green); /* Example dark section background */
    color: var(--ev88-text-main); /* Ensure text is light on dark background */
}

.page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__section-title {
    color: var(--ev88-gold); /* Gold title on dark background */
    margin-bottom: 25px;
}

.page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__text-block {
    color: var(--page-secondary-text-color);
    margin-bottom: 40px;
}

.page-promotions-new-user-bonus__cta-section .page-promotions-new-user-bonus__cta-buttons {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__hero-content {
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-user-bonus__container {
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__hero-section {
        padding-bottom: 40px;
    }

    .page-promotions-new-user-bonus__hero-content {
        padding: 30px 15px;
        margin-top: -40px;
    }

    .page-promotions-new-user-bonus__main-title {
        font-size: 2rem;
    }

    .page-promotions-new-user-bonus__description {
        font-size: 1rem;
    }

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

    .page-promotions-new-user-bonus__btn-primary,
    .page-promotions-new-user-bonus__btn-secondary,
    .page-promotions-new-user-bonus a[class*="button"],
    .page-promotions-new-user-bonus 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;
    }
    
    .page-promotions-new-user-bonus__cta-buttons,
    .page-promotions-new-user-bonus__button-group,
    .page-promotions-new-user-bonus__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-new-user-bonus__section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .page-promotions-new-user-bonus__text-block {
        font-size: 0.95rem;
    }

    .page-promotions-new-user-bonus__benefits-grid,
    .page-promotions-new-user-bonus__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-new-user-bonus__benefit-card,
    .page-promotions-new-user-bonus__step-card,
    .page-promotions-new-user-bonus__term-item,
    .page-promotions-new-user-bonus__faq-item {
        padding: 20px;
    }

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

    .page-promotions-new-user-bonus__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image and video responsive */
    .page-promotions-new-user-bonus img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions-new-user-bonus__section,
    .page-promotions-new-user-bonus__card,
    .page-promotions-new-user-bonus__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .page-promotions-new-user-bonus__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
}