@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --bg-primary: #141414;
    --bg-secondary: #181818;
    --bg-glass: rgba(20, 20, 20, 0.92);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-red: #e50914;
    --accent-gradient: linear-gradient(180deg, #e50914 0%, #b20710 100%);
    --accent-premium: #e50914;
    --card-border: rgba(255, 255, 255, 0.06);
    --glass-border: 1px solid rgba(255, 255, 255, 0.06);
    --glow-shadow: 0 4px 14px rgba(229, 9, 20, 0.45);
    --font-heading: 'Bebas Neue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.25s ease;
    --content-max: 1200px;
    --row-inset: clamp(1.25rem, 3.5vw, 3rem);
}

[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --card-border: rgba(0, 0, 0, 0.05);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --glow-shadow: 0 0 20px rgba(229, 9, 20, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.55rem 1.35rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-red);
    color: #fff;
    box-shadow: none;
}

.btn-primary:hover {
    background: #f40612;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: rgba(109, 109, 110, 0.55);
    border: none;
    color: #fff;
}

.btn-outline:hover {
    background: rgba(109, 109, 110, 0.75);
    color: #fff;
}

.btn-play {
    background: #fff;
    color: #141414;
    font-weight: 800;
    padding: 0.65rem 1.6rem;
    font-size: 1rem;
}

.btn-play:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #141414;
}

.btn-info {
    background: rgba(109, 109, 110, 0.55);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
}

.btn-info:hover {
    background: rgba(109, 109, 110, 0.75);
}

.section-padding {
    padding: 5rem 0;
}

/* Navbar — Netflix style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    --nav-blend: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition: box-shadow 0.5s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, calc(0.62 + var(--nav-blend) * 0.22)) 0%,
        rgba(0, 0, 0, calc(0.28 + var(--nav-blend) * 0.25)) 50%,
        rgba(0, 0, 0, calc(0.06 + var(--nav-blend) * 0.08)) 80%,
        transparent 100%);
    backdrop-filter: blur(calc(var(--nav-blend) * 18px)) saturate(calc(1 + var(--nav-blend) * 0.3));
    -webkit-backdrop-filter: blur(calc(var(--nav-blend) * 18px)) saturate(calc(1 + var(--nav-blend) * 0.3));
    transition: backdrop-filter 0.35s ease, background 0.35s ease;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: calc(5.5rem - var(--nav-blend) * 2rem);
    pointer-events: none;
    opacity: calc(1 - var(--nav-blend) * 0.55);
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.32) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%);
    transition: opacity 0.4s ease, height 0.4s ease;
}

.navbar.navbar-scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, calc(var(--nav-blend) * 0.28));
}

.navbar .container,
.navbar-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 68px;
    position: relative;
    z-index: 1;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    color: var(--text-primary);
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.logo-text {
    font-size: 1.85rem;
    font-weight: 400;
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
}

.logo-text .logo-accent,
.logo span.logo-accent {
    color: var(--accent-red);
}

[data-theme="light"] .logo-text {
    color: var(--text-primary);
}

.nav-link {
    font-weight: 500;
    color: #e5e5e5;
    white-space: nowrap;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link-highlight {
    color: #fff;
}

.nav-link-highlight:hover {
    color: #fff;
    opacity: 0.9;
}

.nav-create-btn {
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    background: transparent !important;
    padding: 0.4rem 0.85rem !important;
    font-size: 0.82rem !important;
    border-radius: 4px !important;
}

.nav-create-btn:hover {
    border-color: #fff !important;
}

.navbar-brand {
    flex-shrink: 0;
    min-width: max-content;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding: 0 0.25rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.navbar-end {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
    min-width: 0;
}

.desktop-only {
    display: flex;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(128, 128, 128, 0.1);
}

/* Hero — Netflix billboard */
.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
    isolation: isolate;
}

.hero-backdrop {
    position: absolute;
    inset: -4%;
    z-index: 0;
    background-color: #141414;
    background-image: url('img/hero-backdrop.jpg');
    background-position: 72% 20%;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.07);
    transform-origin: center center;
    will-change: transform;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.55) 10%,
            rgba(0, 0, 0, 0.22) 22%,
            rgba(0, 0, 0, 0.06) 36%,
            transparent 52%),
        linear-gradient(75deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.2) 58%,
            transparent 82%),
        linear-gradient(270deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.15) 14%,
            transparent 30%),
        linear-gradient(0deg,
            rgba(10, 10, 12, 0.5) 0%,
            rgba(10, 10, 12, 0.12) 12%,
            transparent 28%);
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7rem;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(10, 10, 12, 0.35) 0%, transparent 100%);
}

.hero-bg {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 5rem;
}

.hero-content--billboard {
    display: block;
    max-width: 640px;
    padding-top: 28vh;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.75rem;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.hero-desc {
    font-size: 1.05rem;
    color: #e5e5e5;
    margin-bottom: 1.25rem;
    max-width: 520px;
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-text p {
    font-size: 1.05rem;
    color: #e5e5e5;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

.hero-text .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-visual,
.mockup-container {
    display: none;
}

@keyframes float-3d {
    0% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(5deg) rotateX(-5deg) translateY(-20px);
    }

    100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }
}



.mockup-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: var(--glass-border);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: var(--card-border);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.why-section {
    background: linear-gradient(180deg, transparent 0%, rgba(229, 9, 20, 0.035) 45%, transparent 100%);
}

.why-grid {
    margin-top: 2.5rem;
}

.netflix-ui .why-section {
    background: linear-gradient(180deg, #141414 0%, rgba(229, 9, 20, 0.06) 50%, #141414 100%);
}

.netflix-ui .why-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.netflix-ui .why-card:hover {
    border-color: rgba(229, 9, 20, 0.35);
}

/* Room Cards (Reference Match) */
.room-card {
    background: #000000;
    border-radius: 16px;
    border: 1px solid #1a1a1a;
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border-color: #333;
}

.room-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #1a1a1a;
}

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

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

.room-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Bright Red Live Badge */
.badge-live {
    background: #FF0000;
    color: white;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.badge-live::before {
    content: '•';
    font-size: 1.2rem;
    line-height: 0;
    margin-top: -2px;
}

.badge-viewers {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 0.7rem;
}

.room-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #050505;
}

.room-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-host {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-participants {
    display: flex;
    align-items: center;
}

.participant-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #050505;
    margin-left: -8px;
    object-fit: cover;
    background: #333;
    color: #ccc;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Reference Button Style */
.btn-room-action {
    background: #D20000;
    /* Darker but vivid red */
    color: white;
    width: 100%;
    padding: 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: none;
    transition: background 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(210, 0, 0, 0.3);
    text-decoration: none;
    display: block;
}

.btn-room-action:hover {
    background: #ff0f1f;
    box-shadow: 0 6px 20px rgba(255, 15, 31, 0.4);
    color: white;
}

/* Stats */
.stats {
    background: var(--bg-secondary);
    margin: 5rem 0;
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: var(--card-border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.premium {
    background: linear-gradient(145deg, var(--bg-secondary), #151515);
    border: 1px solid rgba(229, 9, 20, 0.4);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.1);
}

.pricing-card--starter {
    border: 1px solid rgba(229, 9, 20, 0.5);
    box-shadow: 0 0 24px rgba(229, 9, 20, 0.12);
}

.pricing-card--pro {
    border: 1px solid rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.14);
}

.pricing-card--ultimate {
    border: 1px solid rgba(234, 179, 8, 0.6);
    box-shadow: 0 0 24px rgba(234, 179, 8, 0.14);
}

.pricing-card--starter .features-list i {
    color: #e50914;
}

.pricing-card--pro .features-list i {
    color: #3b82f6;
}

.pricing-card--ultimate .features-list i {
    color: #eab308;
}

.btn-plan--red {
    border: 1px solid #e50914 !important;
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%) !important;
    color: #fff !important;
}

.btn-plan--red:disabled {
    opacity: 0.72;
    cursor: default;
}

.btn-plan--blue {
    border: 1px solid #3b82f6 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #fff !important;
}

.btn-plan--blue:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-plan--gold {
    border: 1px solid #eab308 !important;
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%) !important;
    color: #141414 !important;
    font-weight: 700;
}

.btn-plan--gold:hover {
    background: linear-gradient(135deg, #fde047 0%, #eab308 100%) !important;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.35);
    color: #0a0a0a !important;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    display: block;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.features-list {
    margin: 2rem 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--accent-red);
}

/* Auth Pages */
body.netflix-ui:has(.auth-topbar) {
    overflow-x: hidden;
}

body.netflix-ui:has(.auth-topbar) .auth-container {
    min-height: 100dvh;
    max-height: none;
}

.auth-container {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 100%);
}

.auth-topbar + .auth-container {
    padding-top: 4.75rem;
    padding-bottom: 1.5rem;
}

[data-theme="light"] .auth-container {
    background: radial-gradient(circle at 50% 30%, rgba(245, 245, 247, 1) 0%, rgba(230, 230, 235, 1) 100%);
}

.auth-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0) 100%);
}

[data-theme="light"] .auth-topbar {
    background: linear-gradient(180deg, rgba(245, 245, 247, 0.95) 0%, rgba(245, 245, 247, 0) 100%);
}

.auth-topbar .logo-text {
    font-size: 1.35rem;
}

.auth-topbar .theme-toggle {
    margin: 0;
}

.auth-card {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem 2.25rem;
    border-radius: 24px;
    border: var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    flex-shrink: 0;
}

[data-theme="light"] .auth-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .form-input {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .form-input:focus {
    background: #fff;
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-red);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1650px) {
    .nav-link--more {
        display: none;
    }
}

