        :root {
            --primary: #6366f1;
            --accent: #b91048;
            --sidebar-bg: #181926;
            --card-bg: #000008bc;
            --text-light: #fff;
            --text-muted: #c7c7c7;
        }

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

body {
    background: #111e10;
    color: var(--text-light);
    overflow-x: hidden;
    padding: 20px; 
}


        /* Background Video */
        #bg-video {
            position: fixed;
            top: 0;
            left: 0;
            min-width: 100vw;
            min-height: 100vh;
            object-fit: cover;
            z-index: -1;

        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            backdrop-filter: blur(10px);
            z-index: 10;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 1.2rem;
        }

        .header-logo {
            color: #ff8c42;
            font-weight: bold;
            font-size: 1.8rem;
            letter-spacing: 1px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        }

        .header-nav {
            display: flex;
            gap: 1.2rem;
        }

        .header-nav a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            padding: 0.4rem 1.8rem;
            border-radius: 6px;
            transition: 0.25s;
        }

        .header-nav a:hover {
            background: #ff8a427d;
            color: white;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: rgba(237, 141, 67, 0.1);
            border-radius: 20px;
            padding: 0.5rem 1rem;
        }

        .search-box input {
            background: transparent;
            border: none;
            color: var(--text-light);
            outline: none;
            width: 180px;
        }

        .search-box i {
            color: var(--text-muted);
        }

        .user-actions button {
            background: #ff8a4290;
            color: white;
            border: none;
            border-radius: 6px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            font-weight: 500;
            transition: 0.25s;
        }

        .user-actions button:hover {
            background: #110100;;
        }

        /* Sidebar */
        aside {
            background: #0b0400;
            min-height: 100vh;
            width: 260px;
            position: fixed;
            top: 0;
            left: 0;
            transform: translateX(-100%);
            transition: transform 0.3s ease-in-out;
            z-index: 999;
            display: flex;
            flex-direction: column;
            padding: 1.2rem 0 2rem 0;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        }

        aside.open {
            transform: translateX(0);
        }

        .logo {
            color: #ff8c42;
            font-weight: bold;
            font-size: 1.8rem;
            padding-left: 2rem;
            margin-bottom: 2rem;
        }

        aside nav {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        aside nav a,
        .library a,
        .settings a {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: var(--text-light);
            text-decoration: none;
            padding: 0.9rem 2rem;
            font-size: 1rem;
            border-radius: 8px;
            transition: background 0.25s;
        }

        aside nav a.active,
        aside nav a:hover {
            background: #351d0e;
            color: #fff;
        }

        .library,
        .settings {
            margin-top: 2rem;
        }

        /* Hamburger */
        .hamburger {
            display: none;
            background: #ff8a4214;
            width: 45px;
            height: 45px;
            border: none;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #ffffffa7;

            transition: 0.25s;
        }

        .hamburger:hover {
            background: black;
        }

        .hamburger span {
            font-size: 1.5rem;
        }

        /* Main Content */
        main {
            margin-left: 0;
            padding: 8rem 1rem 3rem 1rem;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            position: relative;
            z-index: 1;
        }

        .hero {
            max-width: 680px;
            margin-top: 2rem;
        }

        .hero-badges {
            margin-bottom: 1rem;
            display: flex;
            gap: 1rem;
        }

        .badge {
            background: linear-gradient(90deg, rgba(193, 103, 229, 0.584), #ff8a4299);
            color: #fff;
            padding: 0.25rem 1rem;
            border-radius: 6px;
            font-size: 0.93em;
            font-weight: 600;
            letter-spacing: 0.2px;
            margin-right: 0.5em;
        }

        .badge.secondary {
            background: #0c010179;
            color: rgb(215, 212, 212);
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 900;
            line-height: 1.1;
        }

        .hero-title .accent {
            background: linear-gradient(90deg, rgb(193, 103, 229), #ff8c42);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 3rem;
            font-weight: 900;
        }

        .hero-desc {
            font-size: 1.18rem;
            margin: 1.3rem 0 2rem 0;
            color: var(--text-muted);
        }

        .hero-actions {
            display: flex;
            gap: 1.2rem;
            flex-wrap: wrap;
            margin-bottom: 1.8rem;
        }

        .btn {
            padding: 0.65rem 2.2rem;
            border: none;
            outline: none;
            background: #ff8a4291;
            color: #fff;
            font-size: 1.12rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: background .18s;
            box-shadow: 0 2px 8px rgba(185, 16, 72, 0.18);
            display: flex;
            align-items: center;
            gap: 0.7em;
        }

        .btn:active,
        .btn:hover {
            background: linear-gradient(90deg, rgba(193, 103, 229, 0.584), #ff8a4299);
        }

        .stats {
            display: flex;
            gap: 3rem;
            margin-top: 1.2rem;
        }

        .stat {
            color: var(--text-light);
            font-weight: 600;
        }

        .stat span {
            display: block;
            font-size: 1.07rem;
            color: var(--text-muted);
        }

        /* Video Cards Section */
        .video-section {
            width: 100%;
            margin-top: 4rem;
        }

        .section-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--text-light);
            position: relative;
            padding-bottom: 0.5rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, rgb(193, 103, 229), #ff8c42);
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            width: 100%;
        }

        .video-card {
            background: var(--card-bg);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }

        .video-thumb {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .video-info {
            padding: 1rem;
        }

        .video-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        .video-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            color: var(--text-muted);
            font-size: 0.85rem;
        }



        /* ===== Footer Base ===== */
        .site-footer {
            color: white;
            padding: 0px 0px;
            text-align: center;
            backdrop-filter: blur(20px); 
            -webkit-backdrop-filter: blur(20px); 
        }

        .footer__backtotop {
            display: block;
            text-align: center;
            padding: 14px 16px;
            color: #fff;

            text-decoration: none;
            font-weight: 600;
            letter-spacing: .2px;
        }

        .footer__backtotop:focus {
            outline: var(--focus);
            outline-offset: 4px;
        }

        .footer__top {
            max-width: var(--container);
            margin-inline: auto;
            padding: 40px 16px;
            display: grid;
            gap: 32px;
        }

        /* 4-column grid that collapses nicely */
        .footer__grid {
            display: grid;
            gap: 28px;
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }

        @media (max-width: 960px) {
            .footer__grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 520px) {
            .footer__grid {
                grid-template-columns: 1fr;
            }
        }

        .footer__col h3 {
            margin: 0 0 12px;
            font-size: 1rem;
            color: #ff8c42;
        }

        .footer__links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 8px;
        }

        .footer__links a {
            color: var(--text);
            text-decoration: none;
            font-size: .94rem;
        }

        .footer__links a:hover {
            color: #ff8c42;
            text-decoration: underline;
        }

        .footer__divider {
            border-top: 1px solid #ff8c42;
            margin: 24px 0;
        }

        /* Brand & locale bar */
        .footer__brandbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #fff;
        }

        .brand__logo {
            width: 110px;
            height: 28px;
            display: inline-block;
        }

        /* Simple wordmark using pure CSS/SVG */
        .brand__mark {
            display: inline-block;
            vertical-align: middle;
        }

        .locale-controls {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 8px 10px;
            color: var(--text);
            background: transparent;
        }

        .chip select,
        .chip button {
            background: transparent;
            border: none;
            color: inherit;
            font: inherit;
        }

        .chip select {
            padding-right: 22px;
        }

        .chip:focus-within {
            outline: #ff8c42;
            outline-offset: 3px;
        }

        .footer__appbadges {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .appbadge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #ff8c42;
            padding: 8px 12px;
            border-radius: 8px;
            color: #fff;
            text-decoration: none;
        }


        /* ===== Deep Links (compact matrix like Amazon) ===== */
        .footer__matrix {
            background: var(--bg-alt);
        }

        .footer__matrix .wrap {
            max-width: var(--container);
            margin-inline: auto;
            padding: 28px 16px;
        }

        .matrix {
            display: grid;
            grid-template-columns: repeat(6, minmax(120px, 1fr));
            gap: 14px;
        }

        @media (max-width: 1100px) {
            .matrix {
                grid-template-columns: repeat(4, minmax(120px, 1fr));
            }
        }

        @media (max-width: 720px) {
            .matrix {
                grid-template-columns: repeat(2, minmax(120px, 1fr));
            }
        }

        .matrix a {
            display: block;
            text-decoration: none;
            color: var(--text);
            font-size: .88rem;
            line-height: 1.3;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid transparent;
        }

        .matrix a span {
            display: block;
            color:#ff8c42;
            font-weight: 600;
        }

        .matrix a:hover {
            border-color: var(--border);
        }

        /* ===== Legal ===== */
        .footer__legal {
            align-items: center;
            justify-content: center;
            max-width: var(--container);
            margin-inline: auto;
            padding: 20px 16px 32px;
            display: grid;
            gap: 16px;
            color: var(--muted);
        }

        .legal__links {
            align-items: center;
            justify-content: center;
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .legal__links a {

            color: var(--link);
            text-decoration: none;
        }

        .legal__links a:hover {
            text-decoration: underline;
        }

        .copyright {
            font-size: .9rem;
        }

        /* High contrast for keyboard users */
        a:focus-visible,
        button:focus-visible,
        select:focus-visible,
        input:focus-visible {
            outline: var(--focus);
            outline-offset: 3px;
        }



/* movie details */
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .container {
            width: 100%;
            max-width: 1700px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .logo {
            text-align: center;
            margin: 30px 0;
            animation: fadeIn 1s ease;
        }

        .logo h1 {
            font-size: 3.5rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 3px;
            background: linear-gradient(to right, #ff8a00, #da1b60);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.313);
            margin-bottom: 10px;
        }

        .logo p {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.8);
            max-width: 600px;
        }

        .search-container {
            width: 100%;
            max-width: 600px;
            margin: 20px 0 40px;
            animation: slideUp 1s ease;
        }

        .search-container form {
            display: flex;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border-radius: 50px;
            overflow: hidden;
        }

        .inputBox {
            flex: 1;
            padding: 18px 25px;
            border: none;
            background: rgba(255, 255, 255, 0.9);
            font-size: 1.1rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .inputBox:focus {
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 0 15px rgba(255, 138, 0, 0.5);
        }

        .inputBox::placeholder {
            color: #888;
        }

        .searchBtn {
            padding: 0 30px;
            border: none;
            background: linear-gradient(to right, #ff8a00, #da1b60);
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .searchBtn:hover {
            background: linear-gradient(to right, #ff6a00, #c2185b);
            letter-spacing: 1px;
        }

        .movie-container {
            width: 100%;
            text-align: center;
            margin-bottom: 40px;
        }

        .movie-container h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 300;
        }

        .movie-info {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin-top: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            display: none;
            animation: fadeIn 0.5s ease;
            text-align: left;
        }

        .movie-poster {
            text-align: center;
            margin-bottom: 25px;
        }

        .movie-poster img {
            width: 100%;
            max-width: 300px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease;
        }

        .movie-poster img:hover {
            transform: scale(1.03);
        }

        .movie-info h2 {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: #fff;
            border-bottom: 2px solid #ff8a00;
            padding-bottom: 10px;
        }

        .movie-info p {
            margin-bottom: 12px;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .movie-info strong {
            color: #ff8a00;
        }

        .movie-genre {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 15px 0;
        }

        .movie-genre p {
            background: linear-gradient(to right, #ff8a00, #da1b60);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .welcome-screen {
            text-align: center;
            padding: 40px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            max-width: 800px;
            margin: 0 auto;
            animation: fadeIn 1s ease;
        }

        .welcome-screen i {
            font-size: 4rem;
            color: #ff8a00;
            margin-bottom: 20px;
        }

        .welcome-screen h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            background: linear-gradient(to right, #ff8a00, #da1b60);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .welcome-screen p {
            font-size: 1.2rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .featured-movies {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .featured-movie {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 15px;
            width: 160px;
            text-align: center;
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .featured-movie:hover {
            transform: translateY(-10px);
        }

        .featured-movie img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 10px;
        }

        .featured-movie p {
            font-size: 0.9rem;
        }

        .rating {
            display: flex;
            align-items: center;
            margin: 10px 0;
        }

        .rating-value {
            font-weight: bold;
            margin-right: 10px;
            color: #ff8a00;
        }

        .stars {
            color: #ffc107;
        }




        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

        /* Responsive Design */
        @media (max-width: 768px) {
            .logo h1 {
                font-size: 2.5rem;
            }
            
            .search-container form {
                flex-direction: column;
                border-radius: 15px;
            }
            
            .inputBox {
                border-radius: 15px 15px 0 0;
                text-align: center;
            }
            
            .searchBtn {
                border-radius: 0 0 15px 15px;
                padding: 15px;
            }
            
            .movie-info {
                padding: 20px;
            }
            
            .movie-info h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            .logo h1 {
                font-size: 2rem;
            }
            
            .logo p {
                font-size: 1rem;
            }
            
            .welcome-screen h2 {
                font-size: 1.8rem;
            }
            
            .welcome-screen p {
                font-size: 1rem;
            }
        }







        @media (max-width: 1100px) {
            main {
                align-items: center;
            }

            .hero {
                margin-top: 1rem;
            }
        }

        /* Responsive */
        @media (max-width: 1000px) {
            .header-nav {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .header-left {
                gap: 1rem;
            }
        }

        @media (max-width: 600px) {
            header {
                padding: 1rem;
            }

            .header-logo {
                font-size: 1.3rem;
            }

            .search-box {
                display: none;
            }
        }