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

/* Base styles for the page content, ensuring contrast with body background */
.page-promotions-new-player-bonus {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Main content area will inherit body background */
}

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

.page-promotions-new-player-bonus__container--center-text {
    text-align: center;
}

/* Section styling */
.page-promotions-new-player-bonus__hero-section,
.page-promotions-new-player-bonus__introduction-section,
.page-promotions-new-player-bonus__bonus-types-section,
.page-promotions-new-player-bonus__registration-guide-section,
.page-promotions-new-player-bonus__terms-conditions-section,
.page-promotions-new-player-bonus__faq-section,
.page-promotions-new-player-bonus__conclusion-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll from internal elements */
}

/* Color schemes for sections based on brand colors and contrast */
.page-promotions-new-player-bonus__dark-bg {
    background-color: #003366; /* Main brand color */
    color: #ffffff;
}

.page-promotions-new-player-bonus__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast with brand dark blue */
    color: #f0f0f0;
}

/* Fixed header offset */
.page-promotions-new-player-bonus__hero-section {
    padding-top: calc(var(--header-offset, 120px) + 60px); /* Add header offset to existing padding */
    display: flex;
    align-items: center;
    min-height: 600px; /* Ensure hero section has a decent height */
}

.page-promotions-new-player-bonus__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: #FFCC00; /* Gold for titles */
    font-weight: bold;
}

.page-promotions-new-player-bonus__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section Specifics */
.page-promotions-new-player-bonus__hero-content {
    flex: 1;
    padding-right: 40px;
}

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

.page-promotions-new-player-bonus__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-promotions-new-player-bonus__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions-new-player-bonus__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-promotions-new-player-bonus__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-promotions-new-player-bonus__btn-primary,
.page-promotions-new-player-bonus__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-promotions-new-player-bonus__btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-promotions-new-player-bonus__btn-primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

.page-promotions-new-player-bonus__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-promotions-new-player-bonus__btn-secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-promotions-new-player-bonus__btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

/* Content Grid for text and image */
.page-promotions-new-player-bonus__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-promotions-new-player-bonus__content-grid:nth-child(even) {
    flex-direction: row-reverse; /* Alternate image/text layout */
}

.page-promotions-new-player-bonus__text-block {
    flex: 1;
}

.page-promotions-new-player-bonus__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-promotions-new-player-bonus__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions-new-player-bonus__image-wrapper--center {
    margin-top: 40px;
}

.page-promotions-new-player-bonus__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cards Grid for bonus types */
.page-promotions-new-player-bonus__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promotions-new-player-bonus__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-new-player-bonus__card--alt {
    background-color: rgba(0, 0, 0, 0.3); /* Slightly darker card for visual separation */
    border: 1px solid #FFCC00;
}

.page-promotions-new-player-bonus__card:hover {
    transform: translateY(-5px);
}

.page-promotions-new-player-bonus__card-title {
    font-size: 1.5em;
    color: #FFCC00;
    margin-bottom: 15px;
}

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

/* Guide Steps */
.page-promotions-new-player-bonus__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-new-player-bonus__step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Light background for steps */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.page-promotions-new-player-bonus__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #FFCC00;
    color: #003366;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-player-bonus__step-title {
    font-size: 1.3em;
    color: #FFCC00;
    margin-bottom: 10px;
}

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

.page-promotions-new-player-bonus__cta-area {
    margin-top: 50px;
    text-align: center;
}

/* Terms and Conditions List */
.page-promotions-new-player-bonus__terms-list {
    list-style: none;
    padding: 0;
    flex: 1;
}

.page-promotions-new-player-bonus__terms-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #FFCC00;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-player-bonus__terms-heading {
    font-size: 1.3em;
    color: #FFCC00;
    margin-bottom: 10px;
}

.page-promotions-new-player-bonus__terms-item p {
    color: #f0f0f0;
}

/* FAQ Section */
.page-promotions-new-player-bonus__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-new-player-bonus__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Light background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-player-bonus__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #003366; /* Brand dark blue for question */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-new-player-bonus__faq-question:hover {
    background-color: #004488;
}

.page-promotions-new-player-bonus__faq-title {
    font-size: 1.1em;
    margin: 0;
    color: #FFCC00; /* Gold for FAQ question title */
}

.page-promotions-new-player-bonus__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFCC00;
}

.page-promotions-new-player-bonus__faq-item.active .page-promotions-new-player-bonus__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-new-player-bonus__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

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

.page-promotions-new-player-bonus__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Conclusion Section */
.page-promotions-new-player-bonus__conclusion-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Global Image Styling (ensuring no filters) */
.page-promotions-new-player-bonus img {
    border-style: none; /* Reset default image border */
    filter: none !important; /* ABSOLUTELY NO CSS FILTERS */
    -webkit-filter: none !important; /* For webkit browsers */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-new-player-bonus__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--header-offset, 120px) + 40px);
    }

    .page-promotions-new-player-bonus__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .page-promotions-new-player-bonus__hero-title {
        font-size: 2.8em;
    }

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

    .page-promotions-new-player-bonus__hero-cta-buttons {
        justify-content: center;
    }

    .page-promotions-new-player-bonus__content-grid {
        flex-direction: column;
    }

    .page-promotions-new-player-bonus__content-grid:nth-child(even) {
        flex-direction: column; /* Reset alternating order for mobile */
    }

    .page-promotions-new-player-bonus__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-new-player-bonus__container {
        padding: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-promotions-new-player-bonus__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure correct header offset on mobile */
        padding-bottom: 40px;
        min-height: auto;
    }

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

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

    .page-promotions-new-player-bonus__hero-description,
    .page-promotions-new-player-bonus__conclusion-text {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-promotions-new-player-bonus img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important;
    }

    /* Image wrappers and containers */
    .page-promotions-new-player-bonus__image-wrapper,
    .page-promotions-new-player-bonus__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-promotions-new-player-bonus__btn-primary,
    .page-promotions-new-player-bonus__btn-secondary,
    .page-promotions-new-player-bonus a[class*="button"],
    .page-promotions-new-player-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-player-bonus__hero-cta-buttons,
    .page-promotions-new-player-bonus__cta-buttons,
    .page-promotions-new-player-bonus__button-group,
    .page-promotions-new-player-bonus__btn-container {
        flex-direction: column !important; /* Stack buttons vertically */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        gap: 10px; /* Add gap between stacked buttons */
    }

    /* Ensure content sections have proper mobile padding */
    .page-promotions-new-player-bonus__introduction-section,
    .page-promotions-new-player-bonus__bonus-types-section,
    .page-promotions-new-player-bonus__registration-guide-section,
    .page-promotions-new-player-bonus__terms-conditions-section,
    .page-promotions-new-player-bonus__faq-section,
    .page-promotions-new-player-bonus__conclusion-section {
        padding: 30px 0;
    }

    .page-promotions-new-player-bonus__card,
    .page-promotions-new-player-bonus__step-item,
    .page-promotions-new-player-bonus__terms-item {
        padding: 20px;
    }

    .page-promotions-new-player-bonus__faq-question {
        padding: 15px 20px;
    }

    .page-promotions-new-player-bonus__faq-answer {
        padding: 15px 20px;
    }
}