/* style/beginner-guide-game-rules-overview.css */
.page-beginner-guide-game-rules-overview {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #E0E0E0; /* Light gray for main text on dark background */
    background-color: #0D1B2A; /* Primary dark background */
    line-height: 1.6;
}

.page-beginner-guide-game-rules-overview__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-beginner-guide-game-rules-overview__hero-section {
    background: linear-gradient(135deg, #0D1B2A 0%, #213247 100%); /* Darker gradient */
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-beginner-guide-game-rules-overview__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-beginner-guide-game-rules-overview__hero-subtitle {
    font-size: 1.3em;
    color: #CCCCCC;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-beginner-guide-game-rules-overview__highlight {
    color: #FFD700; /* Accent gold color */
    font-weight: 700;
}

.page-beginner-guide-game-rules-overview__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-beginner-guide-game-rules-overview__btn--primary {
    background-color: #FFD700; /* Gold accent */
    color: #0D1B2A; /* Dark text on gold */
    margin-top: 20px;
}

.page-beginner-guide-game-rules-overview__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide-game-rules-overview__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-beginner-guide-game-rules-overview__btn--secondary:hover {
    background-color: #FFD700;
    color: #0D1B2A;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide-game-rules-overview__content-section {
    padding: 60px 0;
    background-color: #1A2B3D; /* Slightly lighter dark for content sections */
}

.page-beginner-guide-game-rules-overview__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-beginner-guide-game-rules-overview__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-beginner-guide-game-rules-overview__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-beginner-guide-game-rules-overview__game-article {
    background-color: #0D1B2A;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
}

.page-beginner-guide-game-rules-overview__game-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-beginner-guide-game-rules-overview__sub-game-title {
    font-size: 1.4em;
    color: #FFFFFF;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-beginner-guide-game-rules-overview__list,
.page-beginner-guide-game-rules-overview__list--ordered {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-beginner-guide-game-rules-overview__list--ordered {
    list-style-type: decimal;
}

.page-beginner-guide-game-rules-overview__list li,
.page-beginner-guide-game-rules-overview__list--ordered li {
    margin-bottom: 8px;
}

.page-beginner-guide-game-rules-overview__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide-game-rules-overview__image--full-width {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide-game-rules-overview__image--inline {
    width: 60%; /* Adjust as needed for better layout */
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-beginner-guide-game-rules-overview__cta-block {
    background-color: #0D1B2A;
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #FFD700;
}

.page-beginner-guide-game-rules-overview__cta-title {
    font-size: 2.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-beginner-guide-game-rules-overview__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-beginner-guide-game-rules-overview__link-inline {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-beginner-guide-game-rules-overview__link-inline:hover {
    text-decoration: underline;
}

.page-beginner-guide-game-rules-overview__faq-section {
    background-color: #1A2B3D;
    padding: 60px 0;
}

.page-beginner-guide-game-rules-overview__faq-item {
    background-color: #0D1B2A;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #FFD700;
}

.page-beginner-guide-game-rules-overview__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-beginner-guide-game-rules-overview__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-beginner-guide-game-rules-overview__faq-item.active .page-beginner-guide-game-rules-overview__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-beginner-guide-game-rules-overview__faq-answer {
    font-size: 1.05em;
    color: #E0E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-beginner-guide-game-rules-overview__faq-item.active .page-beginner-guide-game-rules-overview__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-beginner-guide-game-rules-overview__hero-title {
        font-size: 2.5em;
    }

    .page-beginner-guide-game-rules-overview__hero-subtitle {
        font-size: 1.1em;
    }

    .page-beginner-guide-game-rules-overview__section-title {
        font-size: 2em;
    }

    .page-beginner-guide-game-rules-overview__game-title {
        font-size: 1.5em;
    }

    .page-beginner-guide-game-rules-overview__sub-game-title {
        font-size: 1.2em;
    }

    .page-beginner-guide-game-rules-overview__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-beginner-guide-game-rules-overview__cta-block {
        padding: 30px;
    }

    .page-beginner-guide-game-rules-overview__cta-title {
        font-size: 1.8em;
    }

    .page-beginner-guide-game-rules-overview__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-beginner-guide-game-rules-overview__btn--secondary {
        margin-left: 0;
    }

    .page-beginner-guide-game-rules-overview__image--inline {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide-game-rules-overview__hero-title {
        font-size: 2em;
    }

    .page-beginner-guide-game-rules-overview__hero-subtitle {
        font-size: 1em;
    }

    .page-beginner-guide-game-rules-overview__section-title {
        font-size: 1.8em;
    }

    .page-beginner-guide-game-rules-overview__game-title {
        font-size: 1.3em;
    }

    .page-beginner-guide-game-rules-overview__cta-title {
        font-size: 1.5em;
    }

    .page-beginner-guide-game-rules-overview__btn {
        width: 100%;
        text-align: center;
    }

    .page-beginner-guide-game-rules-overview__image--inline {
        width: 95%;
    }
}