  :root {
            --primary: #ff4d6d;
            --secondary: #6930c3;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --shadow: 8px 8px 15px #0f0f1a, -8px -8px 15px #252542;
            --inset-shadow: inset 3px 3px 5px #0f0f1a, inset -3px -3px 5px #252542;
            --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background-color: var(--dark);
            color: var(--light);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        .blurry-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .blurry-bg::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, var(--secondary), var(--primary));
            opacity: 0.15;
            filter: blur(80px);
            animation: rotate 30s linear infinite;
        }

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

        header {
            padding: 1.5rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--light);
            text-shadow: var(--text-shadow);
        }

        .logo span {
            color: var(--primary);
        }

        .search-box {
            position: relative;
            width: 300px;
        }

        .search-box input {
            width: 100%;
            padding: 0.8rem 1.5rem;
            border-radius: 2rem;
            border: none;
            background: var(--dark);
            box-shadow: var(--shadow);
            color: var(--light);
            font-size: 0.9rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            box-shadow: var(--inset-shadow);
        }

        .search-box i {
            position: absolute;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary);
            cursor: pointer;
        }

        .hero {
            padding: 2rem 5%;
            text-align: center;
            margin-top: 1rem;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: var(--text-shadow);
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            max-width: 600px;
            margin: 0 auto 2rem;
            opacity: 0.8;
            line-height: 1.6;
        }

        .trending-section {
            padding: 2rem 0%;
        }

        .section-title {
            padding:5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .section-title h2 {
            font-size: 1.5rem;
            position: relative;
            padding-left: 1rem;
        }

        .section-title h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: linear-gradient(to bottom, var(--primary), var(--secondary));
            border-radius: 2px;
        }

        .section-title a {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .section-title a:hover {
            color: var(--light);
        }

        .movies-grid {
            padding: 5%;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1.5rem;
        }

        .movie-card {
            background: var(--dark);
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            position: relative;
            cursor: pointer;
        }

        .movie-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .movie-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }

        .movie-info {
            padding: 1rem;
        }

        .movie-info h3 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .movie-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            opacity: 0.7;
        }

        .rating {
            color: #ffc107;
        }

        .bottom-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 80px;
            background: rgba(26, 26, 46, 0.8);
            backdrop-filter: blur(5px);
            display: flex;
            justify-content: center;
            align-items: flex-start;
            z-index: 100;
        }

        .bottom-bar::before {
            content: '';
            position: absolute;
            top: -20px;
            left: 0;
            width: 100%;
            height: 80px;
            
            border-radius: 0 0 50% 50%;
            box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.2);
            transform: scaleY(0.5);
            z-index: -1;
            animation: wave 8s infinite linear;
        }

        @keyframes wave {
            0%, 100% { border-radius: 0 0 50% 50% / 0 0 30% 30%; }
            50% { border-radius: 0 0 60% 40% / 0 0 40% 30%; }
        }

        .nav-items {
            display: flex;
            width: 80%;
            max-width: 500px;
            justify-content: space-between;
            margin-top: 0.7rem;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--light);
            text-decoration: none;
            font-size: 0.8rem;
            opacity: 0.7;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 1rem;
            border-radius: 1rem;
            background: transparent;
        }

        .nav-item i {
            font-size: 1.2rem;
            margin-bottom: 0.3rem;
            transition: all 0.3s ease;
        }

        .nav-item.active, .nav-item:hover {
            opacity: 1;
            color: var(--primary);
        }

        .nav-item.active {
            box-shadow: var(--inset-shadow);
        }

        .nav-item.active i {
            transform: translateY(-5px);
        }

        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: -8px;
            width: 6px;
            height: 6px;
            background: var(--primary);
            border-radius: 50%;
        }

        .neumorphic-btn {
            padding: 0.8rem 2rem;
            border: none;
            border-radius: 2rem;
            background: var(--dark);
            color: var(--light);
            font-weight: 600;
            box-shadow: var(--shadow);
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0 0.5rem;
        }

        .neumorphic-btn:hover {
            box-shadow: var(--inset-shadow);
            color: var(--primary);
        }

        .primary-btn {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
        }

        .primary-btn:hover {
            box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
            color: white;
        }

        .category-tabs-container {
            width: 100%;
            overflow-x: auto;
            padding-bottom: 1rem;
            margin-bottom: 2rem;
            scrollbar-width: none; /* Firefox */
        }

        .category-tabs-container::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }

        .category-tabs {
            display: flex;
            gap: 1rem;
            justify-content: center;
            width: max-content;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .category-tab {
            padding: 0.5rem 1.5rem;
            border-radius: 2rem;
            background: var(--dark);
            color: var(--light);
            box-shadow: var(--shadow);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .category-tab.active, .category-tab:hover {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            box-shadow: 0 5px 15px rgba(255, 77, 109, 0.3);
        }

        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
            color: var(--primary);
            font-size: 1.5rem;
        }

        .loading i {
            animation: spin 1s linear infinite;
        }

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

        @media (max-width: 768px) {
            .movies-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            
            header {
                flex-direction: column;
                gap: 1rem;
            }
            
            .search-box {
                width: 100%;
            }
            
            .hero h1 {
                font-size: 2rem;
            }

            .category-tabs {
                justify-content: flex-start;
                padding: 0 1rem;
            }
        }