
    /* CSS for 8k8 com page */
    :root {
        --page-8k8-com-primary-color: #f7b32b; /* A vibrant gold/orange for branding */
        --page-8k8-com-secondary-color: #2c3e50; /* Dark blue for contrast */
        --page-8k8-com-accent-color: #e74c3c; /* Red for emphasis */
        --page-8k8-com-text-color: #ecf0f1; /* Light text on dark backgrounds */
        --page-8k8-com-dark-bg: #1a1a1a; /* Dark background for sections */
        --page-8k8-com-light-bg: #34495e; /* Slightly lighter dark background */
        --page-8k8-com-font-family: 'Arial', sans-serif;
    }

    .page-8k8-com {
        font-family: var(--page-8k8-com-font-family);
        color: var(--page-8k8-com-text-color);
        background-color: var(--page-8k8-com-dark-bg);
        line-height: 1.6;
        padding-top: 10px; /* Small padding, assuming body has header offset */
    }

    .page-8k8-com__container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
    }

    /* Hero Section */
    .page-8k8-com__hero-section {
        position: relative;
        overflow: hidden;
        background-color: var(--page-8k8-com-light-bg);
        padding: 80px 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 500px;
    }

    .page-8k8-com__hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        filter: brightness(0.6); /* Allowed for background dimming, not color change */
        max-width: 100%;
    }

    .page-8k8-com__hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }

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

    .page-8k8-com__hero-description {
        font-size: 1.3em;
        color: var(--page-8k8-com-text-color);
        margin-bottom: 30px;
    }

    .page-8k8-com__cta-button {
        display: inline-block;
        background-color: var(--page-8k8-com-primary-color);
        color: var(--page-8k8-com-secondary-color);
        padding: 15px 30px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 1.2em;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.3s ease;
        border: none; /* Use button tag, so no default border */
        cursor: pointer;
    }

    .page-8k8-com__cta-button:hover {
        background-color: #ffc107; /* Lighter shade of gold */
        transform: translateY(-3px);
    }

    /* General Section Styling */
    .page-8k8-com__section {
        padding: 60px 0;
        text-align: center;
        background-color: var(--page-8k8-com-dark-bg);
    }

    .page-8k8-com__section:nth-of-type(even) {
        background-color: var(--page-8k8-com-light-bg);
    }

    .page-8k8-com__section-title {
        font-size: 2.8em;
        color: var(--page-8k8-com-primary-color);
        margin-bottom: 40px;
        position: relative;
        padding-bottom: 15px;
    }

    .page-8k8-com__section-title::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--page-8k8-com-accent-color);
        border-radius: 2px;
    }

    .page-8k8-com__section-description {
        font-size: 1.1em;
        color: var(--page-8k8-com-text-color);
        max-width: 800px;
        margin: 0 auto 50px auto;
    }

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

    .page-8k8-com__game-card {
        background-color: var(--page-8k8-com-secondary-color);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: left;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

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

    .page-8k8-com__game-image-wrapper {
        width: 100%;
        height: 200px; /* Fixed height for consistency */
        overflow: hidden;
    }

    .page-8k8-com__game-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        max-width: 100%; /* Responsive image */
    }

    .page-8k8-com__game-card:hover .page-8k8-com__game-image {
        transform: scale(1.05);
    }

    .page-8k8-com__game-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

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

    .page-8k8-com__game-description {
        font-size: 0.95em;
        color: var(--page-8k8-com-text-color);
        margin-bottom: 15px;
    }

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

    .page-8k8-com__promotion-card {
        background-color: var(--page-8k8-com-secondary-color);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        text-align: left;
        transition: transform 0.3s ease;
    }

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

    .page-8k8-com__promotion-image-wrapper {
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .page-8k8-com__promotion-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
    }

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

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

    .page-8k8-com__promotion-description {
        font-size: 1em;
        color: var(--page-8k8-com-text-color);
        margin-bottom: 20px;
    }

    .page-8k8-com__promotion-link {
        display: inline-block;
        background-color: var(--page-8k8-com-accent-color);
        color: var(--page-8k8-com-text-color);
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .page-8k8-com__promotion-link:hover {
        background-color: #c0392b; /* Darker red */
    }

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

    .page-8k8-com__payment-item {
        background-color: var(--page-8k8-com-secondary-color);
        padding: 15px 10px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease;
        min-height: 120px;
        box-sizing: border-box; /* Ensure padding is included in width */
    }

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

    .page-8k8-com__payment-image {
        width: 80px; /* Larger size for payment logos */
        height: 50px;
        object-fit: contain;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .page-8k8-com__payment-name {
        font-size: 1em;
        font-weight: bold;
        color: var(--page-8k8-com-primary-color);
        text-transform: capitalize;
    }

    /* FAQ Section */
    .page-8k8-com__faq-list {
        margin-top: 40px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .page-8k8-com__faq-item {
        background-color: var(--page-8k8-com-secondary-color);
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .page-8k8-com__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: #34495e; /* Slightly different background for question */
        cursor: pointer;
        user-select: none;
        transition: background-color 0.3s ease;
    }

    .page-8k8-com__faq-question:hover {
        background-color: #3f5870;
    }

    .page-8k8-com__faq-question h3 {
        margin: 0;
        font-size: 1.2em;
        color: var(--page-8k8-com-primary-color);
        pointer-events: none; /* Crucial for click event on parent */
    }

    .page-8k8-com__faq-toggle {
        font-size: 1.8em;
        font-weight: bold;
        color: var(--page-8k8-com-primary-color);
        pointer-events: none; /* Crucial for click event on parent */
        transition: transform 0.3s ease;
        line-height: 1;
        width: 25px; /* Fixed width to prevent jitter */
        text-align: center;
    }

    .page-8k8-com__faq-item.active .page-8k8-com__faq-toggle {
        transform: rotate(45deg); /* Rotate '+' to 'x' or use '-' directly */
    }

    .page-8k8-com__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 15px; /* Initial padding */
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        color: var(--page-8k8-com-text-color);
        font-size: 0.95em;
    }

    .page-8k8-com__faq-item.active .page-8k8-com__faq-answer {
        max-height: 2000px !important; /* Sufficiently large */
        padding: 20px 15px !important; /* Expanded padding */
        opacity: 1;
    }

    /* Floating Login/Register Buttons */
    .page-8k8-com__floating-buttons {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 15px;
        z-index: 1000;
        width: 90%;
        max-width: 400px;
        justify-content: center;
    }

    .page-8k8-com__floating-button {
        flex: 1;
        background-color: var(--page-8k8-com-primary-color);
        color: var(--page-8k8-com-secondary-color);
        padding: 12px 0;
        border-radius: 50px;
        text-align: center;
        font-size: 1.1em;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s ease, transform 0.3s ease;
        border: none;
        cursor: pointer;
    }

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

    .page-8k8-com__floating-button--register {
        background-color: var(--page-8k8-com-accent-color);
        color: var(--page-8k8-com-text-color);
    }

    .page-8k8-com__floating-button--register:hover {
        background-color: #c0392b;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .page-8k8-com__hero-section {
            padding: 60px 0;
            min-height: 400px;
        }

        .page-8k8-com__hero-title {
            font-size: 2.5em;
        }

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

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

        .page-8k8-com__section {
            padding: 40px 0;
        }

        .page-8k8-com__section-title {
            font-size: 2em;
            margin-bottom: 30px;
        }

        .page-8k8-com__section-description {
            font-size: 0.95em;
            margin-bottom: 30px;
        }

        .page-8k8-com__games-grid,
        .page-8k8-com__promotions-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .page-8k8-com__game-card,
        .page-8k8-com__promotion-card {
            margin: 0 auto;
            max-width: 400px;
        }

        .page-8k8-com__game-image-wrapper,
        .page-8k8-com__promotion-image-wrapper {
            height: 180px;
        }

        .page-8k8-com__payment-methods-grid {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 15px;
        }

        .page-8k8-com__payment-item {
            padding: 10px 5px;
            min-height: 100px;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .page-8k8-com__payment-image {
            width: 70px;
            height: 40px;
        }

        .page-8k8-com__payment-name {
            font-size: 0.9em;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }

        .page-8k8-com__faq-question {
            padding: 15px;
        }

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

        .page-8k8-com__faq-toggle {
            font-size: 1.5em;
        }

        .page-8k8-com__faq-answer {
            padding: 15px 15px !important;
            font-size: 0.9em;
        }

        .page-8k8-com__floating-buttons {
            width: calc(100% - 40px); /* Adjust for padding */
            bottom: 15px;
            gap: 10px;
        }

        .page-8k8-com__floating-button {
            padding: 10px 0;
            font-size: 1em;
        }
    }

    @media (max-width: 480px) {
        .page-8k8-com__hero-title {
            font-size: 2em;
        }
        .page-8k8-com__section-title {
            font-size: 1.8em;
        }
        .page-8k8-com__floating-buttons {
            flex-direction: column;
            width: calc(100% - 40px);
            max-width: 300px;
        }
    }
  