/* ========================================
   Muvi Website - Black & Red Theme
   IRANSansMobile + Enhanced Animations
   ======================================== */

/* === Font Faces === */
@font-face {
    font-family: 'IRANSansMobile';
    src: url('../assets/fonts/IRANSansMobile_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansMobile';
    src: url('../assets/fonts/IRANSansMobile.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansMobile';
    src: url('../assets/fonts/IRANSansMobile_Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansMobile';
    src: url('../assets/fonts/IRANSansMobile_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansMobile';
    src: url('../assets/fonts/IRANSansMobile_Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(22, 22, 22, 0.6);
    --bg-card-hover: rgba(26, 26, 26, 0.8);
    --red-primary: #e50914;
    --red-light: #ff1a25;
    --red-dark: #b20710;
    --red-glow: rgba(229, 9, 20, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --gradient-red: linear-gradient(135deg, #e50914, #ff4d4d);
    --gradient-dark: linear-gradient(180deg, #0a0a0a, #111111);
    --shadow-red: 0 0 40px rgba(229, 9, 20, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'IRANSansMobile', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* === Cursor Glow === */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* === Glassmorphism Card === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-nav-download)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav-download):hover::after {
    width: 100%;
}

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

.btn-nav-download {
    background: var(--red-primary) !important;
    color: var(--text-primary) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-nav-download:hover {
    background: var(--red-light) !important;
    box-shadow: var(--shadow-red);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
}

.mobile-menu a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

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

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Shimmer Effect on Buttons */
.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-blue {
    background: transparent;
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.btn-blue:hover {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0.35;
    animation: heroBackdropFade 2s ease-out;
}

@keyframes heroBackdropFade {
    from { opacity: 0; }
    to { opacity: 0.35; }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.7) 30%, rgba(10, 10, 10, 0.3) 60%, rgba(10, 10, 10, 0.5) 100%),
        radial-gradient(ellipse 60% 50% at 30% 20%, rgba(229, 9, 20, 0.06) 0%, transparent 70%);
}

/* Animated Grid Background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(229, 9, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 9, 20, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--red-light);
    margin-bottom: 24px;
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
    50% { box-shadow: 0 0 20px 0 rgba(229, 9, 20, 0.15); }
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--red-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

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

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

/* === Featured Movie Card === */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-movie {
    position: relative;
    width: 100%;
    max-width: 520px;
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.featured-backdrop-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(229, 9, 20, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.featured-backdrop-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7), 0 0 80px rgba(229, 9, 20, 0.15);
}

.featured-backdrop-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.4) 65%,
        rgba(0, 0, 0, 0.85) 100%
    );
    pointer-events: none;
}

.featured-badge-live {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(229, 9, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.featured-badge-live .badge-dot {
    width: 5px;
    height: 5px;
    background: #fff;
}

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    z-index: 2;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.featured-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFD700;
}

.featured-year {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.featured-type {
    font-size: 0.72rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.featured-overview {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 400px;
}

.featured-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

/* Phone Mockup (fallback when no featured movie) */
.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    border: 3px solid #2a2a2a;
    padding: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.phone-frame.floating {
    animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Scroll Indicator - Mouse */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--red-primary);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* === Section Styles === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red-primary);
    padding: 6px 14px;
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 100px;
    margin-bottom: 16px;
    background: rgba(229, 9, 20, 0.05);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === Features === */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.2), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-slow);
    cursor: default;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.05s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.15s; }
.feature-card:nth-child(4) { transition-delay: 0.2s; }
.feature-card:nth-child(5) { transition-delay: 0.25s; }
.feature-card:nth-child(6) { transition-delay: 0.3s; }

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(229, 9, 20, 0.15);
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(229, 9, 20, 0.08);
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.04) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(229, 9, 20, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--red-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(229, 9, 20, 0.15);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* === Catalog Section === */
.catalog {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.catalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.2), transparent);
}

.catalog-row {
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.catalog-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.catalog-row:last-of-type {
    margin-bottom: 0;
}

.catalog-row-header {
    margin-bottom: 20px;
}

.catalog-row-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.catalog-row-title svg {
    color: var(--red-primary);
    flex-shrink: 0;
}

.catalog-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -24px;
    padding: 0 24px;
}

.catalog-scroll::-webkit-scrollbar {
    display: none;
}

.catalog-track {
    display: flex;
    gap: 16px;
    padding: 8px 0;
}

.catalog-card {
    flex-shrink: 0;
    width: 155px;
    transition: transform 0.4s ease;
}

.catalog-card:hover {
    transform: translateY(-6px);
}

.catalog-poster {
    position: relative;
    width: 155px;
    height: 232px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.catalog-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.catalog-card:hover .catalog-poster img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.catalog-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.7) 100%);
}

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