@media (max-width: 1200px) {
    .navbar-inner {
        gap: 0.85rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .nav-links {
        gap: 0.7rem;
    }

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

@media (max-width: 1280px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: #141414;
        border-bottom: 1px solid #2f2f2f;
        padding: 1.25rem 1.5rem;
        gap: 0.85rem;
        flex: none;
        overflow: visible;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-actions.desktop-only {
        display: none !important;
    }

    .nav-actions-mobile {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
}

@media (max-width: 1100px) {
    .navbar-end {
        gap: 0.35rem;
    }
}

@media (max-width: 768px) {
    .hero-content--billboard {
        padding-top: 22vh;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .btn-group {
        justify-content: flex-start;
    }

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

/* Infinite Marquee */
.marquee-section {
    background: var(--bg-primary);
    padding: 3rem 0;
    overflow: hidden;
    border-bottom: var(--glass-border);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 5rem;
    animation: scroll 30s linear infinite;
    width: max-content;
    align-items: center;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.partner-logo {
    height: 35px;
    /* Adjust based on logos */
    width: auto;
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(1.2);
    cursor: pointer;
}

[data-theme="light"] .partner-logo {
    filter: grayscale(100%) brightness(0.2);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Premium Button Enhancements */
.btn-premium-glow {
    background: linear-gradient(92deg, #ff0f1f 0%, #aa0612 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    font-weight: 700;
}

.btn-premium-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6), 0 0 15px rgba(255, 75, 31, 0.4);
    filter: brightness(1.1);
}

.btn-premium-glow:active {
    transform: translateY(-1px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    inset: 0;
}

.modal-content {
    background: var(--bg-secondary);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(229, 9, 20, 0.2);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-actions button {
    min-width: 120px;
}

/* Hidden Rooms Utility */
.hidden-room {
    display: none !important;
}

/* Layout utilities */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-header .section-eyebrow {
    justify-content: center;
}

.rooms-header .section-eyebrow,
.profile-promo-copy .section-eyebrow {
    justify-content: flex-start;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0.75rem auto 0;
    font-size: 1.05rem;
    line-height: 1.65;
}

.section-eyebrow {
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title-sm {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Platforms */
.platforms-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    border-bottom: var(--glass-border);
    text-align: center;
}

.platforms-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(229, 9, 20, 0.07) 0%, transparent 60%);
}

.platform-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: var(--glass-border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.platform-chip i {
    color: var(--accent-red);
}

.platform-chip:hover {
    color: var(--text-primary);
    border-color: rgba(229, 9, 20, 0.35);
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--bg-secondary);
    border: var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s var(--cinema-ease, ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-red);
    font-size: 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.15);
    color: var(--accent-red);
    font-weight: 800;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    background: var(--bg-secondary);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-primary);
    border: var(--card-border);
    border-radius: 16px;
    padding: 1.75rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
}

.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.testimonial-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e5e5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.testimonial-card .stars {
    margin-bottom: 0;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.testimonial-card p::before {
    content: '“';
    color: rgba(229, 9, 20, 0.55);
    font-size: 1.35rem;
    line-height: 0;
    margin-right: 0.1rem;
    vertical-align: -0.1rem;
}

.testimonial-card footer {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-card footer strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-card footer span {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

/* FAQ */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 70% at 0% 40%, rgba(229, 9, 20, 0.09) 0%, transparent 58%),
        radial-gradient(ellipse 40% 50% at 100% 80%, rgba(100, 60, 180, 0.06) 0%, transparent 55%);
}

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

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(24, 24, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.faq-item[open] {
    border-color: rgba(229, 9, 20, 0.42);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.faq-item summary span {
    line-height: 1.45;
    padding-right: 0.25rem;
}

.faq-item summary::after {
    content: '';
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5e5e5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
    background-color: rgba(229, 9, 20, 0.18);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
    padding: 0 1.25rem 1.15rem;
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.9rem;
}

/* Footer */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: var(--glass-border);
    background: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

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

.footer-bottom {
    padding-top: 1.5rem;
    border-top: var(--glass-border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.badge-status-open {
    background: #1a7f37;
    color: white;
}

.badge-status-live {
    background: #FF0000;
    color: white;
    animation: live-pulse 2s ease-in-out infinite;
}

.badge-status-soon {
    background: #b8860b;
    color: white;
    font-size: 0.65rem;
}

.badge-status-full {
    background: #c45c00;
    color: white;
    font-size: 0.65rem;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.badge-live {
    background: #1a7f37;
}

/* Beta banner & status */
.beta-banner {
    background: linear-gradient(90deg, #1a0505, #2a0a0a);
    border-bottom: 1px solid rgba(229, 9, 20, 0.25);
    padding: 0.55rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.beta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.beta-banner strong {
    color: var(--text-primary);
}

.beta-dismiss {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

.status-bar {
    display: none;
}

.status-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: var(--text-secondary);
}

.status-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.status-ok {
    color: #3ddc84;
    font-size: 0.5rem;
}

.status-muted {
    margin-left: auto;
    opacity: 0.8;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.live-pill,
.beta-pill,
.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    border: var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ddc84;
    animation: live-pulse 1.5s infinite;
}

.room-code {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--accent-red);
    letter-spacing: 1px;
    margin-bottom: 0.35rem;
}

.activity-ticker {
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: var(--glass-border);
    border-radius: 12px;
    background: var(--bg-secondary);
    padding: 0.65rem 0;
}

.activity-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding-left: 1rem;
}

.activity-item {
    color: var(--text-secondary);
    font-size: 0.8rem;
    white-space: nowrap;
}

.activity-item::before {
    content: '•';
    color: var(--accent-red);
    margin-right: 0.5rem;
}

.changelog-section {
    background: var(--bg-secondary);
    border-top: var(--glass-border);
}

.changelog-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.changelog-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: var(--card-border);
    border-radius: 14px;
    background: var(--bg-primary);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.changelog-item:hover {
    border-color: rgba(229, 9, 20, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.changelog-version {
    font-family: monospace;
    font-weight: 700;
    color: var(--accent-red);
    min-width: 4.5rem;
}

.changelog-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.plan-ribbon {
    position: absolute;
    top: -1px;
    right: 2rem;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.75rem;
    font-weight: bold;
}

.plan-ribbon-soon {
    background: #444;
    color: #ccc;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.cookie-bar {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: 90%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: var(--bg-secondary);
    border: var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.auth-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-row a {
    color: var(--accent-red);
}

@media (max-width: 768px) {
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .rooms-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-muted {
        margin-left: 0;
        width: 100%;
    }

    .cookie-bar {
        flex-direction: column;
        text-align: center;
    }

    .lobby-grid,
    .dash-grid,
    .compare-table-wrap {
        overflow-x: auto;
    }
}

.hidden {
    display: none !important;
}

/* Toast */
#toastContainer,
.toast-container {
    position: fixed !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    margin: 0;
    width: auto;
    max-width: min(360px, calc(100vw - 2rem));
}

.toast-container .toast {
    pointer-events: auto;
}

.toast {
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: var(--glass-border);
    color: var(--text-primary);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    max-width: 320px;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-color: rgba(61, 220, 132, 0.4);
}

.toast-error {
    border-color: rgba(229, 9, 20, 0.5);
}

.toast-info {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Page layouts */
.page-main {
    padding: 120px 0 4rem;
    min-height: 80vh;
}

.content-page {
    max-width: 720px;
}

.content-lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 1rem 0 2rem;
}

.content-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-list {
    color: var(--text-secondary);
    margin: 1rem 0 2rem;
    padding-left: 1.25rem;
    line-height: 1.8;
    list-style: disc;
}

.content-list li {
    margin-bottom: 0.5rem;
}

/* Dashboard */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
}

.dash-panel {
    background: var(--bg-secondary);
    border: var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.dash-panel h3 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.dash-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.dash-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.25rem 0.75rem;
    border-radius: 12px;
    border: var(--card-border);
    background: var(--bg-primary);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.dash-action-card i {
    font-size: 1.25rem;
    color: var(--accent-red);
}

.dash-action-card:hover {
    color: var(--text-primary);
    border-color: rgba(229, 9, 20, 0.35);
}

.dash-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dash-room-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: var(--card-border);
    background: var(--bg-primary);
}

.dash-room-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

/* Lobby */
.lobby-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(229, 9, 20, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.lobby-header {
    margin-bottom: 1.5rem;
}

.lobby-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lobby-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1.5rem;
}

.lobby-panel {
    background: var(--bg-secondary);
    border: var(--card-border);
    border-radius: 16px;
    padding: 1.25rem;
}

.lobby-panel h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.lobby-users {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.lobby-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
}

.lobby-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #333;
}

.host-badge {
    font-size: 0.65rem;
    background: var(--accent-red);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: auto;
}

.host-controls {
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: var(--glass-border);
}

.host-controls h4 {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.host-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.invite-row {
    display: flex;
    gap: 0.5rem;
}

.invite-row .form-input {
    flex: 1;
    font-size: 0.8rem;
}

.lobby-chat {
    height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-right: 0.25rem;
}

.chat-msg {
    font-size: 0.9rem;
}

.chat-msg strong {
    color: var(--accent-red);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.15rem;
}

.chat-msg p {
    color: var(--text-secondary);
    margin: 0;
}

.chat-system p {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
}

.chat-form .form-input {
    flex: 1;
}

/* Copy & room code row */
.room-code-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.copy-code-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
}

.copy-code-btn:hover {
    color: var(--accent-red);
    background: rgba(229, 9, 20, 0.1);
}

.public-rooms-meta {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* Roadmap */
.roadmap-timeline {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.roadmap-item {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: var(--card-border);
    background: var(--bg-secondary);
    border-left: 3px solid #444;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.roadmap-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.roadmap-item.done,
.roadmap-item--done {
    border-left-color: #3ddc84;
}

.roadmap-item--pro {
    border-left-color: #3b82f6;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.1);
}

.roadmap-item--pro .roadmap-date {
    color: #3b82f6;
}

.roadmap-item--next {
    border-left-color: #666;
}

.roadmap-date {
    font-size: 0.75rem;
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roadmap-item h3 {
    margin: 0.5rem 0 0.35rem;
}

.roadmap-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Compare table */
.compare-section {
    background: var(--bg-secondary);
    border-top: var(--glass-border);
}

.compare-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(24, 24, 24, 0.6);
}

.compare-table tbody tr {
    transition: background-color 0.2s ease;
}

.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    border-bottom: var(--glass-border);
    text-align: left;
}

.compare-table th {
    color: var(--text-secondary);
    font-weight: 600;
}

.compare-table td:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.compare-yes {
    color: #3ddc84;
}

.compare-no {
    color: #666;
}

/* Waitlist */
.waitlist-box {
    max-width: 520px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 2rem 2.25rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(24, 24, 24, 0.95) 0%, rgba(18, 18, 18, 0.9) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.waitlist-box h3 {
    margin-bottom: 0.5rem;
}

.waitlist-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.waitlist-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.waitlist-form .form-input {
    flex: 1;
    min-width: 200px;
}

/* Contact & status */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    padding: 1.25rem;
    border-radius: 14px;
    border: var(--card-border);
    background: var(--bg-secondary);
}

.contact-card i {
    color: var(--accent-red);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: var(--card-border);
    background: var(--bg-secondary);
    font-size: 0.9rem;
}

.status-row span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.status-row.ok i {
    color: #3ddc84;
    font-size: 0.5rem;
}

.status-row.warn i {
    color: #ffc107;
    font-size: 0.5rem;
}

/* Download gate */
.gate-card {
    max-width: 460px;
}

.gate-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 9, 20, 0.12);
    color: var(--accent-red);
    font-size: 2rem;
    border: 1px solid rgba(229, 9, 20, 0.25);
}

.gate-room-box {
    margin: 1.25rem 0;
    padding: 1rem;
    border-radius: 12px;
    border: var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.gate-room-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.gate-room-code {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-red);
    letter-spacing: 2px;
    margin: 0.5rem 0;
}

.gate-room-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.gate-features {
    list-style: none;
    margin: 1.25rem 0;
    text-align: left;
}

.gate-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.gate-features i {
    color: #3ddc84;
    font-size: 0.8rem;
}

.gate-footnote {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
}

.stat-flash {
    animation: stat-flash 0.6s ease;
}

@keyframes stat-flash {
    0% {
        color: inherit;
        transform: scale(1);
    }
    35% {
        color: #fff;
        transform: scale(1.08);
    }
    100% {
        color: inherit;
        transform: scale(1);
    }
}

.badge-viewers.stat-flash {
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.35);
}

/* Movie catalog */
.movies-section {
    position: relative;
    padding: 0 0 3rem;
    background: #141414;
    overflow: visible;
    margin-top: 0;
}

.movies-featured {
    position: relative;
    min-height: 58vh;
    margin-bottom: 0;
    background-size: cover;
    background-position: center 15%;
    background-color: #141414;
}

.movies-featured--loading {
    background: linear-gradient(180deg, #141414 0%, #1a1a1a 100%);
}

.movies-section-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.movies-section-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.movies-kbd-hint {
    margin-top: 0.45rem;
    font-size: 0.75rem;
    color: rgba(179, 179, 179, 0.75);
}

.movies-kbd-hint kbd {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    margin: 0 0.1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-family: inherit;
    font-size: 0.68rem;
}

/* Catalog loading skeleton — no empty flash before JS */
.catalog-skeleton-hero {
    gap: 0.85rem;
}

.skeleton-block,
.genre-skeleton,
.skeleton-row-title,
.skeleton-poster-track span {
    background: linear-gradient(
        90deg,
        rgba(31, 31, 31, 1) 0%,
        rgba(42, 42, 42, 1) 20%,
        rgba(229, 9, 20, 0.12) 50%,
        rgba(42, 42, 42, 1) 80%,
        rgba(31, 31, 31, 1) 100%
    );
    background-size: 220% 100%;
    animation: skeletonShimmer 1.8s ease-in-out infinite;
    animation-delay: calc(var(--sk-delay, 0) * 90ms);
    border-radius: 6px;
}

.skeleton-row-title--offset {
    margin-top: 1.75rem;
}

.skeleton-poster-track--offset span {
    opacity: 0.85;
}

.movie-rows {
    opacity: 1;
    transform: none;
}

.movie-rows--loading {
    opacity: 1;
    transform: none;
}

.movie-rows--ready {
    opacity: 1;
    transform: none;
}

.movie-rows .movie-row {
    opacity: 1;
    transform: none;
}

.movie-poster-card.movie-watch-btn:focus-visible {
    outline: 2px solid rgba(229, 9, 20, 0.85);
    outline-offset: 3px;
    border-radius: 8px;
}

.skeleton-badge { width: 180px; height: 22px; }
.skeleton-title { width: min(420px, 70%); height: 48px; }
.skeleton-meta { width: min(320px, 55%); height: 18px; }
.skeleton-actions { width: 260px; height: 42px; margin-top: 0.5rem; }

.genre-skeleton {
    display: inline-block;
    width: 72px;
    height: 32px;
    margin-right: 0.45rem;
}

.catalog-skeleton-rows {
    padding: 0 max(2rem, 4vw);
}

.skeleton-row-title {
    width: 200px;
    height: 24px;
    margin-bottom: 1rem;
}

.skeleton-poster-track {
    display: flex;
    gap: 0.5rem;
    overflow: hidden;
}

.skeleton-poster-track span {
    flex: 0 0 168px;
    aspect-ratio: 2 / 3;
}

.movie-rows--loading .catalog-skeleton-rows {
    display: block;
}

.movie-rows:not(.movie-rows--loading) .catalog-skeleton-rows {
    display: none;
}

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

.movies-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(77deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.35) 50%, rgba(20, 20, 20, 0.5) 100%),
        linear-gradient(0deg, #141414 0%, transparent 30%);
    pointer-events: none;
}

.movies-featured-inner {
    position: relative;
    z-index: 1;
    max-width: calc(var(--content-max) + 4rem);
    margin: 0 auto;
    padding: 14vh var(--row-inset) 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 58vh;
}

.movies-featured-badge {
    color: #fff;
    background: rgba(229, 9, 20, 0.85);
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
    font-size: 0.7rem;
    width: fit-content;
}

.movies-featured h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    max-width: 700px;
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.movie-genre-tab {
    padding: 0.4rem 0.95rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #e5e5e5;
    font-size: 0.82rem;
}

.movie-genre-tab:hover,
.movie-genre-tab.active {
    background: #fff;
    color: #141414;
    border-color: #fff;
}

.movie-row-head h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.movie-row {
    margin-bottom: 2.5rem;
}

.movie-row-track {
    padding: 0.25rem 0 1rem;
    gap: 0.45rem;
}

.movie-poster-card {
    flex: 0 0 155px;
    transition: transform 0.25s ease, z-index 0s;
}

.movie-poster-card:hover {
    transform: scale(1.08);
    z-index: 5;
}

.movie-poster-wrap {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.movie-poster-card:hover .movie-poster-wrap {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
}

.section-header h2,
.section-title-sm {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.feature-card,
.step-card,
.room-card,
.testimonial-card,
.platform-chip {
    background: #181818;
    border: none;
    border-radius: 4px;
}

.site-footer {
    background: #141414;
    border-top: 1px solid #2f2f2f;
}

.section-eyebrow {
    color: var(--accent-red);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.movies-header {
    scroll-margin-top: 100px;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.movies-inner {
    position: relative;
    z-index: 2;
}

.movies-featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.movies-featured-meta .rating {
    color: #46d369;
    font-weight: 600;
}

.movies-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.movie-genre-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.movie-row {
    margin-bottom: 2.25rem;
}

.movie-row-head {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
}

.movie-row-head h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.movie-row-head span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.movie-row-track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    overflow: visible;
    padding-bottom: 0.75rem;
}

.movie-poster-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    text-align: left;
    color: inherit;
    font: inherit;
}

.movie-poster-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-poster-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, hsl(var(--poster-hue, 220), 55%, 38%) 0%, transparent 55%),
        linear-gradient(180deg, hsl(var(--poster-hue, 220), 42%, 18%) 0%, #0a0a0f 100%);
}

.movie-poster-art-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.07);
    user-select: none;
    pointer-events: none;
}

.movie-poster-art-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.88) 100%);
}

.movie-poster-art-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.65rem 0.55rem 0.7rem;
    text-align: left;
}

.movie-poster-art-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.movie-poster-art-year {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.62);
}

.movie-poster-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.12s ease-out;
}

.movie-poster-img.is-loaded {
    opacity: 1;
}

.movie-poster-img.is-missing {
    opacity: 0;
    visibility: hidden;
}

.movie-poster-app,
.movie-poster-rating,
.movie-poster-overlay {
    z-index: 2;
}

.movie-poster-card:hover .movie-poster-wrap {
    transform: scale(1.06);
    box-shadow:
        0 0 0 2px var(--accent-red),
        0 12px 32px rgba(0, 0, 0, 0.45),
        0 0 16px rgba(229, 9, 20, 0.2);
    z-index: 2;
}

.movie-poster-wrap img:not(.movie-poster-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.movie-poster-overlay i {
    font-size: 1.5rem;
    color: #fff;
}

.movie-poster-overlay span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
}

.movie-poster-app {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(229, 9, 20, 0.9);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.movie-poster-card:hover .movie-poster-overlay {
    opacity: 1;
}

.movie-poster-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #46d369;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

.movie-poster-title {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-poster-year {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .netflix-ui .movies-featured {
        min-height: 52vh;
    }

    .netflix-ui .movies-featured-inner {
        min-height: 52vh;
        padding-top: 12vh;
    }

    .netflix-ui .movie-poster-card {
        flex: 0 0 140px;
    }

    .movies-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-grid,
    .lobby-grid,
    .dash-actions,
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   Netflix Premium Polish
   ═══════════════════════════════════════════ */

.netflix-ui .theme-toggle {
    display: inline-flex;
}

.netflix-ui .nav-link {
    position: relative;
}

.netflix-ui .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.25s ease;
}

.netflix-ui .nav-link:hover::after,
.netflix-ui .nav-link-highlight::after {
    width: 100%;
}

.netflix-ui .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

/* Hero cinematic */
.hero-brand-mark {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: 0.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e5e5e5;
}

.hero-tag--match {
    color: #46d369;
    border-color: rgba(70, 211, 105, 0.5);
}

.hero-tag--live {
    border-color: rgba(229, 9, 20, 0.6);
    color: #ff6b6b;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: heroBounce 2.2s ease-in-out infinite;
}

.hero-scroll-hint i {
    font-size: 0.85rem;
}

@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    animation: revealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes revealUp {
    to { opacity: 1; transform: none; }
}

.reveal-up.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-section.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-stagger {
    transition-delay: var(--reveal-delay, 0ms);
}

.movies-section.reveal-section {
    transform: translateY(28px);
}

.movies-featured.reveal-section {
    transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-section,
    .reveal-up,
    .hero-backdrop {
        transition: none !important;
        animation: none !important;
    }

    .reveal-section,
    .reveal-up {
        opacity: 1;
        transform: none;
    }
}

/* Movies full-bleed rows */
.netflix-ui .movies-inner {
    max-width: none;
    padding: 0;
}

.netflix-ui .movies-header {
    margin-bottom: 1.5rem;
    padding-left: var(--row-inset);
    padding-right: var(--row-inset);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.movie-row-head {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-bottom: 0.65rem;
    padding: 0 var(--row-inset);
    text-align: left;
}

.movie-row-head h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0;
}

.movie-row-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex: 1 1 100%;
    max-width: 100%;
    line-height: 1.45;
}

.container-row {
    padding: 0 var(--row-inset);
}

.row-arrow,
.movie-row-slider .row-arrow {
    display: none !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.netflix-ui .movie-row {
    overflow: visible;
    margin-bottom: 1.75rem;
}

.netflix-ui .movie-row-track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 0.65rem;
    overflow: visible;
    padding: 0.35rem var(--row-inset) 1rem;
    width: 100%;
}

.netflix-ui .movie-poster-card {
    flex: 0 0 172px;
    scroll-snap-align: start;
    position: relative;
    transform: none;
}

.netflix-ui .movie-poster-card:hover {
    z-index: 1;
    transform: none;
}

.netflix-ui .movie-poster-card-inner {
    position: relative;
    border-radius: 4px;
}

.netflix-ui .movie-poster-card:hover .movie-poster-card-inner {
    transform: none;
    box-shadow: none;
}

.netflix-ui .movie-poster-card:hover .movie-poster-img.is-loaded {
    filter: brightness(1.05);
}

.netflix-ui .movie-poster-card:hover .movie-poster-wrap {
    transform: scale(1.04);
    box-shadow:
        0 0 0 2px var(--accent-red),
        0 8px 28px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(229, 9, 20, 0.22);
}

.netflix-ui .movie-poster-card:hover .movie-poster-play-overlay {
    opacity: 1;
    pointer-events: auto;
}

.netflix-ui .movie-poster-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.45rem;
    line-height: 1.3;
    min-height: 2.05em;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.netflix-ui .movie-poster-year {
    display: block;
    font-size: 0.72rem;
    color: var(--text-secondary);
    transition: opacity 0.2s ease;
}

.movie-hover-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: -1px;
    background: #181818;
    border-radius: 0 0 4px 4px;
    padding: 0.65rem 0.7rem 0.75rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    border: 1px solid #2a2a2a;
    border-top: none;
    z-index: 5;
}

.movie-hover-top {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
}

.movie-hover-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.72rem;
    cursor: pointer;
    flex-shrink: 0;
}

.movie-hover-download:hover {
    background: #f40612;
}

.movie-hover-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.movie-hover-download-btn:hover {
    background: rgba(229, 9, 20, 0.25);
    border-color: rgba(229, 9, 20, 0.55);
}

.movie-poster-dl-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.62rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.movie-poster-dl-badge:hover {
    background: rgba(229, 9, 20, 0.88);
    border-color: rgba(229, 9, 20, 0.65);
    transform: scale(1.06);
}

.movie-poster-chips {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    max-width: calc(100% - 3rem);
}

.movie-card-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1px solid transparent;
}

.movie-card-chip--hd {
    background: rgba(255, 255, 255, 0.14);
    color: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.12);
}

.movie-card-chip--trending {
    background: rgba(229, 9, 20, 0.88);
    color: #fff;
}

.movie-card-chip--new {
    background: rgba(232, 184, 74, 0.92);
    color: #141414;
}

.movie-poster-card.movie-watch-btn {
    cursor: pointer;
}

.search-result-dl {
    margin-left: auto;
    color: #b3b3b3;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.search-result-item:hover .search-result-dl {
    color: #fff;
}

.movie-poster-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #fff;
    color: #141414;
    font-size: 0.72rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.movie-hover-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 0.75rem;
}

