/* ========================================
   Buzz-Net - Premium Streaming Platform
   Modern CSS with Gradients & Animations
   ======================================== */

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    --card-gradient: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --glow-color: rgba(102, 126, 234, 0.5);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.5);
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255,255,255,0.05);
    --border-color: rgba(255,255,255,0.1);
    --accent-purple: #667eea;
    --accent-pink: #f093fb;
    --accent-blue: #4facfe;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-pink));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gradient);
}

/* Selection */
::selection {
    background: var(--accent-purple);
    color: white;
}

/* ========================================
   Animated Background
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--dark-gradient);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-gradient);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(0, 50px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -25px) scale(1.05);
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(10, 10, 15, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
}

.logo-highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-search {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.btn-search:hover {
    background: var(--primary-gradient);
    transform: rotate(90deg);
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-full {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.mobile-nav-links a:hover {
    color: var(--accent-purple);
    padding-left: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    color: var(--accent-purple);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-hero-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-hero-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Content Section
   ======================================== */
.content-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.movie-card {
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.movie-poster {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 2/3;
    margin-bottom: 1rem;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
    transform: scale(0);
}

.movie-card:hover .play-btn {
    transform: scale(1);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--glow-color);
}

.movie-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.movie-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffd700;
    font-weight: 600;
}

.movie-year {
    color: var(--text-muted);
}

.movie-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    background: var(--secondary-gradient);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.movie-badge.top {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.movie-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-genre {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.content-cta {
    text-align: center;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    list-style: none;
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.about-features i {
    color: var(--accent-purple);
    font-size: 1.25rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
}

.device-frame {
    width: 400px;
    height: 280px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    border: 3px solid var(--border-color);
    padding: 1rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(5deg); }
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.player-ui {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1536440136620-719869d4a349?w=800&h=600&fit=crop');
    background-size: cover;
    background-position: center;
}

.player-controls {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 0 20px rgba(102, 126, 234, 0); }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 6rem 2rem;
    background: var(--card-gradient);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.cta-form input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--accent-purple);
    padding-left: 0.5rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   Search Modal
   ======================================== */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 700px;
    padding: 0 2rem;
    transform: translateY(-30px);
    transition: var(--transition-smooth);
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.close-search {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-search:hover {
    background: var(--secondary-gradient);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.search-input-wrapper i {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.search-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-result-item:hover {
    background: rgba(255,255,255,0.1);
}

.search-result-item img {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.result-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   Animations (AOS-like)
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .floating-cards {
        width: 300px;
        height: 400px;
    }

    .card-1 {
        width: 150px;
        height: 225px;
    }

    .card-2,
    .card-3 {
        width: 120px;
        height: 180px;
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
    }

    .about-features {
        display: inline-block;
        text-align: left;
    }

    .device-frame {
        width: 100%;
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .floating-cards {
        width: 250px;
        height: 350px;
    }

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

    .cta-form {
        flex-direction: column;
    }

    .cta-form input {
        min-width: 100%;
    }

    .scroll-indicator {
        display: none;
    }
}

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

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .features-grid, .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Manual Search Modal */
.manual-search-modal input:focus {
    outline: none;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.manual-search-modal a:hover {
    color: #f093fb !important;
    text-decoration: underline;
}

    .logo-text {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .content-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Torrent Modal
   ======================================== */
.torrent-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.torrent-modal.active {
    opacity: 1;
    visibility: visible;
}

.torrent-modal-content {
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transform: translateY(-30px);
    transition: var(--transition-smooth);
    text-align: center;
}

.torrent-modal.active .torrent-modal-content {
    transform: translateY(0);
}

.torrent-modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.torrent-modal-content h2 i {
    color: var(--accent-purple);
    margin-right: 0.5rem;
}

.torrent-modal-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.torrent-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.torrent-input-group input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.torrent-input-group input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.2);
}

.torrent-input-group .btn-gradient {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
}

.torrent-sources h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.torrent-file-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-dark);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.torrent-file-input:hover {
    border-color: var(--accent-purple);
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary);
}

.torrent-file-input input {
    display: none;
}

.torrent-file-input i {
    font-size: 1.5rem;
    color: var(--accent-purple);
}

/* ========================================
   Video Player Modal
   ======================================== */
.player-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.player-modal.active {
    opacity: 1;
    visibility: visible;
}

.player-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.close-player {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.close-player:hover {
    background: var(--secondary-gradient);
    transform: rotate(90deg);
}

.video-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    background: #000;
}

.player-info {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.player-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.player-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.player-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.player-stats .stat i {
    color: var(--accent-purple);
}

/* ========================================
   Navigation Torrent Button
   ======================================== */
.btn-torrent {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-torrent:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px var(--glow-color);
}

/* ========================================
   Hero Full Width
   ======================================== */
.hero-content-full {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-full .hero-badge {
    justify-content: center;
}

.hero-content-full .hero-actions {
    justify-content: center;
}

.hero-content-full .hero-stats {
    justify-content: center;
}

/* ========================================
   Loading Spinner
   ======================================== */
.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Error state */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.error-message i {
    font-size: 3rem;
    color: var(--accent-pink);
    margin-bottom: 1rem;
    display: block;
}

.error-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Movie card enhanced */
.movie-card {
    position: relative;
}

.movie-card.loading {
    pointer-events: none;
}

.movie-card.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-overview {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
    max-height: 60%;
    overflow: hidden;
}

.movie-card:hover .movie-overview {
    display: block;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.hidden { display: none; }
.visible { display: block; }

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}
