    body {
        font-family: 'Segoe UI', sans-serif;
        background-color: #f7f7f7;
        background-image: url('bg.jpg');
        background-size: contain;
        background-repeat: repeat;
        background-attachment: fixed;
        background-position: center;
        text-align: center;
        padding: 30px;
        color: #222;
    }

    img.logo {
        height: 150px;
        margin-bottom: 15px;
        position: absolute;
        left: 20px;
    }

    h1 {
        color: #fff;
    }

    .input-group {
        margin: 20px auto;
        max-width: 320px;
    }

    .partner-input {
        margin-bottom: 10px;
    }

    .partner-input input {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        border-radius: 6px;
        border: 2px solid #ccc;
        box-sizing: border-box;
        transition: border-color 0.3s ease, background-color 0.3s ease;
    }

    .partner1 input {
        border-color: #4D96FF;
        background-color: #eaf3ff;
        color: #0d2c91;
    }

    .partner2 input {
        border-color: #FF6BAA;
        background-color: #fff0f7;
        color: #a90052;
    }

    button {
        padding: 10px 25px;
        font-size: 1rem;
        background-color: #4D96FF;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        margin-top: 10px;
        transition: background-color 0.3s ease;
    }

    button:hover {
        background-color: #3279dc;
    }

    .cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        gap: 15px;
    }

    .cards-row {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 20px;
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .arrow {
        font-size: 2rem;
        margin: 20px 0;
        color: #444;
    }


    .card {
        background: white;
        width: 300px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        text-align: left;
        cursor: pointer;
        transition: transform 0.2s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        height: 410px;
    }

    .card:hover {
        transform: scale(1.03);
    }

    .card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .card-content {
        padding: 10px 12px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .card-label {
        position: absolute;
        top: 0;
        left: 0;
        padding: 6px 8px;
        font-size: 0.75rem;
        color: white;
        font-weight: bold;
        border-bottom-right-radius: 10px;
    }

    .partner1-label {
        background-color: #4D96FF;
    }

    .partner2-label {
        background-color: #FF6BAA;
    }

    .recommend-label {
        background-color: #444;
    }

    .card-overview {
        font-size: 0.85rem;
        color: #444;
        height: 57px;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 5px;
    }

    .card-genres {
        font-size: 0.75rem;
        color: #777;
        margin-top: 5px;
    }

    .disclaimer,
    .seo-text {
        margin-top: 40px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        color: #ccc;
        font-size: 0.95rem;
    }

    .hidden {
        display: none;
    }

    #loading-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

    .loading-box {
        text-align: center;
    }

    .loading-box img {
        height: 150px;
        margin-bottom: 10px;
    }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 99999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .modal-content {
        background: white;
        padding: 20px;
        width: 100%;
        max-width: 600px;
        border-radius: 8px;
        text-align: left;
        position: relative;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    }

    .modal-close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 1.4rem;
        cursor: pointer;
        font-weight: bold;
        color: #666;
        user-select: none;
        transition: color 0.3s ease;
    }

    .modal-close:hover {
        color: #222;
    }

    .modal-content img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 15px;
        max-height: 350px;
        object-fit: contain;
    }

    .modal-content h2 {
        margin-top: 0;
    }

    .modal-info {
        margin-bottom: 10px;
        font-size: 0.9rem;
        color: #555;
    }

    .modal-description {
        font-size: 1rem;
        color: #333;
        white-space: pre-line;
    }

    .desktop-only {
        display: flex;
    }

    .mobile-only {
        display: none;
    }

    #intro {
        background: rgb(251 104 196 / 70%);
        color: #26d8fb;
        margin: auto;
        text-align: center;
        display: inline-block;
        padding: 10px;
        border-radius: 7px;
    }
     .error-msg{
            margin-top: 10px;
            color: white;
        }
    @media screen and (max-width: 600px) {
        .desktop-only {
            display: none !important;
        }

        h1.page-title {
            margin: 0;
            font-size: 20px;
        }

        img.logo {
            position: initial;
        }

        .mobile-only {
            display: block;
            font-size: 0.95rem;
            color: #fff;
            margin: 10px 0;
        }

        .mobile-summary p {
            margin: 5px 0;
        }

        .cards-row {
            flex-wrap: wrap;
        }
    }