/* ============================================
   Stunning Landing Page - Red Palette
   ============================================ */

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

:root {
    --primary: #DC2626;
    --primary-dark: #991B1B;
    --primary-light: #FEE2E2;
    --accent: #EF4444;
    --white: #FFFFFF;
    --dark: #050505;
    --dark-light: #0F0F0F;
    --gray: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Main Container */
.home_container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--dark);
}

/* Animated Grid Background */
.home_container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(220, 38, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

/* Glowing Orbs */
.home_container::after {
    content: '';
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
    animation: orbPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes orbPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 0.8; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 50px;
    animation: fadeInDown 0.8s ease;
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Nav Buttons */
.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    margin-left: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.nav-btn:first-of-type {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-btn:first-of-type:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-btn:last-of-type {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 5px 25px rgba(220, 38, 38, 0.4);
}

.nav-btn:last-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-btn:last-of-type:hover::before {
    left: 100%;
}

.nav-btn:last-of-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 50px 100px;
    position: relative;
    z-index: 1;
}

.intro {
    max-width: 1000px;
    text-align: center;
}

/* Animated Badge */
.intro::before {
    content: 'STREAMING PLATFORM';
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 35px;
    animation: badgePulse 3s ease-in-out infinite, fadeIn 0.8s ease 0.2s both;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
}

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

/* Welcome Text */
.welcome {
    display: block;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    position: relative;
}

/* Red underline accent */
.welcome::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: lineExpand 0.8s ease 0.8s both;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes lineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

.intro-paragraph {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

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

.primary-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.secondary-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 45px;
    padding: 22px 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 15px 50px rgba(220, 38, 38, 0.4),
        0 0 0 0 rgba(220, 38, 38, 0.3);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.7s both, buttonGlow 3s ease-in-out 1.5s infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 15px 50px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 15px 50px rgba(220, 38, 38, 0.4), 0 0 0 15px rgba(220, 38, 38, 0); }
}

.download-btn svg {
    width: 22px;
    height: 22px;
    animation: bounce 2s ease-in-out infinite;
}

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

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 70px rgba(220, 38, 38, 0.5),
        0 0 0 0 rgba(220, 38, 38, 0);
}

/* Stats/Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    animation: fadeInUp 0.8s ease 0.9s both;
}

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

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.feature-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 35px 50px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 400;
}

/* Floating Elements */
.floating-shape {
    position: fixed;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
    pointer-events: none;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(30px, 10px) rotate(270deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .welcome {
        font-size: 4.5rem;
    }

    .navbar {
        padding: 20px 30px;
    }

    .main-content {
        padding: 140px 30px 80px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 18px 20px;
    }

    .logo {
        height: 40px;
    }

    .nav-btn {
        padding: 12px 20px;
        font-size: 13px;
        margin-left: 10px;
    }

    .main-content {
        padding: 120px 20px 60px;
    }

    .intro::before {
        font-size: 10px;
        padding: 10px 18px;
        letter-spacing: 2px;
    }

    .welcome {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .welcome::after {
        width: 60px;
        height: 4px;
    }

    @keyframes lineExpand {
        to { width: 60px; }
    }

    .intro-paragraph {
        font-size: 1.1rem;
    }

    .secondary-text {
        font-size: 1rem;
    }

    .download-btn {
        padding: 18px 40px;
        font-size: 14px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .features {
        flex-direction: column;
        gap: 30px;
    }

    .footer {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container > div {
        display: flex;
        gap: 8px;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 12px;
        margin-left: 0;
    }

    .welcome {
        font-size: 2.4rem;
    }

    .intro-paragraph {
        font-size: 1rem;
    }

    .download-btn {
        padding: 16px 35px;
        font-size: 13px;
    }
}
