/* style/beginner-guide.css */
.page-beginner-guide {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light text on dark background */
    line-height: 1.6;
    background-color: #1A1A2E;
}

.page-beginner-guide__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1A1A2E 0%, #E94560 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

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

.page-beginner-guide__hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-beginner-guide__hero p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-beginner-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    overflow: hidden;
}

.page-beginner-guide__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-beginner-guide__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1A1A2E;
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
}

.page-beginner-guide__section:last-of-type {
    border-bottom: none;
}

.page-beginner-guide h2 {
    font-size: 2.5em;
    color: #E94560;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-beginner-guide h3 {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-beginner-guide p {
    font-size: 1.05em;
    color: #E0E0E0;
    margin-bottom: 15px;
}

.page-beginner-guide__cta-button {
    display: inline-block;
    background-color: #E94560;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.page-beginner-guide__cta-button:hover {
    background-color: #FF6B81;
    transform: translateY(-3px);
}

.page-beginner-guide__cta-button--large {
    padding: 18px 35px;
    font-size: 1.25em;
}

.page-beginner-guide__step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-beginner-guide__step-item {
    background-color: #2A2A3E;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-beginner-guide__step-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__step-item h3 {
    color: #E94560;
    margin-top: 0;
    font-size: 1.6em;
}

.page-beginner-guide__step-item p {
    color: #CCCCCC;
    flex-grow: 1;
}

.page-beginner-guide__learn-more-button {
    display: inline-block;
    background-color: #3F3F5F;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.page-beginner-guide__learn-more-button:hover {
    background-color: #5F5F7F;
}

.page-beginner-guide__action-prompt {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #2A2A3E;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide__action-prompt p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-beginner-guide__game-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-beginner-guide__game-type-item {
    background-color: #2A2A3E;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-beginner-guide__game-type-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-beginner-guide__game-type-item h3 {
    color: #E94560;
    font-size: 1.5em;
    margin-top: 0;
}

.page-beginner-guide__game-type-item p {
    font-size: 0.95em;
    color: #CCCCCC;
}

.page-beginner-guide__faq-list {
    margin-top: 30px;
}

.page-beginner-guide__faq-item {
    background-color: #2A2A3E;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide__faq-item h3 {
    margin: 0;
    font-size: 1.3em;
    color: #E94560;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.page-beginner-guide__faq-question {
    flex-grow: 1;
}

.page-beginner-guide__faq-answer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(233, 69, 96, 0.1);
    color: #CCCCCC;
    display: none; /* Hidden by default, toggled by JS */
}

.page-beginner-guide__faq-item.active .page-beginner-guide__faq-answer {
    display: block;
}

.page-beginner-guide__faq-download-button {
    display: inline-block;
    background-color: #5F5F7F;
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.page-beginner-guide__faq-download-button:hover {
    background-color: #7F7F9F;
}

.page-beginner-guide__download-app-text {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-beginner-guide__download-app-text a {
    color: #E94560;
    text-decoration: none;
    font-weight: bold;
}

.page-beginner-guide__download-app-text a:hover {
    text-decoration: underline;
}

.page-beginner-guide__related-guides h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
}

.page-beginner-guide__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-beginner-guide__detail-item {
    background-color: #2A2A3E;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-beginner-guide__detail-item h3 {
    color: #E94560;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-beginner-guide__detail-item h3 a {
    color: #E94560;
    text-decoration: none;
}

.page-beginner-guide__detail-item h3 a:hover {
    text-decoration: underline;
}

.page-beginner-guide__detail-item p {
    color: #CCCCCC;
    font-size: 0.95em;
    flex-grow: 1;
}

.page-beginner-guide__detail-button {
    display: inline-block;
    background-color: #3F3F5F;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    align-self: flex-start;
}

.page-beginner-guide__detail-button:hover {
    background-color: #5F5F7F;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-beginner-guide__hero {
        padding: 40px 15px;
    }

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

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

    .page-beginner-guide h2 {
        font-size: 2em;
    }

    .page-beginner-guide h3 {
        font-size: 1.5em;
    }

    .page-beginner-guide__step-list, .page-beginner-guide__game-types, .page-beginner-guide__detail-list {
        grid-template-columns: 1fr;
    }

    .page-beginner-guide__hero-content, .page-beginner-guide__section {
        margin: 0 10px;
    }

    .page-beginner-guide__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }

    .page-beginner-guide__cta-button--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide__hero h1 {
        font-size: 1.8em;
    }

    .page-beginner-guide h2 {
        font-size: 1.8em;
    }

    .page-beginner-guide h3 {
        font-size: 1.3em;
    }

    .page-beginner-guide p {
        font-size: 0.95em;
    }

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

    .page-beginner-guide__faq-answer {
        font-size: 0.9em;
    }
}