
    /* Base styles for the page-78king scope */
    .page-78king {
        font-family: 'Arial', sans-serif;
        color: #f0f0f0; /* Light text for dark background */
        background-color: #1a1a1a; /* Dark background */
        line-height: 1.6;
        padding-top: var(--header-offset, 0); /* Fallback for header offset */
    }

    /* Container for consistent padding */
    .page-78king__container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Section Titles */
    .page-78king__section-title {
        font-size: 2.2em;
        color: #e0b04a; /* Gold/yellow accent */
        text-align: center;
        margin-bottom: 40px;
        padding-top: 30px;
        font-weight: bold;
    }

    /* Text Blocks */
    .page-78king__text-block {
        font-size: 1.1em;
        margin-bottom: 20px;
        text-align: center;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Highlighted text */
    .page-78king__highlight {
        color: #e0b04a;
        font-weight: bold;
    }

    /* Buttons */
    .page-78king__button {
        display: inline-block;
        padding: 12px 25px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.1em;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        border: none;
        text-align: center;
    }

    .page-78king__button--primary {
        background-color: #e0b04a; /* Gold accent */
        color: #1a1a1a;
    }

    .page-78king__button--primary:hover {
        background-color: #f5c76c;
        transform: translateY(-2px);
    }

    .page-78king__button--secondary {
        background-color: #333;
        color: #f0f0f0;
        border: 1px solid #e0b04a;
    }

    .page-78king__button--secondary:hover {
        background-color: #555;
        transform: translateY(-2px);
    }

    /* Images */
    .page-78king img {
        max-width: 100%;
        height: auto;
        display: block; /* Ensure images don't have extra space below */
        object-fit: cover;
    }

    /* Hero Section */
    .page-78king__hero-section {
        position: relative;
        width: 100%;
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        padding-top: 10px; /* Small decorative padding, not full header offset */
    }

    .page-78king__hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .page-78king__hero-content {
        position: relative;
        z-index: 2;
        color: #fff;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
        border-radius: 10px;
        max-width: 90%;
    }

    .page-78king__hero-title {
        font-size: 2.8em;
        margin-bottom: 20px;
        color: #e0b04a;
        line-height: 1.2;
    }

    .page-78king__hero-description {
        font-size: 1.3em;
        margin-bottom: 30px;
    }

    .page-78king__hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* About Section */
    .page-78king__about-section {
        padding: 60px 0;
        background-color: #222;
    }

    /* Games Section */
    .page-78king__games-section {
        padding: 60px 0;
        background-color: #1a1a1a;
    }

    .page-78king__game-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-78king__game-card {
        background-color: #2a2a2a;
        border-radius: 10px;
        overflow: hidden;
        text-align: center;
        padding-bottom: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .page-78king__game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .page-78king__game-card-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        margin-bottom: 15px;
    }

    .page-78king__game-card-title {
        font-size: 1.5em;
        color: #e0b04a;
        margin-bottom: 10px;
        padding: 0 15px;
    }

    .page-78king__game-card-description {
        font-size: 0.95em;
        color: #ccc;
        padding: 0 15px;
    }

    /* Promotions Section */
    .page-78king__promo-section {
        padding: 60px 0;
        background-color: #222;
    }

    .page-78king__promo-list {
        list-style: none;
        padding: 0;
        margin: 30px auto;
        max-width: 700px;
        text-align: left;
    }

    .page-78king__promo-item {
        background-color: #2a2a2a;
        margin-bottom: 15px;
        padding: 15px 20px;
        border-radius: 8px;
        font-size: 1.1em;
        display: flex;
        align-items: center;
        box-sizing: border-box; /* Crucial for mobile responsiveness */
    }

    .page-78king__promo-item::before {
        content: "★";
        color: #e0b04a;
        font-size: 1.2em;
        margin-right: 10px;
    }

    /* Why Choose Section */
    .page-78king__why-choose-section {
        padding: 60px 0;
        background-color: #1a1a1a;
    }

    .page-78king__features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-78king__feature-item {
        background-color: #2a2a2a;
        border-radius: 10px;
        padding: 30px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease;
    }

    .page-78king__feature-item:hover {
        transform: translateY(-5px);
    }

    .page-78king__feature-icon {
        width: 100px; /* Display smaller, but image placeholder is 400x400 */
        height: 100px;
        margin: 0 auto 20px;
        border-radius: 50%;
        background-color: #e0b04a; /* Background for the 'icon' image */
        padding: 10px; /* Visual padding for the image inside the circle */
        object-fit: contain; /* Ensure the image fits without cropping */
    }

    .page-78king__feature-title {
        font-size: 1.4em;
        color: #e0b04a;
        margin-bottom: 10px;
    }

    .page-78king__feature-description {
        font-size: 0.95em;
        color: #ccc;
    }

    /* FAQ Section */
    .page-78king__faq-section {
        padding: 60px 0;
        background-color: #222;
    }

    .page-78king__faq-list {
        max-width: 800px;
        margin: 40px auto 0;
    }

    .page-78king__faq-item {
        background-color: #2a2a2a;
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .page-78king__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        cursor: pointer;
        background-color: #333;
        color: #f0f0f0;
        font-size: 1.2em;
        font-weight: bold;
        user-select: none;
        transition: background-color 0.3s ease;
    }

    .page-78king__faq-question:hover {
        background-color: #444;
    }

    .page-78king__faq-question-text {
        margin: 0;
        flex-grow: 1;
        pointer-events: none; /* Crucial for click event on parent */
        color: #f0f0f0; /* Ensure text color contrast */
    }

    .page-78king__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        margin-left: 15px;
        transition: transform 0.3s ease;
        pointer-events: none; /* Crucial for click event on parent */
        color: #e0b04a; /* Toggle icon color */
    }

    .page-78king__faq-item.active .page-78king__faq-toggle {
        transform: rotate(45deg); /* Change '+' to 'x' visually */
    }

    .page-78king__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;
        color: #ccc;
        font-size: 1em;
    }

    .page-78king__faq-item.active .page-78king__faq-answer {
        max-height: 2000px !important; /* Sufficiently large */
        padding: 20px 25px !important;
        opacity: 1;
    }

    .page-78king__faq-answer p {
        margin: 0;
    }

    /* Floating Buttons (Register/Login) */
    .page-78king__floating-buttons {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 15px;
        z-index: 1000;
    }

    .page-78king__floating-button {
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.1em;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        border: none;
        text-align: center;
        white-space: nowrap;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

    .page-78king__floating-button--register {
        background-color: #e0b04a; /* Gold accent */
        color: #1a1a1a;
    }

    .page-78king__floating-button--register:hover {
        background-color: #f5c76c;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    }

    .page-78king__floating-button--login {
        background-color: #007bff; /* Blue for login */
        color: #fff;
    }

    .page-78king__floating-button--login:hover {
        background-color: #0056b3;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    }


    /* Responsive Design */
    @media (max-width: 768px) {
        .page-78king__section-title {
            font-size: 1.8em;
            margin-bottom: 30px;
        }

        .page-78king__text-block {
            font-size: 1em;
        }

        .page-78king__hero-section {
            min-height: 400px;
        }

        .page-78king__hero-title {
            font-size: 2em;
        }

        .page-78king__hero-description {
            font-size: 1em;
        }

        .page-78king__hero-cta-group {
            flex-direction: column;
            gap: 10px;
        }

        .page-78king__button {
            width: 100%;
            max-width: 250px;
            padding: 10px 20px;
            font-size: 1em;
        }

        .page-78king__game-categories {
            grid-template-columns: 1fr; /* Stack cards on mobile */
        }

        .page-78king__game-card-image {
            height: 180px;
        }

        .page-78king__promo-list {
            margin: 20px auto;
            padding: 0 10px !important; /* Adjust padding for mobile list */
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

        .page-78king__promo-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 15px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
        }

        .page-78king__features-grid {
            grid-template-columns: 1fr; /* Stack features on mobile */
        }

        .page-78king__feature-item {
            padding: 20px;
        }

        .page-78king__feature-icon {
            width: 80px;
            height: 80px;
        }

        .page-78king__faq-question {
            padding: 15px 20px;
            font-size: 1.1em;
        }

        .page-78king__faq-answer {
            padding: 0 20px;
        }

        .page-78king__faq-item.active .page-78king__faq-answer {
            padding: 15px 20px !important;
        }

        .page-78king__floating-buttons {
            bottom: 15px;
            width: calc(100% - 30px); /* Adjust width to fit screen with padding */
            gap: 10px;
        }

        .page-78king__floating-button {
            flex: 1; /* Make buttons take equal space */
            padding: 10px 15px;
            font-size: 1em;
        }
    }

    @media (min-width: 769px) {
        .page-78king__hero-cta-group {
            flex-direction: row;
        }
    }
  