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

:root {
    --bg:         #0A0A0F;
    --surface:    #13131A;
    --surface2:   #1C1C26;
    --border:     #2A2A38;
    --amber:      #F5A623;
    --amber-dim:  rgba(245,166,35,0.13);
    --amber-glow: rgba(245,166,35,0.35);
    --text:       #F0F0F0;
    --muted:      #888;
    --red:        #E5534B;
    --green:      #3FB950;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* film-strip top bar */
body::before {
    content: '';
    display: block;
    height: 6px;
    background: repeating-linear-gradient(
    to right,
    var(--amber) 0px, var(--amber) 18px,
    transparent 18px, transparent 26px
    );
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
}

/* ═══════════════════════════════════════════════
    PAGES (SPA routing)
═══════════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════════════
    NAV (shared)
═══════════════════════════════════════════════ */
nav {
    position: sticky;
    top: 6px;
    background: rgba(10,10,15,0.93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1500;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 1rem;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}
.logo span { color: var(--amber); }

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }

/* ── NAV SEARCH (desktop inline) ── */
.nav-search-wrap {
    position: relative;
    width: 260px;
    flex-shrink: 0;
}
.nav-search-wrap input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    padding: 0.45rem 2.2rem 0.45rem 0.8rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.nav-search-wrap input::placeholder { color: var(--muted); }
.nav-search-wrap input:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-dim);
}
.nav-search-icon {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.9rem;
    pointer-events: none;
}

/* ── MOBILE SEARCH ICON BUTTON ── */
.nav-search-btn {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px; height: 36px;
    border-radius: 8px;
    align-items: center; justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.nav-search-btn:hover { border-color: var(--amber); }

/* ── MOBILE SEARCH OVERLAY ── */
.search-overlay {
    display: none;
    position: fixed;
    top: 6px; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 4000;
    padding: 0.75rem 1rem;
    gap: 0.65rem;
    align-items: center;
}
.search-overlay.open { display: flex; }

.search-overlay-inner {
    flex: 1;
    position: relative;
}
.search-overlay-inner input {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--amber-glow);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.65rem 2.4rem 0.65rem 1rem;
    border-radius: 8px;
    outline: none;
    box-shadow: 0 0 0 3px var(--amber-dim);
}
.search-overlay-inner input::placeholder { color: var(--muted); }
.search-overlay-icon {
    position: absolute;
    right: 0.75rem; top: 50%;
    transform: translateY(-50%);
    color: var(--muted); font-size: 0.9rem;
    pointer-events: none;
}

.search-overlay-cancel {
    background: transparent;
    border: none;
    color: var(--amber);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.3rem 0;
    white-space: nowrap;
    flex-shrink: 0;
}

/* overlay dropdown sits below the overlay bar */
.search-overlay .search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
}

/* ── LIVE DROPDOWN (shared) ── */
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    z-index: 3000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
    display: none;
    max-height: 70vh;
    overflow-y: auto;
}
.search-dropdown.open { display: block; }

.drop-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.8rem;
    cursor: pointer;
    transition: background 0.12s;
    border-bottom: 1px solid var(--border);
}
.drop-item:last-child { border-bottom: none; }
.drop-item:hover { background: var(--surface2); }

.drop-thumb {
    width: 36px;
    height: 54px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    background: var(--surface2);
}
.drop-thumb-placeholder {
    width: 36px;
    height: 54px;
    border-radius: 3px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.drop-info { flex: 1; min-width: 0; }
.drop-title {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drop-meta { font-size: 0.7rem; color: var(--muted); margin-top: 0.15rem; }
.drop-rate {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--amber);
    flex-shrink: 0;
}
.drop-loading, .drop-empty {
    padding: 1rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════
    HOME PAGE
═══════════════════════════════════════════════ */

/* HERO */
.hero {
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 70%);
}
.hero-eyebrow {
    display: inline-block;
    background: var(--amber-dim);
    border: 1px solid var(--amber-glow);
    color: var(--amber);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 2px;
    margin-bottom: 1.4rem;
}
.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* STATS */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2.5rem 2rem 0;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--amber);
    letter-spacing: 0.05em;
}
.stat-label {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.1rem;
}

/* SECTIONS */
.section { padding: 3.5rem 2rem; }

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.04em;
}
.section-tag {
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--border);
    padding: 0.18rem 0.5rem;
    border-radius: 2px;
}
.type-tabs {
    display: flex;
    gap: 0.4rem;
    margin-left: auto;
}
.tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.55rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s;
}
.tab-btn.active, .tab-btn:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-dim);
}

/* CAROUSEL */
.carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.carousel::-webkit-scrollbar { height: 4px; }
.carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
}

/* CARD */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    flex: 0 0 180px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}
.card:hover { border-color: var(--amber); transform: translateY(-3px); }
.card.grid-card { flex: unset; }

