/* Cinematheque OZ - Streaming Platform Styles
   Theme: Black, Grey, Red, Neon Highlights
   90/10 Creator Revenue Split Platform
*/

:root {
    /* Core Colors - Black/Grey */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-elevated: #222222;
    --bg-card: #161616;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Accent Colors - Red/Neon */
    --red-primary: #dc2626;
    --red-bright: #ef4444;
    --red-glow: rgba(220, 38, 38, 0.5);
    --neon-red: #ff3333;
    --neon-orange: #ff6b35;
    --neon-cyan: #00f0ff;
    --neon-pink: #ff0080;

    /* Gradients */
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10,10,10,0) 0%, #0a0a0a 100%);
    --gradient-card: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);

    /* Borders */
    --border-color: #2a2a2a;
    --border-light: #333333;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px var(--red-glow);

    /* Sizing */
    --nav-height: 72px;
    --container-max: 1400px;

    /* Timing */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 100%);
    z-index: 1000;
    transition: background var(--transition-normal);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.4));
}

.footer-logo {
    height: 80px;
    margin-bottom: 16px;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

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

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-search {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    transition: color var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
}

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

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

.btn-play {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 16px 32px;
    font-size: 16px;
}

.btn-play:hover {
    background: var(--red-primary);
    color: white;
    transform: scale(1.05);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
}

.hero-marquee {
    position: relative;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    padding-top: var(--nav-height);
}

.marquee-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - var(--nav-height) - 100px);
}

.marquee-slide.active {
    display: grid;
}

.marquee-badge {
    display: inline-block;
    background: var(--red-primary);
    color: white;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.marquee-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.marquee-meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.marquee-meta .rating {
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.marquee-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 32px;
}

.marquee-actions {
    display: flex;
    gap: 16px;
}

.marquee-poster {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.poster-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 24px;
    font-weight: 600;
    border: 2px dashed var(--border-color);
}

.poster-placeholder small {
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
}

.poster-placeholder.small {
    font-size: 14px;
}

.poster-placeholder.small small {
    display: none;
}

.marquee-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.marquee-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.marquee-dot.active,
.marquee-dot:hover {
    background: var(--red-primary);
    box-shadow: 0 0 12px var(--red-glow);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--red-primary) 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.5; height: 60px; }
}

/* ============================================
   CONTENT ROWS
   ============================================ */

.content-row {
    padding: 60px 0;
}

.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.row-title {
    font-size: 24px;
    font-weight: 600;
}

.row-link {
    color: var(--red-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-fast);
}

.row-link:hover {
    color: var(--red-bright);
}

.film-carousel {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.film-card {
    position: relative;
    cursor: pointer;
}

.film-poster {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
}

.film-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.btn-play-small {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red-primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.btn-play-small:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.film-info {
    padding: 12px 0;
}

.film-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.film-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   GENRE GRID
   ============================================ */

.genre-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.genre-card {
    position: relative;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    text-decoration: none;
    overflow: hidden;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
}

.genre-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--genre-color, var(--red-primary));
}

.genre-card:hover {
    transform: translateY(-4px);
    border-color: var(--genre-color, var(--red-primary));
    box-shadow: 0 8px 32px rgba(var(--genre-color), 0.2);
}

.genre-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.genre-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   FILMMAKER CTA
   ============================================ */

.filmmaker-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.2);
    color: var(--red-primary);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-title .highlight {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-features {
    list-style: none;
    margin-bottom: 32px;
}

.cta-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
}

.cta-features svg {
    color: var(--red-primary);
    flex-shrink: 0;
}

.cta-visual {
    display: flex;
    justify-content: center;
}

.revenue-display {
    position: relative;
}

.revenue-circle {
    position: relative;
    width: 280px;
    height: 280px;
}

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

.revenue-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.revenue-percent {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    line-height: 1;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.revenue-label {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ============================================
   COLLECTIONS
   ============================================ */

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.collection-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
}

.collection-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    transition: transform var(--transition-normal);
}

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

.collection-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--gradient-card);
}

.collection-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.collection-count {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-fast);
}

.price-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.price-card.featured {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border-color: var(--red-primary);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.08);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-red);
    color: white;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.price-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.price-amount {
    margin-bottom: 32px;
}

.price-currency {
    font-size: 24px;
    color: var(--text-secondary);
    vertical-align: top;
}

.price-value {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.price-features li:last-child {
    border-bottom: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

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

.footer-brand {
    padding-right: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--red-primary);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--red-primary);
    text-decoration: none;
}

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

@media (max-width: 1200px) {
    .film-carousel {
        grid-template-columns: repeat(4, 1fr);
    }

    .genre-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .marquee-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .marquee-desc {
        margin: 0 auto 32px;
    }

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

    .marquee-poster {
        display: none;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .price-card.featured {
        transform: none;
    }
}

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

    .nav-right .btn {
        display: none;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .marquee-title {
        font-size: 36px;
    }

    .cta-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }
}
