:root {
        --page-jl-legit-primary-color: #007bff; /* A vibrant blue for primary actions */
        --page-jl-legit-secondary-color: #6c757d; /* A subtle grey for secondary actions */
        --page-jl-legit-accent-color: #ffc107; /* A bright yellow for highlights */
        --page-jl-legit-text-color: #333;
        --page-jl-legit-light-text-color: #fff;
        --page-jl-legit-background-color: #f8f9fa;
        --page-jl-legit-dark-background-color: #212529;
        --page-jl-legit-card-background: #ffffff;
        --page-jl-legit-border-color: #dee2e6;
    }

    .page-jl-legit {
        font-family: 'Arial', sans-serif;
        color: var(--page-jl-legit-text-color);
        background-color: var(--page-jl-legit-background-color);
        line-height: 1.6;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Base styles for sections */
    .page-jl-legit__section-title {
        font-size: 2.5em;
        color: var(--page-jl-legit-dark-background-color);
        text-align: center;
        margin-bottom: 40px;
        padding-top: 40px;
        position: relative;
    }

    .page-jl-legit__section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: var(--page-jl-legit-primary-color);
        margin: 10px auto 0;
        border-radius: 2px;
    }

    .page-jl-legit__button {
        display: inline-block;
        padding: 12px 25px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease, transform 0.3s ease;
        text-align: center;
        box-sizing: border-box;
        white-space: nowrap; /* Prevent button text from wrapping */
    }

    .page-jl-legit__button--primary {
        background-color: var(--page-jl-legit-primary-color);
        color: var(--page-jl-legit-light-text-color);
        border: 2px solid var(--page-jl-legit-primary-color);
    }

    .page-jl-legit__button--primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
        transform: translateY(-2px);
    }

    .page-jl-legit__button--secondary {
        background-color: transparent;
        color: var(--page-jl-legit-primary-color);
        border: 2px solid var(--page-jl-legit-primary-color);
    }

    .page-jl-legit__button--secondary:hover {
        background-color: var(--page-jl-legit-primary-color);
        color: var(--page-jl-legit-light-text-color);
        transform: translateY(-2px);
    }

    .page-jl-legit__button--small {
        padding: 8px 15px;
        font-size: 0.9em;
        border-radius: 5px;
    }

    /* Hero Section */
    .page-jl-legit__hero-section {
        position: relative;
        padding-top: 10px; /* Account for potential body padding-top from shared header */
        background-color: var(--page-jl-legit-dark-background-color);
        color: var(--page-jl-legit-light-text-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 600px; /* Ensure sufficient height */
        overflow: hidden;
    }

    .page-jl-legit__hero-image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .page-jl-legit__hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.3; /* Make background image subtle */
        max-width: 100%; /* Ensure responsiveness */
    }

    .page-jl-legit__hero-content {
        position: relative;
        z-index: 1;
        max-width: 900px;
        padding: 20px;
    }

    .page-jl-legit__hero-title {
        font-size: 3.5em;
        margin-bottom: 20px;
        line-height: 1.2;
        color: var(--page-jl-legit-light-text-color);
    }

    .page-jl-legit__hero-description {
        font-size: 1.3em;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.9);
    }

    .page-jl-legit__hero-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    /* Introduction Section */
    .page-jl-legit__introduction-section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .page-jl-legit__intro-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .page-jl-legit__intro-item {
        background-color: var(--page-jl-legit-card-background);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-jl-legit__intro-item:hover {
        transform: translateY(-5px);
    }

    .page-jl-legit__intro-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
        object-fit: contain;
        max-width: 100%; /* Ensure responsiveness */
    }

    .page-jl-legit__intro-item-title {
        font-size: 1.5em;
        color: var(--page-jl-legit-primary-color);
        margin-bottom: 15px;
    }

    .page-jl-legit__intro-item-description {
        font-size: 1em;
        color: var(--page-jl-legit-text-color);
    }

    /* Quick Access Section */
    .page-jl-legit__quick-access-section {
        background-color: var(--page-jl-legit-primary-color);
        padding: 60px 20px;
        text-align: center;
    }

    .page-jl-legit__quick-access-section .page-jl-legit__section-title {
        color: var(--page-jl-legit-light-text-color);
    }

    .page-jl-legit__quick-access-section .page-jl-legit__section-title::after {
        background-color: var(--page-jl-legit-accent-color);
    }

    .page-jl-legit__access-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .page-jl-legit__access-buttons .page-jl-legit__button {
        background-color: var(--page-jl-legit-accent-color);
        color: var(--page-jl-legit-dark-background-color);
        border: 2px solid var(--page-jl-legit-accent-color);
        flex-grow: 1; /* Allow buttons to grow */
        min-width: 200px; /* Minimum width for each button */
    }

    .page-jl-legit__access-buttons .page-jl-legit__button:hover {
        background-color: #e0a800;
        border-color: #e0a800;
        color: var(--page-jl-legit-light-text-color);
    }

    /* Games Section */
    .page-jl-legit__games-section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .page-jl-legit__game-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .page-jl-legit__game-card {
        background-color: var(--page-jl-legit-card-background);
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .page-jl-legit__game-card:hover {
        transform: translateY(-5px);
    }

    .page-jl-legit__game-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        max-width: 100%; /* Ensure responsiveness */
    }

    .page-jl-legit__game-title {
        font-size: 1.8em;
        color: var(--page-jl-legit-primary-color);
        margin: 20px 15px 10px;
    }

    .page-jl-legit__game-description {
        font-size: 0.95em;
        color: var(--page-jl-legit-text-color);
        padding: 0 15px 20px;
        flex-grow: 1;
    }

    .page-jl-legit__game-card .page-jl-legit__button {
        margin: 0 15px 20px;
        align-self: center;
        width: calc(100% - 30px);
    }

    /* Promotions Section */
    .page-jl-legit__promotions-section {
        background-color: var(--page-jl-legit-dark-background-color);
        padding: 60px 20px;
        text-align: center;
    }

    .page-jl-legit__promotions-section .page-jl-legit__section-title {
        color: var(--page-jl-legit-light-text-color);
    }

    .page-jl-legit__promotions-section .page-jl-legit__section-title::after {
        background-color: var(--page-jl-legit-accent-color);
    }

    .page-jl-legit__promo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .page-jl-legit__promo-card {
        background-color: var(--page-jl-legit-card-background);
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: center;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .page-jl-legit__promo-card:hover {
        transform: translateY(-5px);
    }

    .page-jl-legit__promo-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        max-width: 100%; /* Ensure responsiveness */
    }

    .page-jl-legit__promo-title {
        font-size: 1.8em;
        color: var(--page-jl-legit-primary-color);
        margin: 20px 15px 10px;
    }

    .page-jl-legit__promo-description {
        font-size: 0.95em;
        color: var(--page-jl-legit-text-color);
        padding: 0 15px 20px;
        flex-grow: 1;
    }

    .page-jl-legit__promo-card .page-jl-legit__button {
        margin: 0 15px 20px;
        align-self: center;
        width: calc(100% - 30px);
    }

    /* Security & Support Section */
    .page-jl-legit__security-support-section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .page-jl-legit__support-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .page-jl-legit__support-item {
        background-color: var(--page-jl-legit-card-background);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-jl-legit__support-item:hover {
        transform: translateY(-5px);
    }

    .page-jl-legit__support-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
        object-fit: contain;
        max-width: 100%; /* Ensure responsiveness */
    }

    .page-jl-legit__support-item-title {
        font-size: 1.5em;
        color: var(--page-jl-legit-primary-color);
        margin-bottom: 15px;
    }

    .page-jl-legit__support-item-description {
        font-size: 1em;
        color: var(--page-jl-legit-text-color);
    }

    /* FAQ Section */
    .page-jl-legit__faq-section {
        background-color: var(--page-jl-legit-background-color);
        padding: 60px 20px;
        max-width: 900px;
        margin: 0 auto;
    }

    .page-jl-legit__faq-container {
        margin-top: 30px;
    }

    .page-jl-legit__faq-item {
        background-color: var(--page-jl-legit-card-background);
        border: 1px solid var(--page-jl-legit-border-color);
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .page-jl-legit__faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        cursor: pointer;
        background-color: #e9ecef;
        color: var(--page-jl-legit-dark-background-color);
        font-size: 1.15em;
        font-weight: bold;
        user-select: none;
        transition: background-color 0.3s ease;
    }

    .page-jl-legit__faq-question:hover {
        background-color: #dee2e6;
    }

    .page-jl-legit__faq-question-title {
        margin: 0;
        color: inherit;
        pointer-events: none; /* Prevent title from blocking click event */
    }

    .page-jl-legit__faq-toggle {
        font-size: 1.5em;
        line-height: 1;
        transition: transform 0.3s ease;
        pointer-events: none; /* Prevent toggle icon from blocking click event */
    }

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

    .page-jl-legit__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;
    }

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

    .page-jl-legit__faq-answer p {
        margin: 0;
        color: var(--page-jl-legit-text-color);
        font-size: 1em;
    }

    /* Blog Section */
    .page-jl-legit__blog-section {
        padding: 60px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .page-jl-legit__blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .page-jl-legit__blog-card {
        background-color: var(--page-jl-legit-card-background);
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .page-jl-legit__blog-card:hover {
        transform: translateY(-5px);
    }

    .page-jl-legit__blog-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        max-width: 100%; /* Ensure responsiveness */
    }

    .page-jl-legit__blog-title {
        font-size: 1.5em;
        color: var(--page-jl-legit-primary-color);
        margin: 20px 15px 10px;
    }

    .page-jl-legit__blog-excerpt {
        font-size: 0.9em;
        color: var(--page-jl-legit-text-color);
        padding: 0 15px 20px;
        flex-grow: 1;
    }

    .page-jl-legit__blog-card .page-jl-legit__button {
        margin: 0 15px 20px;
        align-self: flex-start; /* Align button to the left */
    }

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

    .page-jl-legit__floating-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 50px;
        border-radius: 25px;
        font-size: 1.1em;
        font-weight: bold;
        text-decoration: none;
        color: var(--page-jl-legit-light-text-color);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .page-jl-legit__floating-button--register {
        background-color: #28a745; /* Green for register */
    }

    .page-jl-legit__floating-button--register:hover {
        background-color: #218838;
        transform: scale(1.05);
    }

    .page-jl-legit__floating-button--login {
        background-color: var(--page-jl-legit-primary-color); /* Blue for login */
    }

    .page-jl-legit__floating-button--login:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .page-jl-legit__hero-title {
            font-size: 2.5em;
        }

        .page-jl-legit__hero-description {
            font-size: 1.1em;
        }

        .page-jl-legit__hero-buttons {
            flex-direction: column;
            gap: 15px;
        }

        .page-jl-legit__button {
            width: 100%;
            max-width: 300px; /* Limit width on small screens */
        }

        .page-jl-legit__section-title {
            font-size: 2em;
            margin-bottom: 30px;
            padding-top: 30px;
        }

        .page-jl-legit__intro-grid,
        .page-jl-legit__game-grid,
        .page-jl-legit__promo-grid,
        .page-jl-legit__support-grid,
        .page-jl-legit__blog-grid {
            grid-template-columns: 1fr;
        }

        .page-jl-legit__access-buttons {
            flex-direction: column;
            align-items: center;
        }

        .page-jl-legit__access-buttons .page-jl-legit__button {
            width: 90%;
            max-width: 300px;
        }

        .page-jl-legit__intro-item,
        .page-jl-legit__game-card,
        .page-jl-legit__promo-card,
        .page-jl-legit__support-item,
        .page-jl-legit__blog-card {
            margin: 0 auto;
            width: calc(100% - 40px); /* Adjust for padding */
            box-sizing: border-box;
        }

        /* List item specific responsive requirements */
        .page-jl-legit__intro-grid > *,
        .page-jl-legit__game-grid > *,
        .page-jl-legit__promo-grid > *,
        .page-jl-legit__support-grid > *,
        .page-jl-legit__blog-grid > *,
        .page-jl-legit__faq-item {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            word-wrap: break-word !important;
            overflow-wrap: break-word !important;
            word-break: break-word !important;
        }

        .page-jl-legit__faq-question {
            font-size: 1em;
            padding: 12px 15px;
        }
        .page-jl-legit__faq-answer {
            padding: 0 15px;
        }
        .page-jl-legit__faq-item.active .page-jl-legit__faq-answer {
            padding: 15px 15px !important;
        }
        .page-jl-legit__faq-toggle {
            font-size: 1.2em;
        }

        /* Floating buttons adjustment for smaller screens */
        .page-jl-legit__floating-buttons {
            flex-direction: row;
            width: calc(100% - 40px);
            left: 20px;
            right: 20px;
            bottom: 15px;
            justify-content: space-around;
            gap: 10px;
        }

        .page-jl-legit__floating-button {
            flex: 1;
            width: auto;
            max-width: 150px;
            height: 45px;
            font-size: 1em;
        }
    }

    @media (max-width: 480px) {
        .page-jl-legit__hero-title {
            font-size: 2em;
        }
        .page-jl-legit__hero-description {
            font-size: 1em;
        }
        .page-jl-legit__section-title {
            font-size: 1.8em;
        }
        .page-jl-legit__floating-button {
            height: 40px;
            font-size: 0.9em;
        }
    }