.page-game-rules {
    color: #333333; /* Dark text for light background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #FFFFFF;
}

.page-game-rules__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding: 0;
}

.page-game-rules__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-game-rules__hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #FFFFFF;
    max-width: 900px;
    width: 90%;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-rules__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-game-rules__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-game-rules__hero-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-game-rules__hero-button--primary {
    background-color: #FCBC45; /* Login button color for primary CTA */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-game-rules__hero-button--primary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-game-rules__hero-button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register button color for secondary CTA */
    border: 2px solid #FFFFFF;
}

.page-game-rules__hero-button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-game-rules__introduction-section,
.page-game-rules__casino-rules-section,
.page-game-rules__sports-betting-section,
.page-game-rules__original-games-section,
.page-game-rules__responsible-gaming-section,
.page-game-rules__faq-section,
.page-game-rules__conclusion-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-game-rules__introduction-container,
.page-game-rules__casino-rules-container,
.page-game-rules__sports-betting-container,
.page-game-rules__original-games-container,
.page-game-rules__responsible-gaming-container,
.page-game-rules__faq-container,
.page-game-rules__conclusion-container {
    padding: 20px;
}

.page-game-rules__introduction-title,
.page-game-rules__casino-rules-title,
.page-game-rules__sports-betting-title,
.page-game-rules__original-games-title,
.page-game-rules__responsible-gaming-title,
.page-game-rules__faq-title,
.page-game-rules__conclusion-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-game-rules__introduction-text,
.page-game-rules__casino-rules-text,
.page-game-rules__sports-betting-text,
.page-game-rules__original-games-text,
.page-game-rules__responsible-gaming-text,
.page-game-rules__conclusion-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #333333;
    text-align: justify;
}

.page-game-rules__introduction-image,
.page-game-rules__game-category-image,
.page-game-rules__original-games-image,
.page-game-rules__responsible-gaming-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-game-rules__game-category {
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.page-game-rules__game-category-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-rules__game-category-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
    text-align: justify;
}

.page-game-rules__game-category-list {
    list-style-type: disc;
    margin-left: 25px;
    color: #555555;
}

.page-game-rules__game-category-list li {
    margin-bottom: 8px;
}

.page-game-rules__call-to-action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    color: #000000;
}

.page-game-rules__call-to-action-text a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-game-rules__call-to-action-text a:hover {
    text-decoration: underline;
}

.page-game-rules__faq-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.page-game-rules__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-rules__faq-answer {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

.page-game-rules__conclusion-button {
    display: block;
    width: fit-content;
    margin: 40px auto 20px auto;
    padding: 18px 40px;
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-game-rules__conclusion-button:hover {
    background-color: #e0a53a;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-game-rules__hero-title {
        font-size: 2em;
    }

    .page-game-rules__hero-description {
        font-size: 1em;
    }

    .page-game-rules__hero-button {
        padding: 12px 20px;
        font-size: 0.9em;
        margin: 5px;
    }

    .page-game-rules__introduction-title,
    .page-game-rules__casino-rules-title,
    .page-game-rules__sports-betting-title,
    .page-game-rules__original-games-title,
    .page-game-rules__responsible-gaming-title,
    .page-game-rules__faq-title,
    .page-game-rules__conclusion-title {
        font-size: 1.8em;
    }

    .page-game-rules__game-category-title {
        font-size: 1.4em;
    }

    .page-game-rules__faq-question {
        font-size: 1.1em;
    }

    .page-game-rules__conclusion-button {
        font-size: 1.2em;
        padding: 15px 30px;
    }

    .page-game-rules__hero-image,
    .page-game-rules__introduction-image,
    .page-game-rules__game-category-image,
    .page-game-rules__original-games-image,
    .page-game-rules__responsible-gaming-image {
        max-width: 100%;
        height: auto;
    }
}

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

    .page-game-rules__hero-description {
        font-size: 0.9em;
    }

    .page-game-rules__hero-button {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .page-game-rules__introduction-title,
    .page-game-rules__casino-rules-title,
    .page-game-rules__sports-betting-title,
    .page-game-rules__original-games-title,
    .page-game-rules__responsible-gaming-title,
    .page-game-rules__faq-title,
    .page-game-rules__conclusion-title {
        font-size: 1.5em;
    }
}