
    /* Base styles for the page-777-king scope */
    .page-777-king {
        font-family: 'Arial', sans-serif;
        color: #333;
        line-height: 1.6;
        background-color: #f8f9fa;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Hero Section */
    .page-777-king__hero-section {
        background: linear-gradient(135deg, #FFD700, #FF8C00); /* Gold to Dark Orange */
        color: #fff;
        text-align: center;
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 300px;
        position: relative;
        overflow: hidden;
        padding-top: calc(10px + var(--header-offset, 0px)); /* Small decorative padding + header offset if any */
    }

    .page-777-king__hero-content {
        max-width: 900px;
        z-index: 1;
    }

    .page-777-king__main-title {
        font-size: 2.5em;
        margin-bottom: 15px;
        font-weight: bold;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .page-777-king__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
        color: #eee;
    }

    .page-777-king__hero-cta {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .page-777-king__button {
        display: inline-block;
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
    }

    .page-777-king__button--primary {
        background-color: #FF4500; /* OrangeRed */
        color: #fff;
        border: 2px solid #FF4500;
    }

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

    .page-777-king__button--secondary {
        background-color: transparent;
        color: #fff;
        border: 2px solid #fff;
    }

    .page-777-king__button--secondary:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    /* Section titles and descriptions */
    .page-777-king__section-title {
        font-size: 2em;
        color: #2c3e50; /* Dark blue-grey */
        text-align: center;
        margin-bottom: 15px;
        padding-top: 40px;
        font-weight: bold;
    }

    .page-777-king__section-description {
        font-size: 1em;
        color: #555;
        text-align: center;
        max-width: 800px;
        margin: 0 auto 30px auto;
        padding: 0 15px;
    }

    /* Promotions Section */
    .page-777-king__promotions-section {
        padding: 40px 0;
        background-color: #f0f2f5;
    }

    .page-777-king__promotion-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .page-777-king__promotion-card {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .page-777-king__promotion-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .page-777-king__promotion-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-777-king__promotion-title {
        font-size: 1.4em;
        color: #FF4500;
        margin: 20px 15px 10px 15px;
        font-weight: bold;
    }

    .page-777-king__promotion-text {
        font-size: 0.95em;
        color: #666;
        padding: 0 15px 20px 15px;
        flex-grow: 1;
    }

    .page-777-king__promotion-action {
        background-color: #FFD700;
        color: #2c3e50;
        padding: 12px 15px;
        font-weight: bold;
        cursor: default;
        transition: background-color 0.3s ease;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* Products Section */
    .page-777-king__products-section {
        padding: 40px 0;
        background-color: #fff;
    }

    .page-777-king__product-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .page-777-king__category-item {
        background-color: #fefefe;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .page-777-king__category-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .page-777-king__category-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-777-king__category-title {
        font-size: 1.3em;
        color: #2c3e50;
        margin: 15px 15px 8px 15px;
        font-weight: bold;
    }

    .page-777-king__category-description {
        font-size: 0.9em;
        color: #777;
        padding: 0 15px 15px 15px;
        flex-grow: 1;
    }

    /* Why Choose Us Section */
    .page-777-king__why-choose-us {
        padding: 40px 0;
        background-color: #f0f2f5;
    }

    .page-777-king__features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .page-777-king__feature-item {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        padding: 30px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
    }

    .page-777-king__feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .page-777-king__feature-icon {
        width: 100px;
        height: 100px;
        object-fit: contain;
        margin-bottom: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-777-king__feature-title {
        font-size: 1.3em;
        color: #FF4500;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .page-777-king__feature-description {
        font-size: 0.95em;
        color: #666;
    }

    /* FAQ Section */
    .page-777-king__faq-section {
        padding: 40px 0;
        background-color: #fff;
    }

    .page-777-king__faq-container {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .page-777-king__faq-item {
        background-color: #fefefe;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        box-sizing: border-box;
    }

    .page-777-king__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        cursor: pointer;
        background-color: #FFD700; /* Gold background for questions */
        color: #2c3e50; /* Dark text for contrast */
        font-weight: bold;
        user-select: none;
        transition: background-color 0.3s ease;
        box-sizing: border-box;
    }

    .page-777-king__faq-question:hover {
        background-color: #FFC000; /* Slightly darker gold on hover */
    }

    .page-777-king__faq-title {
        font-size: 1.1em;
        margin: 0;
        pointer-events: none;
        color: #2c3e50;
    }

    .page-777-king__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        transition: transform 0.3s ease;
        pointer-events: none;
        color: #2c3e50;
    }

    .page-777-king__faq-item.active .page-777-king__faq-toggle {
        transform: rotate(45deg);
    }

    .page-777-king__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        background-color: #fff;
        color: #333;
        box-sizing: border-box;
    }

    .page-777-king__faq-item.active .page-777-king__faq-answer {
        max-height: 2000px !important;
        padding: 20px 20px !important;
        opacity: 1;
    }

    .page-777-king__faq-answer p {
        margin: 0;
        padding-bottom: 10px;
    }

    /* Bottom CTA */
    .page-777-king__cta-bottom {
        padding: 60px 20px;
        text-align: center;
        background: linear-gradient(45deg, #FF8C00, #FF4500);
        color: #fff;
    }

    .page-777-king__cta-bottom .page-777-king__section-title {
        color: #fff;
        padding-top: 0;
    }

    .page-777-king__cta-bottom .page-777-king__section-description {
        color: #eee;
        margin-bottom: 40px;
    }

    .page-777-king__button--large {
        padding: 15px 35px;
        font-size: 1.2em;
        background-color: #fff;
        color: #FF4500;
        border: 2px solid #fff;
    }

    .page-777-king__button--large:hover {
        background-color: #f0f0f0;
        color: #E03C00;
    }

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

    .page-777-king__floating-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 45px;
        border-radius: 25px;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, background-color 0.3s ease;
        font-size: 0.9em;
    }

    .page-777-king__floating-button:hover {
        transform: scale(1.05);
    }

    .page-777-king__floating-button--register {
        background-color: #FF4500; /* OrangeRed */
    }

    .page-777-king__floating-button--register:hover {
        background-color: #E03C00;
    }

    .page-777-king__floating-button--login {
        background-color: #FFD700; /* Gold */
        color: #2c3e50;
    }

    .page-777-king__floating-button--login:hover {
        background-color: #FFC000;
    }

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

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

        .page-777-king__section-title {
            font-size: 1.8em;
            padding-top: 30px;
        }

        .page-777-king__section-description {
            font-size: 0.9em;
            margin-bottom: 20px;
        }

        .page-777-king__promotion-grid,
        .page-777-king__product-categories,
        .page-777-king__features-grid {
            grid-template-columns: 1fr;
            padding: 0 20px;
            gap: 20px;
        }

        .page-777-king__promotion-card,
        .page-777-king__category-item,
        .page-777-king__feature-item,
        .page-777-king__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .page-777-king__promotion-card .page-777-king__promotion-text,
        .page-777-king__category-item .page-777-king__category-description,
        .page-777-king__feature-item .page-777-king__feature-description,
        .page-777-king__faq-answer p {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }

        .page-777-king__promotion-image,
        .page-777-king__category-image,
        .page-777-king__feature-icon {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }

        .page-777-king__faq-question {
            padding: 12px 15px;
        }

        .page-777-king__faq-title {
            font-size: 1em;
        }

        .page-777-king__faq-answer {
            padding: 0 15px;
        }

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

        .page-777-king__floating-buttons {
            flex-direction: row;
            bottom: 15px;
            right: 50%;
            transform: translateX(50%);
            width: calc(100% - 30px);
            max-width: 300px;
            gap: 10px;
        }

        .page-777-king__floating-button {
            flex: 1;
            width: auto;
            height: 40px;
            font-size: 0.85em;
        }
    }

    @media (max-width: 480px) {
        .page-777-king__hero-section {
            padding: 40px 15px;
            padding-top: calc(10px + var(--header-offset, 0px));
        }

        .page-777-king__main-title {
            font-size: 1.8em;
        }

        .page-777-king__section-title {
            font-size: 1.6em;
        }

        .page-777-king__button {
            padding: 10px 20px;
            font-size: 0.9em;
        }

        .page-777-king__floating-buttons {
            width: calc(100% - 20px);
            bottom: 10px;
        }
    }
  