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

/* Variables and base styles for this specific page */
:root {
    --promotions-new-player-primary-color: #FF8C1A;
    --promotions-new-player-secondary-color: #FFA53A;
    --promotions-new-player-card-bg: #17191F;
    --promotions-new-player-background: #0D0E12;
    --promotions-new-player-text-main: #FFF3E6;
    --promotions-new-player-border-color: #A84F0C;
    --promotions-new-player-glow-color: #FFB04D;
    --promotions-new-player-deep-orange: #D96800;
}

.page-promotions-new-player {
    background-color: var(--promotions-new-player-background); /* Dark background */
    color: var(--promotions-new-player-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-promotions-new-player__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: var(--promotions-new-player-background);
}

.page-promotions-new-player__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
}

.page-promotions-new-player__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
}

.page-promotions-new-player__hero-content {
    max-width: 900px;
    margin-top: 30px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-promotions-new-player__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--promotions-new-player-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-promotions-new-player__description {
    font-size: 1.1em;
    color: var(--promotions-new-player-text-main);
    margin-bottom: 30px;
}

.page-promotions-new-player__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 600px; /* Max width for button group */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow on mobile */
}

.page-promotions-new-player__btn-primary,
.page-promotions-new-player__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-promotions-new-player__btn-primary {
    background: linear-gradient(180deg, var(--promotions-new-player-secondary-color) 0%, var(--promotions-new-player-deep-orange) 100%);
    color: var(--promotions-new-player-text-main);
    border: 2px solid var(--promotions-new-player-secondary-color);
}

.page-promotions-new-player__btn-primary:hover {
    background: linear-gradient(180deg, var(--promotions-new-player-deep-orange) 0%, var(--promotions-new-player-secondary-color) 100%);
    box-shadow: 0 0 15px var(--promotions-new-player-glow-color);
}

.page-promotions-new-player__btn-secondary {
    background-color: transparent;
    color: var(--promotions-new-player-secondary-color);
    border: 2px solid var(--promotions-new-player-border-color);
}

.page-promotions-new-player__btn-secondary:hover {
    background-color: var(--promotions-new-player-secondary-color);
    color: var(--promotions-new-player-background);
    box-shadow: 0 0 10px var(--promotions-new-player-glow-color);
}

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

/* Section Titles */
.page-promotions-new-player__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--promotions-new-player-text-main);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.page-promotions-new-player__text-block {
    font-size: 1.05em;
    color: var(--promotions-new-player-text-main);
    text-align: center;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Bonus Details Section */
.page-promotions-new-player__bonus-details {
    padding: 60px 0;
    background-color: var(--promotions-new-player-card-bg); /* Darker background for contrast */
}

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

.page-promotions-new-player__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--promotions-new-player-text-main);
    border: 1px solid var(--promotions-new-player-border-color);
}

.page-promotions-new-player__feature-image {
    width: 100%;
    max-width: 400px; /* Recommended size for feature images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
    object-fit: cover;
}

.page-promotions-new-player__feature-title {
    font-size: 1.4em;
    color: var(--promotions-new-player-secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-new-player__feature-description {
    font-size: 1em;
    color: var(--promotions-new-player-text-main);
}

/* How to Claim Section */
.page-promotions-new-player__how-to-claim {
    padding: 60px 0;
    background-color: var(--promotions-new-player-background);
}

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

.page-promotions-new-player__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid var(--promotions-new-player-border-color);
}

.page-promotions-new-player__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--promotions-new-player-secondary-color), var(--promotions-new-player-primary-color));
    color: var(--promotions-new-player-text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 165, 58, 0.5);
    border: 3px solid var(--promotions-new-player-card-bg);
}

.page-promotions-new-player__step-title {
    font-size: 1.5em;
    color: var(--promotions-new-player-secondary-color);
    margin-top: 40px; /* Space for number */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-promotions-new-player__step-description {
    font-size: 1em;
    color: var(--promotions-new-player-text-main);
    margin-bottom: 20px;
}

.page-promotions-new-player__step-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Terms and Conditions Section */
.page-promotions-new-player__terms-conditions {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter dark background for this section */
    color: var(--promotions-new-player-text-main);
}

.page-promotions-new-player__terms-list {
    list-style: disc;
    margin: 30px auto 0 auto;
    max-width: 900px;
    padding-left: 40px;
    font-size: 1em;
    color: var(--promotions-new-player-text-main);
}

.page-promotions-new-player__terms-list li {
    margin-bottom: 10px;
}

.page-promotions-new-player__terms-conditions a {
    color: var(--promotions-new-player-secondary-color);
    text-decoration: underline;
}

.page-promotions-new-player__terms-conditions a:hover {
    color: var(--promotions-new-player-glow-color);
}

/* FAQ Section */
.page-promotions-new-player__faq-section {
    padding: 60px 0;
    background-color: var(--promotions-new-player-card-bg);
}

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

.page-promotions-new-player__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--promotions-new-player-border-color);
    overflow: hidden;
}