.card-poster {
    width: 100%; aspect-ratio: 2/3; object-fit: cover;
    display: block; background: var(--surface2);
}
.card-poster-placeholder {
    width: 100%; aspect-ratio: 2/3; background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    color: var(--border); font-size: 2rem;
}
.card-body { padding: 0.75rem; }
.card-title {
    font-size: 0.82rem; font-weight: 600; line-height: 1.35;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta { font-size: 0.7rem; color: var(--muted); margin-bottom: 0.4rem; }

.earn-badge {
    position: absolute; top: 0.5rem; right: 0.5rem;
    background: var(--amber); color: #000;
    font-size: 0.62rem; font-weight: 700;
    padding: 0.18rem 0.42rem; border-radius: 3px; letter-spacing: 0.03em;
}

.card-footer {
    padding: 0 0.75rem 0.75rem;
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.card-rate { font-size: 0.7rem; color: var(--muted); }
.card-rate strong { color: var(--amber); font-weight: 700; }

.btn-apply {
    background: var(--amber); color: #000; border: none;
    border-radius: 3px; padding: 0.32rem 0.7rem;
    font-size: 0.7rem; font-weight: 700;
    font-family: 'Inter', sans-serif; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.06em;
    transition: opacity 0.15s; white-space: nowrap;
}
.btn-apply:hover { opacity: 0.8; }

/* SKELETONS */
.skeleton-card {
    border-radius: 6px; overflow: hidden; background: var(--surface);
    flex: 0 0 180px;
}
.skeleton-card.grid-sk { flex: unset; }
.skeleton-poster {
    width: 100%; aspect-ratio: 2/3;
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%);
    background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
.skeleton-text {
    height: 9px; border-radius: 3px; margin: 0.75rem;
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%);
    background-size: 200% 100%; animation: shimmer 1.4s infinite;
}
.skeleton-text.short { width: 55%; }
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem; text-align: center;
    color: var(--muted); font-size: 0.78rem;
}
footer a { color: var(--amber); text-decoration: none; }

/* ═══════════════════════════════════════════════
    REVIEWER PAGE
═══════════════════════════════════════════════ */
.reviewer-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto;
    gap: 0;
    min-height: calc(100vh - 62px);
}

/* ── LEFT MAIN ── */
.reviewer-main { padding: 1.5rem 1.5rem 1.5rem 2rem; }

/* breadcrumb */
.breadcrumb {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.75rem; color: var(--muted); margin-bottom: 1.2rem;
}
.breadcrumb a {
    color: var(--muted); text-decoration: none; transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { opacity: 0.4; }

/* VIDEO PLAYER */
.player-wrap {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
}

.player-backdrop {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.22) blur(2px);
    position: absolute; top: 0; left: 0;
}

.player-lock {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.1rem;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.lock-icon {
    width: 64px; height: 64px;
    background: rgba(245,166,35,0.12);
    border: 2px solid var(--amber-glow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}

.lock-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
}
.lock-sub {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 320px;
    line-height: 1.5;
}

.btn-unlock {
    background: var(--amber);
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.15s, transform 0.15s;
}
.btn-unlock:hover { opacity: 0.88; transform: scale(1.02); }

.player-controls-ghost {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 52px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex; align-items: center; padding: 0 1rem; gap: 0.75rem;
    z-index: 3;
}
.ghost-play {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.ghost-bar {
    flex: 1; height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
    position: relative;
}
.ghost-bar::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 0%; height: 100%;
    background: var(--amber); border-radius: 2px;
}
.ghost-time { font-size: 0.7rem; color: rgba(255,255,255,0.3); }

/* MOVIE INFO below player */
.movie-info { margin-top: 1.4rem; }

.movie-info-top {
    display: flex; align-items: flex-start;
    gap: 1rem; margin-bottom: 1rem;
}

.info-poster {
    width: 72px; border-radius: 5px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.info-text { flex: 1; }

.info-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.info-pills {
    display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem;
}
.pill {
    font-size: 0.68rem;
    padding: 0.18rem 0.5rem;
    border-radius: 3px;
    border: 1px solid var(--border);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.pill.amber { border-color: var(--amber-glow); color: var(--amber); background: var(--amber-dim); }
.pill.green { border-color: rgba(63,185,80,0.4); color: var(--green); background: rgba(63,185,80,0.08); }

.info-overview {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    margin-top: 0.75rem;
}

/* REVIEWER TOOLS */
.reviewer-tools {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.tools-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1rem;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.9rem 0.75rem;
    text-align: center;
    opacity: 0.5;
    position: relative;
}
.tool-card::after {
    content: '🔒';
    position: absolute;
    top: 0.4rem; right: 0.4rem;
    font-size: 0.6rem;
}
.tool-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.tool-label { font-size: 0.7rem; color: var(--muted); font-weight: 500; }

/* RATING WIDGET (locked) */
.rating-widget {
    margin-top: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    opacity: 0.45;
    pointer-events: none;
}
.rating-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.stars { font-size: 1.4rem; letter-spacing: 0.1em; color: var(--border); }
.review-textarea {
    width: 100%;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    padding: 0.6rem 0.75rem;
    resize: none;
    margin-top: 0.7rem;
    height: 70px;
    outline: none;
}
.review-submit {
    margin-top: 0.6rem;
    background: var(--amber);
    border: none; border-radius: 3px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem; font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ── RIGHT SIDEBAR ── */
.reviewer-sidebar {
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 62px);
    position: sticky;
    top: 62px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.reviewer-sidebar::-webkit-scrollbar { width: 4px; }
.reviewer-sidebar::-webkit-scrollbar-thumb { background: var(--border); }

/* Job card at top of sidebar */
.job-card {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(245,166,35,0.06) 100%);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem;
}
.job-card-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amber);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.job-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}
.job-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.9rem;
}
.job-pay {
    font-size: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--amber);
    letter-spacing: 0.05em;
}
.job-pay-label { font-size: 0.68rem; color: var(--muted); }
.job-spots {
    font-size: 0.72rem;
    color: var(--muted);
    display: flex; align-items: center; gap: 0.3rem;
}
.job-spots::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.btn-apply-big {
    display: block; width: 100%;
    background: var(--amber); color: #000;
    border: none; border-radius: 5px;
    padding: 0.8rem;
    font-size: 0.88rem; font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.15s;
    text-align: center;
}
.btn-apply-big:hover { opacity: 0.86; }

