@font-face { font-family: "Anton"; src: url("../fonts/anton.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; src: url("../fonts/anton-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0c12; --bg-2: #12131b; --panel: rgba(255,255,255,.045); --line: rgba(255,255,255,.1);
  --ink: #fff; --muted: rgba(255,255,255,.68); --y: #ffcf2e; --o: #ff7a2e;
  --grad: linear-gradient(90deg, var(--y), var(--o));
  --r: 20px; --wrap: 1180px; --nav: 68px;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Inter", "Segoe UI", system-ui, sans-serif; overflow-x: hidden; }
body::before { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { max-width: 100%; display: block; }
a { color: var(--y); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--y); color: #16110a; border-radius: 10px; font-weight: 800; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-weight: 800; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--y); margin-bottom: 14px; }
.h2 { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.note { color: var(--muted); font-size: 15px; margin-top: 22px; }

/* progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* buttons */
.btn { --h: 48px; display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px;
  text-decoration: none; color: var(--ink); border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 17px; }
.btn--hot { background: var(--grad); color: #16110a; box-shadow: 0 10px 30px rgba(255,140,40,.35); }
.btn--hot svg { stroke: #16110a; }
.btn--hot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 3.6s var(--ease) infinite; }
.btn--ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.btn:hover { transform: translateY(-2px); }
.btn--hot:hover { box-shadow: 0 16px 40px rgba(255,140,40,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--kofi { border-color: rgba(255,94,91,.55); }
.btn--kofi svg { stroke: #ff5e5b; }
.btn--kofi:hover { background: rgba(255,94,91,.14); }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 110; height: var(--nav); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11,12,18,.78); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-on::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang { height: 40px; border-radius: 999px; padding: 0 12px; background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line); font: 600 14px "Inter", sans-serif; }
.lang option { background: var(--bg-2); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav) + 40px) 0 90px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,12,18,.92) 0%, rgba(11,12,18,.6) 45%, rgba(11,12,18,.15) 100%), linear-gradient(180deg, rgba(11,12,18,.2) 60%, var(--bg) 100%); }
.hero__in { position: relative; }
.hero__title { font-family: "Anton", Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 11vw, 150px); line-height: .92; letter-spacing: .005em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.split { display: inline-block; }
.split .ch { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.split.grad .ch { background: var(--grad); background-size: var(--gw, 100%) 100%; background-position: var(--gx, 0) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.hero__sub { max-width: 620px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__meta { font-size: 14px; color: var(--muted); }
.scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--y); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: none; opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.motion { position: absolute; right: 16px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: rgba(11,12,18,.55); border: 1px solid var(--line); color: var(--muted); font: 600 13px "Inter", sans-serif; cursor: pointer; backdrop-filter: blur(8px); }
.motion:hover { color: var(--ink); }
.motion svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.motion .i-play, .motion[aria-pressed="true"] .i-pause { display: none; }
.motion[aria-pressed="true"] .i-play { display: inline; }
.is-paused .marquee__track, .is-paused .btn--hot::after, .is-paused .section--cta::after, .is-paused .scroll span { animation-play-state: paused !important; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); transform: rotate(-1.2deg) scale(1.02); margin: -10px 0 0; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 18px 0; animation: marquee 32s linear infinite; }
.marquee span { font-family: "Anton", Impact, sans-serif; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee b { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section + .section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), 100% - 32px); transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.head { margin-bottom: 48px; }

/* player */
.player { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,207,46,.35); aspect-ratio: 16 / 9; }
.player::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: var(--grad); filter: blur(40px); opacity: .25; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player--slim { margin-bottom: 8px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s, background .3s; transform-style: preserve-3d; will-change: transform; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,180,50,.16), transparent 60%); }
.card:hover { border-color: rgba(255,207,46,.45); background: rgba(255,255,255,.06); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 19px; font-weight: 800; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,207,46,.18), rgba(255,122,46,.12)); border: 1px solid rgba(255,207,46,.3); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--y); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--key { font-family: "Anton", Impact, sans-serif; font-size: 22px; color: #16110a; background: var(--grad); box-shadow: 0 5px 0 #8a3c10; border: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; padding: 34px; border-radius: var(--r);
  background: linear-gradient(120deg, rgba(255,207,46,.08), rgba(255,122,46,.04) 50%, rgba(255,255,255,.02)); border: 1px solid var(--line); }
