/* style/beginner-guide-game-rules.css */
.page-beginner-guide-game-rules {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A2239; /* Main brand dark blue */
}

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

.page-beginner-guide-game-rules__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1A3A54 100%); /* Slightly lighter gradient for hero */
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide-game-rules__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.page-beginner-guide-game-rules__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    filter: blur(100px);
}

.page-beginner-guide-game-rules__main-title {
    font-size: 3.5em;
    color: #FFD700; /* Accent gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-beginner-guide-game-rules__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #D0D0D0;
}

.page-beginner-guide-game-rules__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 10px;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide-game-rules__btn--primary {
    background-color: #FFD700; /* Accent gold for primary button */
    color: #0A2239; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

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

.page-beginner-guide-game-rules__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Accent gold text for secondary button */
    border: 2px solid #FFD700;
}

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

.page-beginner-guide-game-rules__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-beginner-guide-game-rules__section:last-of-type {
    border-bottom: none;
}

.page-beginner-guide-game-rules__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Accent gold for section titles */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-beginner-guide-game-rules__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__section--general-rules p {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-beginner-guide-game-rules__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-beginner-guide-game-rules__list li {
    background-color: #1A3A54; /* Darker blue for list items */
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #FFD700; /* Gold accent border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.05em;
    color: #E0E0E0;
}

.page-beginner-guide-game-rules__list li strong {
    color: #FFD700;
}

.page-beginner-guide-game-rules__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-beginner-guide-game-rules__image--full-width {
    width: 100%;
}

.page-beginner-guide-game-rules__game-article {
    background-color: #0F2A40; /* Slightly lighter than main background */
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-beginner-guide-game-rules__game-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold for game titles */
    margin-bottom: 25px;
    text-align: center;
}

.page-beginner-guide-game-rules__sub-game-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold for sub-game titles */
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #FFD700;
    padding-left: 15px;
}

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

.page-beginner-guide-game-rules__faq-item {
    background-color: #1A3A54;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-beginner-guide-game-rules__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-beginner-guide-game-rules__faq-question:hover {
    background-color: #2a4c6a;
}

.page-beginner-guide-game-rules__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-beginner-guide-game-rules__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-beginner-guide-game-rules__faq-answer {
    padding: 0 25px 20px;
    margin: 0;
    font-size: 1.1em;
    color: #D0D0D0;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-beginner-guide-game-rules__faq-answer.active {
    display: block;
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

.page-beginner-guide-game-rules__cta-bottom-section {
    background-color: #0A2239;
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-beginner-guide-game-rules__cta-bottom-section .page-beginner-guide-game-rules__section-title {
    color: #FFD700;
    margin-bottom: 30px;
}

.page-beginner-guide-game-rules__cta-bottom-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #D0D0D0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-beginner-guide-game-rules__main-title {
        font-size: 2.8em;
    }
    .page-beginner-guide-game-rules__section-title {
        font-size: 2.2em;
    }
    .page-beginner-guide-game-rules__game-title {
        font-size: 1.8em;
    }
    .page-beginner-guide-game-rules__sub-game-title {
        font-size: 1.4em;
    }
    .page-beginner-guide-game-rules__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-beginner-guide-game-rules__hero-section {
        padding: 60px 0;
    }
    .page-beginner-guide-game-rules__main-title {
        font-size: 2.2em;
    }
    .page-beginner-guide-game-rules__subtitle {
        font-size: 1em;
    }
    .page-beginner-guide-game-rules__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 5px;
    }
    .page-beginner-guide-game-rules__cta-group {
        flex-direction: column;
        align-items: center;
    }
    .page-beginner-guide-game-rules__section {
        padding: 40px 0;
    }
    .page-beginner-guide-game-rules__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-beginner-guide-game-rules__game-article {
        padding: 30px;
    }
    .page-beginner-guide-game-rules__game-title {
        font-size: 1.6em;
    }
    .page-beginner-guide-game-rules__sub-game-title {
        font-size: 1.2em;
    }
    .page-beginner-guide-game-rules__faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }
    .page-beginner-guide-game-rules__faq-question::after {
        font-size: 1.2em;
        right: 20px;
    }
    .page-beginner-guide-game-rules__faq-answer {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-beginner-guide-game-rules__main-title {
        font-size: 1.8em;
    }
    .page-beginner-guide-game-rules__section-title {
        font-size: 1.5em;
    }
    .page-beginner-guide-game-rules__btn {
        width: 100%;
        max-width: 250px;
    }
    .page-beginner-guide-game-rules__list li {
        padding: 15px;
    }
}