.job-details { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.5rem; }
.job-detail-row {
    display: flex; justify-content: space-between;
    font-size: 0.75rem;
}
.job-detail-key { color: var(--muted); }
.job-detail-val { font-weight: 600; color: var(--text); }

/* Requirements */
.sidebar-block {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-block-title {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.req-item {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.78rem; margin-bottom: 0.5rem; line-height: 1.4;
}
.req-check { color: var(--green); flex-shrink: 0; margin-top: 0.05rem; }

/* Reviewer earnings breakdown */
.earnings-table { width: 100%; }
.earnings-row {
    display: flex; justify-content: space-between;
    font-size: 0.78rem; padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
}
.earnings-row:last-child { border-bottom: none; font-weight: 700; }
.earnings-key { color: var(--muted); }
.earnings-val { color: var(--text); }
.earnings-row.total .earnings-key { color: var(--text); }
.earnings-row.total .earnings-val { color: var(--amber); font-size: 0.9rem; }

/* Similar titles */
.similar-item {
    display: flex; gap: 0.7rem; align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.12s;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.similar-item:hover { background: var(--surface2); }
.similar-item:last-child { border-bottom: none; }
.sim-thumb {
    width: 40px; height: 60px;
    object-fit: cover; border-radius: 3px;
    background: var(--surface2); flex-shrink: 0;
}
.sim-thumb-ph {
    width: 40px; height: 60px;
    background: var(--surface2);
    border-radius: 3px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.sim-info { flex: 1; min-width: 0; }
.sim-title {
    font-size: 0.78rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sim-meta { font-size: 0.68rem; color: var(--muted); margin-top: 0.15rem; }
.sim-rate { font-size: 0.68rem; font-weight: 700; color: var(--amber); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
    RESPONSIVE
═══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
    .reviewer-layout { grid-template-columns: 1fr; }
    .reviewer-sidebar {
    position: static; height: auto;
    border-left: none; border-top: 1px solid var(--border);
    }
}

/* Mobile: hide desktop search in nav, show icon button */
@media (max-width: 700px) {
    nav { padding: 0 1rem; gap: 0.75rem; }
    .nav-links { display: none; }
    .nav-search-wrap { display: none; }
    .nav-search-btn { display: flex; }

    .hero { padding: 3rem 1.25rem 2.5rem; }
    .hero p { font-size: 0.95rem; }

    .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem 1.5rem 0;
    }
    .stat { padding: 1rem; background: var(--surface); border-radius: 8px; }

    .section { padding: 2rem 1rem; }
    .section-header { gap: 0.5rem; }
    .section-tag { display: none; }

    /* Carousel cards: slightly wider on small screens so 2 peek */
    .card { flex: 0 0 155px; }
    .skeleton-card { flex: 0 0 155px; }

    /* Grid: 2 columns on mobile */
    .grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

    /* Reviewer page */
    .reviewer-main { padding: 1rem; }

    /* Locked player: scale down text on small screens */
    .lock-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .lock-title { font-size: 1.2rem; }
    .lock-sub { font-size: 0.78rem; }
    .btn-unlock { padding: 0.65rem 1.4rem; font-size: 0.82rem; }

    /* Info section: stack poster + title */
    .movie-info-top { gap: 0.75rem; }
    .info-poster { width: 56px; }
    .info-title { font-size: 1.3rem; }

    /* Tools grid: 3 across still fine */
    .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .tool-card { padding: 0.65rem 0.5rem; }
    .tool-icon { font-size: 1.1rem; }
    .tool-label { font-size: 0.62rem; }
}

/* Very small phones */
@media (max-width: 380px) {
    .card { flex: 0 0 140px; }
    .skeleton-card { flex: 0 0 140px; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { padding: 1.5rem 0.75rem 0; }
}