.movie-hover-app {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.movie-hover-app i {
    color: var(--accent-red);
    font-size: 0.68rem;
}

.movie-hover-genre {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.38rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.movie-hover-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
}

.movie-hover-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    margin-bottom: 0.45rem;
    color: #d2d2d2;
}

.movie-hover-match {
    color: #46d369;
    font-weight: 700;
}

.movie-hover-age {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0 0.2rem;
    border-radius: 2px;
    font-size: 0.62rem;
}

.movie-hover-overview {
    font-size: 0.68rem;
    line-height: 1.45;
    color: #b3b3b3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-poster-rating {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.72);
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffc107;
}

.movie-poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    text-align: center;
}

.movie-poster-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    color: #141414;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.movie-poster-overlay-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.movie-poster-overlay-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.65);
}

.netflix-ui .movie-poster-card:hover .movie-poster-overlay {
    opacity: 1;
}

.movies-featured-blurb {
    max-width: 520px;
    color: #d2d2d2;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.match-score {
    color: #46d369 !important;
    font-weight: 700;
}

.age-badge {
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
    font-size: 0.75rem;
}

/* Sections */
.netflix-ui .section-padding {
    padding: 4.5rem 0;
}

.netflix-ui .platforms-section {
    background: linear-gradient(180deg, #141414 0%, #1a1a1a 100%);
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
}

.netflix-ui .platform-chip {
    background: #232323;
    border: 1px solid #333;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.netflix-ui .platform-chip:hover {
    transform: translateY(-3px);
    border-color: var(--accent-red);
}

.netflix-ui .step-card,
.netflix-ui .feature-card {
    background: linear-gradient(145deg, #1e1e1e 0%, #181818 100%);
    border: 1px solid #2a2a2a;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.netflix-ui .step-card:hover,
.netflix-ui .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 9, 20, 0.35);
}

.netflix-ui .room-card {
    background: #181818;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.netflix-ui .room-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.netflix-ui .pricing-card {
    background: #181818;
    border: 1px solid #2a2a2a;
}

.netflix-ui .pricing-card--starter {
    border-color: rgba(229, 9, 20, 0.55);
    box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.netflix-ui .pricing-card--pro {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.22), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.netflix-ui .pricing-card--ultimate {
    border-color: rgba(234, 179, 8, 0.6);
    box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.22), 0 16px 40px rgba(0, 0, 0, 0.4);
}

.netflix-ui .faq-item {
    background: rgba(24, 24, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 0;
}

.netflix-ui .faq-item summary {
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
}

.netflix-ui .faq-item[open] {
    border-color: rgba(229, 9, 20, 0.42);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* Download CTA */
.download-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: #141414;
}

.download-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(229, 9, 20, 0.22) 0%, transparent 60%),
        linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    pointer-events: none;
}

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

