/* style/faq-game-rules-questions.css */

.page-faq-game-rules-questions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for readability */
}

.page-faq-game-rules-questions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq-game-rules-questions__hero {
    background: linear-gradient(135deg, #FFD700 0%, #000080 100%); /* Gold to Navy gradient */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules-questions__hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-game-rules-questions__hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0; /* Lighter text for contrast */
}

.page-faq-game-rules-questions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #000080; /* Navy text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #FFD700;
}

.page-faq-game-rules-questions__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

.page-faq-game-rules-questions__cta-button--outline {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-faq-game-rules-questions__cta-button--outline:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-faq-game-rules-questions__cta-button--secondary {
    background-color: #000080;
    color: #FFD700;
    border: 2px solid #000080;
}

.page-faq-game-rules-questions__cta-button--secondary:hover {
    background-color: #000066;
    color: #FFD700;
}

.page-faq-game-rules-questions__faq-section,
.page-faq-game-rules-questions__game-specific-rules,
.page-faq-game-rules-questions__fairness-security,
.page-faq-game-rules-questions__cta-bottom {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-faq-game-rules-questions__section-title {
    font-size: 2.5em;
    color: #000080; /* Navy blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-faq-game-rules-questions__intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-faq-game-rules-questions__faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-faq-game-rules-questions__faq-question {
    font-size: 1.25em;
    color: #000080; /* Navy blue for questions */
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-faq-game-rules-questions__faq-question:hover {
    background-color: #e5e5e5;
}

.page-faq-game-rules-questions__faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-faq-game-rules-questions__faq-item.active .page-faq-game-rules-questions__faq-question::after {
    transform: rotate(45deg);
}

.page-faq-game-rules-questions__faq-answer {
    padding: 0 25px;
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq-game-rules-questions__faq-item.active .page-faq-game-rules-questions__faq-answer {
    max-height: 500px; /* Adjust based on expected content height */
    padding: 20px 25px;
}

.page-faq-game-rules-questions__faq-answer p {
    margin-bottom: 15px;
    color: #444;
}

.page-faq-game-rules-questions__game-category {
    margin-bottom: 40px;
    border: 1px solid #FFD700;
    border-radius: 10px;
    padding: 20px;
    background-color: #fffaf0; /* Light gold background */
}

.page-faq-game-rules-questions__game-category-title {
    font-size: 1.8em;
    color: #000080; /* Navy blue */
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}

.page-faq-game-rules-questions__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-faq-game-rules-questions__image--full-width {
    width: 100%;
}

.page-faq-game-rules-questions__text-link {
    color: #000080; /* Navy blue for internal text links */
    text-decoration: underline;
    font-weight: bold;
}

.page-faq-game-rules-questions__text-link:hover {
    color: #FFD700; /* Gold on hover */
}

.page-faq-game-rules-questions__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-faq-game-rules-questions__disclaimer {
    text-align: center;
    font-size: 0.9em;
    color: #777;
    margin-top: 30px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq-game-rules-questions__hero h1 {
        font-size: 2.5em;
    }

    .page-faq-game-rules-questions__hero p {
        font-size: 1em;
    }

    .page-faq-game-rules-questions__section-title {
        font-size: 2em;
    }

    .page-faq-game-rules-questions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-faq-game-rules-questions__faq-answer {
        padding: 15px 20px;
    }

    .page-faq-game-rules-questions__button-group {
        flex-direction: column;
        align-items: center;
    }

    .page-faq-game-rules-questions__cta-button {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-faq-game-rules-questions__hero h1 {
        font-size: 2em;
    }

    .page-faq-game-rules-questions__hero p {
        font-size: 0.9em;
    }

    .page-faq-game-rules-questions__section-title {
        font-size: 1.8em;
    }

    .page-faq-game-rules-questions__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-faq-game-rules-questions__faq-answer {
        padding: 12px 15px;
    }

    .page-faq-game-rules-questions__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
}