:root {
  color-scheme: dark;
  --bg: #07080a;
  --surface: #111318;
  --surface-2: #1b1e25;
  --text: #f7f7f5;
  --muted: #a7abb4;
  --accent: #a7ff4f;
  --accent-ink: #102000;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ffffff12;
}

.brand { font-weight: 900; letter-spacing: -.06em; font-size: 1.5rem; text-decoration: none; }
.brand span { color: var(--accent); margin-left: .16em; }
nav { display: flex; align-items: center; gap: 1.25rem; }
nav a { color: var(--muted); text-decoration: none; }

.hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 8rem 5vw 5rem;
  background:
    radial-gradient(circle at 76% 30%, #8dfd3630 0, transparent 25%),
    linear-gradient(115deg, #151821 0, #090a0d 58%, #111b0c 100%);
}

.hero-copy { max-width: 760px; }
.hero h1 { max-width: 700px; margin: .15em 0; font-size: clamp(3.2rem, 9vw, 7.6rem); line-height: .88; letter-spacing: -.075em; }
.hero p:not(.eyebrow) { max-width: 590px; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.eyebrow { margin: 0 0 .5rem; color: var(--accent); text-transform: uppercase; font-size: .75rem; font-weight: 800; letter-spacing: .18em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button-quiet { background: var(--surface-2); color: var(--text); }
.text-button { margin-top: 1rem; padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; }

.section { padding: 5rem 5vw 7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; }
.section-heading > p { color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.title-card { position: relative; min-height: 360px; overflow: hidden; padding: 0; border: 1px solid #ffffff12; border-radius: 22px; background: linear-gradient(145deg, #252a36, #101216); color: var(--text); text-align: left; cursor: pointer; }
.title-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, #050608 94%); }
.title-card img { width: 100%; height: 100%; object-fit: cover; }
.title-card-copy { position: absolute; inset: auto 1.3rem 1.3rem; }
.title-card h3 { margin: 0 0 .4rem; font-size: 1.5rem; }
.title-card p { margin: 0; color: var(--muted); }

dialog { width: min(92vw, 920px); padding: 0; border: 1px solid #ffffff1c; border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 30px 90px #000b; }
dialog::backdrop { background: #000c; backdrop-filter: blur(8px); }
.dialog-close { position: absolute; z-index: 2; top: .7rem; right: .7rem; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #08090bcc; color: white; font-size: 1.6rem; cursor: pointer; }
.player-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-details { padding: 1.5rem 1.7rem 2rem; }
.player-details h2 { margin: 0; }
.player-details p { color: var(--muted); line-height: 1.6; }
.account-dialog { width: min(92vw, 470px); padding: 2rem; }
.account-dialog h2 { margin: .15rem 0 1.5rem; font-size: 2.2rem; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .45rem; color: var(--muted); font-size: .9rem; }
input { width: 100%; padding: .9rem 1rem; border: 1px solid #ffffff24; border-radius: 10px; background: #090a0d; color: var(--text); }
.form-error { min-height: 1.2em; margin: 0; color: #ff8080; }
footer { padding: 2rem 5vw; border-top: 1px solid #ffffff12; color: var(--muted); }

@media (max-width: 600px) {
  nav > a { display: none; }
  .hero { min-height: 62vh; padding-top: 5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .4rem; }
}
