/* style/beginner-guide-game-rules.css */

/* Variables */
:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --accent-color: #CC0000;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #002244;
    --border-color: #e0e0e0;
}

.page-beginner-guide-game-rules {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

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

/* Hero Section */
.page-beginner-guide-game-rules__hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004488 100%);
    color: var(--text-color-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-beginner-guide-game-rules__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,pattern,subtle]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-beginner-guide-game-rules__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-beginner-guide-game-rules__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* CTA Button */
.page-beginner-guide-game-rules__cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-beginner-guide-game-rules__cta-button:hover {
    background-color: #e6b800; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-beginner-guide-game-rules__cta-button--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-beginner-guide-game-rules__cta-button--secondary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 20px;
}

.page-beginner-guide-game-rules__cta-button--secondary:hover {
    background-color: #002244;
    border-color: #e6b800;
}

/* Content Section */
.page-beginner-guide-game-rules__content-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-beginner-guide-game-rules__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-top: 50px;
}

.page-beginner-guide-game-rules__content-section p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color-dark);
}

.page-beginner-guide-game-rules__list,
.page-beginner-guide-game-rules__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-beginner-guide-game-rules__ordered-list {
    list-style-type: decimal;
}

.page-beginner-guide-game-rules__list li,
.page-beginner-guide-game-rules__ordered-list li {
    margin-bottom: 10px;
}

.page-beginner-guide-game-rules__sub-list {
    list-style-type: circle;
    margin-left: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.page-beginner-guide-game-rules__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-beginner-guide-game-rules__image:hover {
    transform: scale(1.02);
}

.page-beginner-guide-game-rules__keyword-highlight {
    color: var(--accent-color);
    font-weight: bold;
}

/* FAQ Section */
.page-beginner-guide-game-rules__faq {
    margin-top: 40px;
}

.page-beginner-guide-game-rules__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide-game-rules__faq-question {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-beginner-guide-game-rules__faq-question::after {
    content: '+';
    font-size: 1.2em;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.page-beginner-guide-game-rules__faq-answer {
    font-size: 1.1em;
    color: var(--text-color-dark);
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    margin-top: 15px;
    display: none;
}

.page-beginner-guide-game-rules__faq-item.active .page-beginner-guide-game-rules__faq-answer {
    display: block;
}

.page-beginner-guide-game-rules__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-beginner-guide-game-rules__faq-answer a:hover {
    color: var(--secondary-color);
}

/* CTA Group */
.page-beginner-guide-game-rules__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

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

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

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

@media (max-width: 768px) {
    .page-beginner-guide-game-rules__hero-section {
        padding: 80px 0;
    }

    .page-beginner-guide-game-rules__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-beginner-guide-game-rules__section-title {
        font-size: 1.8em;
        text-align: center;
    }

    .page-beginner-guide-game-rules__content-section {
        padding: 40px 0;
    }

    .page-beginner-guide-game-rules__list,
    .page-beginner-guide-game-rules__ordered-list,
    .page-beginner-guide-game-rules__content-section p {
        font-size: 1em;
    }
    
    .page-beginner-guide-game-rules__cta-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-beginner-guide-game-rules__cta-group {
        flex-direction: column;
        align-items: center;
    }
}

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

    .page-beginner-guide-game-rules__hero-subtitle {
        font-size: 0.9em;
    }

    .page-beginner-guide-game-rules__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

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

    .page-beginner-guide-game-rules__faq-question {
        font-size: 1.2em;
    }

    .page-beginner-guide-game-rules__faq-answer {
        font-size: 0.95em;
    }
}