/* Kove — midnight violet theme */
:root {
    color-scheme: dark;
    --bg: #0e0a17;
    --surface: #191123;
    --accent: #b36aff;
    --muted: #b6a9c8;
    --border: rgba(186, 125, 255, .2);
    --gradient: linear-gradient(120deg, #8134e5, #ab3de2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { color: #faf6ff; background: radial-gradient(ellipse at 0 32%, #41136955, transparent 30%), radial-gradient(ellipse at 100% 65%, #5c168633, transparent 30%), var(--bg); font-family: 'Poppins', sans-serif; min-width: 320px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #d9a8ff; outline-offset: 5px; }
[hidden] { display: none !important; }
header { position: relative; z-index: 100; max-width: 1440px; margin: auto; padding: 27px 5%; display: flex; align-items: center; gap: 28px; }
.logo { font-family: 'Orbitron', sans-serif; font-size: 29px; font-weight: 700; letter-spacing: -1px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 25px; list-style: none; margin-right: auto; }
.nav-links a { font-size: 12px; color: var(--muted); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #dcb5ff; }
.search-box { position: relative; }
.search-box input { width: 175px; border: 1px solid var(--border); border-radius: 30px; background: #ffffff05; color: white; padding: 10px 32px 10px 15px; font-size: 11px; }
.search-box input::placeholder { color: var(--muted); }
.search-box i { position: absolute; right: 13px; top: 13px; color: var(--muted); font-size: 12px; }
.nav-auth { display: flex; align-items: center; gap: 15px; font-size: 12px; white-space: nowrap; }
.btn-login { color: #d9c8ed; }
.btn-signup { padding: 10px 20px; background: var(--gradient); border: 1px solid #bd69f1; border-radius: 25px; box-shadow: 0 3px 22px #962ce52b; }
.profile-menu { position: relative; }
.profile-toggle { color: white; background: var(--surface); border: 1px solid var(--border); border-radius: 25px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; max-width: 220px; overflow-wrap: anywhere; white-space: normal; }
.profile-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: 215px; background: #21142e; border: 1px solid var(--border); border-radius: 14px; padding: 8px; box-shadow: 0 15px 40px #0008; }
.profile-dropdown.open { display: grid; }
.profile-dropdown a { padding: 12px; border-radius: 8px; }
.profile-dropdown a:hover { background: #ad62fa22; }
.toggle-menu { display: none; background: transparent; color: white; border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px; }
.hero-carousel { position: relative; isolation: isolate; max-width: 1296px; margin: 14px auto 0; height: 590px; border: 1px solid var(--border); border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 80% 45%, #7423b84d, transparent 55%), linear-gradient(120deg, #130c20, #0e0a18 55%, #281039); }
.hero-carousel::after { content: ''; position: absolute; width: 350px; height: 350px; border-radius: 50%; background: #a32dff; filter: blur(130px); opacity: .15; bottom: -300px; left: 25%; pointer-events: none; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; padding: 58px 6%; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s, visibility .6s; }
.slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.content { position: relative; z-index: 2; min-width: 0; }
.kove-label, .eyebrow { font-size: 10px; letter-spacing: 2.5px; font-weight: 600; color: #c393f1; margin-bottom: 18px; }
.kove-label::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 12px var(--accent); }
.movie-title { font-size: clamp(32px, 4.5vw, 62px); font-weight: 700; line-height: 1.13; letter-spacing: -2px; margin-bottom: 20px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.movie-meta { display: flex; gap: 8px; margin-bottom: 18px; }
.movie-meta span { font-size: 9px; letter-spacing: 1px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px; color: #d3bae8; background: #a858e511; }
.movie-meta i { margin-right: 5px; }
.description { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 470px; margin-bottom: 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.action-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; gap: 9px; align-items: center; justify-content: center; border-radius: 30px; padding: 13px 22px; font-size: 11px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.btn-play { background: var(--gradient); border: 1px solid #b269ed; box-shadow: 0 5px 25px #8a2ae536; }
.btn-outline { border: 1px solid #9c6bbe60; color: #e1cbf2; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px #8b36d947; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; height: 420px; }
.hero-cover { position: relative; width: 78%; height: 350px; object-fit: cover; border: 1px solid #cc94ff70; border-radius: 22px; transform: rotate(8deg); box-shadow: 15px 20px 60px #0009, -15px 0 55px #8f26da40; }
.art-orbit { position: absolute; width: 108%; height: 72%; border: 1px solid #c184ff30; border-radius: 50%; transform: rotate(-30deg); }
.art-orbit::after { content: ''; position: absolute; inset: 20px -15px; border: 1px solid #c184ff18; border-radius: 50%; }
.art-caption { position: absolute; bottom: 16px; left: 0; padding: 15px 20px; font-size: 11px; border: 1px solid #bc80eb50; border-radius: 13px; background: #281639df; backdrop-filter: blur(15px); box-shadow: 0 10px 30px #0005; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #c681ff; margin-right: 8px; box-shadow: 0 0 12px #c681ff; }
.art-spark { position: absolute; top: 0; right: 5px; font-size: 55px; color: #dca7ff; text-shadow: 0 0 25px #a33bff; }
.carousel-nav { position: absolute; bottom: 24px; left: 6%; display: flex; gap: 9px; z-index: 3; }
.nav-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: #ffffff05; color: #e8d2f9; font-size: 11px; }
.nav-btn:hover { background: #8633cf; }
.site-section { max-width: 1296px; margin: auto; padding: 65px 24px 10px; }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.section-count { font-size: 11px; color: var(--muted); }
.section-heading { font-size: clamp(25px, 3vw, 35px); font-weight: 600; letter-spacing: -1px; margin-bottom: 28px; line-height: 1.25; }
.section-heading span { color: var(--accent); }
.series-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.series-card { min-width: 0; padding: 10px; background: linear-gradient(150deg, #271735, #171020); border: 1px solid var(--border); border-radius: 17px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.series-card:hover { transform: translateY(-6px); border-color: #b875f2; box-shadow: 0 12px 35px #8925cd24; }
.series-art { position: relative; aspect-ratio: 4 / 4.5; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg, #542779, #201035); }
.series-art img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder { height: 100%; display: grid; place-items: center; font-size: 90px; color: #c89aea; }
.series-badge { position: absolute; bottom: 12px; left: 12px; border: 1px solid #ffffff30; border-radius: 20px; padding: 5px 9px; font-size: 8px; letter-spacing: 1px; background: #170e27b8; backdrop-filter: blur(8px); }
.series-card-body { padding: 15px 4px 6px; }
.series-card h3 { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 15px; }
.series-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 9px; color: var(--muted); }
.read-pill { padding: 7px 14px; border-radius: 20px; background: var(--gradient); color: white; white-space: nowrap; }
.search-empty { color: var(--muted); padding: 30px 0; }
.stats-section { text-align: center; padding-top: 85px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.stat-circle { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px; }
.stat-circle + .stat-circle { border-left: 1px solid var(--border); }
.stat-number { font-size: clamp(28px, 4vw, 43px); font-weight: 600; color: var(--accent); letter-spacing: -1px; }
.stat-label { color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.info-card { display: flex; align-items: center; gap: 22px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(135deg, #251433, #14101d); }
.card-img { width: 38%; height: 210px; object-fit: cover; border-radius: 12px; }
.card-text-side { min-width: 0; }
.card-title { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.card-description { font-size: 11px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.btn-learn { display: inline-block; font-size: 10px; border: 1px solid #a767d6; border-radius: 20px; padding: 8px 17px; color: #d9adfb; }
.btn-learn:hover { background: #822cc7; color: white; }
.site-footer { margin-top: 75px; border-top: 1px solid var(--border); padding: 35px 20px; text-align: center; background: #090610; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; font-size: 11px; color: var(--muted); margin-bottom: 20px; }
.footer-nav a:hover { color: #d9adfb; }
.copyright { font-size: 10px; color: #a08dad; }
@media (max-width: 1350px) { .hero-carousel { margin-left: 4%; margin-right: 4%; } .site-section { padding-left: 5%; padding-right: 5%; } header { gap: 20px; } .nav-links { gap: 16px; } }
@media (max-width: 1100px) { header { flex-wrap: wrap; gap: 18px; } .logo { margin-right: auto; } .nav-links { display: none; order: 5; width: 100%; padding: 15px; background: var(--surface); border-radius: 12px; } .nav-links.open { display: flex; } .toggle-menu { display: block; } .hero-carousel { height: 550px; } .slide { gap: 25px; } .hero-cover { height: 300px; } .hero-art { height: 360px; } .series-grid { gap: 15px; } .highlights { grid-template-columns: 1fr; } }
@media (max-width: 700px) { header { padding: 20px 5%; gap: 12px; } .logo { font-size: 24px; } .nav-auth { gap: 12px; } .search-box { order: 4; width: 100%; } .search-box input { width: 100%; } .hero-carousel { height: 790px; border-radius: 20px; margin-top: 0; } .slide { grid-template-columns: 1fr; grid-template-rows: auto 300px; gap: 15px; padding: 35px 7% 60px; align-content: center; } .movie-title { font-size: 36px; letter-spacing: -1px; } .kove-label { font-size: 8px; letter-spacing: 1.7px; } .description { font-size: 12px; margin-bottom: 20px; } .hero-art { height: 280px; max-width: 320px; width: 100%; margin: auto; } .hero-cover { width: 65%; height: 250px; } .art-spark { font-size: 35px; } .art-caption { padding: 12px 15px; bottom: 0; } .carousel-nav { left: auto; right: 7%; bottom: 16px; } .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .series-card { padding: 7px; border-radius: 13px; } .series-card h3 { font-size: 12px; } .series-card-bottom { flex-wrap: wrap; } .section-count { font-size: 9px; } .eyebrow { font-size: 8px; letter-spacing: 1.5px; } .site-section { padding-top: 45px; } .info-card { padding: 14px; gap: 16px; } .card-img { height: 180px; } .card-title { font-size: 14px; } .card-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .empty-slide { grid-template-rows: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Combined title and genre discovery controls. */
.search-box { display:flex; align-items:center; gap:8px; min-width:0; }
.search-box input { min-width:0; }
.search-box select { font:inherit; font-size:12px; color:#eedbff; background:#21152e; border:1px solid #ba7dff55; border-radius:24px; padding:10px 12px; max-width:145px; min-height:40px; }
@media(max-width:700px) { .search-box input { flex:1; width:0; } .search-box select { flex:0 1 145px; min-width:0; } }
@media(max-width:600px) { .search-box select { font-size:16px; min-height:46px; max-width:44%; padding:10px 8px; } }
.movie-meta { flex-wrap:wrap; }
.movie-meta span { max-width:100%; overflow-wrap:anywhere; }
