/* style/beginner-guide.css */

/* Base styles for the page content, ensuring light text on the dark body background */
.page-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    padding-bottom: 60px; /* Space above footer */
}

/* Hero Section */
.page-beginner-guide__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1a1a1a; /* Dark background from body */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-beginner-guide__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-beginner-guide__hero-title {
    font-size: 3.2em;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-beginner-guide__hero-description {
    font-size: 1.2em;
    color: #f0f0f0; /* Slightly off-white for readability */
    margin-bottom: 30px;
}

.page-beginner-guide__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* General Section Styling */
.page-beginner-guide__section {
    padding: 60px 20px;
    text-align: center;
}

.page-beginner-guide__dark-bg {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-beginner-guide__light-bg {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text */
}

.page-beginner-guide__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-beginner-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-beginner-guide__dark-bg .page-beginner-guide__section-title {
    color: #26A9E0; /* Brand color on dark background */
}

.page-beginner-guide__light-bg .page-beginner-guide__section-title {
    color: #000000; /* Dark text on light background */
}

.page-beginner-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-beginner-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-beginner-guide__cta-buttons--center {
    justify-content: center;
}

.page-beginner-guide__cta-buttons--left {
    justify-content: flex-start;
}

.page-beginner-guide__btn-primary,
.page-beginner-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-beginner-guide__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-beginner-guide__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-beginner-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand primary color for text */
    border: 2px solid #26A9E0;
}

.page-beginner-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Login button specific color */
.page-beginner-guide__btn-login {
    background-color: #EA7C07; /* Login specific color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-beginner-guide__btn-login:hover {
    background-color: #c96706;
    border-color: #c96706;
}

/* Steps Grid */
.page-beginner-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-beginner-guide__step-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-beginner-guide__step-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-beginner-guide__step-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-beginner-guide__link-text {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-beginner-guide__link-text:hover {
    text-decoration: underline;
}

/* Features Grid (for deposit methods) */
.page-beginner-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-beginner-guide__feature-card {
    background: #f8f8f8; /* Light background for card on light section */
    color: #333333; /* Dark text for light card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-beginner-guide__feature-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-beginner-guide__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Game Categories Grid */
.page-beginner-guide__game-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__game-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-beginner-guide__game-card:hover {
    transform: translateY(-5px);
}

.page-beginner-guide__game-link {
    text-decoration: none;
    color: inherit; /* Inherit color from parent for link text */
    display: block;
}

.page-beginner-guide__game-title {
    font-size: 1.4em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-beginner-guide__game-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* General List Styling */
.page-beginner-guide__list {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin: 30px auto 0 auto;
    max-width: 800px;
    text-align: left;
}

.page-beginner-guide__list-item {
    background: #f8f8f8; /* Light background for list item on light section */
    color: #333333; /* Dark text for list item */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    display: flex;
    align-items: flex-start;
}

.page-beginner-guide__list-item strong {
    color: #26A9E0; /* Brand color for strong text */
    margin-right: 8px;
}

/* App Download Section */
.page-beginner-guide__app-download-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

.page-beginner-guide__app-info {
    flex: 1;
}

.page-beginner-guide__app-subtitle {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-beginner-guide__app-info .page-beginner-guide__list {
    margin: 0 0 30px 0;
}

.page-beginner-guide__image-wrapper--app {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-beginner-guide__support-item {
    background: #f8f8f8; /* Light background for card on light section */
    color: #333333; /* Dark text for light card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-beginner-guide__support-title {
    font-size: 1.5em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-beginner-guide__support-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-beginner-guide__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-beginner-guide__faq-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for question */
    transition: background-color 0.3s ease;
}

.page-beginner-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-beginner-guide__faq-title {
    font-size: 1.3em;
    color: #ffffff; /* White text for question */
    margin: 0;
    flex-grow: 1;
}

.page-beginner-guide__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for toggle */
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-beginner-guide__faq-item.active .page-beginner-guide__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes cross */
}

.page-beginner-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0; /* Light text for answer */
}

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

.page-beginner-guide__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Image styling for content area */
.page-beginner-guide__image-wrapper {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-beginner-guide__hero-title {
        font-size: 2.8em;
    }

    .page-beginner-guide__hero-description {
        font-size: 1.1em;
    }

    .page-beginner-guide__section-title {
        font-size: 2em;
    }

    .page-beginner-guide__app-download-content {
        flex-direction: column;
    }

    .page-beginner-guide__image-wrapper--app {
        margin-top: 30px;
    }

    .page-beginner-guide__cta-buttons--left {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-beginner-guide__hero-title {
        font-size: 2.2em;
    }

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

    .page-beginner-guide__section {
        padding: 40px 15px;
    }

    .page-beginner-guide__section-title {
        font-size: 1.8em;
    }

    .page-beginner-guide__text-block {
        font-size: 0.95em;
    }

    .page-beginner-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container */
    }

    .page-beginner-guide__btn-primary,
    .page-beginner-guide__btn-secondary,
    .page-beginner-guide a[class*="button"],
    .page-beginner-guide 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-beginner-guide__steps-grid,
    .page-beginner-guide__features-grid,
    .page-beginner-guide__game-categories-grid,
    .page-beginner-guide__support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-beginner-guide__step-item,
    .page-beginner-guide__feature-card,
    .page-beginner-guide__game-card,
    .page-beginner-guide__support-item {
        padding: 20px;
    }

    .page-beginner-guide__step-title,
    .page-beginner-guide__feature-title,
    .page-beginner-guide__game-title,
    .page-beginner-guide__support-title {
        font-size: 1.3em;
    }

    .page-beginner-guide__list-item {
        font-size: 0.95em;
        padding: 12px 15px;
    }

    .page-beginner-guide__app-subtitle {
        font-size: 1.5em;
    }

    /* Images responsiveness */
    .page-beginner-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-beginner-guide__image-wrapper,
    .page-beginner-guide__hero-image-wrapper,
    .page-beginner-guide__section,
    .page-beginner-guide__card,
    .page-beginner-guide__container,
    .page-beginner-guide__app-download-content,
    .page-beginner-guide__faq-list,
    .page-beginner-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* FAQ Specific Mobile Adjustments */
    .page-beginner-guide__faq-question {
        padding: 15px 20px;
    }

    .page-beginner-guide__faq-title {
        font-size: 1.1em;
    }

    .page-beginner-guide__faq-toggle {
        font-size: 1.5em;
        margin-left: 15px;
    }

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