@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #071522;
  --ink-2: #0b2133;
  --panel: #102d42;
  --text: #eef4f8;
  --muted: #91a8b8;
  --orange: #f17645;
  --line: rgba(198, 221, 233, .15);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.shell { max-width: 1360px; margin: 0 auto; padding: 0 52px; }
.topbar {
  height: 82px; display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.06em; font-size: 25px; }
.brand-mark { width: 25px; height: 25px; border: 2px solid var(--orange); border-radius: 50%; position: relative; }
.brand-mark:after { content: ''; position: absolute; inset: 5px; background: var(--orange); border-radius: 50%; }
.nav { display: flex; gap: 28px; margin-left: 6vw; color: #b4c4cf; font-size: 13px; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.nav .active { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 17px; }
.search { width: 19px; height: 19px; border: 1.5px solid #bdd0da; border-radius: 50%; position: relative; display: block; }
.search:after { content: ''; width: 7px; height: 1.5px; background: #bdd0da; transform: rotate(45deg); position: absolute; right: -5px; bottom: -2px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #315c75; display: grid; place-items: center; color: #dcebf1; font-size: 12px; }
.btn { border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 700; font-size: 13px; transition: transform .2s ease, background .2s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #1b1b1b; }
.btn-ghost { background: rgba(219, 236, 243, .09); color: var(--text); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--orange); text-transform: uppercase; letter-spacing: .18em; font: 500 10px 'DM Mono', monospace; }
.eyebrow:before { content: ''; width: 28px; height: 1px; background: var(--orange); }

.hero { min-height: 604px; position: relative; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero > .shell { width: 100%; }
.hero:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #071522 0%, rgba(7, 21, 34, .88) 35%, rgba(7, 21, 34, .24) 76%, #071522 100%), linear-gradient(180deg, #071522 0%, transparent 18%, transparent 75%, #071522 100%); z-index: 1; }
.hero-art { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1800&q=85') center 42% / cover; filter: saturate(.72) contrast(1.08); }
.hero-copy { max-width: 570px; position: relative; z-index: 2; padding: 66px 0 78px; }
.hero h1 { font-size: clamp(50px, 7vw, 96px); letter-spacing: -.075em; line-height: .96; margin: 22px 0 24px; max-width: 690px; }
.hero h1 span { color: var(--orange); }
.hero p { color: #c3d1d9; max-width: 450px; font-size: 16px; line-height: 1.65; margin: 0 0 30px; }
.hero-meta { display: flex; align-items: center; gap: 17px; color: #c3d1d9; font-size: 12px; margin: 0 0 28px; }
.hero-meta b { color: var(--text); font-weight: 700; }
.play-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: 8px; padding-left: 1px; }
.signal { position: absolute; right: 48px; bottom: 67px; z-index: 2; width: 180px; height: 85px; opacity: .8; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(241,118,69,.7) 9px 10px); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 78%, transparent); }
.signal:after { content: ''; position: absolute; width: 100%; height: 1px; top: 35px; background: var(--orange); box-shadow: 0 -16px 0 rgba(241,118,69,.38), 0 16px 0 rgba(241,118,69,.22); }

.section { padding: 54px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.section h2 { font-size: 28px; letter-spacing: -.05em; margin: 9px 0 0; }
.more { color: #9eb3c0; font-size: 12px; border-bottom: 1px solid #597182; padding-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { min-width: 0; }
.poster { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--panel); }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82); transition: transform .45s ease, filter .45s ease; }
.card:hover img { transform: scale(1.05); filter: saturate(1); }
.poster:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 13, 21, .8)); pointer-events: none; }
.tag { position: absolute; top: 11px; left: 11px; z-index: 1; background: rgba(7,21,34,.72); border: 1px solid rgba(255,255,255,.18); padding: 5px 8px; border-radius: 5px; font: 10px 'DM Mono', monospace; }
.card h3 { margin: 12px 2px 4px; font-size: 15px; letter-spacing: -.02em; }
.card p { margin: 0 2px; color: var(--muted); font-size: 12px; }
.rail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.feature { min-height: 260px; border-radius: var(--radius); overflow: hidden; position: relative; background: #173b4c; }
.feature:first-child { background: linear-gradient(90deg, rgba(8,27,41,.94), rgba(8,27,41,.25)), url('https://images.unsplash.com/photo-1519608487953-e999c86e7455?auto=format&fit=crop&w=1100&q=85') center / cover; }
.feature:last-child { background: linear-gradient(90deg, rgba(9,25,37,.92), rgba(9,25,37,.25)), url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=900&q=85') center / cover; }
.feature-copy { position: absolute; left: 26px; bottom: 24px; max-width: 360px; }
.feature h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.05em; }
.feature p { margin: 0; color: #bdccd4; font-size: 12px; line-height: 1.5; }
.footer { border-top: 1px solid var(--line); padding: 27px 0 36px; color: #728a99; font-size: 11px; display: flex; justify-content: space-between; }

.auth-page, .error-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-wrap { flex: 1; display: grid; place-items: center; padding: 45px 20px 80px; position: relative; overflow: hidden; }
.auth-wrap:before { content: ''; position: absolute; width: 580px; height: 580px; border-radius: 50%; border: 1px solid rgba(241,118,69,.16); box-shadow: 0 0 0 48px rgba(241,118,69,.025), 0 0 0 96px rgba(241,118,69,.02); transform: translate(35%, 8%); }
.auth-card { width: min(100%, 410px); position: relative; z-index: 1; }
.auth-card h1 { margin: 24px 0 9px; font-size: 39px; letter-spacing: -.07em; }
.auth-card > p { margin: 0 0 30px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.field { margin-bottom: 14px; }
.field label { display: block; color: #9cb1bd; font-size: 11px; margin: 0 0 7px; }
.field input { width: 100%; border: 1px solid #29465a; border-radius: 9px; color: var(--text); background: #0d263a; padding: 13px 14px; outline: none; }
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,118,69,.12); }
.form-row { display: flex; justify-content: space-between; align-items: center; color: #8ea5b2; font-size: 11px; margin: 15px 0 25px; }
.check { display: flex; align-items: center; gap: 7px; }
.check input { accent-color: var(--orange); }
.auth-card .btn { width: 100%; }
.auth-foot { margin-top: 23px; text-align: center; font-size: 12px; color: #8197a4; }
.auth-foot a { color: var(--orange); }

.error-wrap { flex: 1; display: grid; place-items: center; text-align: center; padding: 50px 20px 100px; }
.error-code { font: 500 clamp(110px, 21vw, 260px)/.8 'DM Mono', monospace; letter-spacing: -.15em; color: var(--orange); opacity: .9; }
.error-wrap h1 { margin: 32px 0 10px; font-size: 33px; letter-spacing: -.07em; }
.error-wrap p { max-width: 400px; margin: 0 auto 27px; color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 820px) {
  .shell { padding: 0 22px; }
  .nav { display: none; }
  .hero { min-height: 620px; }
  .hero-art { background-position: 62% center; }
  .hero-copy { padding-top: 90px; align-self: end; padding-bottom: 66px; }
  .signal { right: 22px; bottom: 28px; transform: scale(.7); transform-origin: right bottom; }
  .cards { grid-template-columns: repeat(2, 1fr); row-gap: 27px; }
  .rail { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .topbar { height: 70px; }
  .top-actions .btn-ghost { display: none; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 14px; }
  .section { padding: 40px 0; }
  .section h2 { font-size: 24px; }
  .footer { display: block; line-height: 1.7; }
  .footer span { display: block; }
  .error-wrap h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; } }
