
    /* Page-specific CSS for 8k8.com casino */
    :root {
        --page-8k8-5-primary-color: #FFD700; /* Gold */
        --page-8k8-5-secondary-color: #000000; /* Black */
        --page-8k8-5-accent-color: #B22222; /* Firebrick */
        --page-8k8-5-text-color-light: #FFFFFF;
        --page-8k8-5-text-color-dark: #333333;
        --page-8k8-5-background-dark: #1a1a1a;
        --page-8k8-5-background-light: #f5f5f5;
    }

    .page-8k8-5 {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        color: var(--page-8k8-5-text-color-dark);
        background-color: var(--page-8k8-5-background-light);
        padding-top: var(--header-offset, 122px); /* Fallback for fixed header, as per instructions */
    }

    .page-8k8-5__section {
        padding: 40px 20px;
        margin: 0 auto;
        max-width: 1200px;
        text-align: center;
        box-sizing: border-box;
    }

    .page-8k8-5__section--dark {
        background-color: var(--page-8k8-5-background-dark);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__section-title {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: var(--page-8k8-5-primary-color);
        text-transform: uppercase;
        font-weight: bold;
    }

    .page-8k8-5__section--dark .page-8k8-5__section-title {
        color: var(--page-8k8-5-primary-color);
    }

    .page-8k8-5__section-subtitle {
        font-size: 1.2em;
        margin-bottom: 40px;
        color: var(--page-8k8-5-text-color-dark);
    }

    .page-8k8-5__section--dark .page-8k8-5__section-subtitle {
        color: #cccccc;
    }

    /* Hero Section */
    .page-8k8-5__hero-section {
        background: var(--page-8k8-5-background-dark);
        color: var(--page-8k8-5-text-color-light);
        padding: 60px 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
        padding-top: 10px; /* Decorative top spacing, as body already has header offset */
    }

    .page-8k8-5__hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.3;
        z-index: 0;
        max-width: 100%; /* Ensure responsiveness */
        height: auto; /* Maintain aspect ratio */
    }

    .page-8k8-5__hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
        margin: 0 auto;
    }

    .page-8k8-5__hero-title {
        font-size: 3.5em;
        margin-bottom: 20px;
        color: var(--page-8k8-5-primary-color);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-8k8-5__hero-description {
        font-size: 1.3em;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        color: #e0e0e0;
    }

    .page-8k8-5__button {
        background-color: var(--page-8k8-5-primary-color);
        color: var(--page-8k8-5-secondary-color);
        padding: 15px 30px;
        border: none;
        border-radius: 5px;
        font-size: 1.1em;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        text-decoration: none;
        display: inline-block;
        margin: 10px;
    }

    .page-8k8-5__button:hover {
        background-color: #FFC107; /* Slightly darker gold */
        transform: translateY(-2px);
    }

    .page-8k8-5__button--secondary {
        background-color: var(--page-8k8-5-accent-color);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__button--secondary:hover {
        background-color: #CD5C5C; /* Slightly darker firebrick */
        transform: translateY(-2px);
    }

    /* Game Showcase */
    .page-8k8-5__game-showcase {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-8k8-5__game-card {
        background-color: var(--page-8k8-5-background-light);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: left;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        color: var(--page-8k8-5-text-color-dark);
        box-sizing: border-box; /* Crucial for responsive width calculation */
    }

    .page-8k8-5__section--dark .page-8k8-5__game-card {
        background-color: #2a2a2a;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .page-8k8-5__game-card-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-8k8-5__game-card-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        max-width: 100%;
        height: auto; /* Ensure aspect ratio is maintained */
    }

    .page-8k8-5__game-card-content {
        padding: 20px;
    }

    .page-8k8-5__game-card-title {
        font-size: 1.5em;
        margin-bottom: 10px;
        color: var(--page-8k8-5-primary-color);
    }

    .page-8k8-5__game-card-description {
        font-size: 0.95em;
        color: var(--page-8k8-5-text-color-dark);
    }

    .page-8k8-5__section--dark .page-8k8-5__game-card-description {
        color: #cccccc;
    }

    /* Features/Benefits */
    .page-8k8-5__features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-8k8-5__feature-item {
        background-color: var(--page-8k8-5-background-light);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        text-align: center;
        transition: transform 0.3s ease;
        color: var(--page-8k8-5-text-color-dark);
        box-sizing: border-box; /* Crucial for responsive width calculation */
    }

    .page-8k8-5__section--dark .page-8k8-5__feature-item {
        background-color: #2a2a2a;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__feature-item:hover {
        transform: translateY(-5px);
    }

    .page-8k8-5__feature-icon-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-8k8-5__feature-icon {
        width: 100px;
        height: 100px;
        object-fit: contain;
        margin-bottom: 15px;
        max-width: 100%;
        display: inline-block; /* Ensure it respects text-align center */
        height: auto; /* Maintain aspect ratio */
    }

    .page-8k8-5__feature-title {
        font-size: 1.4em;
        margin-bottom: 10px;
        color: var(--page-8k8-5-primary-color);
    }

    .page-8k8-5__feature-description {
        font-size: 1em;
        color: var(--page-8k8-5-text-color-dark);
    }

    .page-8k8-5__section--dark .page-8k8-5__feature-description {
        color: #cccccc;
    }

    /* Payment Methods & Providers */
    .page-8k8-5__logo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
        margin-top: 40px;
        align-items: center;
        justify-items: center;
    }

    .page-8k8-5__logo-item-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        padding: 10px; /* To give some space around logos */
    }

    .page-8k8-5__logo-item {
        width: 100%;
        height: 80px; /* Fixed height for consistency */
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: filter 0.3s ease, opacity 0.3s ease;
        max-width: 100%;
        height: auto; /* Maintain aspect ratio, but cap at 80px */
    }

    .page-8k8-5__logo-item:hover {
        filter: grayscale(0%);
        opacity: 1;
    }

    /* Promotions */
    .page-8k8-5__promo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-8k8-5__promo-card {
        background-color: var(--page-8k8-5-background-light);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: left;
        color: var(--page-8k8-5-text-color-dark);
        box-sizing: border-box; /* Crucial for responsive width calculation */
    }

    .page-8k8-5__section--dark .page-8k8-5__promo-card {
        background-color: #2a2a2a;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__promo-image-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .page-8k8-5__promo-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        max-width: 100%;
        height: auto; /* Maintain aspect ratio */
    }

    .page-8k8-5__promo-content {
        padding: 20px;
    }

    .page-8k8-5__promo-title {
        font-size: 1.6em;
        margin-bottom: 10px;
        color: var(--page-8k8-5-primary-color);
    }

    .page-8k8-5__promo-description {
        font-size: 1em;
        margin-bottom: 15px;
        color: var(--page-8k8-5-text-color-dark);
    }

    .page-8k8-5__section--dark .page-8k8-5__promo-description {
        color: #cccccc;
    }

    /* FAQ Section */
    .page-8k8-5__faq-container {
        margin-top: 40px;
        text-align: left;
    }

    .page-8k8-5__faq-item {
        background-color: var(--page-8k8-5-background-light);
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
        overflow: hidden;
        color: var(--page-8k8-5-text-color-dark);
        box-sizing: border-box; /* Crucial for responsive width calculation */
    }

    .page-8k8-5__section--dark .page-8k8-5__faq-item {
        background-color: #2a2a2a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        font-size: 1.2em;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        background-color: #f0f0f0;
        border-bottom: 1px solid #e0e0e0;
        transition: background-color 0.3s ease;
    }

    .page-8k8-5__section--dark .page-8k8-5__faq-question {
        background-color: #333333;
        border-bottom: 1px solid #444444;
    }

    .page-8k8-5__faq-question:hover {
        background-color: #e8e8e8;
    }

    .page-8k8-5__section--dark .page-8k8-5__faq-question:hover {
        background-color: #444444;
    }

    .page-8k8-5__faq-question h3 {
        margin: 0;
        font-size: 1.2em;
        color: var(--page-8k8-5-text-color-dark);
        pointer-events: none; /* Prevent h3 from blocking click on parent div */
    }

    .page-8k8-5__section--dark .page-8k8-5__faq-question h3 {
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__faq-toggle {
        font-size: 1.8em;
        line-height: 1;
        transition: transform 0.3s ease;
        color: var(--page-8k8-5-primary-color);
        pointer-events: none; /* Prevent toggle from blocking click on parent div */
    }

    .page-8k8-5__faq-item.active .page-8k8-5__faq-toggle {
        transform: rotate(45deg); /* Rotates the '+' to 'x' or similar, visually indicating open */
    }

    .page-8k8-5__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 25px;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        opacity: 0;
        font-size: 1em;
        color: var(--page-8k8-5-text-color-dark);
    }

    .page-8k8-5__section--dark .page-8k8-5__faq-answer {
        color: #cccccc;
    }

    .page-8k8-5__faq-item.active .page-8k8-5__faq-answer {
        max-height: 2000px !important; /* Sufficiently large to contain any content */
        padding: 20px 25px !important;
        opacity: 1;
    }

    /* Call to Action */
    .page-8k8-5__cta-section {
        background-color: var(--page-8k8-5-accent-color);
        color: var(--page-8k8-5-text-color-light);
        padding: 50px 20px;
        text-align: center;
        box-sizing: border-box;
    }

    .page-8k8-5__cta-title {
        font-size: 2.2em;
        margin-bottom: 20px;
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__cta-description {
        font-size: 1.1em;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Floating Login/Register Buttons */
    .page-8k8-5__floating-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }

    .page-8k8-5__floating-button {
        background-color: var(--page-8k8-5-primary-color);
        color: var(--page-8k8-5-secondary-color);
        padding: 12px 20px;
        border-radius: 50px;
        font-weight: bold;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease, transform 0.2s ease;
        cursor: pointer;
        border: none; /* Ensure it looks like a button */
        width: 120px; /* Fixed width for consistency */
        box-sizing: border-box;
    }

    .page-8k8-5__floating-button:hover {
        background-color: #FFC107;
        transform: translateY(-2px);
    }

    .page-8k8-5__floating-button--login {
        background-color: var(--page-8k8-5-accent-color);
        color: var(--page-8k8-5-text-color-light);
    }

    .page-8k8-5__floating-button--login:hover {
        background-color: #CD5C5C;
    }


    /* Responsive Design */
    @media (max-width: 768px) {
        .page-8k8-5__hero-title {
            font-size: 2.5em;
        }

        .page-8k8-5__hero-description {
            font-size: 1em;
        }

        .page-8k8-5__section-title {
            font-size: 2em;
        }

        .page-8k8-5__game-showcase,
        .page-8k8-5__features-grid,
        .page-8k8-5__promo-grid,
        .page-8k8-5__logo-grid {
            grid-template-columns: 1fr; /* Stack columns on small screens */
            gap: 20px;
        }

        .page-8k8-5__section {
            padding: 30px 15px;
        }

        .page-8k8-5__button {
            padding: 12px 25px;
            font-size: 1em;
        }

        /* List item responsive requirements */
        .page-8k8-5__game-card,
        .page-8k8-5__feature-item,
        .page-8k8-5__promo-card,
        .page-8k8-5__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }

        /* Adjust padding for items within sections to prevent excessive inner padding */
        .page-8k8-5__game-card-content,
        .page-8k8-5__feature-item,
        .page-8k8-5__promo-content {
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

        .page-8k8-5__logo-item-wrapper {
             width: 100% !important;
             max-width: 100% !important;
             box-sizing: border-box !important;
             padding: 0 !important; /* Reset padding for wrappers themselves if parent has it */
        }

        .page-8k8-5__game-card-image,
        .page-8k8-5__feature-icon,
        .page-8k8-5__promo-image,
        .page-8k8-5__logo-item {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
            display: block !important;
        }

        .page-8k8-5__faq-question {
            padding: 15px 20px;
            font-size: 1.1em;
        }

        .page-8k8-5__faq-question h3 {
            font-size: 1.1em;
        }

        .page-8k8-5__faq-answer {
            padding: 15px 20px !important; /* Apply !important for mobile */
        }

        .page-8k8-5__floating-buttons {
            bottom: 15px;
            right: 15px;
            flex-direction: row; /* Buttons side-by-side on mobile */
            width: calc(100% - 30px);
            justify-content: center;
        }

        .page-8k8-5__floating-button {
            flex: 1;
            padding: 10px 15px;
            font-size: 0.95em;
            width: auto; /* Allow flex to control width */
        }
    }
  