:root {
                --primary-bg: #0a0a0a;
                --secondary-bg: #141414;
                --card-bg: #1a1a1a;
                --hover-bg: #2a2a2a;
                --accent-primary: #e50914;
                --accent-secondary: #ff6b35;
                --text-primary: #ffffff;
                --text-secondary: #b3b3b3;
                --text-muted: #808080;
                --border-color: #333333;
                --gradient-primary: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
                --gradient-dark: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
                --shadow-light: 0 4px 20px rgba(0,0,0,0.3);
                --shadow-heavy: 0 8px 40px rgba(0,0,0,0.6);
            }

            * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }

            body {
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                background-color: var(--primary-bg);
                color: var(--text-primary);
                line-height: 1.6;
                overflow-x: hidden;
            }

            /* Header Styles */
            .header {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                z-index: 1000;
                background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
                backdrop-filter: blur(10px);
                transition: all 0.3s ease;
                padding: 0 4%;
            }

            .header.scrolled {
                background: rgba(10, 10, 10, 0.95);
                backdrop-filter: blur(20px);
            }

            .nav-container {
                display: flex;
                justify-content: space-between;
                align-items: center;
                height: 70px;
                max-width: 1400px;
                margin: 0 auto;
            }

            .logo {
                font-size: 1.8rem;
                font-weight: 700;
                background: var(--gradient-primary);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }

            .nav-menu {
                display: flex;
                list-style: none;
                gap: 2rem;
            }

            .nav-menu a {
                color: var(--text-secondary);
                text-decoration: none;
                font-weight: 500;
                transition: all 0.3s ease;
                position: relative;
            }

            .nav-menu a:hover {
                color: var(--text-primary);
            }

            .nav-menu a::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 0;
                height: 2px;
                background: var(--gradient-primary);
                transition: width 0.3s ease;
            }

            .nav-menu a:hover::after {
                width: 100%;
            }

            .user-actions {
                display: flex;
                align-items: center;
                gap: 1rem;
            }

            .search-btn, .notifications-btn {
                background: none;
                border: none;
                color: var(--text-secondary);
                font-size: 1.1rem;
                cursor: pointer;
                transition: all 0.3s ease;
                padding: 0.5rem;
                border-radius: 50%;
            }

            .search-btn:hover, .notifications-btn:hover {
                color: var(--text-primary);
                background: var(--hover-bg);
            }

            .user-profile {
                width: 35px;
                height: 35px;
                border-radius: 50%;
                background: var(--gradient-primary);
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: 600;
                cursor: pointer;
                transition: all 0.3s ease;
            }

            .user-profile:hover {
                transform: scale(1.1);
            }

            .sign-in-btn {
                background: var(--gradient-primary);
                color: white;
                padding: 0.5rem 1.5rem;
                border-radius: 25px;
                text-decoration: none;
                font-weight: 600;
                transition: all 0.3s ease;
            }

            .sign-in-btn:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-light);
            }

            /* Mobile Menu Toggle */
            .mobile-toggle {
                display: none;
                background: none;
                border: none;
                color: var(--text-primary);
                font-size: 1.5rem;
                cursor: pointer;
            }

            /* Hero Section */
            .hero {
                position: relative;
                height: 100vh;
                display: flex;
                align-items: center;
                overflow: hidden;
            }

            .hero-slider {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

            .hero-slide {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-size: cover;
                background-position: center;
                opacity: 0;
                transition: opacity 1.5s ease-in-out;
            }

            .hero-slide.active {
                opacity: 1;
            }

            .hero-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, transparent 60%);
            }

            .hero-content {
                position: relative;
                z-index: 10;
                max-width: 1400px;
                padding: 0 4%;
                display: flex;
                align-items: center;
                min-height: 100vh;
            }

            .hero-text {
                max-width: 600px;
            }

            .hero-title {
                font-size: clamp(2.5rem, 6vw, 5rem);
                font-weight: 700;
                margin-bottom: 1rem;
                line-height: 1.1;
                text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            }

            .hero-description {
                font-size: clamp(1rem, 2vw, 1.3rem);
                color: var(--text-secondary);
                margin-bottom: 2rem;
                line-height: 1.6;
                max-width: 500px;
            }

            .hero-tags {
                display: flex;
                gap: 0.5rem;
                margin-bottom: 2rem;
                flex-wrap: wrap;
            }

            .tag {
                background: rgba(255,255,255,0.1);
                backdrop-filter: blur(10px);
                padding: 0.3rem 0.8rem;
                border-radius: 20px;
                font-size: 0.9rem;
                border: 1px solid rgba(255,255,255,0.2);
            }

            .hero-buttons {
                display: flex;
                gap: 1rem;
                flex-wrap: wrap;
            }

            .btn-primary {
                background: var(--gradient-primary);
                color: white;
                padding: 0.8rem 2rem;
                border-radius: 30px;
                text-decoration: none;
                font-weight: 600;
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                transition: all 0.3s ease;
                border: none;
                cursor: pointer;
                font-size: 1rem;
            }

            .btn-primary:hover {
                transform: translateY(-2px);
                box-shadow: var(--shadow-heavy);
            }

            .btn-secondary {
                background: rgba(255,255,255,0.1);
                color: white;
                padding: 0.8rem 2rem;
                border-radius: 30px;
                text-decoration: none;
                font-weight: 600;
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                transition: all 0.3s ease;
                border: 1px solid rgba(255,255,255,0.3);
                backdrop-filter: blur(10px);
            }

            .btn-secondary:hover {
                background: rgba(255,255,255,0.2);
                transform: translateY(-2px);
            }

            /* Content Sections */
            .content-section {
                padding: 4rem 4% 2rem;
                max-width: 1400px;
                margin: 0 auto;
            }

            .section-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 2rem;
            }

            .section-title {
                font-size: clamp(1.8rem, 3vw, 2.5rem);
                font-weight: 700;
                color: var(--text-primary);
            }

            .view-all {
                color: var(--accent-primary);
                text-decoration: none;
                font-weight: 600;
                transition: all 0.3s ease;
            }

            .view-all:hover {
                color: var(--accent-secondary);
            }

            /* Video Grid */
            .video-carousel {
                position: relative;
                overflow: hidden;
            }

            .video-row {
                display: flex;
                gap: 1.5rem;
                overflow-x: auto;
                scroll-behavior: smooth;
                padding-bottom: 1rem;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }

            .video-row::-webkit-scrollbar {
                display: none;
            }

            .video-card {
                flex: 0 0 auto;
                width: clamp(200px, 20vw, 320px);
                background: var(--card-bg);
                border-radius: 12px;
                overflow: hidden;
                transition: all 0.3s ease;
                cursor: pointer;
                border: 1px solid transparent;
            }

            .video-card:hover {
                transform: translateY(-10px) scale(1.05);
                box-shadow: var(--shadow-heavy);
                border-color: var(--accent-primary);
            }

            .video-thumbnail {
                position: relative;
                aspect-ratio: 16/9;
                overflow: hidden;
            }

            .video-thumbnail img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: all 0.3s ease;
            }

            .video-card:hover .video-thumbnail img {
                transform: scale(1.1);
            }

            .play-overlay {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: rgba(229, 9, 20, 0.9);
                color: white;
                width: 60px;
                height: 60px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.5rem;
                opacity: 0;
                transition: all 0.3s ease;
            }

            .video-card:hover .play-overlay {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1.1);
            }

            .video-info {
                padding: 1.5rem;
            }

            .video-title {
                font-size: 1.1rem;
                font-weight: 600;
                margin-bottom: 0.5rem;
                color: var(--text-primary);
            }

            .video-description {
                color: var(--text-secondary);
                font-size: 0.9rem;
                line-height: 1.4;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .video-meta {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 1rem;
                font-size: 0.8rem;
                color: var(--text-muted);
            }

            .rating {
                display: flex;
                align-items: center;
                gap: 0.3rem;
            }

            .rating .fa-star {
                color: #ffc107;
            }
    /* User Profile */
.user-profile {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.user-profile:hover {
  transform: scale(1.1);
}
.user-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
  }

  .search-container {
    display: flex;
    align-items: center;
    background: #1e1e1e;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
    transition: all 0.3s ease;
  }

  .search-container:focus-within {
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
    transform: scale(1.02);
  }

  .search-container input {
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    width: 220px;
    transition: width 0.3s ease;
  }

  /* Expand input on focus */
  .search-container input:focus {
    width: 300px;
  }

  .search-container input::placeholder {
    color: #aaa;
  }

  .search-btn {
    border: none;
    background: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
    color: #fff;
    padding: 10px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.3s ease;
  }

  .search-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
  }

  /* Responsive */
  @media (max-width: 600px) {
    .search-container  {
      display:none
    }
    
  }
