
    /* General styles for the page-767win scope */
    .page-767win {
        font-family: 'Arial', sans-serif;
        color: #e0e0e0; /* Light grey text for dark background */
        background-color: #1a1a1a; /* Dark background */
        line-height: 1.6;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Section styling */
    .page-767win__hero-section,
    .page-767win__about-section,
    .page-767win__games-section,
    .page-767win__promotions-section,
    .page-767win__features-section,
    .page-767win__faq-section,
    .page-767win__cta-section {
        padding: 20px 15px;
        max-width: 1200px;
        margin: 0 auto;
        box-sizing: border-box;
        text-align: center;
    }

    .page-767win__section-title {
        font-size: 2em;
        color: #ffcc00; /* Gold/yellow for titles */
        margin-bottom: 15px;
        padding-top: 10px; /* Small decorative padding, assuming body handles main offset */
    }

    .page-767win__section-description {
        font-size: 1em;
        color: #cccccc;
        margin-bottom: 30px;
    }

    /* Hero Section */
    .page-767win__hero-section {
        padding-top: 10px; /* Adhering to the 8-16px rule for the first section */
        background: linear-gradient(135deg, #2a2a2a, #0a0a0a);
        padding-bottom: 50px;
    }

    .page-767win__hero-content {
        max-width: 800px;
        margin: 0 auto;
    }

    .page-767win__hero-title {
        font-size: 2.5em;
        color: #ffcc00;
        margin-bottom: 15px;
        font-weight: bold;
        text-align: center;
    }

    .page-767win__hero-description {
        font-size: 1.1em;
        color: #e0e0e0;
        margin-bottom: 30px;
        text-align: center;
    }

    .page-767win__hero-image {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 30px auto 0;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    .page-767win__hero-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    .page-767win__hero-button {
        display: inline-block;
        padding: 12px 25px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.3s ease;
        font-size: 1.1em;
        text-align: center;
        box-sizing: border-box;
    }

    .page-767win__hero-button--register {
        background-color: #007bff; /* Blue */
        color: #ffffff;
        border: 2px solid #007bff;
    }

    .page-767win__hero-button--register:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

    .page-767win__hero-button--login {
        background-color: transparent;
        color: #007bff;
        border: 2px solid #007bff;
    }

    .page-767win__hero-button--login:hover {
        background-color: #007bff;
        color: #ffffff;
        transform: translateY(-2px);
    }

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

    .page-767win__floating-button {
        display: block;
        padding: 10px 20px;
        border-radius: 50px; /* Pill shape */
        text-decoration: none;
        font-weight: bold;
        font-size: 1em;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        transition: background-color 0.3s ease, transform 0.3s ease;
        min-width: 120px;
        box-sizing: border-box;
    }

    .page-767win__floating-button--register {
        background-color: #28a745; /* Green */
        color: #ffffff;
    }

    .page-767win__floating-button--register:hover {
        background-color: #218838;
        transform: translateY(-2px);
    }

    .page-767win__floating-button--login {
        background-color: #ffc107; /* Yellow */
        color: #333333;
    }

    .page-767win__floating-button--login:hover {
        background-color: #e0a800;
        transform: translateY(-2px);
    }

    /* About Section */
    .page-767win__about-section {
        background-color: #242424;
        padding-bottom: 50px;
    }

    .page-767win__about-image {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 30px;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    }

    /* Game Categories Section */
    .page-767win__games-section {
        background-color: #1a1a1a;
    }

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

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

    .page-767win__game-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .page-767win__game-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 15px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .page-767win__game-title {
        font-size: 1.5em;
        color: #ffcc00;
        margin-bottom: 10px;
    }

    .page-767win__game-text {
        font-size: 0.95em;
        color: #cccccc;
    }

    /* Promotions Section */
    .page-767win__promotions-section {
        background-color: #242424;
    }

    .page-767win__promotion-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 30px;
    }

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

    .page-767win__promotion-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    .page-767win__promotion-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 15px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .page-767win__promotion-title {
        font-size: 1.4em;
        color: #007bff; /* Blue for promotion titles */
        margin-bottom: 10px;
    }

    .page-767win__promotion-text {
        font-size: 0.95em;
        color: #cccccc;
    }

    /* Features Section */
    .page-767win__features-section {
        background-color: #1a1a1a;
    }

    .page-767win__feature-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
        list-style: none;
        padding: 0;
    }

    .page-767win__feature-item {
        background-color: #2a2a2a;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        text-align: center;
        box-sizing: border-box;
    }

    .page-767win__feature-title {
        font-size: 1.3em;
        color: #ffcc00;
        margin-bottom: 10px;
    }

    .page-767win__feature-text {
        font-size: 0.95em;
        color: #cccccc;
    }

    /* FAQ Section */
    .page-767win__faq-section {
        background-color: #242424;
        padding-bottom: 50px;
    }

    .page-767win__faq-container {
        max-width: 800px;
        margin: 30px auto 0;
        text-align: left;
    }

    .page-767win__faq-item {
        background-color: #2a2a2a;
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        overflow: hidden; /* Ensures max-height transition works */
        box-sizing: border-box;
    }

    .page-767win__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        cursor: pointer;
        background-color: #333333;
        color: #ffcc00;
        font-weight: bold;
        user-select: none;
        transition: background-color 0.3s ease;
        box-sizing: border-box;
    }

    .page-767win__faq-question:hover {
        background-color: #444444;
    }

    .page-767win__faq-question-text {
        font-size: 1.1em;
        margin: 0;
        pointer-events: none; /* Prevent text from blocking click event */
        color: #ffcc00; /* Ensure high contrast */
    }

    .page-767win__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent toggle from blocking click event */
        color: #ffcc00; /* Ensure high contrast */
    }

    .page-767win__faq-item.active .page-767win__faq-toggle {
        transform: rotate(45deg); /* Change '+' to 'x' or '-' */
    }

    .page-767win__faq-answer {
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
        background-color: #2a2a2a;
        color: #e0e0e0;
        opacity: 0;
        box-sizing: border-box;
    }

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

    .page-767win__faq-answer p {
        margin: 0;
        font-size: 0.95em;
        color: #e0e0e0; /* Ensure high contrast */
    }

    /* CTA Section */
    .page-767win__cta-section {
        background: linear-gradient(135deg, #0a0a0a, #2a2a2a);
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .page-767win__cta-button {
        display: inline-block;
        background-color: #007bff; /* Blue */
        color: #ffffff;
        padding: 15px 30px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.2em;
        margin-top: 30px;
        transition: background-color 0.3s ease, transform 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
    }

    .page-767win__cta-button:hover {
        background-color: #0056b3;
        transform: translateY(-3px);
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .page-767win__section-title {
            font-size: 1.8em;
        }

        .page-767win__hero-title {
            font-size: 2em;
        }

        .page-767win__hero-description {
            font-size: 1em;
        }

        .page-767win__hero-buttons {
            flex-direction: column;
            gap: 15px;
        }

        .page-767win__hero-button {
            width: 100%;
            max-width: 250px; /* Limit width for small screens */
            margin: 0 auto;
            padding: 10px 20px;
        }

        .page-767win__floating-buttons {
            flex-direction: row;
            width: calc(100% - 40px);
            bottom: 10px;
            right: 10px;
            left: 10px;
            justify-content: space-around;
        }

        .page-767win__floating-button {
            flex: 1;
            margin: 0 5px;
            min-width: unset;
        }

        /* List item responsive requirements */
        .page-767win__game-categories,
        .page-767win__promotion-list,
        .page-767win__feature-list {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            padding: 0 10px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            gap: 20px; /* Ensure spacing */
        }

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

        .page-767win__game-item p,
        .page-767win__promotion-item p,
        .page-767win__feature-item p,
        .page-767win__faq-answer p {
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            font-size: 0.9em;
        }

        .page-767win__faq-question-text {
            font-size: 1em;
        }
        .page-767win__faq-answer {
            padding: 0 15px;
        }
        .page-767win__faq-item.active .page-767win__faq-answer {
            padding: 15px !important;
        }
    }

    @media (max-width: 480px) {
        .page-767win__hero-title {
            font-size: 1.8em;
        }
        .page-767win__section-title {
            font-size: 1.6em;
        }
        .page-767win__cta-button {
            font-size: 1em;
            padding: 12px 25px;
        }
    }
  