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

:root {
    --epicwin-primary: #F2C14E;
    --epicwin-secondary: #FFD36B;
    --epicwin-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --epicwin-card-bg: #111111;
    --epicwin-background: #0A0A0A;
    --epicwin-text-main: #FFF6D6;
    --epicwin-border: #3A2A12;
    --epicwin-glow: #FFD36B;
    --epicwin-light-text: #333333;
    --epicwin-light-bg-card: #ffffff;
    --epicwin-light-bg-section: #f5f5f5;
}

.page-new-player-guide {
    font-family: 'Arial', sans-serif;
    color: var(--epicwin-text-main); /* Default text color for dark background */
    background-color: var(--epicwin-background);
}

.page-new-player-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
}

.page-new-player-guide__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

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

.page-new-player-guide__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    color: var(--epicwin-text-main);
}

.page-new-player-guide__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--epicwin-text-main);
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-new-player-guide__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-new-player-guide__btn-primary,
.page-new-player-guide__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    display: inline-flex; /* Use flex to center text vertically if needed */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.page-new-player-guide__btn-primary {
    background: var(--epicwin-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-new-player-guide__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-new-player-guide__btn-secondary:hover {
    background: var(--epicwin-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-new-player-guide__btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.page-new-player-guide__btn-large {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.page-new-player-guide__section {
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-new-player-guide__dark-section {
    background-color: var(--epicwin-background);
    color: var(--epicwin-text-main);
}

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

.page-new-player-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-new-player-guide__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--epicwin-text-main);
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-new-player-guide__light-bg .page-new-player-guide__section-title {
    color: var(--epicwin-light-text);
    text-shadow: none;
}

.page-new-player-guide__subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--epicwin-text-main);
}

.page-new-player-guide__light-bg .page-new-player-guide__subsection-title {
    color: var(--epicwin-light-text);
}

.page-new-player-guide__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--epicwin-text-main);
}

.page-new-player-guide__light-bg .page-new-player-guide__text-block {
    color: var(--epicwin-light-text);
}

.page-new-player-guide__highlight {
    color: var(--epicwin-secondary);
    font-weight: 700;
}

.page-new-player-guide__link {
    color: var(--epicwin-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-new-player-guide__link:hover {
    color: var(--epicwin-secondary);
}

/* Feature Grid */
.page-new-player-guide__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__feature-card {
    background-color: var(--epicwin-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--epicwin-border);
}

.page-new-player-guide__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-new-player-guide__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--epicwin-secondary);
    margin-bottom: 10px;
}

.page-new-player-guide__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--epicwin-text-main);
}

/* Process Grid */
.page-new-player-guide__process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__process-card {
    background-color: var(--epicwin-light-bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    color: var(--epicwin-light-text);
}

.page-new-player-guide__process-card .page-new-player-guide__subsection-title,
.page-new-player-guide__process-card .page-new-player-guide__text-block,
.page-new-player-guide__process-card .page-new-player-guide__ordered-list {
    color: var(--epicwin-light-text);
}

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

.page-new-player-guide__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--epicwin-text-main);
}

.page-new-player-guide__ordered-list li {
    margin-bottom: 10px;
}

/* Payment Grid */
.page-new-player-guide__payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__payment-card {
    background-color: var(--epicwin-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--epicwin-border);
    color: var(--epicwin-text-main);
}

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

.page-new-player-guide__unordered-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--epicwin-text-main);
}

.page-new-player-guide__unordered-list li {
    margin-bottom: 10px;
}

/* Game Category Grid */
.page-new-player-guide__game-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__game-card {
    background-color: var(--epicwin-light-bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    color: var(--epicwin-light-text);
    text-align: center;
}

.page-new-player-guide__game-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 15px;
}

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

/* Promo Grid */
.page-new-player-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__promo-card {
    background-color: var(--epicwin-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--epicwin-border);
    color: var(--epicwin-text-main);
    text-align: center;
}

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

/* FAQ Section */
.page-new-player-guide__faq-list {
    margin-top: 40px;
}

.page-new-player-guide__faq-item {
    background-color: var(--epicwin-card-bg);
    border: 1px solid var(--epicwin-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-new-player-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--epicwin-secondary);
    transition: background-color 0.3s ease;
}

.page-new-player-guide__faq-question:hover {
    background-color: rgba(255, 211, 107, 0.1);
}

.page-new-player-guide__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    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;
    color: var(--epicwin-text-main);
    font-size: 1rem;
    line-height: 1.6;
}

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

/* Mobile Features Grid */
.page-new-player-guide__mobile-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__mobile-feature-card {
    background-color: var(--epicwin-light-bg-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    color: var(--epicwin-light-text);
    text-align: center;
}

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

/* Support Options */
.page-new-player-guide__support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new-player-guide__support-card {
    background-color: var(--epicwin-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--epicwin-border);
}

.page-new-player-guide__support-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

/* Final CTA */
.page-new-player-guide__cta-final {
    text-align: center;
    padding: 80px 20px;
}

.page-new-player-guide__cta-final .page-new-player-guide__section-title {
    margin-bottom: 20px;
}

.page-new-player-guide__cta-final .page-new-player-guide__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Text Contrast Fix for Light Backgrounds */
.page-new-player-guide__text-contrast-fix {
    color: var(--epicwin-light-text);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-new-player-guide__hero-section {
        padding-bottom: 40px;
    }
    .page-new-player-guide__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-new-player-guide__section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-new-player-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-new-player-guide__hero-section {
        padding-top: 10px !important; /* Ensure minimal top padding, body handles header offset */
        padding-bottom: 30px;
    }
    .page-new-player-guide__main-title {
        font-size: 2.2rem;
    }
    .page-new-player-guide__hero-description {
        font-size: 1rem;
    }
    .page-new-player-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-new-player-guide__btn-primary,
    .page-new-player-guide__btn-secondary {
        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-new-player-guide__section {
        padding: 40px 15px;
    }
    .page-new-player-guide__container {
        padding: 0;
    }
    .page-new-player-guide__section-title {
        font-size: 2rem;
    }
    .page-new-player-guide__subsection-title {
        font-size: 1.3rem;
    }
    .page-new-player-guide__text-block,
    .page-new-player-guide__unordered-list,
    .page-new-player-guide__ordered-list {
        font-size: 0.95rem;
    }

    /* Image Responsive */
    .page-new-player-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-new-player-guide__hero-image-wrapper,
    .page-new-player-guide__feature-card,
    .page-new-player-guide__process-card,
    .page-new-player-guide__payment-card,
    .page-new-player-guide__game-card,
    .page-new-player-guide__promo-card,
    .page-new-player-guide__mobile-feature-card,
    .page-new-player-guide__support-card,
    .page-new-player-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-new-player-guide__hero-image,
    .page-new-player-guide__process-image,
    .page-new-player-guide__payment-image,
    .page-new-player-guide__game-image,
    .page-new-player-guide__promo-image,
    .page-new-player-guide__mobile-image {
        height: auto !important; /* Allow height to adjust */
    }
    .page-new-player-guide__game-icon,
    .page-new-player-guide__feature-icon,
    .page-new-player-guide__support-icon {
        width: auto !important;
        height: auto !important;
        max-width: 50px !important;
        max-height: 50px !important;
        margin: 0 auto 15px auto;
    }
    .page-new-player-guide__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-new-player-guide__faq-answer {
        padding: 15px 20px;
    }
    .page-new-player-guide__cta-final {
        padding: 60px 15px;
    }
}