/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 60px;
  right: 4%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-heavy);
  flex-direction: column;
  min-width: 180px;
  z-index: 999;
  display: none;
}
.dropdown-menu.active {
  display: flex;
}
.dropdown-menu a,
.dropdown-menu p {
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}
.dropdown-menu p {
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
  cursor: default;
}
.dropdown-menu a:hover {
  background: var(--hover-bg);
  color: var(--accent-primary);
}

            /* Scroll Buttons */
            .scroll-btn {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                background: rgba(0,0,0,0.7);
                color: white;
                border: none;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                font-size: 1.2rem;
                cursor: pointer;
                transition: all 0.3s ease;
                z-index: 10;
                opacity: 0;
            }

            .video-carousel:hover .scroll-btn {
                opacity: 1;
            }

            .scroll-btn:hover {
                background: var(--accent-primary);
                transform: translateY(-50%) scale(1.1);
            }

            .scroll-btn.prev {
                left: 10px;
            }

            .scroll-btn.next {
                right: 10px;
            }

            /* Footer */
            .footer {
                background: var(--secondary-bg);
                padding: 4rem 4% 2rem;
                margin-top: 4rem;
            }

            .footer-content {
                max-width: 1400px;
                margin: 0 auto;
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 2rem;
            }

            .footer-section h3 {
                color: var(--text-primary);
                margin-bottom: 1rem;
                font-size: 1.2rem;
            }

            .footer-section p,
            .footer-section a {
                color: var(--text-secondary);
                text-decoration: none;
                margin-bottom: 0.5rem;
                display: block;
                transition: color 0.3s ease;
            }

            .footer-section a:hover {
                color: var(--accent-primary);
            }

            .social-links {
                display: flex;
                gap: 1rem;
                margin-top: 1rem;
            }

            .social-links a {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                background: var(--hover-bg);
                border-radius: 50%;
                color: var(--text-secondary);
                transition: all 0.3s ease;
            }

            .social-links a:hover {
                background: var(--accent-primary);
                color: white;
                transform: translateY(-2px);
            }

            .footer-bottom {
                text-align: center;
                padding-top: 2rem;
                margin-top: 2rem;
                border-top: 1px solid var(--border-color);
                color: var(--text-muted);
            }
                a{
                    text-decoration:none ;
                }
            /* Responsive Design */
            @media (max-width: 768px) {
                .nav-menu {
                    position: fixed;
                    top: 70px;
                    left: -100%;
                    width: 100%;
                    height: calc(100vh - 70px);
                    background: var(--secondary-bg);
                    flex-direction: column;
                    justify-content: flex-start;
                    align-items: center;
                    padding: 2rem;
                    transition: left 0.3s ease;
                }

                .nav-menu.active {
                    left: 0;
                }

                .mobile-toggle {
                    display: block;
                }

                .user-actions {
                    gap: 0.5rem;
                }

                .hero-buttons {
                    flex-direction: column;
                    align-items: flex-start;
                }

                .btn-primary,
                .btn-secondary {
                    width: 100%;
                    justify-content: center;
                    max-width: 300px;
                }

                .content-section {
                    padding: 2rem 4%;
                }

                .video-card {
                    width: clamp(280px, 70vw, 300px);
                }

                .scroll-btn {
                    display: none;
                }
            }

            @media (max-width: 480px) {
               .hero-title {
                font-size: clamp(1.7rem, 6vw, 5rem)
               }
               .logo {
    font-size: 1.2rem;
               }
                .header {
                    padding: 0 2%;
                }

                .content-section {
                    padding: 2rem 2%;
                }

                .hero-content {
                    padding: 0 2%;
                }

                .footer {
                    padding: 2rem 2%;
                }
            }

            /* Loading Animation */
            .loading-spinner {
                display: inline-block;
                width: 20px;
                height: 20px;
                border: 2px solid rgba(255,255,255,0.3);
                border-radius: 50%;
                border-top-color: white;
                animation: spin 1s ease-in-out infinite;
            }

            @keyframes spin {
                to { transform: rotate(360deg); }
            }

            /* Scroll Reveal Animation */
            .fade-in {
                opacity: 0;
                transform: translateY(30px);
                transition: all 0.6s ease;
            }

            .fade-in.visible {
                opacity: 1;
                transform: translateY(0);
            }
            img.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img.lazy.loaded {
  opacity: 1;
}