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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-bg: #C30808;
    --login-button-bg: #C30808;
    --button-text-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #017439;
    --border-light: #e0e0e0;
}

.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--background-light);
}

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

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions-new-user-bonus__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-promotions-new-user-bonus__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-promotions-new-user-bonus__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-promotions-new-user-bonus__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions-new-user-bonus__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* CTA Button Styles */
.page-promotions-new-user-bonus__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-new-user-bonus__btn-primary {
    background-color: var(--register-button-bg); /* Custom register color */
    color: var(--button-text-color); /* Custom register/login text color */
    border: 2px solid var(--register-button-bg);
}

.page-promotions-new-user-bonus__btn-primary:hover {
    background-color: #e00b0b; /* Slightly darker red on hover */
    transform: translateY(-2px);
}

.page-promotions-new-user-bonus__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Section Titles */
.page-promotions-new-user-bonus__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-promotions-new-user-bonus__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-promotions-new-user-bonus__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-new-user-bonus__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__list li {
    margin-bottom: 10px;
}

/* Intro Section */
.page-promotions-new-user-bonus__intro-section {
    padding: 60px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__why-choose {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Bonus Types Section */
.page-promotions-new-user-bonus__bonus-types-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-promotions-new-user-bonus__bonus-types-section .page-promotions-new-user-bonus__section-title {
    color: var(--text-light);
}

.page-promotions-new-user-bonus__bonus-types-section .page-promotions-new-user-bonus__section-title::after {
    background-color: var(--text-light);
}

.page-promotions-new-user-bonus__bonus-types-section .page-promotions-new-user-bonus__sub-title {
    color: var(--text-light);
}

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

.page-promotions-new-user-bonus__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.page-promotions-new-user-bonus__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-promotions-new-user-bonus__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-promotions-new-user-bonus__card-description {
    font-size: 1em;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-promotions-new-user-bonus__game-specific-bonuses {
    margin-top: 60px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.page-promotions-new-user-bonus__game-specific-bonuses .page-promotions-new-user-bonus__list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.page-promotions-new-user-bonus__game-specific-bonuses .page-promotions-new-user-bonus__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.page-promotions-new-user-bonus__game-specific-bonuses .page-promotions-new-user-bonus__list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--button-text-color);
}

/* Guide Section */
.page-promotions-new-user-bonus__guide-section {
    padding: 60px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

.page-promotions-new-user-bonus__step-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus__step-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.3em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-promotions-new-user-bonus__step-description {
    font-size: 0.95em;
    color: #555;
}

.page-promotions-new-user-bonus__guide-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user-bonus__cta-container {
    text-align: center;
    margin-top: 40px;
}

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

.page-promotions-new-user-bonus__terms-section .page-promotions-new-user-bonus__section-title {
    color: var(--text-light);
}

.page-promotions-new-user-bonus__terms-section .page-promotions-new-user-bonus__section-title::after {
    background-color: var(--text-light);
}

.page-promotions-new-user-bonus__terms-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.page-promotions-new-user-bonus__terms-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-promotions-new-user-bonus__terms-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1;
    color: var(--button-text-color);
}

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

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

.page-promotions-new-user-bonus__faq-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f5f5f5;
    border-bottom: 1px solid var(--border-light);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-question {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: 1px solid var(--primary-color);
}

.page-promotions-new-user-bonus__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: var(--text-dark);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-title {
    color: var(--text-light);
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
    color: var(--text-light);
    transform: rotate(0deg); /* '+' to '-' is handled by JS */
}

.page-promotions-new-user-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-promotions-new-user-bonus__faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Conclusion Section */
.page-promotions-new-user-bonus__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
}

.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__section-title {
    color: var(--text-light);
}

.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__section-title::after {
    background-color: var(--text-light);
}

.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__text-block {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.15em;
}

/* Image specific styles */
.page-promotions-new-user-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images fill their space without distortion */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-new-user-bonus__main-title {
        font-size: 2.8em;
    }
    .page-promotions-new-user-bonus__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-new-user-bonus__section-title {
        font-size: 2em;
    }
    .page-promotions-new-user-bonus__sub-title {
        font-size: 1.5em;
    }
}

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

    .page-promotions-new-user-bonus__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-promotions-new-user-bonus__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-promotions-new-user-bonus__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promotions-new-user-bonus__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-promotions-new-user-bonus__bonus-grid,
    .page-promotions-new-user-bonus__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-new-user-bonus__card {
        min-height: auto;
    }

    .page-promotions-new-user-bonus__card-image {
        height: 200px;
    }

    /* Mobile image and video responsiveness */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-new-user-bonus video {
        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,
    .page-promotions-new-user-bonus__video-section,
    .page-promotions-new-user-bonus__video-container,
    .page-promotions-new-user-bonus__video-wrapper,
    .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;
        overflow: hidden !important;
    }

    /* Ensure button groups wrap on mobile */
    .page-promotions-new-user-bonus__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }

    .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
        padding: 15px !important; /* Adjust padding for mobile */
    }
}

/* Ensure images are never smaller than 200px in content areas */
.page-promotions-new-user-bonus__card-image,
.page-promotions-new-user-bonus__guide-image {
    min-width: 200px;
    min-height: 200px;
}

/* Color Contrast Fixes (if needed, applied as classes) */
.page-promotions-new-user-bonus__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-promotions-new-user-bonus__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}