@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
            background: #0f172a;
            min-height: 100vh;
            color: #ffffff;
            overflow-x: hidden;
            position: relative;
        }

        /* Background Effects */
        .background-effects {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
        }

        .background-effects::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
            animation: backgroundFloat 12s ease-in-out infinite;
        }

        .background-effects::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.3), transparent),
                radial-gradient(1px 1px at 40px 70px, rgba(147, 51, 234, 0.2), transparent);
            background-repeat: repeat;
            background-size: 150px 100px;
            animation: floatingParticles 20s linear infinite;
        }

        @keyframes backgroundFloat {
            0%, 100% { transform: translateY(0px); opacity: 1; }
            50% { transform: translateY(-20px); opacity: 0.8; }
        }

        @keyframes floatingParticles {
            0% { transform: translateY(0px) translateX(0px); }
            100% { transform: translateY(-100vh) translateX(50px); }
        }

        /* Navigation Bar */
        .nav-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(15, 23, 42, 0.9);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(59, 130, 246, 0.2);
            padding: 1rem 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #ffffff;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .nav-logo-icon {
            width: 2.5rem;
            height: 2.5rem;
            background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
            border-radius: 0.75rem;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.8rem;
            font-size: 1.2rem;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 0.625rem;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .nav-link:hover {
            color: #ffffff;
            background: rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.3);
            transform: translateY(-0.125rem);
        }

        /* Page Layout */
        .page-layout {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            min-height: 100vh;
            padding-top: 6rem;
        }
        .language-selector-centered {
          position: relative;
          z-index: 20;
        }

        .dropdown-hidden {
          opacity: 0;
          transform: translateY(-10px);
          pointer-events: none;
        }

        .dropdown-visible {
          opacity: 1;
          transform: translateY(0);
          pointer-events: all;
        }

          #languageSelector {
              position: relative;
              display: inline-block;
            }

            /* Button styling */
            #languageBtn {
              background-color: #1f2937; /* Dark gray */
              color: white;
              padding: 8px 12px;
              border: none;
              cursor: pointer;
              border-radius: 6px;
              display: flex;
              align-items: center;
              gap: 6px;
            }

            /* Chevron arrow */
            #chevron {
              transition: transform 0.3s ease;
            }

            /* Dropdown styling */
            #languageDropdown {
              position: absolute;
              top: 100%;
              left: 0;
              margin-top: 4px;
              background-color: #1f2937; /* Dark background */
              color: white;
              min-width: 180px;
              box-shadow: 0 4px 8px rgba(0,0,0,0.15);
              border-radius: 6px;
              z-index: 1000;
              overflow: hidden;
            }

            /* Individual language option */
            .language-option {
              padding: 10px 14px;
              cursor: pointer;
              transition: background-color 0.2s;
            }

            .language-option:hover {
              background-color: #374151; /* Slightly lighter gray */
            }

        /* Hero Section */
        .hero-section {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 2rem;
            padding: 4rem;
            margin-bottom: 3rem;
            text-align: center;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg,
                transparent,
                rgba(59, 130, 246, 0.8),
                rgba(147, 51, 234, 0.6),
                rgba(59, 130, 246, 0.8),
                transparent
            );
            animation: borderGlow 3s ease-in-out infinite;
        }

        @keyframes borderGlow {
            0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
            50% { opacity: 1; transform: scaleX(1); }
        }

        .hero-logo {
            width: 5rem;
            height: 5rem;
            background: linear-gradient(135deg, #3b82f6 0%, #9333ea 50%, #06b6d4 100%);
            border-radius: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.2rem;
            margin: 0 auto 2rem;
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
            animation: logoFloat 4s ease-in-out infinite;
        }

        @keyframes logoFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-8px) rotate(1deg); }
        }

        .hero-title {
            color: #ffffff;
            font-weight: 800;
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.3rem;
            margin-bottom: 2rem;
            font-weight: 400;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

        .stats-container {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 2rem;
        }

        .stat-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 1.25rem;
            padding: 1.5rem 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: #3b82f6;
            text-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        }

        .stat-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Search and Filter Section */
        .search-section {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 2rem;
            padding: 3rem;
            margin-bottom: 3rem;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .search-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .search-bar {
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 1.2rem 1.2rem 1.2rem 3.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 1.25rem;
            font-size: 1.1rem;
            color: #ffffff;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .search-input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            border-color: #3b82f6;
            box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
            transform: translateY(-2px);
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .search-icon {
            position: absolute;
            left: 1.2rem;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.2rem;
        }

        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
        }

        .filter-btn {
            padding: 0.8rem 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 1rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: capitalize;
        }

        .filter-btn:hover {
            background: rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.5);
            transform: translateY(-2px);
        }

        .filter-btn.active {
            background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
            border-color: #3b82f6;
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }

        /* Movies Grid */
        .movies-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .movie-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(59, 130, 246, 0.2);
            border-radius: 1.5rem;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .movie-card:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: rgba(59, 130, 246, 0.5);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        }

        .movie-poster {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .movie-card:hover .movie-poster {
            transform: scale(1.05);
        }

        .movie-info {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .movie-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.5rem;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }

        .movie-year {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1rem;
        }
        .movie-rating {
          display: inline-block;
          background-color: rgba(255, 215, 0, 0.15);
          color: #ffd700;
          font-weight: 600;
          font-size: 1rem;
          padding: 0.1rem 0.3rem;
          border-radius: 12px;
          margin-top: 0.1rem;
          text-align: center;
          min-width: 50px;
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }
        .movie-rating::before {
          content: '★ ';
          color: #ffd700;
        }

        .movie-description {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.5;
            margin-bottom: 1rem;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .movie-category {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background: rgba(59, 130, 246, 0.2);
            border: 1px solid rgba(59, 130, 246, 0.4);
            border-radius: 0.75rem;
            font-size: 0.8rem;
            color: #3b82f6;
            font-weight: 500;
            text-transform: capitalize;
            margin-top: auto;
        }

        .movie-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
        }

        /* Loading States */
        .loading-container {
            text-align: center;
            padding: 4rem 2rem;
        }

        .loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(59, 130, 246, 0.3);
            border-top: 4px solid #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 2rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.1rem;
            font-weight: 500;
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 4rem 2rem;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 1.5rem;
            margin: 2rem 0;
        }

        .no-results-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.6;
        }

        .no-results-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1rem;
        }

        .no-results-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.1rem;
        }

        /* Pagination */
        .pagination {
          text-align: center;
          padding: 20px;
        }

        .pagination a,
        .pagination span {
          display: inline-block;
          margin: 0 4px;
          padding: 8px 14px;
          border-radius: 25px;
          background: #222;
          color: #fff;
          text-decoration: none;
          font-weight: 500;
          transition: all 0.2s ease-in-out;
        }

        .pagination a:hover {
          background: #f90;
          color: #111;
        }

        .pagination .active {
          background: #f90;
          color: #111;
          font-weight: bold;
          pointer-events: none;
        }

        .pagination span {
          background: transparent;
          color: #aaa;
          cursor: default;
        }

        .site-footer {
          background-color: #0f172a;
          color: #e2e8f0;
          padding: 30px 20px 10px;
          font-size: 14px;
        }

        .footer-container {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          max-width: 1200px;
          margin: auto;
          gap: 20px;
        }

        .footer-section {
          flex: 1 1 200px;
        }

        .footer-section h3 {
          font-size: 16px;
          margin-bottom: 10px;
          border-bottom: 2px solid #334155;
          padding-bottom: 5px;
        }

        .footer-section ul {
          list-style: none;
          padding: 0;
          margin: 0;
        }

        .footer-section ul li {
          margin-bottom: 8px;
        }

        .footer-section ul li a {
          color: #94a3b8;
          text-decoration: none;
          transition: color 0.2s ease;
        }

        .footer-section ul li a:hover {
          color: #38bdf8;
        }

        .footer-bottom {
          text-align: center;
          padding: 10px;
          margin-top: 20px;
          border-top: 1px solid #334155;
          font-size: 13px;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .stats-container {
                gap: 2rem;
            }

            .movies-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav-content {
                padding: 0 1rem;
            }

            .nav-logo {
                font-size: 1rem;
            }

            .nav-logo-icon {
                width: 2rem;
                height: 2rem;
                font-size: 1rem;
            }

            .page-layout {
                padding: 1rem;
                padding-top: 5rem;
            }

            .hero-section {
                padding: 3rem 2rem;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .stats-container {
                flex-direction: column;
                gap: 1rem;
            }

            .stat-item {
                padding: 1rem 1.5rem;
            }

            .stat-number {
                font-size: 2rem;
            }

            .search-section {
                padding: 2rem;
            }

            .filter-buttons {
                gap: 0.5rem;
            }

            .filter-btn {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }

            .movies-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .movie-card {
                border-radius: 1.25rem;
            }

            .movie-poster {
                height: 300px;
            }
            .movie-rating {
                font-size: 0.9rem;
                padding: 0.2rem 0.4rem;
              }
            #languageSelector {
            max-width: 100%;
          }

          #languageBtn {
            padding: 12px 16px;
            font-size: 1rem;
          }

          .language-option {
            padding: 14px 16px;
            font-size: 1rem;
          }
        }

        /* Animation Classes */
        .fade-in {
            animation: fadeIn 0.8s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .slide-up {
            animation: slideUp 0.6s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }