 /* Default cursor everywhere */
* {
    cursor: url("Elemnts/Cursor/cursor.png"), auto !important;
}

/* Hand cursor only on clickable elements */
a, button, .movie-poster, .poster, .sidebar-link, .genre-box, .sidebar-genre-box, .sidebar-director-box, .sidebar-actor-box, .sidebar-actress-box {
    cursor: url("Elemnts/Cursor/hand.png"), pointer !important;
}

 


#sidebar {
    width: 250px;
    height: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    right: -250px;
    overflow-x: hidden;
    transition: right 0.5s;
    z-index: 2000;
    padding-top: 60px;
    border: 1px solid #0000005d;
}
#sidebar.active {
    right: 0;
}

 /* Sidebar genre styles */
        .sidebar-genre-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 32px 8px 32px;
            font-size: 13px;
            font-weight: 700;
            color: #000;
            background: none;
            border: none;
            width: 100%;
            cursor: pointer;
            outline: none;
            transition: background 0.2s;
        }

        .sidebar-genre-btn:hover {
            background: #e0e0e0;
        }

        .sidebar-genre-arrow {
            margin-left: 8px;
            transition: transform 0.25s cubic-bezier(.4, 2, .6, 1);
            width: 14px;
            height: 14px;
            display: inline-block;
        }

        .sidebar-genre-arrow.open {
            transform: rotate(90deg);
        }

        .sidebar-genre-dropdown {
            display: none;
            flex-direction: column;
            background: none;
            border-radius: 0 0 8px 8px;
            margin-left: 20px;
            margin-right: 20px;
            margin-bottom: 8px;
            padding: 8px 0 8px 8px;
            animation: fadeInGenre 0.3s;
        }

        .sidebar-genre-dropdown .sidebar-genre-box {
            padding: 6px 0 6px 12px;
            font-size: 13px;
            color: #222;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            font-family: 'Orbitron', 'Lexend Deca', Arial, sans-serif;
        }

        .sidebar-genre-dropdown .sidebar-genre-box:hover {
            background: #ffffff;
            color: #111;
        }

        /* Add this CSS for sidebar hover and director dropdown */
        .sidebar-link, .sidebar-genre-btn, .sidebar-director-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 32px 8px 32px;
            font-size: 13px;
            font-weight: 700;
            color: #000;
            background: none;
            border: none;
            width: 100%;
            cursor: pointer;
            outline: none;
            transition: background 0.2s, color 0.2s;
            text-align: left;
            text-decoration: none;
        }
        .sidebar-link:hover,
        .sidebar-genre-btn:hover,
        .sidebar-director-btn:hover {
            background: #e0e0e0;
            color: #111;
        }
        .sidebar-director-arrow {
            margin-left: 8px;
            transition: transform 0.25s cubic-bezier(.4, 2, .6, 1);
            width: 14px;
            height: 14px;
            display: inline-block;
        }
        .sidebar-director-arrow.open {
            transform: rotate(90deg);
        }
        .sidebar-director-dropdown {
            display: none;
            flex-direction: column;
            background: none;
            border-radius: 0 0 8px 8px;
            margin-left: 20px;
            margin-right: 20px;
            margin-bottom: 8px;
            padding: 8px 0 8px 8px;
            animation: fadeInGenre 0.3s;
        }

        .sidebar-director-dropdown .sidebar-director-box {
            padding: 6px 0 6px 12px;
            font-size: 13px;
            color: #222;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            font-family: 'Orbitron', 'Lexend Deca', Arial, sans-serif;
        }

        .sidebar-director-dropdown .sidebar-director-box:hover {
            background: #ffffff;
            color: #111;
        }

        /* Add this CSS for sidebar actor/actress dropdowns (reuse existing styles) */
        .sidebar-actor-btn, .sidebar-actress-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 32px 8px 32px;
            font-size: 13px;
            font-weight: 700;
            color: #000;
            background: none;
            border: none;
            width: 100%;
            cursor: pointer;
            outline: none;
            transition: background 0.2s, color 0.2s;
            text-align: left;
            text-decoration: none;
        }
        .sidebar-actor-btn:hover, .sidebar-actress-btn:hover {
            background: #e0e0e0;
            color: #111;
        }
        .sidebar-actor-arrow, .sidebar-actress-arrow {
            margin-left: 8px;
            transition: transform 0.25s cubic-bezier(.4, 2, .6, 1);
            width: 14px;
            height: 14px;
            display: inline-block;
        }
        .sidebar-actor-arrow.open, .sidebar-actress-arrow.open {
            transform: rotate(90deg);
        }
        .sidebar-actor-dropdown, .sidebar-actress-dropdown {
            display: none;
            flex-direction: column;
            background: none;
            border-radius: 0 0 8px 8px;
            margin-left: 20px;
            margin-right: 20px;
            margin-bottom: 8px;
            padding: 8px 0 8px 8px;
            animation: fadeInGenre 0.3s;
        }
        .sidebar-actor-dropdown .sidebar-actor-box,
        .sidebar-actress-dropdown .sidebar-actress-box {
            padding: 6px 0 6px 12px;
            font-size: 13px;
            color: #222;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            font-family: 'Orbitron', 'Lexend Deca', Arial, sans-serif;
        }
        .sidebar-actor-dropdown .sidebar-actor-box:hover,
        .sidebar-actress-dropdown .sidebar-actress-box:hover {
            background: #ffffff;
            color: #111;
        }

        #sidebar {
            width: 250px;
            height: 100%;
            background-color: #f0f0f0;
            position: fixed;
            top: 0;
            right: -250px;
            overflow-x: hidden;
            overflow-y: auto;
            transition: right 0.5s;
            z-index: 2000;
            padding-top: 60px;
            padding-bottom: 30px;
            box-shadow: 0 0 20px #0002;
        }

        #sidebar.active {
            right: 0;
        }

        #openMenu {
            width: 25px;
            height: 25px;
            display: block;
        }

        #closeMenu {
            width: 25px;
            height: 25px;
            display: none;
        }

        /* Genre box styles */
        .genre-container {
            display: none;
            flex-wrap: wrap;
            justify-content: center;
            gap: 18px;
            margin: 30px auto 0 auto;
            max-width: 900px;
            padding: 10px 0 30px 0;
        }



        .genre-dropdown {
            display: none;
            position: absolute;
            top: 40px;
            right: 0;
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 5px 0 #616161, 0 3px 16px 0 rgba(0, 0, 0, 0.10);
            padding: 12px 16px 12px 16px;
            z-index: 2000;
            min-width: 600px;
            flex-direction: row;
            gap: 40px;
            animation: fadeInGenre 0.3s;
            color: #000000;
        }

        .genre-dropdown-column {
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-width: 160px;
        }

        .genre-dropdown .genre-box {
            border-radius: 0;
            border: none;
            margin: 0;
            min-width: unset;
            padding: 6px 0;
            background: none;
            box-shadow: none;
            font-size: 13px;
            /* Smaller font size */
            text-align: left;
            color: #000000;
            font-family: 'Orbitron', 'Lexend Deca', Arial, sans-serif;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s, color 0.2s, padding-left 0.2s;
            border-radius: 5px;
        }

        .genre-dropdown .genre-box:hover {
            background: #c9cbcd;
            color: #111;
            padding-left: 10px;
        }

        @keyframes fadeInGenre {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive for mobile */
        @media (max-width: 700px) {
            .genre-dropdown {
                min-width: 90vw;
                flex-direction: column;
                gap: 0;
                left: 50%;
                transform: translateX(-50%);
            }

            .genre-dropdown-column {
                min-width: unset;
            }
        }

        .nav-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        /* Add this CSS for arrow styling and animation */
        #genreBtn {
            position: relative;
            padding-right: 20px;
            cursor: pointer;
            user-select: none;
        }

        .genre-arrow {
            position: absolute;
            right: 2px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            width: 14px;
            height: 14px;
            pointer-events: none;
            transition: transform 0.25s cubic-bezier(.4, 2, .6, 1);
            display: inline-block;
        }

        .genre-arrow.up {
            transform: translateY(-50%) rotate(180deg);
        }