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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-background: #0d0d0d;
    --light-background: #f0f0f0;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --register-login-button-bg: #C30808;
    --register-login-button-text: #FFFF00;
}

.page-new-player-guide {
    color: var(--text-on-dark); /* Default text color for the page, assuming dark body bg */
    background-color: var(--dark-background); /* Ensure consistent dark background */
}

.page-new-player-guide__dark-bg {
    background-color: var(--dark-background);
    color: var(--text-on-dark);
}

.page-new-player-guide__light-bg {
    background-color: var(--light-background);
    color: var(--text-on-light);
}

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

.page-new-player-guide__section-title,
.page-new-player-guide__hero-title,
.page-new-player-guide__step-title,
.page-new-player-guide__promo-title,
.page-new-player-guide__tip-title,
.page-new-player-guide__cta-title {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: 700;
}

.page-new-player-guide__section-description,
.page-new-player-guide__hero-description,
.page-new-player-guide__cta-description {
    color: var(--text-on-dark);
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-new-player-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.page-new-player-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.page-new-player-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-new-player-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-new-player-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-new-player-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-new-player-guide__btn-primary,
.page-new-player-guide__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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-new-player-guide__btn-primary {
    background-color: var(--register-login-button-bg);
    color: var(--register-login-button-text);
    border: 2px solid var(--register-login-button-bg);
    margin: 0 10px;
}

.page-new-player-guide__btn-primary:hover {
    background-color: darken(var(--register-login-button-bg), 10%);
    border-color: darken(var(--register-login-button-bg), 10%);
}

.page-new-player-guide__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 0 10px;
}

.page-new-player-guide__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-new-player-guide__inline-link {
    color: var(--register-login-button-text);
    text-decoration: underline;
}

.page-new-player-guide__inline-link:hover {
    color: var(--secondary-color);
}

.page-new-player-guide__introduction-section,
.page-new-player-guide__promotions-section,
.page-new-player-guide__faq-section {
    padding: 60px 0;
}

.page-new-player-guide__steps-section,
.page-new-player-guide__tips-section,
.page-new-player-guide__cta-section,
.page-new-player-guide__video-section {
    padding: 60px 0;
}

.page-new-player-guide__content-block p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-on-light);
}

.page-new-player-guide__steps-grid,
.page-new-player-guide__promo-grid,
.page-new-player-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__step-card,
.page-new-player-guide__promo-card,
.page-new-player-guide__tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-new-player-guide__step-card:hover,
.page-new-player-guide__promo-card:hover,
.page-new-player-guide__tip-card:hover {
    transform: translateY(-5px);
}

.page-new-player-guide__step-image,
.page-new-player-guide__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-new-player-guide__step-title,
.page-new-player-guide__promo-title,
.page-new-player-guide__tip-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-new-player-guide__step-card p,
.page-new-player-guide__promo-card p,
.page-new-player-guide__tip-card p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-new-player-guide__promo-card p {
    color: var(--text-on-dark);
}

.page-new-player-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.page-new-player-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

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

.page-new-player-guide__faq-item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-new-player-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--text-on-light);
    font-size: 1.15em;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-new-player-guide__faq-question:hover {
    background-color: #f5f5f5;
}

.page-new-player-guide__faq-question h3 {
    margin: 0;
    font-size: 1em;
    color: var(--text-on-light);
}

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

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

.page-new-player-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-on-light);
}

.page-new-player-guide__faq-item.active .page-new-player-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px 25px 25px;
}

.page-new-player-guide__faq-answer p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95em;
    color: var(--text-on-light);
}

.page-new-player-guide__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-new-player-guide__cta-content {
    max-width: 800px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-new-player-guide__hero-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .page-new-player-guide__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing on mobile */
    }

    .page-new-player-guide__hero-title {
        font-size: 2.5em;
    }

    .page-new-player-guide__hero-description {
        font-size: 1em;
    }

    .page-new-player-guide__section-title,
    .page-new-player-guide__cta-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-new-player-guide__container {
        padding: 0 15px;
    }

    .page-new-player-guide__steps-grid,
    .page-new-player-guide__promo-grid,
    .page-new-player-guide__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-new-player-guide__step-card,
    .page-new-player-guide__promo-card,
    .page-new-player-guide__tip-card {
        padding: 25px;
    }

    .page-new-player-guide__btn-primary,
    .page-new-player-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-new-player-guide__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* Mobile image adaptation */
    .page-new-player-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-new-player-guide__section,
    .page-new-player-guide__card,
    .page-new-player-guide__container,
    .page-new-player-guide__video-section,
    .page-new-player-guide__video-container,
    .page-new-player-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video specific mobile adaptation */
    .page-new-player-guide video,
    .page-new-player-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-new-player-guide__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
        margin: 0 auto !important;
    }

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

    .page-new-player-guide__faq-answer {
        padding: 0 20px;
    }

    .page-new-player-guide__faq-item.active .page-new-player-guide__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-new-player-guide__hero-title {
        font-size: 2em;
    }

    .page-new-player-guide__section-title,
    .page-new-player-guide__cta-title {
        font-size: 1.8em;
    }
}