/* ============================================== */
/* MOVIECELEB.COM - CINEMATIC DESIGN SYSTEM       */
/* The Living Archive of Cinematic Fandom          */
/* ============================================== */

/* ---- CSS CUSTOM PROPERTIES (DESIGN TOKENS) ---- */
:root {
    /* Colors - Dark Cinematic Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-tertiary: #141425;
    --bg-card: rgba(20, 20, 40, 0.6);
    --bg-glass: rgba(20, 20, 40, 0.4);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a82;

    --accent-primary: #e50914;
    --accent-secondary: #ff6b35;
    --accent-gold: #ffd700;
    --accent-blue: #00b4d8;
    --accent-cyan: #00f5d4;
    --accent-purple: #7b2ff7;
    --accent-pink: #ff006e;
    --accent-green: #06d6a0;

    /* Gradients */
    --gradient-hot: linear-gradient(135deg, #e50914, #ff6b35);
    --gradient-warm: linear-gradient(135deg, #ff6b35, #ffd700);
    --gradient-medium: linear-gradient(135deg, #ffd700, #06d6a0);
    --gradient-cool: linear-gradient(135deg, #00b4d8, #7b2ff7);
    --gradient-hero: linear-gradient(135deg, #e50914 0%, #ff6b35 25%, #ffd700 50%, #00b4d8 75%, #7b2ff7 100%);
    --gradient-purple: linear-gradient(135deg, #7b2ff7, #ff006e);
    --gradient-blue: linear-gradient(135deg, #00b4d8, #00f5d4);
    --gradient-cyan: linear-gradient(135deg, #00f5d4, #00b4d8);
    --gradient-gold: linear-gradient(135deg, #ffd700, #ff6b35);
    --gradient-pink: linear-gradient(135deg, #ff006e, #7b2ff7);

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(229, 9, 20, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(229, 9, 20, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(0, 180, 216, 0.3);
    --shadow-glow-purple: 0 0 30px rgba(123, 47, 247, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-preloader: 500;
    --z-cursor: 600;

    /* Layout */
    --nav-height: 72px;
    --container-max: 1400px;
    --container-narrow: 900px;
}

/* Light theme override */
[data-theme="light"] {
    --bg-primary: #f8f8fc;
    --bg-secondary: #eeeef5;
    --bg-tertiary: #e4e4ee;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aa2;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-primary);
    font-size: 16px;
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg-primary); }
html::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; color: inherit; }
ul { list-style: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---- PRELOADER ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner { text-align: center; }

.film-reel {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.reel-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: reelBounce 1.4s ease-in-out infinite;
}

.reel-circle:nth-child(2) { animation-delay: 0.2s; }
.reel-circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes reelBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.preloader-text {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.preloader-text span {
    display: inline-block;
    animation: preloaderLetter 0.8s ease-in-out infinite alternate;
}

.preloader-text span:nth-child(1) { animation-delay: 0s; }
.preloader-text span:nth-child(2) { animation-delay: 0.05s; }
.preloader-text span:nth-child(3) { animation-delay: 0.1s; }
.preloader-text span:nth-child(4) { animation-delay: 0.15s; }
.preloader-text span:nth-child(5) { animation-delay: 0.2s; }
.preloader-text span:nth-child(6) { animation-delay: 0.3s; }
.preloader-text span:nth-child(7) { animation-delay: 0.35s; }
.preloader-text span:nth-child(8) { animation-delay: 0.4s; }
.preloader-text span:nth-child(9) { animation-delay: 0.45s; }
.preloader-text span:nth-child(10) { animation-delay: 0.5s; }

.preloader-text .accent { color: var(--accent-primary); }

@keyframes preloaderLetter {
    from { opacity: 0.3; transform: translateY(0); }
    to { opacity: 1; transform: translateY(-4px); }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    background: var(--gradient-hot);
    border-radius: 3px;
    animation: preloaderFill 2s ease-in-out;
    width: 100%;
}

@keyframes preloaderFill {
    from { width: 0; }
    to { width: 100%; }
}

/* ---- CUSTOM CURSOR ---- */
.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(229, 9, 20, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    transform: translate(-50%, -50%);
    display: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follower, .cursor-dot { display: block; }
    body { cursor: none; }
    a, button, input, [role="button"] { cursor: none; }
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-primary);
    background: rgba(229, 9, 20, 0.05);
}

/* ---- GLASS EFFECTS ---- */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.glass-badge {
    background: rgba(229, 9, 20, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-sm) var(--space-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---- NAVIGATION ---- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: var(--z-sticky);
    transition: var(--transition-base);
    background: transparent;
}

.glass-nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-hot);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.logo-text .accent { color: var(--accent-primary); }

.nav-search {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-sm) var(--space-lg);
    transition: var(--transition-base);
}

.nav-search:focus-within {
    border-color: var(--accent-primary);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.nav-search i { color: var(--text-muted); font-size: 0.85rem; }

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

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

.nav-search kbd {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    background: var(--accent-primary);
    color: white;
    text-transform: uppercase;
}

.nav-badge.pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.nav-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition-base);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--accent-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.btn-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--border-hover);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-hot);
    color: white;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
    border: none;
    white-space: nowrap;
}

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

.btn-primary.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-primary.btn-lg { padding: 14px 32px; font-size: 1rem; }

.btn-primary.btn-glow {
    box-shadow: var(--shadow-glow);
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(229, 9, 20, 0.3); }
    50% { box-shadow: 0 0 40px rgba(229, 9, 20, 0.5); }
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(229, 9, 20, 0.05);
    transform: translateY(-2px);
}

.btn-outline.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-outline.btn-lg { padding: 14px 32px; font-size: 1rem; }

.hamburger {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-menu-toggle { display: none; }

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-menu-content a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-menu-content a:hover { color: var(--accent-primary); }

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-parallax-img {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-parallax-img.secondary {
    opacity: 0;
    animation: heroFade 10s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes heroFade {
    0%, 40% { opacity: 0; }
    50%, 90% { opacity: 0.5; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.7) 0%,
        rgba(10, 10, 15, 0.5) 40%,
        rgba(10, 10, 15, 0.8) 70%,
        rgba(10, 10, 15, 1) 100%
    );
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: animateIn 0.8s ease forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.45s; }
.animate-in:nth-child(5) { animation-delay: 0.6s; }
.animate-in:nth-child(6) { animation-delay: 0.75s; }

@keyframes animateIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    margin-bottom: var(--space-xl);
    font-size: 0.85rem;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.title-line { display: block; }

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

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

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

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

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

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-search-bar {
    max-width: 640px;
    margin: 0 auto;
}

.search-bar-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
}

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

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

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

.search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    z-index: 10;
}

.search-bar-inner:focus-within .search-suggestions { display: block; }

.suggestion-group { }
.suggestion-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-sm) var(--space-sm);
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.suggestion-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.text-orange { color: var(--accent-secondary); }

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    margin: 0 auto var(--space-sm);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

.hero-scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* Floating cards */
.hero-floating-cards {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    animation: floatCard 6s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.5;
}

.floating-card img { width: 100%; height: 100%; object-fit: cover; }

.card-pulse {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-primary);
    animation: cardPulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes cardPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* ---- SECTIONS ---- */
.section {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

.section-dark { background: var(--bg-primary); }
.section-darker { background: var(--bg-secondary); }

.section-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.07;
    pointer-events: none;
}

.glow-red { background: var(--accent-primary); top: -200px; right: -200px; }
.glow-blue { background: var(--accent-blue); bottom: -200px; left: -200px; }
.glow-purple { background: var(--accent-purple); top: -200px; left: -200px; }
.glow-cyan { background: var(--accent-cyan); top: 50%; right: -200px; }
.glow-gold { background: var(--accent-gold); bottom: -200px; right: -200px; }

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06d6a0;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(6, 214, 160, 0); }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

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

.section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ---- TRENDING GRID ---- */
.trending-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    background: var(--gradient-hot);
    color: white;
    border-color: transparent;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.character-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.character-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.character-card.heat-extreme:hover { box-shadow: 0 8px 40px rgba(229, 9, 20, 0.2); }
.character-card.heat-high:hover { box-shadow: 0 8px 40px rgba(255, 107, 53, 0.2); }
.character-card.heat-medium:hover { box-shadow: 0 8px 40px rgba(0, 180, 216, 0.2); }

.card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.character-card:hover .card-image img { transform: scale(1.05); }

.card-overlay {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.heat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.heat-badge.extreme { background: rgba(229, 9, 20, 0.8); color: white; }
.heat-badge.high { background: rgba(255, 107, 53, 0.8); color: white; }
.heat-badge.medium { background: rgba(0, 180, 216, 0.8); color: white; }
.heat-badge.low { background: rgba(123, 47, 247, 0.8); color: white; }

.trend-arrow {
    padding: 3px 8px;
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.trend-arrow.up { background: rgba(6, 214, 160, 0.2); color: #06d6a0; }
.trend-arrow.down { background: rgba(229, 9, 20, 0.2); color: #e50914; }

.card-info { padding: var(--space-md); }

.card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.card-metrics {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.metric {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.metric i { font-size: 0.65rem; color: var(--text-muted); }

.card-heatbar {
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.heatbar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-hot);
    transition: width 1s ease;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ---- FRANCHISE SHOWCASE ---- */
.franchise-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: var(--space-lg);
}

.franchise-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.franchise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.franchise-card.franchise-mega {
    grid-column: span 2;
    grid-row: span 2;
}

.franchise-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.franchise-card:hover .franchise-bg { transform: scale(1.05); }

.franchise-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.9) 100%);
}

.franchise-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
}

.franchise-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--accent-primary);
}

.franchise-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.franchise-mega .franchise-content h3 { font-size: 1.8rem; }

.franchise-stats {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.franchise-stats span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.franchise-stats span i { color: var(--accent-primary); font-size: 0.75rem; }

.franchise-characters {
    display: flex;
    align-items: center;
    gap: -8px;
    margin-bottom: var(--space-md);
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-primary);
    margin-left: -8px;
}

.mini-avatar:first-child { margin-left: 0; }

.mini-avatar.more {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ---- FAN HEAT DASHBOARD ---- */
.heat-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
}

.heat-chart-main {
    padding: var(--space-xl);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.chart-header h3 { font-size: 1rem; font-weight: 600; }

.chart-controls {
    display: flex;
    gap: var(--space-xs);
}

.chart-btn {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.chart-btn:hover { color: var(--text-primary); border-color: var(--border-hover); }
.chart-btn.active { background: var(--accent-primary); color: white; border-color: transparent; }

.chart-bars { display: flex; flex-direction: column; gap: var(--space-md); }

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.bar-label {
    width: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: right;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--space-sm);
    width: var(--width);
    transition: width 1.5s ease;
    animation: barGrow 1.5s ease forwards;
}

@keyframes barGrow {
    from { width: 0; }
    to { width: var(--width); }
}

.bar-fill span {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.gradient-hot { background: var(--gradient-hot); }
.gradient-warm { background: var(--gradient-warm); }
.gradient-medium { background: var(--gradient-medium); }
.gradient-cool { background: var(--gradient-cool); }

/* Side metrics */
.heat-side-metrics {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.metric-card {
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.gradient-hot-bg { background: var(--gradient-hot); }
.gradient-warm-bg { background: var(--gradient-warm); }
.gradient-medium-bg { background: var(--gradient-medium); }
.gradient-cool-bg { background: var(--gradient-cool); }
.gradient-purple-bg { background: var(--gradient-purple); }

.metric-data { flex: 1; }

.metric-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

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

.metric-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
}

.metric-change.up { background: rgba(6, 214, 160, 0.1); color: #06d6a0; }
.metric-change.down { background: rgba(229, 9, 20, 0.1); color: #e50914; }

/* Score Breakdown */
.score-breakdown {
    margin-top: var(--space-3xl);
}

.breakdown-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
}

.score-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

.score-card {
    padding: var(--space-lg);
    text-align: center;
}

.score-ring {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--space-md);
    position: relative;
}

.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 6;
}

.ring-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--score)) / 100);
    transition: stroke-dashoffset 1.5s ease;
    stroke: var(--accent-primary);
}

.ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.score-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.score-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---- FAN FEED ---- */
.feed-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-pill {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-fast);
}

.filter-pill:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.filter-pill.active {
    background: rgba(229, 9, 20, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.fan-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feed-item {
    overflow: hidden;
    transition: var(--transition-base);
}

.feed-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.feed-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.feed-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feed-item:hover .feed-media img { transform: scale(1.03); }

.feed-media.text-post {
    background: var(--bg-tertiary);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reddit-preview .subreddit {
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.reddit-preview h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.reddit-preview p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transition: var(--transition-base);
}

.feed-item:hover .feed-play { opacity: 1; }

.feed-platform-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
}

.feed-platform-badge.tiktok { background: #000; }
.feed-platform-badge.youtube { background: #ff0000; }
.feed-platform-badge.reddit { background: #ff4500; }
.feed-platform-badge.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.feed-platform-badge.twitter { background: #000; }

.feed-duration {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    padding: 2px 6px;
    background: rgba(0,0,0,0.8);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.feed-content { padding: var(--space-md); }

.feed-user {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.user-avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-hot);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.feed-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: auto;
}

.feed-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-engagement {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.feed-engagement span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.feed-category-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---- NETWORK VISUALIZATION ---- */
.network-demo {
    padding: var(--space-xl);
}

.network-canvas {
    width: 100%;
    min-height: 500px;
    position: relative;
}

#network-svg {
    width: 100%;
    height: 500px;
}

.network-node {
    fill: var(--bg-tertiary);
    stroke: var(--accent-primary);
    stroke-width: 3;
    cursor: pointer;
    transition: var(--transition-fast);
}

.network-node.central {
    fill: var(--accent-primary);
    stroke: rgba(229, 9, 20, 0.5);
    stroke-width: 4;
}

.network-node.heat-extreme { fill: #e50914; stroke: rgba(229, 9, 20, 0.5); }
.network-node.heat-high { fill: #ff6b35; stroke: rgba(255, 107, 53, 0.5); }
.network-node.heat-medium { fill: #00b4d8; stroke: rgba(0, 180, 216, 0.5); }
.network-node.heat-low { fill: #7b2ff7; stroke: rgba(123, 47, 247, 0.5); }

.network-node:hover { transform: scale(1.2); filter: brightness(1.2); }

.network-edge {
    stroke: rgba(255,255,255,0.15);
    stroke-width: 2;
}

.network-edge.overlap {
    stroke: rgba(229, 9, 20, 0.2);
    stroke-width: 1;
}

.network-label {
    fill: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    text-anchor: middle;
    font-family: var(--font-primary);
}

.central-label {
    font-size: 13px;
    font-weight: 700;
    fill: var(--accent-primary);
}

.network-sublabel {
    fill: var(--text-muted);
    font-size: 9px;
    text-anchor: middle;
    font-family: var(--font-primary);
}

.network-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.extreme { background: #e50914; }
.legend-dot.high { background: #ff6b35; }
.legend-dot.medium { background: #00b4d8; }
.legend-dot.low { background: #7b2ff7; }

.legend-line {
    width: 30px;
    height: 2px;
    background: rgba(229, 9, 20, 0.4);
}

.legend-line.dashed {
    background: repeating-linear-gradient(
        90deg,
        rgba(229, 9, 20, 0.4) 0px,
        rgba(229, 9, 20, 0.4) 5px,
        transparent 5px,
        transparent 10px
    );
}

/* ---- ICONIC SCENES ---- */
.scenes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: var(--space-lg);
}

.scene-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
}

.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scene-card.scene-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.scene-media {
    position: relative;
    width: 100%;
    height: 100%;
}

.scene-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scene-card:hover .scene-media img { transform: scale(1.05); }

.scene-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.scene-card:hover .scene-play-overlay { opacity: 1; }

.play-btn-lg {
    width: 64px;
    height: 64px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.scene-card:hover .play-btn-lg { transform: scale(1.1); }

.scene-timestamp {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    padding: 2px 8px;
    background: rgba(0,0,0,0.8);
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: white;
}

.scene-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.scene-film {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scene-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-top: 4px;
    margin-bottom: var(--space-sm);
}

.scene-featured .scene-info h3 { font-size: 1.5rem; }

.scene-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.scene-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
}

.scene-engagement {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.scene-engagement span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- QUOTE ENGINE ---- */
.quote-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.quote-hero {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.quote-marks {
    font-size: 6rem;
    font-family: var(--font-display);
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -2rem;
}

blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: var(--space-xl);
}

.quote-attribution {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote-character {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.quote-film {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quote-actor {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.quote-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.quote-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.quote-nav-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-primary);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.mini-quote {
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.mini-quote:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.mini-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.mini-quote span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- COSPLAY HUB ---- */
.cosplay-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: var(--space-md);
}

.cosplay-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
}

.cosplay-item.tall { grid-row: span 2; }
.cosplay-item.wide { grid-column: span 2; }

.cosplay-item:hover { transform: scale(1.02); }

.cosplay-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cosplay-item:hover img { transform: scale(1.05); }

.cosplay-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    opacity: 0;
    transition: var(--transition-base);
}

.cosplay-item:hover .cosplay-overlay { opacity: 1; }

.cosplay-character {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.cosplay-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- STATS BANNER ---- */
.stats-banner {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.stats-banner-bg {
    position: absolute;
    inset: 0;
}

.stats-parallax {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
}

.stats-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-2xl);
}

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

.big-stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    font-family: var(--font-mono);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.big-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- PREMIUM SECTION ---- */
.premium-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: var(--space-4xl);
}

.premium-bg-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.premium-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.premium-circle.c1 { width: 400px; height: 400px; background: var(--accent-primary); top: -100px; right: -100px; }
.premium-circle.c2 { width: 300px; height: 300px; background: var(--accent-purple); bottom: -100px; left: -50px; }
.premium-circle.c3 { width: 250px; height: 250px; background: var(--accent-gold); top: 50%; left: 50%; }

.premium-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-gold);
    color: #1a1a2e;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xl);
}

.premium-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

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

.premium-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    text-align: left;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
}

.premium-feature i { color: var(--accent-green); font-size: 0.85rem; }

.premium-pricing {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.price-option {
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition-base);
}

.price-option:hover { border-color: var(--border-hover); }

.price-option.featured {
    border-color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.03);
}

.price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 12px;
    background: var(--gradient-gold);
    color: #1a1a2e;
    border-radius: var(--radius-xl);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-tier {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
}

.price-amount small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
    padding: var(--space-4xl) 0;
}

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

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.newsletter-content > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.05);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.newsletter-form input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

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

/* ---- FOOTER ---- */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-top { padding: var(--space-4xl) 0 var(--space-2xl); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo i { color: var(--accent-primary); }
.footer-logo .accent { color: var(--accent-primary); }

.footer-brand > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.footer-links-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-links-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-links-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links-col a:hover { color: var(--accent-primary); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: var(--space-xl) 0;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-attribution a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ---- SEARCH MODAL ---- */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

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

.search-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 640px;
    max-height: 60vh;
    overflow-y: auto;
    transform: translateY(-20px) scale(0.95);
    transition: var(--transition-base);
}

.search-modal.open .search-modal-content {
    transform: translateY(0) scale(1);
}

.search-modal-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

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

.search-modal-header input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 1.1rem;
}

.search-modal-header kbd {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.search-modal-results { padding: var(--space-md); }

.search-group { margin-bottom: var(--space-md); }

.search-group-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: var(--space-sm) var(--space-sm);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.search-result-item:hover { background: rgba(255,255,255,0.05); }
.search-result-item i { color: var(--accent-primary); width: 20px; text-align: center; }
.search-result-item span { flex: 1; font-size: 0.9rem; }
.search-result-item kbd {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 2px 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-muted);
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-hot);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); }

/* ============================================== */
/* RESPONSIVE DESIGN                              */
/* ============================================== */

@media (max-width: 1200px) {
    .trending-grid { grid-template-columns: repeat(3, 1fr); }
    .franchise-showcase { grid-template-columns: repeat(3, 1fr); }
    .franchise-card.franchise-mega { grid-column: span 2; }
    .score-cards { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr repeat(2, 1fr); }
    .footer-links-col:nth-child(n+5) { display: none; }
}

@media (max-width: 1024px) {
    .nav-search { display: none; }
    .nav-links { display: none; }
    .nav-menu-toggle { display: flex; }

    .heat-dashboard { grid-template-columns: 1fr; }
    .scenes-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .quote-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }

    .section { padding: var(--space-3xl) 0; }
    .container { padding: 0 var(--space-md); }

    .trending-grid { grid-template-columns: repeat(2, 1fr); }
    .franchise-showcase {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .franchise-card.franchise-mega { grid-column: span 2; grid-row: span 1; }
    .fan-feed-grid { grid-template-columns: 1fr; }
    .cosplay-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .score-cards { grid-template-columns: repeat(2, 1fr); }
    .premium-features { grid-template-columns: 1fr; }
    .premium-pricing { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links-col:nth-child(n+5) { display: block; }

    .hero-stats { gap: var(--space-md); }
    .stat-divider { display: none; }

    .hero-floating-cards { display: none; }

    .bar-label { width: 70px; font-size: 0.75rem; }

    .scenes-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .scene-card.scene-featured { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 480px) {
    .trending-grid { grid-template-columns: 1fr; }
    .franchise-showcase { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .franchise-card.franchise-mega { grid-column: span 1; }
    .score-cards { grid-template-columns: 1fr; }
    .quote-grid { grid-template-columns: 1fr; }
    .cosplay-masonry { grid-template-columns: 1fr; grid-auto-rows: 250px; }

    .hero-actions { flex-direction: column; align-items: center; }
    .newsletter-form { flex-direction: column; }
    .stats-content { flex-direction: column; align-items: center; }
}

/* ---- ANIMATIONS ON SCROLL (data-reveal) ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].revealed { transform: translateX(0); }

[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].revealed { transform: translateX(0); }

[data-reveal="scale"] { transform: scale(0.9); }
[data-reveal="scale"].revealed { transform: scale(1); }

/* ---- UTILITY CLASSES ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }

/* ---- SMOOTH REVEAL ANIMATION FOR SECTIONS ---- */
.section .section-header,
.section .trending-grid,
.section .franchise-showcase,
.section .heat-dashboard,
.section .fan-feed-grid,
.section .network-demo,
.section .scenes-grid,
.section .quote-showcase,
.section .cosplay-masonry,
.section .score-breakdown {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.in-view .section-header,
.section.in-view .trending-grid,
.section.in-view .franchise-showcase,
.section.in-view .heat-dashboard,
.section.in-view .fan-feed-grid,
.section.in-view .network-demo,
.section.in-view .scenes-grid,
.section.in-view .quote-showcase,
.section.in-view .cosplay-masonry,
.section.in-view .score-breakdown {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.section.in-view .section-header { transition-delay: 0s; }
.section.in-view .trending-filters { transition-delay: 0.1s; }
.section.in-view .trending-grid,
.section.in-view .franchise-showcase,
.section.in-view .heat-dashboard,
.section.in-view .fan-feed-grid,
.section.in-view .network-demo,
.section.in-view .scenes-grid,
.section.in-view .quote-showcase,
.section.in-view .cosplay-masonry { transition-delay: 0.2s; }
.section.in-view .score-breakdown { transition-delay: 0.4s; }

/* Stagger grid items */
.section.in-view .character-card,
.section.in-view .franchise-card,
.section.in-view .feed-item,
.section.in-view .scene-card,
.section.in-view .cosplay-item,
.section.in-view .mini-quote,
.section.in-view .score-card,
.section.in-view .metric-card {
    animation: staggerIn 0.5s ease forwards;
}

.section.in-view .character-card:nth-child(1), .section.in-view .franchise-card:nth-child(1), .section.in-view .feed-item:nth-child(1) { animation-delay: 0.1s; }
.section.in-view .character-card:nth-child(2), .section.in-view .franchise-card:nth-child(2), .section.in-view .feed-item:nth-child(2) { animation-delay: 0.15s; }
.section.in-view .character-card:nth-child(3), .section.in-view .franchise-card:nth-child(3), .section.in-view .feed-item:nth-child(3) { animation-delay: 0.2s; }
.section.in-view .character-card:nth-child(4), .section.in-view .franchise-card:nth-child(4), .section.in-view .feed-item:nth-child(4) { animation-delay: 0.25s; }
.section.in-view .character-card:nth-child(5), .section.in-view .franchise-card:nth-child(5), .section.in-view .feed-item:nth-child(5) { animation-delay: 0.3s; }
.section.in-view .character-card:nth-child(6), .section.in-view .franchise-card:nth-child(6), .section.in-view .feed-item:nth-child(6) { animation-delay: 0.35s; }
.section.in-view .character-card:nth-child(7), .section.in-view .franchise-card:nth-child(7) { animation-delay: 0.4s; }
.section.in-view .character-card:nth-child(8) { animation-delay: 0.45s; }

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

/* ---- EXPANDED CONTENT STYLES ---- */

/* Character Matchup Cards */
.matchup-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.matchup-vs {
    color: var(--accent-gold, #f39c12);
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
}

/* Genre Explorer Tiles */
.genre-tile {
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.genre-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.15);
}

.genre-tile i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* Recently Added Activity Feed */
.activity-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border-radius: 1rem;
    transition: transform 0.2s ease;
}

.activity-item:hover {
    transform: translateX(4px);
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Franchise Timeline Cards */
.timeline-card {
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-3px);
}

.timeline-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 800;
}

/* Breakout Stars Cards */
.breakout-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 3px solid var(--accent-red, #e74c3c);
}

.breakout-badge {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 0.2rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

/* Community Poll Bars */
.poll-option {
    margin-bottom: 0.75rem;
}

.poll-bar {
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.poll-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    transition: width 1s ease;
}

.poll-bar-fill.red { background: linear-gradient(90deg, #e74c3c, #c0392b); }
.poll-bar-fill.blue { background: linear-gradient(90deg, #00b4d8, #0077b6); }
.poll-bar-fill.green { background: linear-gradient(90deg, #2ecc71, #27ae60); }
.poll-bar-fill.gold { background: linear-gradient(90deg, #f39c12, #e67e22); }

/* Prediction Forecast Cards */
.prediction-card {
    padding: 1.5rem;
    border-radius: 1rem;
    border-top: 3px solid;
}

.prediction-card.up { border-top-color: #2ecc71; }
.prediction-card.down { border-top-color: #e74c3c; }
.prediction-card.stable { border-top-color: #00b4d8; }

.prediction-confidence {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.prediction-confidence.high { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.prediction-confidence.medium { background: rgba(243, 156, 18, 0.15); color: #f39c12; }

/* Stats Counter Enhancement */
.stat-counter {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, #e74c3c, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Panel Hover Enhancement */
.glass-panel {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Heat Score Pulse Animation */
@keyframes heatPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }
}

.char-heat-badge.extreme,
.heat-score-badge {
    animation: heatPulse 2s ease-in-out infinite;
}

/* Gradient Text Variants */
.gradient-text-purple {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: linear-gradient(135deg, #2ecc71, #1abc9c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================== */
/* EXPANDED COMPONENT STYLES                      */
/* ============================================== */

/* --- Tooltip Component --- */
.mc-tooltip {
    position: relative;
    cursor: help;
}

.mc-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.mc-tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* --- Skeleton Loading Placeholders --- */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.04) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-text { height: 14px; margin-bottom: 8px; width: 80%; }
.skeleton-text-short { height: 14px; margin-bottom: 8px; width: 50%; }
.skeleton-avatar { width: 50px; height: 50px; border-radius: 50%; }
.skeleton-card { height: 200px; border-radius: 16px; }
.skeleton-image { height: 180px; border-radius: 12px; }

@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* --- Progress Bar Component --- */
.mc-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.mc-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-progress-fill.blue { background: linear-gradient(90deg, #00b4d8, #3498db); }
.mc-progress-fill.green { background: linear-gradient(90deg, #06d6a0, #2ecc71); }
.mc-progress-fill.purple { background: linear-gradient(90deg, #a855f7, #7c3aed); }

/* --- Badge Component --- */
.mc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

.mc-badge-red { background: rgba(231, 76, 60, 0.15); color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.25); }
.mc-badge-blue { background: rgba(0, 180, 216, 0.15); color: #00b4d8; border: 1px solid rgba(0, 180, 216, 0.25); }
.mc-badge-green { background: rgba(6, 214, 160, 0.15); color: #06d6a0; border: 1px solid rgba(6, 214, 160, 0.25); }
.mc-badge-gold { background: rgba(243, 156, 18, 0.15); color: #f39c12; border: 1px solid rgba(243, 156, 18, 0.25); }
.mc-badge-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.25); }
.mc-badge-pink { background: rgba(236, 72, 153, 0.15); color: #ec4899; border: 1px solid rgba(236, 72, 153, 0.25); }

/* --- Notification Toast --- */
.mc-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    max-width: 400px;
}

.mc-toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.mc-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mc-toast-icon.success { background: rgba(6, 214, 160, 0.15); color: #06d6a0; }
.mc-toast-icon.error { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.mc-toast-icon.info { background: rgba(0, 180, 216, 0.15); color: #00b4d8; }

.mc-toast-content { flex: 1; }
.mc-toast-title { color: #fff; font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.mc-toast-message { color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; }

/* --- Accordion Component --- */
.mc-accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.mc-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    color: #fff;
    font-weight: 600;
}

.mc-accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mc-accordion-header i {
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.mc-accordion-item.open .mc-accordion-header i {
    transform: rotate(180deg);
}

.mc-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc-accordion-item.open .mc-accordion-body {
    max-height: 500px;
}

.mc-accordion-content {
    padding: 0 20px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Chip / Tag List --- */
.mc-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.25s ease;
}

.mc-chip:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.mc-chip.active {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.4);
    color: #e74c3c;
}

/* --- Timeline Component --- */
.mc-timeline {
    position: relative;
    padding-left: 32px;
}

.mc-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e74c3c, #a855f7, #00b4d8);
    border-radius: 100px;
}

.mc-timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.mc-timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    border: 3px solid #0a0a0f;
}

.mc-timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.mc-timeline-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.mc-timeline-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- Floating Action Button --- */
.mc-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.mc-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(231, 76, 60, 0.4);
}

/* --- Stat Ring (small inline) --- */
.mc-stat-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(
        #e74c3c var(--ring-value, 75%),
        rgba(255, 255, 255, 0.06) 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mc-stat-ring::before {
    content: '';
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-primary, #0a0a0f);
    position: absolute;
}

.mc-stat-ring span {
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
}

/* --- Animated Underline Links --- */
.mc-link {
    color: #e74c3c;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.mc-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.mc-link:hover::after {
    width: 100%;
}

/* --- Card Hover Glow Effect --- */
.mc-glow-card {
    position: relative;
    overflow: hidden;
}

.mc-glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mc-glow-card:hover::before {
    opacity: 1;
}

/* --- Stagger Animation Classes --- */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-5deg) scale(0.95); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

.anim-fade-up { animation: fadeSlideUp 0.5s ease forwards; }
.anim-fade-down { animation: fadeSlideDown 0.5s ease forwards; }
.anim-fade-left { animation: fadeSlideLeft 0.5s ease forwards; }
.anim-scale-in { animation: scaleIn 0.4s ease forwards; }
.anim-rotate-in { animation: rotateIn 0.5s ease forwards; }

.anim-delay-1 { animation-delay: 0.1s; opacity: 0; }
.anim-delay-2 { animation-delay: 0.2s; opacity: 0; }
.anim-delay-3 { animation-delay: 0.3s; opacity: 0; }
.anim-delay-4 { animation-delay: 0.4s; opacity: 0; }
.anim-delay-5 { animation-delay: 0.5s; opacity: 0; }

/* --- Typing Animation --- */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    0%, 100% { border-right-color: transparent; }
    50% { border-right-color: #e74c3c; }
}

.mc-typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #e74c3c;
    animation: typewriter 3s steps(30) 1s forwards, blinkCursor 0.7s step-end infinite;
    width: 0;
}

/* --- Gradient Border Cards --- */
.mc-gradient-border {
    position: relative;
    background: var(--bg-primary, #0a0a0f);
    border-radius: 16px;
    padding: 2px;
}

.mc-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #e74c3c, #a855f7, #00b4d8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.mc-gradient-border-inner {
    background: rgba(10, 10, 15, 0.95);
    border-radius: 15px;
    padding: 24px;
}

/* --- Pulse Dot Indicator --- */
.mc-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06d6a0;
    position: relative;
}

.mc-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(6, 214, 160, 0.3);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .matchup-card {
        flex-direction: column;
        text-align: center;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
    }

    .genre-tile i {
        font-size: 1.5rem;
    }

    .mc-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .mc-fab {
        bottom: 16px;
        left: 16px;
        width: 48px;
        height: 48px;
    }

    .mc-timeline { padding-left: 24px; }
    .mc-timeline::before { left: 8px; }
    .mc-timeline-item::before { left: -22px; }
}
