        :root {
            --primary-blue: #032541;
            --secondary-blue: #091a2a;
            --accent-blue: #01b4e4;
            --text-light: #fff;
            --text-dark: #333;
            --text-gray: #666;
            --rating-high: #21d07a;
            --rating-medium: #d2d531;
            --rating-low: #db4437;
            --card-bg-light: #f7f7f7;
            --box-shadow: rgba(0, 0, 0, 0.2);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #fff;
            color: var(--text-dark);
            margin: 0;
            line-height: 1.6;
            padding-top: 80px;
        }

        /* --- Navbar (Header) --- */
        .navbar {
            background-color: var(--primary-blue);
            color: var(--text-light);
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            box-sizing: border-box;
        }

        .navbar .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent-blue);
        }
        
        /* Gaya dasar untuk menu navigasi */
        .navbar .main-menu {
            display: flex;
            align-items: center;
            justify-content: space-between; /* Perbaikan: agar search bar tetap di kanan */
            width: 100%;
        }
        
        .navbar .menu {
            display: flex;
            gap: 1.5rem;
            margin-left: 9rem;
        }
        
        .navbar .menu a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .navbar .menu a:hover {
            color: var(--accent-blue);
        }
        
        /* CSS untuk Dropdown */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #222;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 8px;
            top: 100%;
            left: 0;
            padding: 10px 0;
        }

        .dropdown-content a {
            color: white;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            text-align: left;
            transition: background-color 0.3s;
        }

        .dropdown-content a:hover {
            background-color: #444;
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }
        
        /* Gaya untuk search bar di header */
        .search-container {
            display: flex;
            align-items: center;
            position: relative;
        }

        .search-container input[type="text"] {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 9999px;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            font-size: 1rem;
            outline: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            width: 350px;
            transition: width 0.3s ease;
        }

        .search-container input[type="text"]::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .search-container input[type="text"]:focus {
            width: 300px;
        }

        .search-container .search-icon {
            position: absolute;
            right: 15px;
            color: var(--text-light);
            cursor: pointer;
        }

        /* --- Hero Banner --- */
        .hero-banner {
            background-size: cover;
            background-position: center center;
            background-color: #f0f0f0;
            padding: 5rem 2rem;
            text-align: center;
            transition: background-image 0.5s ease-in-out;
            color: var(--text-light);
        }

        .hero-banner h2 {
            font-size: 3rem;
            margin: 0 0 1rem 0;
            text-shadow: 2px 2px 4px var(--box-shadow);
        }

        .hero-banner h3 {
            font-size: 1.5rem;
            margin: 0 0 2rem 0;
            font-weight: 400;
            text-shadow: 2px 2px 4px var(--box-shadow);
        }

        .hero-banner form {
            display: flex;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .hero-banner input[type="text"] {
            flex-grow: 1;
            padding: 1rem 1.5rem;
            border: none;
            border-radius: 9999px;
            background-color: #fff;
            color: #333;
            font-size: 1rem;
            outline: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .hero-banner button {
            padding: 1rem 2rem;
            margin-left: -4rem;
            border: none;
            border-radius: 9999px;
            background: linear-gradient(to right, #1cb4e4, #20c1a2);
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            z-index: 1;
            transition: background 0.3s;
        }

        .hero-banner button:hover {
            background: linear-gradient(to right, #008eb4, #189e83);
        }
        
        .embed-responsive {
            position: relative;
            display: block;
            width: 100%;
            padding: 0;
            overflow: hidden;
        }
        
        .embed-responsive-16by9::before {
            content: "";
            display: block;
            padding-top: 56.25%; /* Rasio 16:9 (9 / 16 = 0.5625) */
        }
        
        .embed-responsive .embed-responsive-item,
        .embed-responsive iframe,
        .embed-responsive embed,
        .embed-responsive object,
        .embed-responsive video {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Opsional: Tambahkan sedikit margin untuk tampilan yang lebih baik */
        #player {
            margin-top: 0px;
        }
        
        /* --- Konten Utama --- */
        .content-section {
            max-width: 1300px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .section-header h2 {
            font-size: 1.8rem;
            color: var(--text-dark);
            margin: 0 1.5rem 0 0;
        }
        
        .trending-tabs {
            border: 1px solid #ccc;
            border-radius: 20px;
            display: flex;
        }

        .trending-tabs a {
            padding: 0.5rem 1.5rem;
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            border-radius: 20px;
            transition: background-color 0.3s;
        }
        
        .trending-tabs a.active {
            background-color: #eee;
        }
        
        .container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1.5rem;
        }

        .movie-card {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--box-shadow);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
            height: 100%;
        }
        
        .movie-card a {
            text-decoration: none;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .movie-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .movie-card img {
            width: 100%;
            height: 270px;
            object-fit: cover;
            border-radius: 12px 12px 0 0;
        }

        .movie-info {
            padding: 0.5rem 1rem 1rem 1rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        
        .movie-info h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 0;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .movie-info p {
            font-size: 0.8rem;
            color: var(--text-gray);
            margin: 0.25rem 0 0;
        }
        
        .rating-circle {
            position: absolute;
            top: -33px;
            left: 10px;
            width: 38px;
            height: 38px;
            background-color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 700;
            color: #fff;
            padding: 3px;
            box-sizing: border-box;
            z-index: 10;
            border: 2px solid var(--rating-color);
        }
        
        .rating-circle.high {
            --rating-color: var(--rating-high);
        }
        
        .rating-circle.medium {
            --rating-color: var(--rating-medium);
        }
        
        .rating-circle.low {
            --rating-color: var(--rating-low);
        }
        
        .rating-circle .rating-text {
            background-color: var(--text-dark);
            width: 100%;
            height: 100%;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
        }
        
        /* Ikon Play saat Disorot */
        .movie-card a {
            position: relative;
            display: block;
        }
        
        .movie-card a .play-icon {
            position: absolute;
            top: 35%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background-color: #01b4e4a8;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .movie-card a:hover .play-icon {
            opacity: 1;
        }
        
        .movie-card a .play-icon svg {
            width: 40px;
            height: 60px;
            fill: white;
        }
        
        .movie-card a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% - 60px); /* Menghindari bagian bawah kartu */
            background-color: rgba(0, 0, 0, 0.5);
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 8px;
        }
        
        .movie-card a:hover::before {
            opacity: 1;
        }

        /* --- Detail Film --- */
        .movie-detail {
            display: flex;
            gap: 2rem;
            padding: 2rem;
            background-color: var(--card-bg-light);
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--box-shadow);
            color: var(--text-dark);
            align-items: flex-start;
        }
        
        .movie-detail .poster {
            flex-shrink: 0;
            width: 300px;
            border-radius: 0px;
            box-shadow: 0 4px 15px var(--box-shadow);
        }
        
        .movie-detail .info-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .movie-detail .info-content h2 {
            margin: 0;
            font-size: 2.5rem;
            color: var(--text-dark);
        }
        
        .movie-detail .info-content .genres {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .movie-detail .info-content .genres span {
            background-color: var(--text-gray);
            color: var(--text-light);
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.9rem;
        }
        
        .movie-detail .button-group {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .movie-detail .button-group .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            color: var(--text-light);
            border: none;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .movie-detail .button-group .btn-watch {
            background: var(--accent-blue);
        }

        .movie-detail .button-group .btn-download {
            background: var(--accent-blue);
        }

        .movie-detail .button-group .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        /* --- Animasi untuk tombol 'Watch free!' --- */
        .animated-btn {
            animation: pulsate 2s infinite; /* Mengaktifkan animasi "pulsate" */
        }
        
        @keyframes pulsate {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05); /* Memperbesar tombol 5% */
                box-shadow: 0 0 10px var(--accent-blue); /* Menambahkan bayangan */
            }
            100% {
                transform: scale(1);
            }
        }

        /* --- Pemeran & Kru --- */
        .cast-and-crew-section {
            margin-top: 2rem;
            padding: 2rem;
            background-color: var(--card-bg-light);
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--box-shadow);
        }
        
        .cast-and-crew-section h2 {
            color: var(--text-dark);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            margin-top: -5px;
        }

        .cast-list {
            display: flex;
            gap: 1rem;
            overflow-x: auto;
            padding-bottom: 1rem;
            -webkit-overflow-scrolling: touch;
        }
        
        .cast-list::-webkit-scrollbar {
            height: 8px;
        }

        .cast-list::-webkit-scrollbar-thumb {
            background-color: var(--accent-blue);
            border-radius: 10px;
        }

        .cast-list::-webkit-scrollbar-track {
            background-color: #ddd;
            border-radius: 10px;
        }

        .cast-card {
            flex-shrink: 0;
            width: 140px;
            background-color: #fff;
            border-radius: 12px;
            overflow: hidden;
            text-align: center;
            box-shadow: 0 2px 8px var(--box-shadow);
        }

        .cast-card img {
            width: 100%;
            height: 170px;
            object-fit: cover;
            border-radius: 12px 12px 0 0;
        }
        
        .cast-card .person-info {
            padding: 0.75rem;
        }

        .cast-card .person-info h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cast-card .person-info p {
            font-size: 0.8rem;
            color: var(--text-gray);
            margin: 0.25rem 0 0;
        }

        .crew-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        .crew-card {
            width: 180px;
        }
        
        .crew-card h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 0;
        }
        
        .crew-card p {
            font-size: 0.8rem;
            color: var(--text-gray);
            margin: 0.25rem 0 0;
        }
        
        .error {
            text-align: center;
            font-size: 1.2rem;
            color: #d32f2f;
            margin-top: 2rem;
        }

        /* --- Footer --- */
        .main-footer {
            background-color: var(--primary-blue);
            color: var(--text-light);
            text-align: center;
            padding: 1rem;
            font-size: 0.8rem;
            margin-top: 2rem;
        }

        /* Season list specific styles */
        .season-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .season-card {
            display: flex;
            align-items: center;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 8px var(--box-shadow);
            padding: 1rem;
            gap: 1.5rem;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        
        .season-card:hover {
            transform: translateY(-4px);
        }

        .season-card a {
            text-decoration: none;
            color: inherit;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            width: 100%;
        }

        .season-card img {
            width: 100px;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
        }
        
        .season-info h4 {
            margin: 0 0 0.5rem 0;
            font-size: 1.2rem;
        }
        
        .season-info p {
            margin: 0;
            font-size: 0.9rem;
        }

        /* --- Episode List --- */
        .episode-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .episode-card {
            display: flex;
            align-items: flex-start;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 8px var(--box-shadow);
            padding: 1rem;
            gap: 1rem;
            text-decoration: none;
            color: inherit;
            transition: background-color 0.2s ease;
        }
        
        .episode-card:hover {
            background-color: #f0f0f0;
        }

        .episode-card img {
            width: 180px;
            height: 100px;
            object-fit: cover;
            border-radius: 8px;
            flex-shrink: 0;
        }

        .episode-info {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        
        .episode-info h5 {
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
        }
        
        .episode-info p {
            margin: 0;
            font-size: 0.9rem;
            color: var(--text-gray);
        }

        /* --- Media Queries untuk Responsivitas Ponsel --- */
        .hamburger-menu {
            display: none;
            font-size: 2rem;
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            position: absolute;
            right: 1rem;
            top: 1rem;
        }

        @media (max-width: 768px) {
            body {
                padding-top: 0px;
            }

            /* Navbar */
            .navbar {
                flex-direction: column;
                align-items: flex-start;
                padding: 1rem;
                height: auto;
                position: relative;
                display: none;
            }
            
            .navbar.active {
                flex-direction: column;
            }

            .navbar .main-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                margin-right: 0;
            }
            
            .navbar.active .main-menu {
                display: flex;
                margin-top: 2rem;
            }

            .navbar .menu, .navbar .auth-buttons {
                flex-direction: column;
                gap: 0.5rem;
                width: 100%;
                padding: 15px;
                align-items: center;
                margin-right: 16rem;
            }
            
            .navbar .menu a, .navbar .auth-buttons a, .navbar .language-dropdown button {
                width: 100%;
                padding: 0.75rem 1rem;
            }
            
            .navbar .search-container {
                width: 100%;
                margin-top: 1rem;
                order: -1;
            }
            
            .navbar .search-container input[type="text"] {
                width: 100%;
                padding-right: 3rem;
            }
            
            .navbar .search-container input[type="text"]:focus {
                width: 100%;
            }

            .hamburger-menu {
                display: block;
            }

            /* Hero Banner */
            .hero-banner {
                padding: 3rem 1rem;
            }

            .hero-banner h2 {
                font-size: 2rem;
            }

            .hero-banner h3 {
                font-size: 1rem;
            }
            
            .hero-banner form {
                flex-direction: column;
            }
            
            .hero-banner button {
                margin-left: 0;
                margin-top: 0.5rem;
                width: 100%;
                padding: 0.75rem 1rem;
            }

            /* Detail Film */
            .movie-detail {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 1rem;
            }
            
            .movie-detail .poster {
                width: 100%;
                max-width: 250px;
            }
            
            .movie-detail .info-content h2 {
                font-size: 2rem;
            }
            
            .movie-detail .info-content .genres {
                justify-content: center;
            }
            
            .movie-detail .button-group {
                justify-content: center;
            }
            
            /* Konten Lainnya */
            .content-section {
                padding: 0 1rem;
            }
            
            .container {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 1rem;
            }
            
            .movie-card img {
                height: 200px;
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .trending-tabs {
                width: 100%;
                border-radius: 20px;
            }
            
            .trending-tabs a {
                flex-grow: 1;
                text-align: center;
            }
            
            .cast-and-crew-section {
                padding: 1rem;
            }
            
            .cast-list {
                flex-wrap: nowrap;
            }
            
            .crew-list {
                justify-content: center;
            }
            
            .crew-card {
                width: 100%;
                max-width: 180px;
                text-align: center;
            }

            .episode-card img {
                width: 100%;
                max-width: 150px;
                height: auto;
            }
            
            .navbar.active .dropdown-content {
                position: static;
                display: block;
                padding: 0;
            }
            .navbar.active .dropdown-content a {
                padding: 8px 0px;
                padding-left: 20px;
            }
        }