html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(37, 99, 235, 0.36));
    color: #67e8f9;
    border: 1px solid rgba(34, 211, 238, 0.35);
    font-weight: 800;
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.22);
}

.logo-mark.small {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
}

.search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 1;
}

.search-icon.mobile {
    top: 1.85rem;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
}

.menu-lines::before {
    transform: translateY(-0.45rem);
}

.menu-lines::after {
    transform: translateY(0.35rem);
}

.hero-shell {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
}

.hero-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.48);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.38);
    background: rgba(8, 145, 178, 0.16);
    color: #67e8f9;
    padding: 0.35rem 0.8rem;
    font-size: 0.875rem;
}

.section-eyebrow {
    color: #22d3ee;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.movie-card {
    min-width: 0;
}

.compact-card img {
    height: 13rem;
}

.channel-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.55);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.38);
    box-shadow: 0 18px 45px rgba(8, 145, 178, 0.2);
}

.rank-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: white;
    font-weight: 800;
    flex-shrink: 0;
}

.player-shell {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.82));
    transition: opacity 220ms ease, visibility 220ms ease;
    z-index: 3;
}

.play-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button-face {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: white;
    box-shadow: 0 0 45px rgba(34, 211, 238, 0.45);
    font-weight: 800;
    transform: scale(1);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.play-overlay:hover .play-button-face {
    transform: scale(1.06);
    box-shadow: 0 0 65px rgba(34, 211, 238, 0.6);
}

.filter-empty {
    display: none;
}

.filter-empty.is-visible {
    display: block;
}

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

@media (max-width: 768px) {
    .hero-shell {
        min-height: 74vh;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .compact-card img,
    .movie-card img {
        height: 12rem;
    }
}