.download-cta-eyebrow {
    color: var(--accent-red);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.download-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.download-cta-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.download-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.netflix-ui .site-footer {
    background: #141414;
    padding: 3rem 0 2rem;
}

.netflix-ui .footer-links a {
    color: #808080;
    font-size: 0.85rem;
}

.netflix-ui .footer-links a:hover {
    color: #b3b3b3;
    text-decoration: underline;
}

.netflix-ui .live-pill,
.netflix-ui .online-pill {
    background: rgba(42, 42, 42, 0.85);
    border: 1px solid #333;
    border-radius: 4px;
    color: #e5e5e5;
    font-size: 0.82rem;
    padding: 0.4rem 0.75rem;
}

@media (max-width: 1200px) {
    .nav-create-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .container-row {
        padding: 0 1.25rem;
    }

    .netflix-ui .movie-row-track {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .row-arrow {
        display: none;
    }

    .hero-brand-mark {
        font-size: 2.5rem;
    }

    .hero-scroll-hint {
        display: none;
    }

}

/* ═══════════════════════════════════════════
   Cinema Premium — visual upgrade
   ═══════════════════════════════════════════ */

:root {
    --accent-glow: rgba(229, 9, 20, 0.55);
    --accent-gold: #f5c518;
    --surface-glass: rgba(18, 18, 22, 0.72);
    --font-display: 'Outfit', var(--font-body);
    --cinema-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.netflix-ui {
    background:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(229, 9, 20, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 50%, rgba(80, 40, 120, 0.08) 0%, transparent 50%),
        var(--bg-primary);
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: ambientFloat 18s var(--cinema-ease) infinite alternate;
}

.ambient-orb--1 {
    width: 42vw;
    height: 42vw;
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.45) 0%, transparent 70%);
}

.ambient-orb--2 {
    width: 35vw;
    height: 35vw;
    bottom: 10%;
    right: -6%;
    background: radial-gradient(circle, rgba(100, 60, 180, 0.35) 0%, transparent 70%);
    animation-delay: -6s;
}

.ambient-orb--3 {
    width: 28vw;
    height: 28vw;
    top: 45%;
    left: 35%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.12) 0%, transparent 70%);
    animation-delay: -12s;
    opacity: 0.2;
}

@keyframes ambientFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(3%, 4%) scale(1.08); }
}

.netflix-ui > *:not(.ambient-bg):not(.toast-container):not(.modal-overlay):not(.navbar) {
    position: relative;
    z-index: 1;
}

.netflix-ui > .navbar {
    position: fixed;
    z-index: 1000;
}

.netflix-ui > .navbar:has(.nav-search.is-open) {
    z-index: 1100;
    overflow: visible;
}

.netflix-ui > .navbar:has(.nav-search.is-open) .navbar-inner {
    overflow: visible;
}

.netflix-ui .navbar.navbar-scrolled {
    background: transparent;
    border-bottom: none;
}

.netflix-ui .logo-text {
    text-shadow: 0 0 40px var(--accent-glow);
}

.netflix-ui .hero-text h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 45%, rgba(255, 200, 200, 0.95) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.5));
    letter-spacing: 0.03em;
}

.netflix-ui .hero-brand-mark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(229, 9, 20, 0.35) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    filter: drop-shadow(0 0 30px rgba(229, 9, 20, 0.25));
}

.netflix-ui .btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: transform 0.25s var(--cinema-ease), box-shadow 0.25s ease;
}

.netflix-ui .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.netflix-ui .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.netflix-ui .btn-primary:hover::after {
    left: 140%;
}

.netflix-ui .btn-play {
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
    transition: transform 0.25s var(--cinema-ease), box-shadow 0.25s ease;
}

.netflix-ui .btn-play:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.22);
}

.netflix-ui .online-pill,
.netflix-ui .live-pill {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.netflix-ui .section-eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-red);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.netflix-ui .section-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), transparent);
    border-radius: 2px;
}

.netflix-ui .section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: 0.04em;
}

/* Top 10 strip — same cards as catalog rows */
.top-picks-strip {
    padding: 2.5rem 0 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    overflow: visible;
}

.movie-row--top10 {
    --top10-gap: clamp(0.28rem, 0.7vw, 0.55rem);
    margin-bottom: 0;
    overflow: visible;
}

.movie-row--top10 .movie-row-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--top10-gap);
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0.5rem var(--row-inset) 0.75rem;
    scrollbar-width: none;
}

.movie-row--top10 .movie-row-track::-webkit-scrollbar {
    display: none;
}

