/* OutSpin website – no external fonts or scripts. Brand: blue -> red gradient on deep space. */
:root {
  --bg: #05070f;
  --bg-2: #0a0e1c;
  --panel: rgba(18, 26, 52, 0.55);
  --panel-edge: rgba(150, 190, 255, 0.16);
  --text: #eef3ff;
  --muted: #9aa9c7;
  --blue: #0a84ff;
  --cyan: #5fd8ff;
  --red: #ff4d4d;
  --gold: #ffcc44;
  --brand: linear-gradient(90deg, #0a84ff 0%, #8a1a2a 50%, #ff4d4d 100%);
  --radius: 18px;
  --display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Space backdrop: soft brand lights + fine star dust, all CSS */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 10% 20%, rgba(10, 132, 255, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 90% 70%, rgba(255, 77, 77, 0.08), transparent 60%),
    radial-gradient(1px 1px at 20% 30%, #fff8 50%, transparent 51%) 0 0 / 180px 180px,
    radial-gradient(1px 1px at 70% 60%, #fff6 50%, transparent 51%) 0 0 / 240px 240px,
    radial-gradient(1.5px 1.5px at 40% 80%, #9fdcff99 50%, transparent 51%) 0 0 / 320px 320px,
    var(--bg);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* ---------------------------------------------------------------- buttons & pills */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: 800 15px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: #fff; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn--brand {
  background: var(--brand);
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.25), 0 10px 30px rgba(255, 77, 77, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}
.btn--brand:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10, 132, 255, 0.35), 0 16px 40px rgba(255, 77, 77, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--small { padding: 10px 18px; font-size: 13px; }
.btn--large { padding: 18px 36px; font-size: 17px; }

.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font: 800 12px/1.4 var(--display); letter-spacing: 0.14em; text-transform: uppercase;
}
.pill--dark { background: rgba(8, 12, 30, 0.75); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 800 13px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: currentColor; }
.eyebrow--red { color: #ff7a7a; }
.eyebrow--gold { color: var(--gold); }
.section__title {
  font: 900 clamp(30px, 4.4vw, 52px)/1.05 var(--display); letter-spacing: -0.01em;
  margin-bottom: 22px; max-width: 18ch; text-wrap: balance;
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 15, 0.6); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__inner { display: flex; align-items: center; gap: 28px; width: min(1180px, 100% - 40px); margin-inline: auto; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 18px/1 var(--display); letter-spacing: 0.1em; }
.brand img { border-radius: 50%; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.lang button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 800 12px/1 var(--display); letter-spacing: 0.08em; padding: 7px 10px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: var(--text); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(5, 7, 15, 0.2) 0%, rgba(5, 7, 15, 0.65) 75%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.3) 0%, rgba(5, 7, 15, 0.1) 40%, var(--bg) 100%);
}
.hero__content { text-align: center; padding: 60px 20px 90px; max-width: 900px; }
.hero__title { margin: 22px auto 8px; }
.hero__title img { width: min(720px, 90vw); height: auto; margin-inline: auto; filter: drop-shadow(0 0 3px #fff) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.7)); }
.hero__claim { font: 900 clamp(22px, 3vw, 34px)/1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.hero__lead { color: #d3dcf0; font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; margin: 0 auto 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 30px 0 0; padding: 0; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.platforms li + li::before { content: "·"; margin-right: 22px; opacity: 0.5; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------------------------------------------------------- cards / sections */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.card {
  position: relative; background: var(--panel); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(200, 225, 255, 0.18), inset 0 0 0 1px var(--panel-edge), var(--shadow);
  backdrop-filter: blur(10px);
}

.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.pillar { padding: 30px 28px 26px; }
.pillar h3 { font: 900 22px/1.15 var(--display); margin: 18px 0 10px; }
.pillar p { color: var(--muted); margin: 0; }
.pillar__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__icon--blue { color: var(--cyan); background: rgba(95, 216, 255, 0.12); box-shadow: 0 0 30px rgba(95, 216, 255, 0.25); }
.pillar__icon--red { color: #ff8a6a; background: rgba(255, 106, 74, 0.12); box-shadow: 0 0 30px rgba(255, 106, 74, 0.25); }
.pillar__icon--gold { color: var(--gold); background: rgba(255, 204, 68, 0.12); box-shadow: 0 0 30px rgba(255, 204, 68, 0.25); }

.feature__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__text > p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 14px rgba(95, 216, 255, 0.4);
}
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(0.35em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Living arenas: three floors drifting and turning */
.arenas { position: relative; aspect-ratio: 1; max-width: 560px; }
.arenas__disc { position: absolute; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: spin 90s linear infinite; }
.arenas__disc--a { width: 62%; left: 0; top: 8%; box-shadow: 0 0 60px rgba(95, 246, 255, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6); }
.arenas__disc--b { width: 52%; right: 0; top: 0; animation-duration: 120s; animation-direction: reverse; box-shadow: 0 0 60px rgba(255, 122, 42, 0.4), 0 30px 80px rgba(0, 0, 0, 0.6); }
.arenas__disc--c { width: 46%; right: 12%; bottom: 0; animation-duration: 100s; box-shadow: 0 0 60px rgba(143, 232, 255, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6); }
@keyframes spin { to { transform: rotate(360deg); } }

.feature__media { position: relative; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--panel-edge), var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot--glow { box-shadow: 0 0 0 1px rgba(255, 150, 80, 0.3), 0 0 80px rgba(255, 106, 26, 0.25), var(--shadow); }
.boss-float { position: absolute; width: 34%; right: -6%; bottom: -14%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-3deg); } }

/* Spinners */
.spinners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.spinner { padding: 26px 24px 24px; text-align: center; overflow: hidden; }
.spinner::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 70%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); pointer-events: none;
}
.spinner__img { width: 132px; height: 132px; margin: 4px auto 18px; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--c) 45%, transparent)); animation: spin 6s linear infinite; }
.spinner:hover .spinner__img { animation-duration: 1.4s; }
.spinner h3 { font: 900 22px/1 var(--display); letter-spacing: 0.04em; }
.spinner__role { display: inline-block; margin: 10px 0 12px; padding: 4px 12px; border-radius: 999px; color: var(--c); font: 800 11px/1.4 var(--display); letter-spacing: 0.16em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent); }
.spinner > p:not(.spinner__role) { color: var(--muted); font-size: 15px; min-height: 3.2em; }
.stats { display: grid; gap: 8px; margin: 16px 0 0; text-align: left; }
.stats div { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 10px; }
.stats dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.stats dd { margin: 0; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 18px, transparent 18px 23px); }
.stats i { display: block; height: 100%; width: calc(var(--v, 0) * 20%); border-radius: 4px; background: repeating-linear-gradient(90deg, var(--c) 0 18px, transparent 18px 23px); }

