/* style/faq-game-rules.css */
.page-faq-game-rules {
    font-family: 'Arial', sans-serif;
    color: #0A2342;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-faq-game-rules__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%); /* Dark blue gradient */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-game-rules__hero-image {
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-game-rules__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-game-rules__subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #E0E0E0;
}

.page-faq-game-rules__cta-button {
    display: inline-block;
    background-color: #DC3545; /* Red for CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq-game-rules__cta-button:hover {
    background-color: #C82333;
    transform: translateY(-3px);
}

.page-faq-game-rules__section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-faq-game-rules__section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-faq-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-faq-game-rules__overview p,
.page-faq-game-rules__general-rules p,
.page-faq-game-rules__faq p,
.page-faq-game-rules__tips p,
.page-faq-game-rules__tips ul {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.page-faq-game-rules__overview .page-faq-game-rules__button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    background-color: #FFD700; /* Gold for secondary CTA */
    color: #0A2342;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__overview .page-faq-game-rules__button:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

.page-faq-game-rules__rule-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq-game-rules__rule-heading {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-faq-game-rules__button--secondary {
    background-color: #FFD700;
    color: #0A2342;
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-faq-game-rules__button--secondary:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

.page-faq-game-rules__game-category {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-faq-game-rules__game-heading {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-faq-game-rules__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__game-category ul {
    list-style: disc;
    margin-left: 25px;
    color: #333;
}

.page-faq-game-rules__game-category li {
    margin-bottom: 10px;
}

.page-faq-game-rules__text-center {
    text-align: center;
}

.page-faq-game-rules__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.page-faq-game-rules__faq-question {
    font-size: 1.4em;
    color: #0A2342;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

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

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

.page-faq-game-rules__faq-answer.active {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-faq-game-rules__faq-answer p {
    margin-bottom: 15px;
    color: #555;
}

.page-faq-game-rules__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__tips ul {
    list-style: none;
    padding: 0;
}

.page-faq-game-rules__tips li {
    background-color: #FFFFFF;
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: #333;
}

.page-faq-game-rules__tips li strong {
    color: #0A2342;
}

.page-faq-game-rules__call-to-action {
    background-color: #0A2342;
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-faq-game-rules__call-to-action .page-faq-game-rules__section-title {
    color: #FFD700;
}

.page-faq-game-rules__call-to-action .page-faq-game-rules__section-title::after {
    background-color: #DC3545;
}

.page-faq-game-rules__call-to-action p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #E0E0E0;
}

.page-faq-game-rules__main-cta-button {
    display: inline-block;
    background-color: #DC3545;
    color: #FFFFFF;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq-game-rules__main-cta-button:hover {
    background-color: #C82333;
    transform: translateY(-5px);
}

.page-faq-game-rules__cta-image {
    max-width: 700px;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-faq-game-rules .highlight-text {
    color: #DC3545;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq-game-rules__title {
        font-size: 2.8em;
    }
    .page-faq-game-rules__subtitle {
        font-size: 1.1em;
    }
    .page-faq-game-rules__section-title {
        font-size: 2em;
    }
    .page-faq-game-rules__rule-heading,
    .page-faq-game-rules__game-heading,
    .page-faq-game-rules__faq-question {
        font-size: 1.5em;
    }
    .page-faq-game-rules__main-cta-button {
        font-size: 1.3em;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .page-faq-game-rules__hero {
        padding: 60px 0;
    }
    .page-faq-game-rules__title {
        font-size: 2.2em;
    }
    .page-faq-game-rules__subtitle {
        font-size: 1em;
    }
    .page-faq-game-rules__section {
        padding: 40px 0;
    }
    .page-faq-game-rules__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-faq-game-rules__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-faq-game-rules__rule-item,
    .page-faq-game-rules__game-category,
    .page-faq-game-rules__faq-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-faq-game-rules__rule-heading,
    .page-faq-game-rules__game-heading,
    .page-faq-game-rules__faq-question {
        font-size: 1.3em;
    }
    .page-faq-game-rules__overview p,
    .page-faq-game-rules__general-rules p,
    .page-faq-game-rules__faq p,
    .page-faq-game-rules__tips p,
    .page-faq-game-rules__tips ul {
        font-size: 0.95em;
    }
    .page-faq-game-rules__main-cta-button {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .page-faq-game-rules__hero-image, .page-faq-game-rules__cta-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-faq-game-rules__title {
        font-size: 1.8em;
    }
    .page-faq-game-rules__subtitle {
        font-size: 0.9em;
    }
    .page-faq-game-rules__section-title {
        font-size: 1.5em;
    }
    .page-faq-game-rules__cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    .page-faq-game-rules__rule-heading,
    .page-faq-game-rules__game-heading,
    .page-faq-game-rules__faq-question {
        font-size: 1.1em;
    }
    .page-faq-game-rules__main-cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
}