/* style/faq-game-rules.css */
.page-faq-game-rules {
    font-family: 'Arial', sans-serif;
    color: #2C3E50; /* Dark blue for main text */
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-faq-game-rules__hero {
    background: linear-gradient(135deg, #FFD700, #b39700); /* Gold gradient */
    color: #2C3E50; /* Dark text on light background */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
}

.page-faq-game-rules__hero-content {
    max-width: 800px;
}

.page-faq-game-rules__hero-image-wrapper {
    max-width: 600px;
    width: 100%;
    margin-top: 30px;
}

.page-faq-game-rules__hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #2C3E50; /* Dark blue for title */
    font-weight: bold;
}

.page-faq-game-rules__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #2C3E50;
}

.page-faq-game-rules__button {
    display: inline-block;
    background-color: #2C3E50; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #2C3E50;
}

.page-faq-game-rules__button:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #2C3E50; /* Dark blue text on gold */
    border-color: #2C3E50;
}

.page-faq-game-rules__button--secondary {
    background-color: transparent;
    color: #2C3E50;
    border-color: #2C3E50;
}

.page-faq-game-rules__button--secondary:hover {
    background-color: #2C3E50;
    color: #FFD700;
}

.page-faq-game-rules__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-faq-game-rules__section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: left;
}

.page-faq-game-rules__section-title {
    font-size: 2em;
    color: #2C3E50; /* Dark blue for section titles */
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.page-faq-game-rules__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFD700;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-faq-game-rules__accordion {
    margin-top: 30px;
}

.page-faq-game-rules__accordion-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq-game-rules__accordion-header {
    width: 100%;
    background-color: #f0f0f0;
    color: #2C3E50;
    padding: 15px 20px;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

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

.page-faq-game-rules__accordion-header:hover {
    background-color: #e5e5e5;
}

.page-faq-game-rules__accordion-content {
    padding: 15px 20px;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    display: none; /* Hidden by default */
    color: #555;
}

.page-faq-game-rules__accordion-content p {
    margin-bottom: 10px;
}

.page-faq-game-rules__link {
    color: #FFD700; /* Gold link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-game-rules__link:hover {
    color: #b39700; /* Darker gold on hover */
    text-decoration: underline;
}

.page-faq-game-rules__image-inline {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-faq-game-rules__game-card {
    background-color: #2C3E50; /* Dark blue card background */
    color: #FFD700; /* Gold text on dark blue */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-game-rules__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-faq-game-rules__game-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700;
}

.page-faq-game-rules__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFD700;
}

.page-faq-game-rules__game-description {
    font-size: 0.95em;
    color: #e0e0e0; /* Lighter text for description */
    margin-bottom: 20px;
}

.page-faq-game-rules__responsible-gaming .page-faq-game-rules__text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #2C3E50;
}

.page-faq-game-rules__list {
    list-style: disc inside;
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding-left: 20px;
    color: #2C3E50;
}

.page-faq-game-rules__list li {
    margin-bottom: 10px;
    font-size: 1em;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq-game-rules__hero {
        padding: 60px 15px;
    }

    .page-faq-game-rules__title {
        font-size: 2.2em;
    }

    .page-faq-game-rules__subtitle {
        font-size: 1em;
    }

    .page-faq-game-rules__section {
        margin: 40px auto;
        padding: 0 15px;
    }

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

    .page-faq-game-rules__accordion-header {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-faq-game-rules__game-card {
        padding: 20px;
    }

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

@media (max-width: 480px) {
    .page-faq-game-rules__title {
        font-size: 1.8em;
    }

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

    .page-faq-game-rules__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-faq-game-rules__game-icon {
        width: 60px;
        height: 60px;
    }
}