/* Public landing — cinematic streaming site look */
:root {
    --vh-bg: #07080c;
    --vh-bg-elevated: #0f1219;
    --vh-surface: rgba(255, 255, 255, 0.04);
    --vh-border: rgba(255, 255, 255, 0.08);
    --vh-text: #f0f2f7;
    --vh-muted: #8b93a7;
    --vh-accent: #3d8bfd;
    --vh-accent-soft: rgba(61, 139, 253, 0.15);
    --vh-glow: rgba(61, 139, 253, 0.35);
    --vh-radius: 14px;
    --vh-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--vh-font);
    background: var(--vh-bg);
    color: var(--vh-text);
    line-height: 1.55;
    min-height: 100vh;
}

a {
    color: var(--vh-accent);
    text-decoration: none;
    transition: color 0.15s, opacity 0.15s;
}

a:hover {
    color: #6ba3ff;
}

/* Ambient background */
.vh-bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--vh-accent-soft), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(120, 80, 255, 0.08), transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 200, 150, 0.06), transparent 45%);
}

.vh-shell {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

/* Header */
.vh-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--vh-border);
}

.vh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.vh-brand:hover {
    color: inherit;
    opacity: 0.92;
}

.vh-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--vh-accent), #6b5ce7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--vh-glow);
}

.vh-brand-mark svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.vh-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.vh-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vh-nav a {
    font-size: 14px;
    color: var(--vh-muted);
    padding: 8px 14px;
    border-radius: 8px;
}

.vh-nav a:hover {
    color: var(--vh-text);
    background: var(--vh-surface);
}

.vh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.vh-btn-primary {
    background: linear-gradient(135deg, var(--vh-accent), #5b6cf0);
    color: #fff !important;
    box-shadow: 0 4px 24px var(--vh-glow);
}

.vh-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--vh-glow);
    color: #fff !important;
}

.vh-btn-ghost {
    background: var(--vh-surface);
    color: var(--vh-text) !important;
    border: 1px solid var(--vh-border);
}

.vh-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--vh-text) !important;
}

/* Hero */
.vh-hero {
    padding: 56px 0 48px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.vh-hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--vh-accent);
    background: var(--vh-accent-soft);
    border: 1px solid rgba(61, 139, 253, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.vh-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.vh-hero p {
    font-size: 1.1rem;
    color: var(--vh-muted);
    margin: 0 0 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.vh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Stats strip */
.vh-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

@media (max-width: 640px) {
    .vh-stats {
        grid-template-columns: 1fr;
    }
}

.vh-stat {
    text-align: center;
    padding: 20px 16px;
    background: var(--vh-surface);
    border: 1px solid var(--vh-border);
    border-radius: var(--vh-radius);
}

.vh-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--vh-text);
    letter-spacing: -0.02em;
}

.vh-stat span {
    font-size: 13px;
    color: var(--vh-muted);
}

/* Section */
.vh-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.vh-section-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.vh-section-head p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--vh-muted);
}

/* Catalog grid */
.vh-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.vh-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--vh-bg-elevated);
    border: 1px solid var(--vh-border);
    border-radius: var(--vh-radius);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.vh-card:hover {
    color: inherit;
    transform: translateY(-4px);
    border-color: rgba(61, 139, 253, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.vh-card-poster {
    aspect-ratio: 2 / 3;
    background: linear-gradient(160deg, #1a1f2e 0%, #0d1018 100%);
    position: relative;
    overflow: hidden;
}

.vh-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vh-card-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, #1e2433, #12151c);
}

.vh-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s;
}

.vh-card:hover .vh-card-play {
    opacity: 1;
}

.vh-card-play span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.vh-card-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
    fill: #111;
}

.vh-card-body {
    padding: 14px 16px 16px;
}

.vh-card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vh-card-meta {
    font-size: 12px;
    color: var(--vh-muted);
}

/* Features */
.vh-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

@media (max-width: 768px) {
    .vh-features {
        grid-template-columns: 1fr;
    }
}

.vh-feature {
    padding: 24px;
    background: var(--vh-surface);
    border: 1px solid var(--vh-border);
    border-radius: var(--vh-radius);
}

.vh-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--vh-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.vh-feature h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    font-weight: 600;
}

.vh-feature p {
    margin: 0;
    font-size: 14px;
    color: var(--vh-muted);
}

/* Empty state */
.vh-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--vh-surface);
    border: 1px dashed var(--vh-border);
    border-radius: var(--vh-radius);
    color: var(--vh-muted);
    margin-bottom: 56px;
}

/* Footer */
.vh-footer {
    padding-top: 32px;
    border-top: 1px solid var(--vh-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--vh-muted);
}

.vh-footer-links {
    display: flex;
    gap: 20px;
}

.vh-footer a {
    color: var(--vh-muted);
}

.vh-footer a:hover {
    color: var(--vh-text);
}
