.page-promotions-new-user-bonus {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* A subtle light background for the page */
}

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

.page-promotions-new-user-bonus__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-promotions-new-user-bonus__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions-new-user-bonus__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

/* Dark Section Styling */
.page-promotions-new-user-bonus__dark-section {
    background-color: #017439; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
    padding: 60px 0;
}
.page-promotions-new-user-bonus__dark-section .page-promotions-new-user-bonus__section-title {
    color: #ffffff; /* White title for dark background */
}
.page-promotions-new-user-bonus__dark-section .page-promotions-new-user-bonus__section-description {
    color: #f0f0f0;
}

/* 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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

/* Custom colors for Register/Login buttons */
.page-promotions-new-user-bonus__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}
.page-promotions-new-user-bonus__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-promotions-new-user-bonus__btn-secondary {
    background-color: transparent;
    color: #C30808; /* Register/Login color for text */
    border: 2px solid #C30808;
}
.page-promotions-new-user-bonus__btn-secondary:hover {
    background-color: #C30808;
    color: #FFFF00;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), #017439; /* Dark overlay on primary color */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-promotions-new-user-bonus__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

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

.page-promotions-new-user-bonus__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions-new-user-bonus__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* Intro Section (Video) */
.page-promotions-new-user-bonus__intro-section {
    text-align: center;
}

.page-promotions-new-user-bonus__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Max width for video container */
    margin: 40px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000; /* Fallback for video background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.page-promotions-new-user-bonus__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    cursor: pointer; /* Indicates clickability */
}

.page-promotions-new-user-bonus__video-cta {
    margin-top: 20px;
}

/* Why Choose Section */
.page-promotions-new-user-bonus__why-choose-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-promotions-new-user-bonus__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.page-promotions-new-user-bonus__feature-card:hover {
    transform: translateY(-10px);
}

.page-promotions-new-user-bonus__feature-icon {
    width: 100%; /* Make icon responsive within card */
    max-width: 200px; /* Limit max size */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Bonus Details Section */
.page-promotions-new-user-bonus__bonus-details-section {
    padding: 60px 0;
    text-align: center;
}

.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__bonus-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    transition: transform 0.3s ease;
}
.page-promotions-new-user-bonus__bonus-card:hover {
    transform: translateY(-10px);
}

.page-promotions-new-user-bonus__bonus-icon {
    width: 100%; /* Make icon responsive within card */
    max-width: 200px; /* Limit max size */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__bonus-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for bonus titles on dark background */
    margin-bottom: 15px;
}

.page-promotions-new-user-bonus__bonus-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-promotions-new-user-bonus__bonus-cta {
    margin-top: 40px;
    background-color: #FFFF00;
    color: #017439;
    border-color: #FFFF00;
}
.page-promotions-new-user-bonus__bonus-cta:hover {
    background-color: #fff;
    border-color: #fff;
    color: #017439;
}

/* How to Register Section */
.page-promotions-new-user-bonus__how-to-register-section {
    padding: 60px 0;
    text-align: center;
}

.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-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 60px; /* Space for step number */
    transition: transform 0.3s ease;
}
.page-promotions-new-user-bonus__step-card:hover {
    transform: translateY(-10px);
}

.page-promotions-new-user-bonus__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #017439;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__step-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-promotions-new-user-bonus__step-text {
    font-size: 1em;
    color: #555555;
}

.page-promotions-new-user-bonus__register-cta {
    margin-top: 40px;
}

/* Game Types Section */
.page-promotions-new-user-bonus__game-types-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-promotions-new-user-bonus__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.page-promotions-new-user-bonus__game-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions-new-user-bonus__game-icon {
    width: 100%; /* Make icon responsive within card */
    max-width: 150px; /* Limit max size */
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-user-bonus__game-title {
    font-size: 1.3em;
    color: #FFFF00;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

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

.page-promotions-new-user-bonus__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions-new-user-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #eaf7ed; /* Light green background for question */
    border-bottom: 1px solid #d0e0d0;
}
.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
    border-bottom: 1px solid #d0e0d0;
}

.page-promotions-new-user-bonus__faq-qtext {
    flex-grow: 1;
}

.page-promotions-new-user-bonus__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #017439;
    line-height: 1;
}

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

.page-promotions-new-user-bonus__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
}

/* CTA Section */
.page-promotions-new-user-bonus__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

/* General Image Styling */
.page-promotions-new-user-bonus img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures images fill their space nicely */
    border-radius: 8px; /* Consistent rounded corners */
}

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

    .page-promotions-new-user-bonus__container {
        padding: 0 15px;
    }

    .page-promotions-new-user-bonus__hero-title {
        font-size: 2.2em;
    }

    .page-promotions-new-user-bonus__hero-description {
        font-size: 1.1em;
    }

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

    .page-promotions-new-user-bonus__btn-primary,
    .page-promotions-new-user-bonus__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-promotions-new-user-bonus__section-description {
        font-size: 1em;
    }

    /* Image responsiveness */
    .page-promotions-new-user-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure image containers also adapt */
    .page-promotions-new-user-bonus__hero-image-wrapper,
    .page-promotions-new-user-bonus__feature-card,
    .page-promotions-new-user-bonus__bonus-card,
    .page-promotions-new-user-bonus__step-card,
    .page-promotions-new-user-bonus__game-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness */
    .page-promotions-new-user-bonus video,
    .page-promotions-new-user-bonus__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions-new-user-bonus__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Fixed header spacing for hero section on mobile */
    .page-promotions-new-user-bonus__hero-section {
      padding-top: var(--header-offset, 120px) !important; /* Ensure it's applied */
    }

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

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

    .page-promotions-new-user-bonus__faq-answer {
        padding: 10px 20px;
    }
}