
    /* CSS styles for page-yy777-slot */
    :root {
        --yy777-slot-primary-color: #e6b800; /* Gold/Yellow */
        --yy777-slot-secondary-color: #cc3300; /* Red-Orange */
        --yy777-slot-dark-bg: #1a1a1a;
        --yy777-slot-light-text: #ffffff;
        --yy777-slot-gray-text: #cccccc;
        --yy777-slot-border-color: #333333;
        --yy777-slot-button-hover: #ffcc00;
        --yy777-slot-max-width: 1200px;
        --yy777-slot-padding-x: 20px;
    }

    .page-yy777-slot {
        font-family: 'Arial', sans-serif;
        color: var(--yy777-slot-light-text);
        background-color: var(--yy777-slot-dark-bg);
        line-height: 1.6;
        overflow-x: hidden; /* Prevent horizontal scroll from padding/margins */
    }

    /* Hero Section */
    .page-yy777-slot__hero-section {
        position: relative;
        text-align: center;
        padding: 10px var(--yy777-slot-padding-x) 60px; /* Small top padding, assuming body handles main offset */
        background-color: #0d0d0d;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .page-yy777-slot__hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        filter: brightness(0.4); /* Darken background image for text readability */
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-yy777-slot__hero-content {
        position: relative;
        z-index: 1;
        max-width: var(--yy777-slot-max-width);
        margin: 0 auto;
        padding: 20px;
    }

    .page-yy777-slot__hero-title {
        font-size: 3.5em;
        color: var(--yy777-slot-primary-color);
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        line-height: 1.2;
    }

    .page-yy777-slot__hero-subtitle {
        font-size: 1.5em;
        color: var(--yy777-slot-light-text);
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-yy777-slot__hero-cta-button {
        display: inline-block;
        background-color: var(--yy777-slot-secondary-color);
        color: var(--yy777-slot-light-text);
        padding: 15px 40px;
        border-radius: 8px;
        font-size: 1.2em;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.2s ease;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .page-yy777-slot__hero-cta-button:hover {
        background-color: var(--yy777-slot-button-hover);
        transform: translateY(-2px);
    }

    /* Section General Styling */
    .page-yy777-slot__section {
        padding: 60px var(--yy777-slot-padding-x);
        max-width: var(--yy777-slot-max-width);
        margin: 0 auto;
        text-align: center;
        background-color: var(--yy777-slot-dark-bg);
    }

    .page-yy777-slot__section:nth-of-type(even) {
        background-color: #121212;
    }

    .page-yy777-slot__section-title {
        font-size: 2.5em;
        color: var(--yy777-slot-primary-color);
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

    .page-yy777-slot__section-description {
        font-size: 1.1em;
        color: var(--yy777-slot-gray-text);
        margin-bottom: 40px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .page-yy777-slot__category-item,
    .page-yy777-slot__feature-item {
        background-color: #222222;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        border: 1px solid var(--yy777-slot-border-color);
        box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-slot__category-item:hover,
    .page-yy777-slot__feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-slot__category-image,
    .page-yy777-slot__feature-image {
        width: 250px; /* Ensure minimum width */
        height: 200px; /* Ensure minimum height */
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
        border-radius: 8px;
        object-fit: cover;
        display: block;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }


    .page-yy777-slot__category-title,
    .page-yy777-slot__feature-title {
        font-size: 1.5em;
        color: var(--yy777-slot-primary-color);
        margin-bottom: 15px;
    }

    .page-yy777-slot__category-text,
    .page-yy777-slot__feature-text {
        color: var(--yy777-slot-gray-text);
        font-size: 1em;
    }

    /* Game Showcase */
    .page-yy777-slot__game-showcase {
        padding: 60px var(--yy777-slot-padding-x);
        max-width: var(--yy777-slot-max-width);
        margin: 0 auto;
        text-align: center;
        background-color: #121212;
    }

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

    .page-yy777-slot__game-card {
        background-color: #222222;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid var(--yy777-slot-border-color);
        text-align: left;
        box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-slot__game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-slot__game-image {
        width: 100%;
        height: 250px; /* Fixed height for consistency */
        object-fit: cover;
        display: block;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-yy777-slot__game-info {
        padding: 20px;
    }

    .page-yy777-slot__game-title {
        font-size: 1.3em;
        color: var(--yy777-slot-primary-color);
        margin-bottom: 10px;
    }

    .page-yy777-slot__game-provider {
        font-size: 0.9em;
        color: var(--yy777-slot-gray-text);
        margin-bottom: 15px;
    }

    .page-yy777-slot__game-button {
        display: block;
        background-color: var(--yy777-slot-secondary-color);
        color: var(--yy777-slot-light-text);
        padding: 10px 20px;
        border-radius: 6px;
        font-size: 1em;
        font-weight: bold;
        text-align: center;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
    }

    .page-yy777-slot__game-button:hover {
        background-color: var(--yy777-slot-button-hover);
    }

    /* Promotions */
    .page-yy777-slot__promotions-section {
        background-color: var(--yy777-slot-dark-bg);
        padding: 60px var(--yy777-slot-padding-x);
        max-width: var(--yy777-slot-max-width);
        margin: 0 auto;
        text-align: center;
    }

    .page-yy777-slot__promo-card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .page-yy777-slot__promo-card {
        background-color: #222222;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid var(--yy777-slot-border-color);
        text-align: left;
        box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-slot__promo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    }

    .page-yy777-slot__promo-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-yy777-slot__promo-content {
        padding: 20px;
    }

    .page-yy777-slot__promo-title {
        font-size: 1.4em;
        color: var(--yy777-slot-primary-color);
        margin-bottom: 10px;
    }

    .page-yy777-slot__promo-description {
        color: var(--yy777-slot-gray-text);
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-yy777-slot__promo-button {
        display: inline-block;
        background-color: var(--yy777-slot-secondary-color);
        color: var(--yy777-slot-light-text);
        padding: 10px 25px;
        border-radius: 6px;
        font-size: 1em;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .page-yy777-slot__promo-button:hover {
        background-color: var(--yy777-slot-button-hover);
    }

    /* FAQ Section */
    .page-yy777-slot__faq-section {
        padding: 60px var(--yy777-slot-padding-x);
        max-width: var(--yy777-slot-max-width);
        margin: 0 auto;
        text-align: center;
        background-color: #121212;
    }

    .page-yy777-slot__faq-container {
        margin-top: 40px;
        text-align: left;
    }

    .page-yy777-slot__faq-item {
        background-color: #222222;
        border: 1px solid var(--yy777-slot-border-color);
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        box-sizing: border-box; /* Required for list items */
    }

    .page-yy777-slot__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        cursor: pointer;
        user-select: none;
        background-color: #2a2a2a;
        transition: background-color 0.3s ease;
    }

    .page-yy777-slot__faq-question:hover {
        background-color: #3a3a3a;
    }

    .page-yy777-slot__faq-question h3 {
        margin: 0;
        font-size: 1.2em;
        color: var(--yy777-slot-primary-color);
        pointer-events: none; /* Prevents text from blocking click event */
    }

    .page-yy777-slot__faq-toggle {
        font-size: 1.8em;
        font-weight: bold;
        color: var(--yy777-slot-primary-color);
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevents icon from blocking click event */
    }

    .page-yy777-slot__faq-item.active .page-yy777-slot__faq-toggle {
        transform: rotate(45deg); /* Changes '+' to 'x' or similar effect */
    }

    .page-yy777-slot__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 25px; /* 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(--yy777-slot-gray-text);
        font-size: 1em;
    }

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

    /* Responsive Design */
    @media (max-width: 1024px) {
        .page-yy777-slot__hero-title {
            font-size: 3em;
        }
        .page-yy777-slot__hero-subtitle {
            font-size: 1.3em;
        }
        .page-yy777-slot__section-title {
            font-size: 2.2em;
        }
    }

    @media (max-width: 768px) {
        .page-yy777-slot__hero-section {
            padding-top: 10px; /* Adjust for mobile, assuming header offset is handled by body */
            padding-bottom: 40px;
        }
        .page-yy777-slot__hero-title {
            font-size: 2.5em;
        }
        .page-yy777-slot__hero-subtitle {
            font-size: 1.1em;
        }
        .page-yy777-slot__hero-cta-button {
            padding: 12px 30px;
            font-size: 1.1em;
        }

        .page-yy777-slot__section {
            padding: 40px var(--yy777-slot-padding-x);
        }
        .page-yy777-slot__section-title {
            font-size: 2em;
        }
        .page-yy777-slot__section-description {
            font-size: 1em;
        }

        /* List item responsive adjustments */
        .page-yy777-slot__category-item,
        .page-yy777-slot__feature-item,
        .page-yy777-slot__game-card,
        .page-yy777-slot__promo-card,
        .page-yy777-slot__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding: 20px; /* Adjust padding for mobile */
        }
        .page-yy777-slot__category-grid,
        .page-yy777-slot__feature-grid,
        .page-yy777-slot__game-grid,
        .page-yy777-slot__promo-card-grid,
        .page-yy777-slot__faq-container {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            display: flex; /* Ensure flex for consistent mobile layout */
            flex-direction: column;
            gap: 20px; /* Adjust gap for mobile */
        }

        .page-yy777-slot__game-image,
        .page-yy777-slot__promo-image {
            height: 200px; /* Smaller height for mobile game cards */
            max-width: 100%;
            height: auto;
            box-sizing: border-box !important;
        }

        .page-yy777-slot__category-image,
        .page-yy777-slot__feature-image {
            width: 200px; /* Adjusted min size for mobile */
            height: 180px; /* Adjusted min size for mobile */
            max-width: 100%;
            height: auto;
            box-sizing: border-box !important;
        }

        .page-yy777-slot__faq-question {
            padding: 15px 20px;
        }
        .page-yy777-slot__faq-question h3 {
            font-size: 1.1em;
        }
        .page-yy777-slot__faq-toggle {
            font-size: 1.5em;
        }
        .page-yy777-slot__faq-answer {
            padding: 0 20px;
        }
        .page-yy777-slot__faq-item.active .page-yy777-slot__faq-answer {
            padding: 15px 20px !important;
        }
        .page-yy777-slot__game-title, .page-yy777-slot__promo-title {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }
        .page-yy777-slot__category-text, .page-yy777-slot__feature-text, .page-yy777-slot__promo-description {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }
    }

    @media (max-width: 480px) {
        .page-yy777-slot__hero-title {
            font-size: 2em;
        }
        .page-yy777-slot__hero-subtitle {
            font-size: 1em;
        }
        .page-yy777-slot__section-title {
            font-size: 1.8em;
        }
    }
  