.movie-row--top10 .movie-poster-card--ranked {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: calc((100% - 9 * var(--top10-gap)) / 10);
}

.movie-row--top10 .movie-poster-title {
    font-size: clamp(0.6rem, 0.82vw, 0.75rem);
    -webkit-line-clamp: 2;
    min-height: 1.9em;
}

.movie-row--top10 .movie-poster-year {
    font-size: clamp(0.55rem, 0.72vw, 0.66rem);
}

.movie-row--top10 .movie-poster-rating {
    font-size: clamp(0.58rem, 0.75vw, 0.68rem);
    padding: 0.15rem 0.3rem;
}

.movie-row--top10 .movie-poster-age {
    font-size: clamp(0.55rem, 0.7vw, 0.62rem);
    padding: 0.12rem 0.28rem;
}

.movie-row-head--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0 var(--row-inset);
    margin-bottom: 0.85rem;
}

.top-picks-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0;
}

.movie-poster-card--ranked .movie-poster-card-inner {
    position: relative;
    padding-left: clamp(0.7rem, 1vw, 1.1rem);
}

.movie-poster-card--ranked .top-pick-rank {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.8vw, 2.85rem);
    line-height: 0.82;
    font-weight: 400;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.18) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    left: 0;
    bottom: clamp(1.55rem, 2.4vw, 2rem);
    z-index: 4;
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
}

.netflix-ui .movie-row--top10 .movie-row-track {
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: var(--top10-gap);
    width: 100%;
}

.netflix-ui .movie-row--top10 .movie-poster-card--ranked {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.netflix-ui .movie-poster-card--ranked .top-pick-rank {
    bottom: clamp(1.65rem, 2.5vw, 2.1rem);
}

@media (max-width: 720px) {
    .movie-row--top10 .movie-row-track {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scroll-padding-inline: var(--row-inset);
        -webkit-overflow-scrolling: touch;
    }

    .movie-row--top10 .movie-poster-card--ranked {
        flex: 0 0 calc((100% - 3 * var(--top10-gap)) / 3.35);
        min-width: 100px;
        width: auto;
    }
}

/* Coming Soon strip */
.coming-soon-strip {
    padding: 2rem 0 2.5rem;
    position: relative;
    z-index: 2;
}

.coming-soon-head {
    padding-left: var(--row-inset);
    padding-right: var(--row-inset);
    margin-bottom: 1.25rem;
}

.coming-soon-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0.35rem 0 0.5rem;
}

.coming-soon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 var(--row-inset);
}

.coming-soon-card {
    flex: 0 0 132px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    color: inherit;
    transition: transform 0.25s var(--cinema-ease);
}

.coming-soon-card:hover {
    transform: translateY(-4px);
}

.coming-soon-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.coming-soon-poster .movie-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.coming-soon-date {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0.45rem 0.4rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
}

.coming-soon-name {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coming-soon-year {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* Movie detail modal */
.movie-detail-modal {
    position: fixed;
    z-index: 2500;
    padding: 1rem;
}

.movie-detail-dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: min(90vh, 720px);
    overflow: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #181818;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
    transform: scale(0.94);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.movie-detail-modal.active .movie-detail-dialog {
    transform: scale(1);
}

.movie-detail-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.movie-detail-close:hover {
    background: rgba(229, 9, 20, 0.85);
}

.movie-detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    opacity: 0.28;
    pointer-events: none;
}

.movie-detail-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.72) 0%, #181818 45%);
}

.movie-detail-poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.movie-detail-poster-frame .movie-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-detail-eyebrow {
    color: var(--accent-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.movie-detail-copy h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.05;
}

.movie-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.movie-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.movie-detail-meta-rating {
    color: #46d369;
    font-weight: 600;
}

.movie-detail-age {
    padding: 0.1rem 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 3px;
    font-size: 0.72rem;
    color: #e5e5e5;
}

.movie-detail-release {
    color: #e8b84a;
}

.movie-detail-overview {
    color: #d2d2d2;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 54ch;
}

.movie-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

@media (max-width: 768px) {
    .coming-soon-card {
        flex: 0 0 calc(33.333% - 0.7rem);
        min-width: 108px;
    }

    .movie-detail-body {
        grid-template-columns: 1fr;
        padding: 1.15rem;
    }

    .movie-detail-poster {
        max-width: 200px;
    }
}

/* Movies section */
.netflix-ui .movies-section {
    background: transparent;
    margin-top: 0.5rem;
}

.netflix-ui .movies-featured h2 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.netflix-ui .movies-featured-badge {
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
}

.netflix-ui .match-score {
    color: #46d369;
    font-weight: 700;
}

.netflix-ui .movie-genre-tab {
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 500;
    transition: all 0.25s var(--cinema-ease);
}

.netflix-ui .movie-genre-tab.active {
    background: linear-gradient(135deg, #fff 0%, #e8e8e8 100%);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.netflix-ui .movie-genre-tab:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.netflix-ui .movie-poster-wrap {
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.netflix-ui .movie-hover-panel {
    background: linear-gradient(180deg, #1e1e24 0%, #141418 100%);
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 0 0 6px 6px;
}

/* Feature & room cards */
.netflix-ui .feature-card {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.35s var(--cinema-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.netflix-ui .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.35), transparent 50%, rgba(255, 255, 255, 0.06));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.netflix-ui .feature-card:hover::before {
    opacity: 1;
}

.netflix-ui .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(229, 9, 20, 0.08);
}

.netflix-ui .room-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0d0d0f 0%, #050505 100%);
    transition: transform 0.35s var(--cinema-ease), box-shadow 0.35s ease;
}

.netflix-ui .room-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(229, 9, 20, 0.2);
}

.netflix-ui .stat-item h2 {
    background: linear-gradient(135deg, #fff 30%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.netflix-ui .stats {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(20, 20, 20, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.netflix-ui .stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(229, 9, 20, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.netflix-ui .platform-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s var(--cinema-ease);
}

.netflix-ui .platform-chip:hover {
    background: rgba(229, 9, 20, 0.12);
    border-color: rgba(229, 9, 20, 0.35);
    transform: translateY(-3px);
}

.netflix-ui .pricing-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s var(--cinema-ease), box-shadow 0.35s ease;
}

.netflix-ui .pricing-card--starter {
    border-color: rgba(229, 9, 20, 0.5);
    box-shadow: 0 0 32px rgba(229, 9, 20, 0.12);
}

.netflix-ui .pricing-card--pro {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 32px rgba(59, 130, 246, 0.14);
}

.netflix-ui .pricing-card--ultimate {
    border-color: rgba(234, 179, 8, 0.55);
    box-shadow: 0 0 32px rgba(234, 179, 8, 0.14);
}

.netflix-ui .pricing-card:hover {
    transform: translateY(-6px);
}

.netflix-ui .download-cta {
    position: relative;
    overflow: hidden;
}

.netflix-ui .download-cta-bg {
    background:
        radial-gradient(ellipse 70% 80% at 50% 100%, rgba(229, 9, 20, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(100, 60, 180, 0.15) 0%, transparent 50%);
}

.netflix-ui .testimonial-card {
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: transform 0.3s var(--cinema-ease);
}

.netflix-ui .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.netflix-ui .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent 0%, #08080a 100%);
}

@media (prefers-reduced-motion: reduce) {
    .ambient-orb {
        animation: none;
    }
}

/* Nav search — icon only; panel + dropdown same width column */
.nav-search {
    position: relative;
    flex: 0 0 auto;
    z-index: 1;
}

.nav-search.is-open {
    width: min(360px, calc(100vw - 2rem));
    z-index: 1205;
    align-self: flex-start;
    margin-top: 14px;
}

.nav-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #e5e5e5;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-search-expand {
    display: none;
    width: 100%;
    position: relative;
}

.nav-search.is-open .nav-search-toggle {
    display: none;
}

.nav-search.is-open .nav-search-expand {
    display: block;
}

.nav-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    height: 40px;
    padding: 0 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #141414;
    color: #e5e5e5;
    box-sizing: border-box;
}

.nav-search-field:focus-within {
    border-color: rgba(229, 9, 20, 0.65);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

.nav-search-field i {
    color: #b3b3b3;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.nav-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.86rem;
    outline: none;
}

.nav-search-input::placeholder {
    color: #8c8c8c;
}

.nav-search-input::-webkit-search-cancel-button {
    display: none;
}

.nav-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
    font-size: 0.72rem;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-search-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-search-dropdown {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    width: 100%;
    z-index: 1206;
    max-height: min(55vh, 400px);
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.4rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #181818;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) #181818;
}

.nav-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.nav-search-dropdown::-webkit-scrollbar-track {
    background: #181818;
}

.nav-search-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}

.nav-search-dropdown.is-open {
    display: flex;
}

.nav-search-dropdown .search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-search-dropdown .search-result-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
}

.nav-search-dropdown .search-result-poster {
    position: relative;
    width: 42px;
    height: 63px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #222;
}

.nav-search-dropdown .search-result-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-search-dropdown .search-result-poster .movie-poster-art {
    position: absolute;
    inset: 0;
}

