
    :root {
        --primary-color: #e44d26; /* A vibrant orange-red for branding */
        --secondary-color: #333;
        --accent-color: #f7b32b; /* Gold/yellow for highlights */
        --text-color: #f5f5f5;
        --dark-bg: #1a1a1a;
        --light-bg: #2a2a2a;
        --border-color: #444;
        --button-hover-color: #ff6a00;
        --header-offset: 122px; /* Default value, will be overridden by shared.css if present */
    }

    /* Base styles for the page */
    .page-yy777-com-4 {
        font-family: 'Arial', sans-serif;
        color: var(--text-color);
        background-color: var(--dark-bg);
        line-height: 1.6;
        overflow-x: hidden;
        padding-top: var(--header-offset, 122px); /* Fallback for fixed header */
    }

    .page-yy777-com-4__container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
    }

    .page-yy777-com-4__section {
        padding: 60px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .page-yy777-com-4__section:nth-of-type(even) {
        background-color: var(--light-bg);
    }

    .page-yy777-com-4__section-title {
        font-size: 2.8em;
        margin-bottom: 40px;
        color: var(--primary-color);
        position: relative;
        display: inline-block;
        padding-bottom: 10px;
    }

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

    .page-yy777-com-4__text-content {
        font-size: 1.1em;
        margin-bottom: 20px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero Section */
    .page-yy777-com-4__hero-section {
        position: relative;
        height: 600px; /* Adjust height for mobile-first */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
        padding-top: 10px; /* Small decorative padding, relying on body for main offset */
        overflow: hidden;
    }

    .page-yy777-com-4__hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        filter: brightness(0.6); /* Darken background for text readability */
    }

    .page-yy777-com-4__hero-content {
        z-index: 1;
        max-width: 90%;
    }

    .page-yy777-com-4__hero-title {
        font-size: 3.5em;
        margin-bottom: 15px;
        line-height: 1.1;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-com-4__hero-subtitle {
        font-size: 1.5em;
        margin-bottom: 30px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }

    .page-yy777-com-4__promo-link {
        display: inline-block;
        padding: 15px 30px;
        background-color: var(--primary-color);
        color: #fff;
        font-size: 1.2em;
        font-weight: bold;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        margin-top: 20px;
    }

    .page-yy777-com-4__promo-link:hover {
        background-color: var(--button-hover-color);
    }

    /* Floating Buttons */
    .page-yy777-com-4__floating-buttons {
        position: fixed;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 1000;
    }

    .page-yy777-com-4__floating-button {
        background-color: var(--primary-color);
        color: #fff;
        border: none;
        padding: 12px 20px;
        font-size: 1em;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        min-width: 100px;
    }

    .page-yy777-com-4__floating-button:hover {
        background-color: var(--button-hover-color);
        transform: translateY(-2px);
    }

    /* Game Showcase */
    .page-yy777-com-4__game-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .page-yy777-com-4__game-card {
        background-color: var(--light-bg);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 20px;
        box-sizing: border-box;
    }

    .page-yy777-com-4__game-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .page-yy777-com-4__game-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        margin-bottom: 15px;
    }

    .page-yy777-com-4__game-title {
        font-size: 1.5em;
        color: var(--accent-color);
        margin-bottom: 10px;
        padding: 0 15px;
        word-wrap: break-word; /* Ensure long titles break */
    }

    .page-yy777-com-4__game-description {
        font-size: 0.95em;
        color: #bbb;
        padding: 0 15px;
        word-wrap: break-word; /* Ensure long descriptions break */
    }

    /* Promotions */
    .page-yy777-com-4__promo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .page-yy777-com-4__promo-card {
        background-color: var(--light-bg);
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        padding: 25px;
        text-align: left;
        transition: transform 0.3s ease, background-color 0.3s ease;
        box-sizing: border-box;
    }

    .page-yy777-com-4__promo-card:hover {
        transform: translateY(-5px);
        background-color: #383838;
    }

    .page-yy777-com-4__promo-title {
        font-size: 1.8em;
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .page-yy777-com-4__promo-description {
        color: #ccc;
        margin-bottom: 20px;
    }

    .page-yy777-com-4__promo-button {
        display: inline-block;
        background-color: var(--accent-color);
        color: var(--dark-bg);
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
        border: none; /* Ensure it's a button style */
        cursor: pointer;
    }

    .page-yy777-com-4__promo-button:hover {
        background-color: #fbd672;
    }

    /* Payment Methods */
    .page-yy777-com-4__payment-methods {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .page-yy777-com-4__payment-item {
        background-color: var(--light-bg);
        padding: 15px 25px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease;
        min-width: 150px;
        flex-grow: 1;
        justify-content: center;
        box-sizing: border-box;
    }

    .page-yy777-com-4__payment-item:hover {
        transform: translateY(-3px);
    }

    .page-yy777-com-4__payment-icon {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    .page-yy777-com-4__payment-name {
        font-weight: bold;
        color: var(--accent-color);
        font-size: 1.1em;
        word-wrap: break-word; /* Ensure long names break */
    }

    /* FAQ Section */
    .page-yy777-com-4__faq-section {
        background-color: var(--dark-bg);
    }

    .page-yy777-com-4__faq-wrapper {
        max-width: 800px;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .page-yy777-com-4__faq-item {
        background-color: var(--light-bg);
        margin-bottom: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-color);
        transition: background-color 0.3s ease;
    }

    .page-yy777-com-4__faq-item:hover {
        background-color: #383838;
    }

    .page-yy777-com-4__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        cursor: pointer;
        user-select: none;
        color: var(--text-color);
        font-size: 1.2em;
        font-weight: bold;
        box-sizing: border-box;
    }

    .page-yy777-com-4__faq-question h3 {
        margin: 0;
        flex-grow: 1;
        text-align: left;
        color: var(--primary-color);
        pointer-events: none; /* Prevent h3 from blocking click */
        word-wrap: break-word; /* Ensure long questions break */
    }

    .page-yy777-com-4__faq-toggle {
        font-size: 1.8em;
        font-weight: bold;
        line-height: 1;
        margin-left: 15px;
        color: var(--accent-color);
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent toggle icon from blocking click */
    }

    .page-yy777-com-4__faq-item.active .page-yy777-com-4__faq-toggle {
        transform: rotate(45deg); /* Rotate '+' to 'x' or use '-' directly */
    }

    .page-yy777-com-4__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 25px;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        color: #ccc;
        text-align: left;
        font-size: 1em;
        box-sizing: border-box;
    }

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

    /* Call to Action */
    .page-yy777-com-4__cta-section {
        background-color: var(--primary-color);
        padding: 80px 20px;
        color: #fff;
    }

    .page-yy777-com-4__cta-title {
        font-size: 3em;
        margin-bottom: 20px;
        color: #fff;
    }

    .page-yy777-com-4__cta-description {
        font-size: 1.3em;
        margin-bottom: 40px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-yy777-com-4__cta-button {
        display: inline-block;
        background-color: var(--dark-bg);
        color: var(--accent-color);
        padding: 18px 40px;
        font-size: 1.4em;
        font-weight: bold;
        border-radius: 8px;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .page-yy777-com-4__cta-button:hover {
        background-color: #000;
        color: #fff;
    }

    /* General Image Styles */
    .page-yy777-com-4 img {
        max-width: 100%;
        height: auto;
        display: block; /* Remove extra space below images */
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .page-yy777-com-4__hero-title {
            font-size: 3em;
        }
        .page-yy777-com-4__hero-subtitle {
            font-size: 1.3em;
        }
        .page-yy777-com-4__section-title {
            font-size: 2.5em;
        }
        .page-yy777-com-4__cta-title {
            font-size: 2.5em;
        }
        .page-yy777-com-4__cta-description {
            font-size: 1.1em;
        }
    }

    @media (max-width: 768px) {
        .page-yy777-com-4__container {
            padding: 15px;
        }
        .page-yy777-com-4__section {
            padding: 40px 0;
        }
        .page-yy777-com-4__hero-section {
            height: 450px;
        }
        .page-yy777-com-4__hero-title {
            font-size: 2.5em;
        }
        .page-yy777-com-4__hero-subtitle {
            font-size: 1.1em;
        }
        .page-yy777-com-4__promo-link {
            padding: 12px 25px;
            font-size: 1em;
        }
        .page-yy777-com-4__section-title {
            font-size: 2em;
            margin-bottom: 30px;
        }
        .page-yy777-com-4__text-content {
            font-size: 1em;
            padding: 0 10px;
        }
        .page-yy777-com-4__game-grid,
        .page-yy777-com-4__promo-grid {
            grid-template-columns: 1fr;
            padding: 0 10px !important;
            gap: 25px;
        }
        .page-yy777-com-4__game-card,
        .page-yy777-com-4__promo-card {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding: 15px !important;
        }
        .page-yy777-com-4__game-image {
            height: 180px;
        }
        .page-yy777-com-4__game-title {
            font-size: 1.3em;
        }
        .page-yy777-com-4__promo-title {
            font-size: 1.5em;
        }
        .page-yy777-com-4__payment-methods {
            flex-direction: column;
            padding: 0 10px !important;
            gap: 15px;
        }
        .page-yy777-com-4__payment-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding: 12px 20px !important;
        }
        .page-yy777-com-4__faq-wrapper {
            padding: 0 10px;
        }
        .page-yy777-com-4__faq-question {
            padding: 15px 20px;
            font-size: 1.1em;
        }
        .page-yy777-com-4__faq-question h3 {
            font-size: 1em;
        }
        .page-yy777-com-4__faq-answer {
            padding: 15px 20px !important;
            font-size: 0.95em;
        }
        .page-yy777-com-4__faq-toggle {
            font-size: 1.5em;
        }
        .page-yy777-com-4__cta-section {
            padding: 50px 15px;
        }
        .page-yy777-com-4__cta-title {
            font-size: 2em;
        }
        .page-yy777-com-4__cta-description {
            font-size: 1em;
        }
        .page-yy777-com-4__cta-button {
            padding: 15px 30px;
            font-size: 1.2em;
        }
        .page-yy777-com-4__floating-buttons {
            right: 10px;
            gap: 10px;
        }
        .page-yy777-com-4__floating-button {
            padding: 10px 15px;
            font-size: 0.9em;
            min-width: 90px;
        }
        .page-yy777-com-4 img {
            max-width: 100% !important;
            height: auto !important;
            box-sizing: border-box !important;
        }
    }

    @media (max-width: 480px) {
        .page-yy777-com-4__hero-title {
            font-size: 2em;
        }
        .page-yy777-com-4__hero-subtitle {
            font-size: 0.9em;
        }
        .page-yy777-com-4__section-title {
            font-size: 1.8em;
        }
        .page-yy777-com-4__game-card,
        .page-yy777-com-4__promo-card,
        .page-yy777-com-4__payment-item {
            padding: 10px !important;
        }
        .page-yy777-com-4__game-title {
            font-size: 1.2em;
        }
        .page-yy777-com-4__promo-title {
            font-size: 1.3em;
        }
        .page-yy777-com-4__cta-title {
            font-size: 1.8em;
        }
        .page-yy777-com-4__cta-button {
            font-size: 1em;
            padding: 12px 25px;
        }
    }
  