.spinner--bumper { --c: #5fd8ff; }
.spinner--shocker { --c: #ffe94a; }
.spinner--slime { --c: #7dff6a; }
.spinner--starcannon { --c: #ff8cff; }
.stats .v1 { --v: 1; } .stats .v2 { --v: 2; } .stats .v3 { --v: 3; } .stats .v4 { --v: 4; } .stats .v5 { --v: 5; }

/* Modes */
.modes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.mode { padding: 28px 24px; }
.mode__big { font: 900 44px/1 var(--display); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.mode h3 { font: 900 19px/1.2 var(--display); margin-bottom: 10px; }
.mode p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery__item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #000; box-shadow: inset 0 0 0 1px var(--panel-edge), var(--shadow); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vw, 170px) 0; text-align: center; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 7, 15, 0.55) 30%, rgba(5, 7, 15, 0.55) 70%, var(--bg) 100%); }
.cta__title { font: 900 clamp(38px, 6vw, 72px)/1 var(--display); margin-bottom: 18px; text-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); }
.cta p { max-width: 560px; margin: 0 auto 30px; color: #dfe6f7; font-size: 18px; }

/* FAQ */
.faq__item { padding: 0; margin-top: 14px; }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font: 800 18px/1.3 var(--display); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 26px; top: 50%; translate: 0 -50%; font-size: 26px; color: var(--cyan); transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 34px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer__links { display: flex; gap: 24px; margin-left: auto; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin: 0; color: #62708e; font-size: 14px; }

/* Dialogs */
.modal { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; overflow: visible; }
.modal::backdrop { background: rgba(2, 4, 10, 0.88); backdrop-filter: blur(6px); }
.modal__video, .modal__img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: #000; }
.modal__close { position: absolute; top: -50px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 26px; line-height: 1; }
.modal__close:hover { background: rgba(255, 255, 255, 0.22); }

/* Reveal on scroll (added by site.js; content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .spinners__grid, .modes__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 860px) {
  .pillars__grid { grid-template-columns: 1fr; }
  .feature__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .arenas { max-width: 420px; margin-inline: auto; }
  .boss-float { width: 28%; right: 2%; bottom: -10%; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .spinners__grid, .modes__grid, .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; }
  .brand span { display: none; }
  .footer__links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__video { display: none; }
  .hero { background: url("assets/hero-poster.jpg") center / cover; }
}

/* Legal pages */
.legal__card { padding: clamp(28px, 5vw, 56px); }
.legal h2 { font: 800 19px/1.3 var(--display); margin: 28px 0 8px; }
.legal p { color: #c9d3ea; }
.legal__status { display: block; margin-top: .5rem; color: var(--muted, #9aa4b8); font-size: .9rem; }