.nav-search-dropdown .search-result-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.nav-search-dropdown .search-result-meta strong {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search-dropdown .search-result-meta span {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.nav-search-dropdown .search-result-meta .fa-star {
    color: #e8b84a;
    font-size: 0.68rem;
}

.nav-search-dropdown .search-empty {
    padding: 1rem 0.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.navbar:has(.nav-search.is-open) {
    z-index: 1100;
    background: transparent;
}

.navbar:has(.nav-search.is-open)::before {
    background: rgba(8, 8, 10, 0.9);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

@media (max-width: 768px) {
    .nav-search.is-open {
        width: auto;
    }

    .nav-search-expand {
        position: fixed;
        top: 12px;
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        z-index: 1205;
    }

    .nav-search-dropdown {
        max-height: calc(100vh - 80px);
    }

    .netflix-ui .movie-row-track {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        scroll-padding-inline: 1.25rem;
    }
}

.nav-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(198, 142, 45, 0.55);
    background: rgba(28, 20, 8, 0.85);
    color: #e8b84a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-premium-btn i {
    font-size: 0.72rem;
    color: #f0c14b;
}

.nav-premium-btn:hover {
    background: rgba(45, 32, 10, 0.95);
    border-color: rgba(232, 184, 74, 0.75);
    box-shadow: 0 0 16px rgba(232, 184, 74, 0.15);
    color: #ffd875;
}

.nav-premium-btn--compact {
    padding: 0.42rem 0.55rem;
}

.nav-premium-btn--compact span {
    display: none;
}

.nav-actions-mobile {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

/* 18+ mature catalog */
.mature-content-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 var(--row-inset) 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(229, 9, 20, 0.35);
    background: rgba(229, 9, 20, 0.08);
    color: #e5e5e5;
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: none;
    position: relative;
    z-index: 1;
}

.mature-content-notice i {
    color: #e50914;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.mature-content-notice strong {
    color: #ff6b6b;
}

.movie-row--mature .movie-row-head h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.row-age-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: #e50914;
    color: #fff;
    vertical-align: middle;
}

.movie-row-mature-warn {
    padding: 0  var(--row-inset) 0.5rem;
    margin: -0.25rem 0 0.35rem;
    font-size: 0.78rem;
    color: #ff8a8a;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.movie-row-mature-warn i {
    color: #e50914;
    font-size: 0.72rem;
}

.movie-poster-age {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.movie-poster-age--18 {
    background: rgba(229, 9, 20, 0.92);
    color: #fff;
    border-color: rgba(255, 120, 120, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.movie-poster-age--16 {
    background: rgba(180, 100, 20, 0.9);
    color: #fff;
}

.movie-poster-age--13 {
    background: rgba(40, 40, 48, 0.88);
    color: #ccc;
}

.movie-hover-age--18 {
    color: #ff6b6b !important;
    font-weight: 800;
    border: 1px solid rgba(229, 9, 20, 0.45);
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
}

.movie-hover-warning {
    margin-top: 0.45rem;
    font-size: 0.62rem;
    color: #ff8a8a;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.35;
}

.movie-hover-warning i {
    color: #e50914;
    flex-shrink: 0;
}

.netflix-ui .movie-poster-rating {
    top: 6px;
    right: 6px;
    left: auto;
}

/* ═══════════════════════════════════════════
   UI polish — layout & visual consistency
   ═══════════════════════════════════════════ */

.nav-mobile-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid #2f2f2f;
}

@media (max-width: 1100px) {
    .nav-links.open .nav-mobile-actions {
        display: flex;
    }

    .nav-mobile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.profile-promo {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.profile-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 65% at 15% 50%, rgba(229, 9, 20, 0.1) 0%, transparent 58%),
        radial-gradient(ellipse 40% 50% at 90% 30%, rgba(100, 60, 180, 0.06) 0%, transparent 55%);
}

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

.profile-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.profile-promo-frame {
    position: relative;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.45) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(100, 60, 180, 0.25) 100%);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.profile-promo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.profile-promo-visual img {
    width: 100%;
    border-radius: 15px;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.profile-promo-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.05;
}

.profile-promo-desc {
    margin: 0.75rem 0 1.5rem;
    max-width: 520px;
    text-align: left;
}

.profile-perks {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.profile-perk {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1rem 1.05rem;
    background: rgba(24, 24, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-perk:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.profile-perk--pro {
    border-color: rgba(59, 130, 246, 0.22);
}

.profile-perk--pro:hover {
    border-color: rgba(59, 130, 246, 0.42);
}

.profile-perk-icon {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(229, 9, 20, 0.14);
    color: var(--accent-red);
    font-size: 0.95rem;
}

.profile-perk--pro .profile-perk-icon {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
}

.profile-perk-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.profile-perk-text strong {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.profile-perk-text strong em {
    font-style: normal;
}

.profile-perk-text > span {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.profile-perk-tag {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    vertical-align: 0.05rem;
}

.profile-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.netflix-ui .online-pill,
.netflix-ui .live-pill {
    border-radius: 4px;
    font-size: 0.82rem;
}

.netflix-ui .site-footer {
    padding: 3.5rem 0 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 100%), var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.netflix-ui .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem 1.5rem;
}

.netflix-ui .room-card {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.08);
}

.netflix-ui .room-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 9, 20, 0.35);
}

.netflix-ui .pricing-card {
    border-radius: 16px;
}

.netflix-ui .pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card .btn-outline[disabled],
.pricing-card .btn-outline:disabled {
    opacity: 0.65;
    cursor: default;
}

@media (max-width: 992px) {
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-promo-grid {
        grid-template-columns: 1fr;
    }

    .profile-promo-visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
    }

    .profile-perks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .netflix-ui .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 420px;
    }

    .auth-container {
        padding: 1.25rem;
    }

}

@media (max-height: 760px) {
    .auth-topbar + .auth-container {
        padding-top: 4rem;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        margin-top: 0.5rem;
    }

    .auth-footer {
        margin-top: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .footer-grid,
    .netflix-ui .footer-grid {
        grid-template-columns: 1fr;
    }

    #toastContainer,
    .toast-container {
        left: 1rem !important;
        right: 1rem !important;
        top: 4.75rem !important;
        max-width: none;
    }

    .toast-container .toast {
        max-width: none;
    }
}

.subpage-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 1rem;
}

.subpage-navbar .nav-links {
    display: flex;
    gap: 1.25rem;
}

.subpage-navbar .nav-actions,
.subpage-navbar .nav-actions-mobile {
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.nav-logout-btn {
    flex-shrink: 0;
}

.nav-user-link {
    text-decoration: none;
    flex-shrink: 0;
}

.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 180px;
    padding: 0.5rem 0.85rem !important;
}

.nav-user-btn--compact {
    max-width: 44px;
    padding: 0.45rem !important;
}

.nav-user-btn--compact .nav-user-name,
.nav-user-btn--compact .nav-user-chevron {
    display: none;
}

.nav-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 110px;
}

.nav-user-chevron {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-user-btn[aria-expanded="true"] .nav-user-chevron {
    transform: rotate(180deg);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 190px;
    padding: 0.35rem;
    border-radius: 12px;
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1200;
}

.nav-user-dropdown[hidden] {
    display: none !important;
}

.nav-user-dropdown a,
.nav-user-dropdown button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}

.nav-user-dropdown a:hover,
.nav-user-dropdown button:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-user-dropdown button[data-logout] {
    color: #ff8a8a;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    font-weight: 500;
}

.netflix-ui .movies-section {
    margin-top: 1.25rem;
}

.netflix-ui .movie-genre-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: 100%;
}

@media (max-width: 768px) {
    .netflix-ui .movie-genre-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0.25rem;
        width: 100%;
    }

    .netflix-ui .movie-genre-tabs::-webkit-scrollbar {
        display: none;
    }

    .netflix-ui .movies-header {
        align-items: flex-start;
    }
}

.auth-back-link:hover {
    color: var(--text-primary) !important;
}

/* === Final site-wide polish === */
.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.pricing-subtitle {
    color: var(--text-secondary);
}

.how-it-works,
.features-section,
.roadmap-section,
.rooms-section {
    position: relative;
    overflow: hidden;
}

.how-it-works::before,
.features-section::before,
.roadmap-section::before,
.rooms-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.how-it-works::before {
    background: radial-gradient(ellipse 55% 70% at 100% 30%, rgba(229, 9, 20, 0.08) 0%, transparent 58%);
}

.features-section::before {
    background:
        radial-gradient(ellipse 50% 60% at 0% 50%, rgba(229, 9, 20, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 100% 80%, rgba(100, 60, 180, 0.05) 0%, transparent 55%);
}

.roadmap-section::before {
    background: radial-gradient(ellipse 50% 65% at 50% 100%, rgba(59, 130, 246, 0.07) 0%, transparent 58%);
}

.rooms-section::before {
    background: radial-gradient(ellipse 45% 60% at 0% 20%, rgba(229, 9, 20, 0.06) 0%, transparent 55%);
}

.how-it-works .container,
.features-section .container,
.roadmap-section .container,
.rooms-section .container {
    position: relative;
    z-index: 1;
}

.pricing-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(20, 20, 20, 0.98) 100%);
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(229, 9, 20, 0.08) 0%, transparent 60%);
}

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

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

