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

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

.page-promotions-new-user-bonus-details {
    background-color: var(--ev77-background);
    color: var(--ev77-text-main); /* Default text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* body handles padding-top: var(--header-offset) */
}

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

.page-promotions-new-user-bonus-details__container--center {
    text-align: center;
}

.page-promotions-new-user-bonus-details__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px; /* Small top padding, more bottom padding */
    background-color: var(--ev77-deep-green); /* A darker green for the hero section background */
    overflow: hidden;
}

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

.page-promotions-new-user-bonus-details__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for aesthetic */
}

.page-promotions-new-user-bonus-details__hero-content {
    text-align: center;
    padding: 30px 20px 0;
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
    color: var(--ev77-text-main);
}

.page-promotions-new-user-bonus-details__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: var(--ev77-gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-promotions-new-user-bonus-details__intro-text {
    font-size: 1.1em;
    color: var(--ev77-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus-details__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-promotions-new-user-bonus-details__btn-primary,
.page-promotions-new-user-bonus-details__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-promotions-new-user-bonus-details__btn-primary {
    background: var(--ev77-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-new-user-bonus-details__btn-secondary {
    background: transparent;
    color: var(--ev77-gold-color);
    border: 2px solid var(--ev77-gold-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus-details__btn-secondary:hover {
    background: var(--ev77-gold-color);
    color: var(--ev77-background);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus-details__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--ev77-divider-color);
}

.page-promotions-new-user-bonus-details__section:last-of-type {
    border-bottom: none;
}

.page-promotions-new-user-bonus-details__dark-bg {
    background-color: var(--ev77-deep-green);
    color: var(--ev77-text-main);
}

.page-promotions-new-user-bonus-details__section-title {
    font-size: 2.5em;
    color: var(--ev77-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-promotions-new-user-bonus-details p {
    margin-bottom: 20px;
    color: var(--ev77-text-main);
    font-size: 1em;
}

.page-promotions-new-user-bonus-details p a {
    color: var(--ev77-accent-color);
    text-decoration: underline;
}

.page-promotions-new-user-bonus-details__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.page-promotions-new-user-bonus-details__card {
    background-color: var(--ev77-card-bg);
    border: 1px solid var(--ev77-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--ev77-text-main);
}

.page-promotions-new-user-bonus-details__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus-details__card-title {
    font-size: 1.5em;
    color: var(--ev77-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-new-user-bonus-details__card-title a {
    color: var(--ev77-gold-color);
    text-decoration: none;
}

.page-promotions-new-user-bonus-details__card-title a:hover {
    text-decoration: underline;
}

.page-promotions-new-user-bonus-details__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus-details__guide-list,
.page-promotions-new-user-bonus-details__bonus-steps,
.page-promotions-new-user-bonus-details__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-new-user-bonus-details__guide-list li,
.page-promotions-new-user-bonus-details__bonus-steps li,
.page-promotions-new-user-bonus-details__terms-list li {
    background-color: var(--ev77-card-bg);
    border: 1px solid var(--ev77-border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus-details__guide-step-title,
.page-promotions-new-user-bonus-details__step-item-title,
.page-promotions-new-user-bonus-details__term-item-title {
    font-size: 1.3em;
    color: var(--ev77-accent-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions-new-user-bonus-details__faq-list {
    margin-top: 40px;
}

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

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

.page-promotions-new-user-bonus-details__faq-item[open] .page-promotions-new-user-bonus-details__faq-question {
    border-bottom: 1px solid var(--ev77-border-color);
}

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

.page-promotions-new-user-bonus-details__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--ev77-gold-color);
}

.page-promotions-new-user-bonus-details__faq-answer {
    padding: 20px 25px;
    background-color: var(--ev77-card-bg);
    color: var(--ev77-text-main);
    border-top: 1px solid var(--ev77-divider-color); /* Add border for visual separation */
}
.page-promotions-new-user-bonus-details__faq-answer p {
    margin-bottom: 0; /* Remove extra margin for paragraphs inside answer */
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus-details__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-promotions-new-user-bonus-details__section-title {
        font-size: 2em;
    }
}

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

    .page-promotions-new-user-bonus-details__hero-section {
        padding: 10px 0 40px;
    }

    .page-promotions-new-user-bonus-details__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        line-height: 1.3;
    }

    .page-promotions-new-user-bonus-details__intro-text {
        font-size: 1em;
    }

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

    .page-promotions-new-user-bonus-details__btn-primary,
    .page-promotions-new-user-bonus-details__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions-new-user-bonus-details__section {
        padding: 40px 0;
    }

    .page-promotions-new-user-bonus-details__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-promotions-new-user-bonus-details p {
        font-size: 0.95em;
    }

    .page-promotions-new-user-bonus-details__benefit-grid,
    .page-promotions-new-user-bonus-details__game-grid,
    .page-promotions-new-user-bonus-details__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-new-user-bonus-details__card {
        padding: 20px;
    }

    .page-promotions-new-user-bonus-details__card-title {
        font-size: 1.3em;
    }

    .page-promotions-new-user-bonus-details__guide-list li,
    .page-promotions-new-user-bonus-details__bonus-steps li,
    .page-promotions-new-user-bonus-details__terms-list li {
        padding: 20px;
    }

    .page-promotions-new-user-bonus-details__guide-step-title,
    .page-promotions-new-user-bonus-details__step-item-title,
    .page-promotions-new-user-bonus-details__term-item-title {
        font-size: 1.1em;
    }

    .page-promotions-new-user-bonus-details__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-promotions-new-user-bonus-details__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-promotions-new-user-bonus-details img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-promotions-new-user-bonus-details__hero-image-wrapper,
    .page-promotions-new-user-bonus-details__section,
    .page-promotions-new-user-bonus-details__card,
    .page-promotions-new-user-bonus-details__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-promotions-new-user-bonus-details__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-promotions-new-user-bonus-details__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    
    /* Mobile video responsiveness (if any, not present in this page, but as a safeguard) */
    .page-promotions-new-user-bonus-details video,
    .page-promotions-new-user-bonus-details__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-promotions-new-user-bonus-details__video-section,
    .page-promotions-new-user-bonus-details__video-container,
    .page-promotions-new-user-bonus-details__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-promotions-new-user-bonus-details__video-section {
      padding-top: 10px !important;
    }
}