.page-promotions-new-player__faq-question {
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--promotions-new-player-secondary-color);
    cursor: pointer;
    display: flex; /* To position the toggle span */
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

/* Hide the default arrow for details tag */
.page-promotions-new-player__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions-new-player__faq-item summary::marker {
    display: none;
}

.page-promotions-new-player__faq-toggle {
    font-size: 1.5em; /* Match the size of the +/- icon */
    line-height: 1;
    margin-left: 10px;
    color: var(--promotions-new-player-secondary-color); /* Match summary text color */
}

/* Default plus sign */
.page-promotions-new-player__faq-item:not([open]) .page-promotions-new-player__faq-toggle::before {
    content: '+';
}

/* Minus sign when open */
.page-promotions-new-player__faq-item[open] .page-promotions-new-player__faq-toggle::before {
    content: '−';
}

.page-promotions-new-player__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--promotions-new-player-text-main);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

/* Final CTA Section */
.page-promotions-new-player__register-cta {
    padding: 60px 0;
    background-color: var(--promotions-new-player-background);
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-promotions-new-player__hero-content {
        margin-top: 20px;
    }
    .page-promotions-new-player__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-promotions-new-player__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
}

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

    .page-promotions-new-player__hero-section {
        padding-bottom: 30px;
    }

    .page-promotions-new-player__hero-image-wrapper {
        max-height: 400px;
    }

    .page-promotions-new-player__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important;
        margin-bottom: 15px;
    }

    .page-promotions-new-player__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-promotions-new-player__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-promotions-new-player__container {
        padding: 0 15px !important; /* Add padding to container */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions-new-player__section-title {
        font-size: clamp(1.5em, 5vw, 2em) !important;
        margin-bottom: 25px;
    }

    .page-promotions-new-player__text-block {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-promotions-new-player img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size on mobile */
        min-height: 200px !important; /* Ensure min size on mobile */
        box-sizing: border-box !important;
    }

    /* All containing elements for images/videos must be 100% width on mobile */
    .page-promotions-new-player__feature-card,
    .page-promotions-new-player__step-card,
    .page-promotions-new-player__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-promotions-new-player__feature-grid,
    .page-promotions-new-player__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-promotions-new-player__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
        top: -22px;
    }

    .page-promotions-new-player__step-title {
        margin-top: 30px;
    }

    .page-promotions-new-player__terms-list {
        padding-left: 25px;
        font-size: 0.95em;
    }

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

    .page-promotions-new-player__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-promotions-new-player__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em) !important;
    }
    .page-promotions-new-player__section-title {
        font-size: clamp(1.4em, 6vw, 1.8em) !important;
    }
    .page-promotions-new-player__hero-image-wrapper {
        max-height: 300px;
    }
    .page-promotions-new-player__hero-content {
        margin-top: 15px;
    }
    .page-promotions-new-player__btn-primary,
    .page-promotions-new-player__btn-secondary {
        min-width: unset;
    }
}

/* Contrast Fixes - Ensure text is readable on various backgrounds */
.page-promotions-new-player__dark-section {
    background-color: var(--promotions-new-player-card-bg); /* Darker background for sections */
    color: var(--promotions-new-player-text-main); /* Light text */
}
.page-promotions-new-player__light-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for contrast */
    color: var(--promotions-new-player-text-main); /* Light text */
}

/* Ensure links in text are visible */
.page-promotions-new-player a {
    color: var(--promotions-new-player-secondary-color);
    text-decoration: underline;
}
.page-promotions-new-player a:hover {
    color: var(--promotions-new-player-glow-color);
}

/* Ensure default paragraph and list item text color */
.page-promotions-new-player p,
.page-promotions-new-player li {
    color: var(--promotions-new-player-text-main);
}