.rooms-section-desc {
    margin-top: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.rooms-view-all-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.netflix-ui .stat-item {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.netflix-ui .stat-item:hover {
    border-color: rgba(229, 9, 20, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.netflix-ui .step-card {
    background: var(--surface-glass, rgba(24, 24, 24, 0.92));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.netflix-ui .step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 9, 20, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.netflix-ui .changelog-section {
    position: relative;
    overflow: hidden;
}

.netflix-ui .changelog-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 60% at 100% 40%, rgba(229, 9, 20, 0.06) 0%, transparent 55%);
}

.netflix-ui .changelog-section .container {
    position: relative;
    z-index: 1;
}

.netflix-ui .changelog-item {
    background: rgba(24, 24, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.netflix-ui .compare-section {
    position: relative;
    overflow: hidden;
}

.netflix-ui .compare-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 60% 70% at 0% 60%, rgba(100, 60, 180, 0.05) 0%, transparent 55%);
}

.netflix-ui .compare-section .container {
    position: relative;
    z-index: 1;
}

.netflix-ui .compare-table th {
    background: rgba(255, 255, 255, 0.04);
}

.netflix-ui .compare-table th:nth-child(2) {
    color: var(--accent-red);
}

.netflix-ui .testimonials {
    position: relative;
    overflow: hidden;
}

.netflix-ui .testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 65% at 50% 0%, rgba(229, 9, 20, 0.06) 0%, transparent 58%);
}

.netflix-ui .testimonials .container {
    position: relative;
    z-index: 1;
}

.netflix-ui .cookie-bar {
    backdrop-filter: blur(14px);
    background: rgba(24, 24, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.netflix-ui .download-cta h2 {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.netflix-ui .roadmap-item--next {
    border-left-color: rgba(255, 255, 255, 0.2);
}

.netflix-ui .roadmap-item--next .roadmap-date {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.25rem;
    }

    .rooms-header {
        align-items: flex-start;
    }
}

/* === Subpages + 404 polish === */
.netflix-ui .auth-card,
.netflix-ui .gate-card {
    background: rgba(24, 24, 24, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.netflix-ui .auth-container {
    position: relative;
    z-index: 1;
    background: transparent;
}

.netflix-ui.subpage-body .auth-container,
body.netflix-ui:has(.subpage-navbar) .page-main {
    position: relative;
    z-index: 1;
}

.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: left;
}

.auth-checkbox-label input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin: 0.15rem 0 0;
    accent-color: var(--accent-red, #e50914);
}

.auth-checkbox-label > span {
    flex: 1 1 auto;
    min-width: 0;
}

.form-check-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.avatar-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.avatar-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.avatar-option:hover,
.avatar-option.selected {
    border-color: var(--accent-red);
    opacity: 1;
    transform: scale(1.08);
}

.dash-header .section-desc,
.dash-header-desc {
    margin-left: 0;
    text-align: left;
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.error-page-inner {
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(24, 24, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 8rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #fff 20%, rgba(229, 9, 20, 0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.error-page h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 2.75rem);
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.error-page p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.error-page-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.kbd-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.kbd-hint kbd {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    font-family: inherit;
    font-size: 0.72rem;
}

/* Mood picker + My List + invite copy */
.mood-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.25rem;
}

.mood-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mood-chip i {
    color: var(--accent-red);
    font-size: 0.72rem;
}

.mood-chip:hover,
.mood-chip.active {
    color: var(--text-primary);
    border-color: rgba(229, 9, 20, 0.4);
    background: rgba(229, 9, 20, 0.12);
}

.movie-list-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 5;
    width: 1.85rem;
    height: 1.85rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.movie-poster-card:hover .movie-list-btn,
.movie-poster-card:focus-within .movie-list-btn,
.movie-list-btn.is-saved {
    opacity: 1;
    transform: scale(1);
}

.movie-list-btn.is-saved {
    color: var(--accent-red);
    background: rgba(0, 0, 0, 0.78);
}

.movie-list-btn:hover {
    background: rgba(229, 9, 20, 0.85);
    color: #fff;
}

.gate-room-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.gate-room-code-row--input {
    justify-content: stretch;
}

.gate-room-code-row--input .gate-room-input {
    flex: 1;
    margin: 0;
}

.gate-copy-btn,
.room-code-row .copy-code-btn {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.gate-copy-btn:hover,
.room-code-row .copy-code-btn:hover {
    border-color: rgba(229, 9, 20, 0.45);
    background: rgba(229, 9, 20, 0.15);
    color: #fff;
}

.copy-code-btn--copied {
    border-color: rgba(61, 220, 132, 0.55) !important;
    background: rgba(61, 220, 132, 0.18) !important;
    color: #3ddc84 !important;
    transform: scale(1.08);
}

.gate-share-btn {
    margin-top: 0.75rem;
}

.room-code-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.2rem 0;
}

.movies-empty-msg {
    padding: 2rem var(--row-inset);
    color: var(--text-secondary);
    text-align: center;
}

.movie-detail-actions {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .mood-picker {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 0.25rem;
    }

    .mood-picker::-webkit-scrollbar {
        display: none;
    }

    .movie-list-btn,
    .movie-list-btn.is-saved {
        opacity: 1;
        transform: scale(1);
    }
}

/* Room theme picker */
.room-theme-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.room-theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.65rem 0.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.22s ease;
}

.room-theme-option:hover {
    border-color: color-mix(in srgb, var(--theme-color) 50%, transparent);
    background: color-mix(in srgb, var(--theme-color) 12%, transparent);
}

.room-theme-option.is-selected {
    border-color: var(--theme-color);
    background: color-mix(in srgb, var(--theme-color) 18%, transparent);
    color: var(--text-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--theme-color) 35%, transparent);
}

.room-theme-emoji {
    font-size: 1.35rem;
    line-height: 1;
}

.room-theme-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gate-room-box.has-room-theme {
    border-color: color-mix(in srgb, var(--room-theme-color) 45%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--room-theme-color) 20%, transparent), 0 12px 32px rgba(0, 0, 0, 0.28);
}

.gate-room-theme {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--room-theme-color, #e50914) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--room-theme-color, #e50914) 35%, transparent);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.gate-room-theme-emoji {
    font-size: 1rem;
    line-height: 1;
}

.dash-room-card.has-room-theme {
    border-left: 3px solid var(--room-theme-color, #e50914);
}

.dash-room-emoji {
    margin-right: 0.15rem;
}

/* Keyboard help panel */
.keyboard-help-modal .keyboard-help-dialog {
    position: relative;
    width: min(420px, 92vw);
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 18px;
    background: rgba(24, 24, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.keyboard-help-dialog h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 0.04em;
    margin: 0.35rem 0 1.25rem;
}

.keyboard-help-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    cursor: pointer;
}

.keyboard-help-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
}

.keyboard-help-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.keyboard-help-list kbd {
    display: inline-block;
    min-width: 1.6rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.78rem;
    text-align: center;
}

.keyboard-help-keys {
    display: inline-flex;
    gap: 0.2rem;
}

@media (max-width: 480px) {
    .room-theme-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Party fun (mock effects) ── */

.starfield-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    z-index: 1;
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
}

.confetti-canvas.is-active {
    opacity: 1;
}

body.party-mode .navbar {
    box-shadow: 0 0 28px rgba(229, 9, 20, 0.55), 0 0 60px rgba(59, 130, 246, 0.25);
    animation: partyNavGlow 1.2s ease-in-out infinite alternate;
}

body.party-mode::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(ellipse at 50% 0%, rgba(236, 72, 153, 0.12), transparent 55%);
    animation: partyOverlayPulse 1.2s ease-in-out infinite alternate;
}

@keyframes partyNavGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.12); }
}

@keyframes partyOverlayPulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.sfx-toggle {
    margin-left: -0.25rem;
}

.hero-chat-ticker {
    margin-top: 1.25rem;
    max-width: 520px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-chat-ticker--compact {
    margin: 0.75rem 0 1rem;
    max-width: 100%;
}

.hero-chat-track {
    display: flex;
    gap: 0.65rem;
    width: max-content;
    animation: heroChatScroll 85s linear infinite;
}

.hero-chat-bubble {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.7rem 0.32rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-chat-room {
    flex-shrink: 0;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    font-family: 'Consolas', 'SF Mono', 'Monaco', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffb4b4;
    background: rgba(229, 9, 20, 0.22);
    border: 1px solid rgba(229, 9, 20, 0.45);
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.15);
}

.hero-chat-msg {
    color: rgba(255, 255, 255, 0.82);
}

@keyframes heroChatScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Party bar — compact strip below catalog */
.party-bar {
    padding: 0 var(--row-inset) 2rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.party-bar-inner {
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.party-bar-label {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.party-bar-live {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1 1 200px;
    min-width: 0;
}

.party-bar-compare {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.party-bar-compare-slots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.party-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    margin-left: auto;
}

.party-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.party-bar-btn:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.party-bar-btn--accent {
    border-color: rgba(229, 9, 20, 0.45);
    background: rgba(229, 9, 20, 0.15);
    color: #ffb4b4;
}

.party-bar-btn--accent:hover {
    background: rgba(229, 9, 20, 0.28);
    color: #fff;
}

.party-bar-result {
    margin: 0.45rem 0 0;
    padding-left: 0.25rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    min-height: 1.1rem;
}

.movies-section--primary {
    padding-top: 1.5rem;
    margin-top: 0.25rem;
}

.movies-section--primary::before {
    display: none;
}

.movies-section--primary .movies-inner {
    position: relative;
    z-index: 1;
}

.section-flow {
    position: relative;
}

.section-flow::before {
    display: none;
}

.top-picks-strip.section-flow::before {
    display: none;
}

/* legacy party-tools — removed */
.party-tools-section,
.party-tools-grid,
.party-tools-card {
    display: none;
}

.whos-watching-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
}

.whos-watching-strip::-webkit-scrollbar {
    display: none;
}

.watching-person {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem 0.2rem 0.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.72rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.watching-person img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.film-compare-grid,
.party-bar-compare-slots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.film-compare-slot {
    min-width: 0;
}

.film-compare-vs {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-red);
    opacity: 0.75;
    padding: 0 0.1rem;
}

.compare-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: transform 0.2s var(--cinema-ease);
}

.compare-pick:hover {
    transform: translateY(-3px);
}

.compare-poster-frame {
    position: relative;
    width: 44px;
    max-width: 44px;
    aspect-ratio: 2 / 3;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.2s, transform 0.2s;
}

.compare-pick:hover .compare-poster-frame {
    border-color: rgba(229, 9, 20, 0.55);
    transform: scale(1.06);
}

.compare-poster-frame .movie-poster-img,
.compare-poster-frame .movie-poster-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-pick-title {
    font-weight: 600;
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.25;
    max-width: 110px;
}

.compare-pick-year {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.film-compare-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.film-compare-result {
    margin-top: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    min-height: 1.2rem;
}

.tonights-pick-banner {
    width: 100%;
}

.tonights-pick-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tonights-pick-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.tonights-pick-copy {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.tonights-pick-copy strong {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.catalog-loading-quote {
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-height: 1.25rem;
}

.fake-trailer-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: none;
    background: rgba(229, 9, 20, 0.92);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, background 0.2s;
    z-index: 2;
}

.fake-trailer-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: #f40612;
}

.fake-trailer-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.82);
    border-radius: inherit;
}

.fake-trailer-overlay[hidden] {
    display: none !important;
}

.fake-trailer-overlay-inner {
    text-align: center;
    padding: 1rem;
}

.fake-trailer-pulse {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.fake-trailer-overlay-inner p {
    font-weight: 600;
    margin-bottom: 0.75rem;
}


@media (max-width: 900px) {
    .party-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .party-bar-actions {
        margin-left: 0;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .film-compare-grid {
        gap: 0.4rem;
    }

    .compare-poster-frame {
        max-width: 88px;
    }

    .tonights-pick-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

[data-theme="light"] .hero-chat-bubble,
[data-theme="light"] .watching-person,
[data-theme="light"] .party-bar-inner {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-chat-bubble {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-chat-room {
    color: #b20710;
    background: rgba(229, 9, 20, 0.1);
    border-color: rgba(229, 9, 20, 0.3);
}

[data-theme="light"] .starfield-canvas {
    opacity: 0;
}

/* ── Starfield visible through full page scroll ── */
body.netflix-ui {
    background: transparent;
}

body.netflix-ui .ambient-bg {
    background-color: #0a0a0c;
}

[data-theme="light"] body.netflix-ui {
    background: var(--bg-primary);
}

[data-theme="light"] body.netflix-ui .ambient-bg {
    background-color: transparent;
}

.netflix-ui .movies-section,
.movies-section,
.netflix-ui .platforms-section,
.netflix-ui .stats,
.netflix-ui .why-section,
.netflix-ui .testimonials,
.testimonials,
.profile-promo,
.netflix-ui .changelog-section,
.changelog-section,
.netflix-ui .pricing-section,
.pricing-section,
.netflix-ui .compare-section,
.netflix-ui .download-cta,
.download-cta,
.netflix-ui .top-picks-strip,
.netflix-ui .coming-soon-strip,
.party-bar,
.faq-section,
.why-section {
    background: transparent !important;
}

.netflix-ui .site-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.22) 100%) !important;
}

.netflix-ui .download-cta-bg {
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(229, 9, 20, 0.14) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%) !important;
}

.hero::after {
    background: linear-gradient(0deg, rgba(10, 10, 12, 0.28) 0%, transparent 100%);
}

.badge-room-pin {
    background: rgba(139, 21, 56, 0.9);
    color: #ffd4dc;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.badge-age-18 {
    background: rgba(229, 9, 20, 0.88);
    color: #fff;
    font-weight: 700;
}

.room-card--pinned {
    border: 1px solid rgba(229, 9, 20, 0.28);
    box-shadow: 0 0 0 1px rgba(139, 21, 56, 0.2), 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Desktop app — in-room watch mock */
body.app-watch-body {
    margin: 0;
    min-height: 100vh;
    background: #0b0b0f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
}

.app-watch-shell {
    --room-theme-color: #8b1538;
    width: min(1280px, 100%);
    height: min(760px, calc(100vh - 2.5rem));
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    background: #121218;
}

.app-watch-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.85rem;
    background: linear-gradient(180deg, #1d1d24 0%, #14141a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-watch-titlebar-left,
.app-watch-titlebar-center,
.app-watch-titlebar-controls {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.app-watch-titlebar-center {
    flex: 1;
    justify-content: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-watch-brand {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.app-watch-room-pill {
    font-family: Consolas, 'SF Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffb4b4;
    background: rgba(229, 9, 20, 0.18);
    border: 1px solid rgba(229, 9, 20, 0.35);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
}

.app-watch-titlebar-controls span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.app-watch-close-dot {
    background: #ff5f57 !important;
}

.app-watch-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    min-height: 0;
}

.app-watch-stage {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #09090d;
}

.app-watch-video-wrap {
    flex: 1;
    min-height: 0;
    padding: 0.85rem 0.85rem 0;
}

.app-watch-video {
    position: relative;
    height: 100%;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0810 0%, #0d0508 55%, #12060a 100%);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.45);
}

.app-watch-poster-art,
.app-watch-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-watch-poster-img.is-missing {
    opacity: 0;
}

.app-watch-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.55) 100%),
        radial-gradient(circle at 70% 20%, rgba(229, 9, 20, 0.12), transparent 45%);
    pointer-events: none;
}

.app-watch-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.app-watch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.app-watch-badge--live {
    background: rgba(229, 9, 20, 0.88);
    color: #fff;
}

.app-watch-badge--live i {
    font-size: 0.45rem;
}

.app-watch-badge--age {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 120, 120, 0.45);
    color: #ffb4b4;
}

.app-watch-badge--sync {
    margin-left: auto;
    background: rgba(20, 120, 60, 0.75);
    color: #d8ffe7;
}

.app-watch-controls {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(18, 18, 24, 0.4), #121218);
}

.app-watch-now-playing h1 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 0.2rem;
}

.app-watch-now-playing p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.app-watch-progress {
    margin-top: 0.85rem;
}

.app-watch-progress-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.app-watch-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--room-theme-color), #e50914);
}