.stat { text-align: center; }
.stat b { display: block; font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(44px, 6vw, 68px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* install */
.install { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 25px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--y), var(--o), transparent); opacity: .5; }
.step { display: flex; gap: 22px; padding: 14px 0 26px; position: relative; }
.step > b { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 24px;
  color: #16110a; background: var(--grad); box-shadow: 0 0 0 6px var(--bg), 0 10px 30px rgba(255,140,40,.35); }
.step h3 { font-size: 20px; font-weight: 800; margin: 10px 0 6px; }
.step p { color: var(--muted); }
.req { position: sticky; top: calc(var(--nav) + 24px); padding: 30px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.req h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.req ul { margin: 0 0 24px; padding: 0; list-style: none; }
.req li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; position: relative; }
.req li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--y); border-bottom: 2px solid var(--y); transform: rotate(-45deg); }
.req__note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* releases */
.releases { display: grid; gap: 14px; margin: 28px 0 36px; }
.rel { animation: drop .5s var(--ease) both; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.rel[open] { border-color: rgba(255,207,46,.4); }
.rel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; }
.rel summary::-webkit-details-marker { display: none; }
.rel__tag { font-family: "Anton", Impact, sans-serif; font-size: 22px; min-width: 76px; }
.rel__name { flex: 1; font-weight: 700; }
.rel__date { color: var(--muted); font-size: 14px; white-space: nowrap; }
.rel__badge { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #16110a; }
.rel summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s; flex: none; }
.rel[open] summary::after { transform: rotate(-135deg); }
.rel__body { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }
.rel__body h4 { color: var(--ink); font-size: 16px; margin: 18px 0 6px; }
.rel__body ul { margin: 6px 0; padding-left: 20px; }
.rel__body li { margin: 4px 0; }
.rel__body p { margin: 8px 0; }
.rel__body strong { color: var(--ink); }
.rel__body code { background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* faq */
.faq { max-width: 860px; }
.qa { display: grid; gap: 12px; }
.qa details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.qa details[open] { border-color: rgba(255,207,46,.4); background: rgba(255,255,255,.06); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--y); transition: transform .3s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa details p { padding: 0 22px 20px; color: var(--muted); animation: drop .4s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* credits */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { padding: 28px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.person::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(.2); transform-origin: left; transition: transform .5s var(--ease); }
.person:hover::after { transform: scaleX(1); }
.person b { display: block; font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 28px; letter-spacing: .01em; margin-bottom: 6px; word-break: break-word; }
.person span { color: var(--muted); font-size: 15px; }

/* cta */
.section--cta { overflow: hidden; }
.section--cta::after { content: ""; position: absolute; inset: 10% -10%; background: radial-gradient(50% 50% at 50% 50%, rgba(255,150,40,.18), transparent 70%); pointer-events: none; animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .7; } }
.cta { text-align: center; position: relative; z-index: 1; }
.cta p { color: var(--muted); font-size: 19px; margin: 16px 0 30px; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; background: var(--bg-2); }
.foot__in { display: grid; gap: 14px; justify-items: start; }
.foot img { height: 20px; width: auto; opacity: .8; }
.foot p { color: var(--muted); font-size: 13px; max-width: 760px; }
.foot__small { opacity: .7; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .tilt.reveal.is-in { transition: opacity .9s var(--ease), transform .2s ease-out, border-color .3s, background .3s; }

/* responsive */
@media (max-width: 1060px) {
  .cards, .people { grid-template-columns: repeat(2, 1fr); }
  .nav__links { position: fixed; inset: var(--nav) 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 20px; background: rgba(11,12,18,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 8px; font-size: 17px; }
  .burger { display: flex; }
}
@media (max-width: 820px) {
  .install { grid-template-columns: 1fr; }
  .req { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .people { grid-template-columns: 1fr; }
  .nav .dl-link { display: none; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .scroll { display: none; }
  .rel summary { flex-wrap: wrap; gap: 6px 12px; }
  .rel__name { flex-basis: 100%; order: 3; }
  .stats { padding: 26px 16px; }
}

/* Reduced motion: no letter rise or slide-ins, reveals become plain fades; ambient loops start paused (JS adds .is-paused) and the hero button turns them on. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .split .ch { transform: none; animation: none; }
  .js .reveal { transform: none; transition: opacity .6s ease; }
}

/* Player guides (PDF) under the install steps */
.guides{margin-top:28px;padding:22px 24px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.04)}
.guides h3{margin:0 0 6px}
.guides p{margin:0 0 14px;opacity:.8}
.guides__btns{display:flex;flex-wrap:wrap;gap:10px}