.catalog-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFD700;
}

.catalog-info {
    padding: 10px 2px 0;
}

.catalog-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-year {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.catalog-cta {
    text-align: center;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.catalog-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

/* === Screenshots === */
.screenshots {
    padding: 120px 0;
    background: var(--bg-primary);
    position: relative;
}

.platform-screenshots {
    margin-bottom: 72px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.platform-screenshots.visible {
    opacity: 1;
    transform: translateY(0);
}

.platform-screenshots:last-child {
    margin-bottom: 0;
}

.platform-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-right: 4px;
}

.platform-label svg {
    color: var(--red-primary);
}

.screenshots-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 16px;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-track {
    display: flex;
    gap: 24px;
    padding: 8px 4px;
}

.screenshot-item {
    flex-shrink: 0;
}

/* Device Frames */
.device-frame {
    position: relative;
    border-radius: 32px;
    padding: 10px;
    background: #1c1c1e;
    border: 2px solid #2c2c2e;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    transition: var(--transition-slow);
}

.device-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 60px rgba(229, 9, 20, 0.1);
    border-color: rgba(229, 9, 20, 0.15);
}

.device-frame.iphone {
    width: 220px;
    border-radius: 36px;
}

.device-frame.android {
    width: 220px;
    border-radius: 28px;
}

.device-screen {
    width: 200px;
    height: 430px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-primary);
}

.device-frame.android .device-screen {
    border-radius: 18px;
}

.placeholder-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #141414, #1a1a1a);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.placeholder-content span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* === Download Section === */
.download {
    padding: 120px 0;
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.2), transparent);
}

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

.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.06) 0%, transparent 70%);
    animation: downloadGlow 6s ease-in-out infinite;
}

@keyframes downloadGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Grid background for download section */
.download-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(229, 9, 20, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 9, 20, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 10%, transparent 70%);
}

.download .container {
    position: relative;
    z-index: 1;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.download-card:nth-child(1) { transition-delay: 0.1s; }
.download-card:nth-child(2) { transition-delay: 0.2s; }

.download-card:hover {
    border-color: rgba(229, 9, 20, 0.2);
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 50px rgba(229, 9, 20, 0.1);
}

.download-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(229, 9, 20, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--red-primary);
    transition: var(--transition);
}

.download-card:hover .download-card-icon {
    background: rgba(229, 9, 20, 0.15);
    transform: scale(1.1) rotate(5deg);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.download-store-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

/* === Footer === */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
    position: relative;
}

.footer-links a:hover {
    color: var(--red-primary);
    padding-right: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    text-align: center;
}

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

/* === Animations === */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fade-in-up 0.8s ease-out;
}

/* === Floating Particles === */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--red-primary);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .featured-movie {
        max-width: 480px;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        padding: 100px 0 60px;
    }

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

    .featured-movie {
        max-width: 100%;
    }

    .featured-title {
        font-size: 1.1rem;
    }

    .featured-overview {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .device-frame.iphone,
    .device-frame.android {
        width: 180px;
    }

    .device-screen {
        width: 160px;
        height: 350px;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 32px;
        height: 1px;
    }

    .phone-frame {
        width: 200px;
        height: 420px;
    }

    .download-card {
        padding: 32px 24px;
    }

    .featured-info {
        padding: 16px;
    }

    .featured-title {
        font-size: 1rem;
    }
}