.app-watch-progress-times {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.app-watch-transport {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.app-watch-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: default;
}

.app-watch-btn--play {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #111;
}

.app-watch-btn--ghost {
    margin-left: auto;
}

.app-watch-volume {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.app-watch-volume-bar {
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    display: block;
}

.app-watch-volume-bar span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.75);
}

.app-watch-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    background: #101015;
}

.app-watch-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0.85rem 0.5rem;
}

.app-watch-sidebar-head h2 {
    margin: 0;
    font-size: 0.92rem;
}

.app-watch-viewers-count {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

.watch-viewers-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 0.85rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.watch-viewer {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.45rem 0.2rem 0.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.78);
}

.watch-viewer img {
    border-radius: 50%;
}

.watch-viewer--host {
    border: 1px solid rgba(229, 9, 20, 0.45);
}

.watch-chat-messages {
    flex: 1;
    overflow: auto;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.watch-chat-line {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.watch-chat-user {
    color: #ff9f9f;
    font-weight: 600;
    margin-right: 0.35rem;
}

.watch-chat-text {
    color: rgba(255, 255, 255, 0.78);
}

.watch-chat-compose {
    display: flex;
    gap: 0.45rem;
    padding: 0.75rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.watch-chat-compose input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
}

.watch-chat-compose button {
    width: 38px;
    border: none;
    border-radius: 8px;
    background: rgba(229, 9, 20, 0.35);
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 960px) {
    .app-watch-layout {
        grid-template-columns: 1fr;
    }

    .app-watch-sidebar {
        display: none;
    }
}

/* Poster play overlay + playback unavailable */
.movie-poster-card:hover .movie-poster-wrap {
    box-shadow:
        0 0 0 2px var(--accent-red),
        0 8px 24px rgba(0, 0, 0, 0.45),
        0 0 14px rgba(229, 9, 20, 0.18);
}

.movie-poster-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.72) 100%);
    transition: opacity 0.22s ease;
}

.movie-poster-play-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.movie-poster-card:hover .movie-poster-play-overlay,
.movie-poster-play-overlay--compact {
    gap: 0;
}

.movie-poster-play-btn,
.movie-poster-info-btn,
.movie-poster-fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(20, 20, 20, 0.55);
    color: #fff;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.movie-poster-fav-btn.movie-list-btn {
    position: static;
    opacity: 1;
    transform: none;
    padding: 0;
}

.movie-poster-fav-btn.is-saved {
    background: rgba(229, 9, 20, 0.88);
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
}

.movie-poster-play-btn--main {
    width: 2.85rem;
    height: 2.85rem;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-size: 0.95rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.movie-poster-play-btn--main i {
    margin-left: 2px;
}

.movie-poster-play-btn:hover,
.movie-poster-info-btn:hover,
.movie-poster-fav-btn:hover {
    transform: scale(1.08);
}

.movie-poster-play-btn--main:hover {
    background: #fff;
}

.movie-player-modal {
    position: fixed;
    z-index: 2600;
    background: rgba(0, 0, 0, 0.96);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.movie-player-shell {
    width: min(96vw, 1100px);
    max-height: min(92vh, 820px);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #09090d;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.movie-player-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(12, 12, 16, 0.95);
}

.movie-player-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.movie-player-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.movie-player-topbar-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-player-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.movie-player-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.movie-player-poster,
.movie-player-poster .movie-poster-img,
.movie-player-poster .movie-poster-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-player-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.75) 100%),
        radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.movie-player-unavailable {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
}

.movie-player-unavailable h3 {
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    margin: 0 0 0.85rem;
    font-weight: 700;
}

.movie-player-bar {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0c0c10;
}

.movie-player-bar-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.movie-player-meta {
    margin: 0.2rem 0 0.65rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.movie-player-progress-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.movie-player-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--accent-red);
}

.movie-player-progress-times {
    display: flex;
    justify-content: space-between;
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
}

.movie-player-transport {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
}

.movie-player-transport button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 0.85rem;
    pointer-events: none;
}

.movie-player-transport-play {
    width: 2.35rem !important;
    height: 2.35rem !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.movie-player-volume {
    margin-left: auto;
    font-size: 0.85rem;
}

.playback-unavailable-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #e50914;
}

.playback-unavailable-text {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
}

.playback-unavailable-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.12);
    font-size: 1.35rem;
}

.playback-unavailable-controls-play {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.playback-download-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 200px;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #e50914 0%, #b20710 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25), 0 8px 24px rgba(229, 9, 20, 0.35);
}

.playback-download-app-btn:hover {
    filter: brightness(1.08);
}

@media (hover: none) {
    .movie-poster-play-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Create room — movie picker */
.room-movie-results {
    margin-top: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #141418;
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
}

.room-movie-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.room-movie-result:last-child {
    border-bottom: 0;
}

.room-movie-result:hover:not(:disabled) {
    background: rgba(229, 9, 20, 0.12);
}

.room-movie-result small {
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.room-movie-picked {
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.room-movie-picked i {
    color: var(--accent-red, #e50914);
    margin-right: 0.25rem;
}

/* Watch room — same site warning, no video */
.app-watch-unavailable {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
}

.app-watch-unavailable[hidden] {
    display: none !important;
}

.app-watch-unavailable h3 {
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    margin: 0 0 0.85rem;
    font-weight: 700;
}

.app-watch-unavailable .playback-unavailable-text {
    max-width: 32rem;
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

.watch-viewer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.55rem;
    margin: 0 0.35rem 0.35rem 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.watch-viewer--host {
    color: #3dd68c;
}

.watch-viewer-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3dd68c;
}

.watch-chat-compose input:not(:disabled),
.watch-chat-compose button:not(:disabled) {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.watch-chat-compose input:not(:disabled) {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
}

.watch-chat-compose button:not(:disabled) {
    background: #e50914;
    color: #fff;
}

.watch-chat-status {
    margin: 0 0.85rem 0.35rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

.watch-chat-status.is-error {
    color: #ff8a8a;
}

.watch-chat-line.is-pending {
    opacity: 0.55;
}

.watch-chat-line.is-failed .watch-chat-text {
    color: #ff8a8a;
    text-decoration: line-through;
}

/* Account settings + legal + invite polish */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

.footer-build {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-build strong {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.nav-user-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-user-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
}

.nav-user-settings:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.dash-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.dash-room-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.settings-panel--wide {
    grid-column: 1 / -1;
}

.settings-hint {
    margin: 0 0 0.85rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.settings-avatar-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.settings-avatar {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 0;
    background: rgba(255, 255, 255, 0.06);
}

.settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.settings-avatar-picker {
    flex: 1;
    min-width: 0;
}

.settings-avatar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.settings-avatar-grid {
    display: none;
}

.settings-avatar-opt {
    display: none;
}

.dash-header-identity {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.dash-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-user-avatar {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.settings-status {
    margin: 0.75rem 0 0;
    color: #86efac;
    font-size: 0.85rem;
}

.settings-devices {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.settings-device {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.settings-device.is-current {
    border-color: rgba(229, 9, 20, 0.45);
}

.settings-device-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

.settings-device strong {
    display: block;
    font-size: 0.92rem;
}

.settings-device span {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.legal-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.auth-checkbox-label a {
    color: var(--accent-red, #e50914);
    text-decoration: underline;
}

@media (max-width: 860px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-panel--wide {
        grid-column: auto;
    }
}

