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

:root {
    /* Color Palette */
    --bg-base: #030303;
    --bg-surface: #0a0a0a;
    --bg-glass: rgba(10, 10, 10, 0.7);
    --bg-glass-border: rgba(255, 255, 255, 0.08);
    
    --accent-glow: rgba(124, 58, 237, 0.2);
    --accent-primary: #7c3aed;
    --accent-secondary: #db2777;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1400px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-smooth: 0.35s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
}

/* ── Site Footer ── */
.site-footer {
    background: #050505;
    border-top: 1px solid var(--bg-glass-border);
    padding: 3.5rem 5vw 2rem;
    margin-top: 4rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    letter-spacing: -0.05em;
    display: block;
    margin-bottom: 0.8rem;
}
.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: white; }
.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--bg-glass-border);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
}
.footer-social a:hover {
    background: rgba(124,58,237,0.2);
    border-color: var(--accent-primary);
}
@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
}

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

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation - Glassmorphism */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-glass-border);
    transition: var(--transition-slow);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* Split Layout Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-base) 100%);
    pointer-events: none;
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xl);
    transition: var(--transition-slow);
    text-decoration: none;
    color: var(--text-main);
    z-index: 10;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity var(--transition-slow), transform 10s ease-out;
    z-index: -1;
}

.hero-section:hover::before {
    opacity: 0.5;
    transform: scale(1.05);
}

.hero-section.anime::before {
    background-image: url('https://images.unsplash.com/photo-1578632767115-351597cf2477?auto=format&fit=crop&q=80'); /* Temporary placeholder for cinematic anime vibe */
}

.hero-section.iptv::before {
    background-image: url('https://images.unsplash.com/photo-1600282464402-9ee64e830e2f?auto=format&fit=crop&q=80'); /* Temporary placeholder for screen/sports vibe */
    border-left: 1px solid var(--bg-glass-border);
}

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

.hero-section p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

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

.animate-fade-up {
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

/* Responsive & Mobile Menu */
.mobile-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-main);
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .hero-section.iptv::before {
        border-left: none;
        border-top: 1px solid var(--bg-glass-border);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        border-bottom: 1px solid var(--bg-glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-smooth);
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-container > .btn-primary {
        display: none; /* Hide CTA on small mobile for cleaner nav, or move to menu */
    }
    
    h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
    h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
}
