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

/* Define CSS Variables based on color scheme */
:root {
    --primary-color: #017439; /* Main brand color (green) */
    --secondary-color: #FFFFFF; /* Auxiliary brand color (white) */
    --register-button-color: #C30808; /* Specific color for register button */
    --login-button-color: #C30808; /* Specific color for login button */
    --text-on-register-login-button: #FFFF00; /* Specific text color for register/login buttons */
    --text-color-dark: #333333; /* For text on light backgrounds */
    --text-color-light: #ffffff; /* For text on dark backgrounds */
    --border-color-light: #e0e0e0;
    --background-light-grey: #f9f9f9;
}

.page-resources-new-player-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background-color: var(--secondary-color);
}

/* Fixed Header Offset - Apply to the first main section or main tag if shared doesn't handle body padding-top */
.page-resources-new-player-guide__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop default, overridden by media query for mobile if needed */
}

/* Hero Section */
.page-resources-new-player-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #017439cc 100%); /* Using brand color for hero background */
    color: var(--text-color-light); /* Light text on dark background */
}

.page-resources-new-player-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-new-player-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.page-resources-new-player-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-resources-new-player-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-resources-new-player-guide__hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-new-player-guide__hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-resources-new-player-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-resources-new-player-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-new-player-guide__btn-register {
    background: var(--register-button-color);
    color: var(--text-on-register-login-button);
    border: 2px solid var(--text-on-register-login-button);
}

.page-resources-new-player-guide__btn-register:hover {
    background: #a90707;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-new-player-guide__btn-login {
    background: var(--login-button-color);
    color: var(--text-on-register-login-button);
    border: 2px solid var(--text-on-register-login-button);
}

.page-resources-new-player-guide__btn-login:hover {
    background: #a90707;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-resources-new-player-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-resources-new-player-guide__section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color-light);
}

.page-resources-new-player-guide__section:last-of-type {
    border-bottom: none;
}

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

.page-resources-new-player-guide__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-resources-new-player-guide__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-color-dark);
}

/* Image Wrappers */
.page-resources-new-player-guide__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-resources-new-player-guide__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Step List (Registration Guide) */
.page-resources-new-player-guide__step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-new-player-guide__step-item {
    background: var(--background-light-grey);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-resources-new-player-guide__step-item:hover {
    transform: translateY(-5px);
}

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

.page-resources-new-player-guide__step-item p {
    font-size: 1em;
    color: var(--text-color-dark);
    text-align: left;
}

.page-resources-new-player-guide__note {
    background: #fff3cd;
    color: #664d03;
    padding: 15px 20px;
    border-left: 5px solid #ffc107;
    border-radius: 5px;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-resources-new-player-guide__cta-single {
    text-align: center;
    margin-top: 40px;
}

/* Feature List (Deposit Guide) */
.page-resources-new-player-guide__feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-resources-new-player-guide__feature-list li {
    background: var(--background-light-grey);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.03);
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-resources-new-player-guide__feature-list li strong {
    color: var(--primary-color);
}

/* Game Categories */
.page-resources-new-player-guide__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-new-player-guide__game-card {
    background: var(--background-light-grey);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-new-player-guide__game-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-resources-new-player-guide__game-card-title {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-new-player-guide__game-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-new-player-guide__game-card-title a:hover {
    color: #005A2E;
    text-decoration: underline;
}

.page-resources-new-player-guide__game-card p {
    font-size: 0.95em;
    color: var(--text-color-dark);
}

/* Promotions Section */
.page-resources-new-player-guide__promo-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 900px;
}

.page-resources-new-player-guide__promo-list li {
    background: var(--background-light-grey);
    padding: 18px 25px;
    margin-bottom: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 1.1em;
    color: var(--text-color-dark);
    border-left: 4px solid var(--primary-color);
}

.page-resources-new-player-guide__promo-list li strong {
    color: var(--primary-color);
}

/* Safety and App Section */
.page-resources-new-player-guide__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-new-player-guide__feature-card {
    background: var(--background-light-grey);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-new-player-guide__feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-resources-new-player-guide__feature-card-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-resources-new-player-guide__feature-card p {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
}

.page-resources-new-player-guide__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-resources-new-player-guide__read-more:hover {
    color: #005A2E;
    transform: translateX(5px);
}

/* FAQ Section */
.page-resources-new-player-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-new-player-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-new-player-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    box-sizing: border-box;
}

.page-resources-new-player-guide__faq-item.active .page-resources-new-player-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--background-light-grey);
    border-radius: 0 0 5px 5px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

.page-resources-new-player-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color-light);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.page-resources-new-player-guide__faq-question:hover {
    background: var(--background-light-grey);
    border-color: #d0d0d0;
}

.page-resources-new-player-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-new-player-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-resources-new-player-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

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

/* Conclusion Section */
.page-resources-new-player-guide__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-new-player-guide__hero-content h1 {
        font-size: 2.5em;
    }
    .page-resources-new-player-guide__hero-content p {
        font-size: 1.1em;
    }
    .page-resources-new-player-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-new-player-guide__section-description {
        font-size: 1em;
    }
    .page-resources-new-player-guide__step-item,
    .page-resources-new-player-guide__game-card,
    .page-resources-new-player-guide__feature-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-resources-new-player-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-new-player-guide__hero-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    .page-resources-new-player-guide__hero-image img {
        border-radius: 4px;
    }
    .page-resources-new-player-guide__hero-content h1 {
        font-size: 2em;
    }
    .page-resources-new-player-guide__hero-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-resources-new-player-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0 15px;
    }
    .page-resources-new-player-guide__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-new-player-guide__section {
        padding: 40px 0;
    }
    .page-resources-new-player-guide__container {
        padding: 0 15px;
    }
    .page-resources-new-player-guide__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-resources-new-player-guide__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
}