:root {
  --bg: #05060a;
  --bg-2: #0a0c12;
  --surface: rgba(12, 16, 24, 0.58);
  --surface-solid: #10151e;
  --line: #1c2433;
  --line-soft: #151b26;
  --ink: #eef3f8;
  --muted: #8b96a8;
  --muted-2: #5c6676;
  --mint: #3ff0a8;
  --mint-dim: #1e7f5a;
  --mint-glow: rgba(63, 240, 168, 0.2);
  --brand-loyal: #ffffff;
  --brand-mails: #3ff0a8;
  --blue: #3b82f6;
  --red: #ef4444;
  --danger: #ff6b6b;
  --radius: 16px;
  --maxw: 1160px;
  --font-display: "Orbitron", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 28%, transparent 78%);
  animation: gridPulse 10s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 88% -8%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(620px 380px at -8% 108%, rgba(239, 68, 68, 0.12), transparent 58%);
}

.aurora {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  will-change: transform;
}
.aurora.a1 {
  width: 520px; height: 520px;
  top: -160px; right: -80px;
  background: rgba(59, 130, 246, 0.28);
  animation: auroraDrift 14s ease-in-out infinite;
}
.aurora.a2 {
  width: 460px; height: 460px;
  bottom: -140px; left: -100px;
  background: rgba(239, 68, 68, 0.18);
  animation: auroraDrift 18s ease-in-out infinite reverse;
}
.aurora.a3 {
  width: 380px; height: 380px;
  top: 38%; left: 42%;
  background: rgba(63, 240, 168, 0.14);
  animation: auroraDrift 12s ease-in-out infinite 1.4s;
}
#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.wrap, .auth, .auth-shell, .home-inner { position: relative; z-index: 1; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

.has-cursor, .has-cursor * { cursor: none !important; }
#cur-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}
#cur-dot, #cur-ring, #cur-cross, #cur-orbit, #cur-bloom {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
}
#cur-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #3ff0a8, 0 0 22px #3b82f6, 0 0 36px rgba(63, 240, 168, 0.55);
}
#cur-ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(63, 240, 168, 0.85);
  box-shadow: 0 0 16px rgba(63, 240, 168, 0.4), inset 0 0 12px rgba(59, 130, 246, 0.2);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, width 0.18s ease, height 0.18s ease;
}
#cur-ring.hot {
  width: 62px; height: 62px;
  border-color: #ef4444;
  box-shadow: 0 0 26px rgba(239, 68, 68, 0.6), inset 0 0 14px rgba(239, 68, 68, 0.22);
}
#cur-orbit {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.45);
}
#cur-orbit.hot { border-color: rgba(239, 68, 68, 0.55); }
#cur-bloom {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63,240,168,0.55), transparent 70%);
  filter: blur(2px);
}
#cur-cross {
  width: 30px; height: 30px;
}
#cur-cross i {
  position: absolute;
  background: #3ff0a8;
  box-shadow: 0 0 10px #3ff0a8;
}
#cur-cross i:nth-child(1),
#cur-cross i:nth-child(2) { width: 2px; height: 8px; left: 14px; }
#cur-cross i:nth-child(1) { top: 0; }
#cur-cross i:nth-child(2) { bottom: 0; }
#cur-cross i:nth-child(3),
#cur-cross i:nth-child(4) { height: 2px; width: 8px; top: 14px; }
#cur-cross i:nth-child(3) { left: 0; }
#cur-cross i:nth-child(4) { right: 0; }
.has-cursor.cur-hot #cur-cross i { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.has-cursor.cur-hot #cur-dot { box-shadow: 0 0 12px #ef4444, 0 0 28px #ef4444; }
.has-cursor.cur-click #cur-ring { transform: translate(-50%, -50%) scale(0.7) !important; }
.has-cursor.cur-click #cur-bloom { transform: translate(-50%, -50%) scale(4) !important; opacity: 0.15; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .spark {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--mint), #2bd48c);
  display: grid; place-items: center;
  color: #04110b;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: 0 0 18px var(--mint-glow);
  animation: sparkFlex 2.4s ease-in-out infinite;
}
.logo-word {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}
.logo-word .lw {
  display: inline-flex;
}
.logo-word .lw.mint { color: var(--mint); text-shadow: 0 0 12px var(--mint-glow); }
.logo-word i {
  display: inline-block;
  font-style: normal;
  transform-origin: center bottom;
  animation: logoFlex 2.2s ease-in-out infinite;
  animation-delay: calc(var(--n) * 0.08s);
}
.logo:hover .logo-word i {
  animation-duration: 0.7s;
}
@keyframes logoFlex {
  0%, 100% { transform: translateY(0) scaleY(1); }
  35% { transform: translateY(-3px) scaleY(1.22); }
  55% { transform: translateY(1px) scaleY(0.88); }
}
@keyframes sparkFlex {
  0%, 100% { transform: scale(1) rotate(0); box-shadow: 0 0 14px var(--mint-glow); }
  50% { transform: scale(1.08) rotate(-8deg); box-shadow: 0 0 22px var(--mint); }
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--mint);
  color: #04110b;
  box-shadow: 0 0 0 0 transparent;
}
.btn-primary:hover { box-shadow: 0 0 28px var(--mint-glow); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}
.btn-lg { padding: 16px 28px; font-size: 13px; min-width: 220px; }
.btn-signin {
  position: relative;
  overflow: hidden;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.55);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35);
  animation: signinPulse 2.2s ease-in-out infinite;
}
.btn-signin::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  animation: signinShine 2.8s ease-in-out infinite;
}
.btn-signin:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.45);
  animation: none;
}
@keyframes signinPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.15); }
  50% { box-shadow: 0 0 22px 4px rgba(59, 130, 246, 0.35); }
}
@keyframes signinShine {
  0% { left: -40%; }
  55%, 100% { left: 130%; }
}
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }

.field { margin-top: 16px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 7, 12, 0.65);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.input-row input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
}
.input-row .suffix {
  display: flex; align-items: center;
  padding: 0 13px;
  color: var(--muted-2);
  font-size: 13px;
  border-left: 1px solid var(--line-soft);
  background: rgba(20, 28, 40, 0.55);
  white-space: nowrap;
}
.input {
  width: 100%;
  background: rgba(5, 7, 12, 0.65);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.hint { font-size: 12.5px; margin-top: 7px; min-height: 16px; }
.hint.ok { color: var(--mint); }
.hint.bad { color: var(--danger); }
.hint.neutral { color: var(--muted-2); }
.msg { margin-top: 14px; font-size: 14px; min-height: 18px; }
.msg.bad { color: var(--danger); }
.msg.ok { color: var(--mint); }

.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(59, 130, 246, 0.06);
  animation: borderPulse 4.5s ease-in-out infinite;
}

.card {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  padding: 32px 28px;
}
.card h1 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.card .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.card .foot { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.card .foot a { color: var(--mint); }
.card .foot a:hover { text-decoration: underline; }
.card .foot a.btn {
  color: #04110b;
  text-decoration: none;
}
.card .foot a.btn:hover {
  color: #04110b;
  text-decoration: none;
}
.card .foot a.btn-signin,
.card .foot a.btn-signin:hover { color: #fff; }

.auth { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.auth-body { display: grid; place-items: center; padding: 24px 16px 72px; }

.login-cine .nav { background: transparent; }
.login-cine #fx { opacity: 0.55; }
.login-cine .auth-body { padding-bottom: 48px; }
.login-cine .card {
  position: relative;
  max-width: 440px;
  padding: 38px 32px 26px;
  overflow: hidden;
  background: rgba(8, 10, 16, 0.58);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(63, 240, 168, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 48px rgba(63, 240, 168, 0.08);
}
.login-cine .card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  box-shadow: 0 0 18px var(--mint-glow);
}
.login-cine .card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 10, 16, 0.55);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.login-cine .card-kicker .dot { margin-right: 0; }
.login-cine .card h1 {
  font-size: 26px;
  letter-spacing: 0.08em;
}
.login-cine .card .sub { margin-bottom: 26px; }
.login-cine .input-row:focus-within,
.login-cine .input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(63, 240, 168, 0.16);
}
.login-cine .card .foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-cta {
  display: grid;
  gap: 10px;
  text-align: center;
}
.foot-cta span { color: var(--muted); font-size: 13px; }
.title-anim i,
.title-anim b {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  opacity: 0;
  animation: brandArrive 0.7s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i) * 0.08s);
}
.title-anim i.gap { margin-left: 0.35em; }
.title-anim .hi { color: var(--mint); }
.signup-focus .auth-visual .brand-word {
  font-size: clamp(40px, 6vw, 72px);
  text-align: left;
  margin: 28px 0 10px;
}
.signup-focus .auth-visual .brand-tag {
  text-align: left;
  margin: 0 0 16px !important;
}
.login-pass { position: relative; }
.login-pass .input { padding-right: 58px; }
.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  padding: 6px;
}
.pass-toggle:hover { color: var(--mint); }
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}
.auth-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  border-right: 1px solid rgba(59, 130, 246, 0.12);
}
.auth-visual h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 18px 0 12px;
}
.auth-visual p { color: var(--muted); max-width: 420px; }
.auth-form {
  display: grid;
  place-items: center;
  padding: 32px 20px 56px;
}
.mini-games { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.mini-games img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(63, 240, 168, 0.08);
  border: 1px solid var(--mint-dim);
  border-radius: 12px;
  padding: 10px 14px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.chip:hover { background: rgba(63, 240, 168, 0.14); box-shadow: 0 0 18px var(--mint-glow); }
.chip b {
  font-family: var(--font-mono);
  font-size: 23px;
  letter-spacing: 0.18em;
  color: var(--mint);
  text-shadow: 0 0 18px var(--mint-glow);
}
.chip small {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint-dim);
  font-weight: 700;
}

.turnstile-wrap { margin-top: 26px; min-height: 66px; display:flex; justify-content:center; }
.turnstile-wrap .cf-turnstile { margin: 0 auto; }

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
  box-shadow: 0 0 10px var(--mint);
  margin-right: 8px;
  vertical-align: middle;
}

.hero { padding: 36px 0 20px; text-align: center; max-width: 920px; margin: 0 auto; }
.hero-focus { padding: 72px 0 48px; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 26px;
  background: rgba(8, 10, 16, 0.55);
  backdrop-filter: blur(12px);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 .accent,
.brand-line.accent {
  color: var(--brand-mails);
  text-shadow: 0 0 40px color-mix(in srgb, var(--brand-mails) 45%, transparent);
}
.brand-word {
  perspective: 900px;
  font-size: clamp(52px, 11vw, 104px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  cursor: default;
  color: var(--brand-loyal);
}
.brand-line {
  display: block;
  transform-style: preserve-3d;
}
.brand-word i {
  display: inline-block;
  font-style: normal;
  transform-origin: center;
  opacity: 0;
  animation: brandArrive 0.85s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i) * 0.07s);
}
.brand-line.accent i {
  animation-name: brandArrive, brandPulse;
  animation-duration: 0.85s, 2.8s;
  animation-delay: calc(var(--i) * 0.07s), calc(0.9s + var(--i) * 0.07s);
  animation-iteration-count: 1, infinite;
  animation-timing-function: cubic-bezier(.16, 1, .3, 1), ease-in-out;
}
.brand-word.ready i {
  opacity: 1;
  animation: brandFlex 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.09s);
}
.brand-word.ready .brand-line.accent i {
  animation: brandFlex 2.6s ease-in-out infinite, brandPulse 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.09s), calc(var(--i) * 0.09s);
}
.brand-word.ready:hover i {
  animation: brandJolt 0.5s ease both;
  animation-delay: calc(var(--i) * 0.04s);
}
@keyframes brandFlex {
  0%, 100% { transform: translateY(0) scaleY(1) scaleX(1); }
  30% { transform: translateY(-10px) scaleY(1.16) scaleX(0.96); }
  55% { transform: translateY(3px) scaleY(0.86) scaleX(1.06); }
  75% { transform: translateY(-4px) scaleY(1.08) scaleX(0.98); }
}
@keyframes brandArrive {
  0% {
    opacity: 0;
    transform: translateZ(-220px) scale(2.6) translateY(36px);
    filter: blur(14px);
  }
  70% { opacity: 1; filter: blur(0); }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes brandPulse {
  0%, 100% { text-shadow: 0 0 18px color-mix(in srgb, var(--brand-mails) 30%, transparent); }
  50% { text-shadow: 0 0 36px color-mix(in srgb, var(--brand-mails) 70%, transparent); }
}
.brand-tag {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 auto 12px !important;
  text-shadow: 0 0 18px var(--mint-glow);
}
@keyframes brandJolt {
  0% { transform: translate(0, 0) rotate(0) scale(1); }
  25% { transform: translate(-8px, -14px) rotate(-10deg) scale(1.08); }
  50% { transform: translate(10px, 6px) rotate(8deg) scale(1.04); }
  75% { transform: translate(-5px, -4px) rotate(-5deg) scale(1.06); }
  100% { transform: translate(0, 0) rotate(0) scale(1); }
}
.glitch {
  position: relative;
  display: inline-block;
}
.glitch:hover {
  animation: glitchSkew 0.35s steps(2, end);
}
.glitch:hover::before,
.glitch:hover::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.glitch:hover::before { color: var(--red); transform: translate(2px, -1px); mix-blend-mode: screen; }
.glitch:hover::after { color: var(--blue); transform: translate(-2px, 1px); mix-blend-mode: screen; }
.hero p { font-size: 17px; color: var(--muted); max-width: 540px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.demo {
  margin: 48px auto 0;
  max-width: 440px;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
}
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.demo-top .who { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.demo-msg { border: 1px solid var(--line-soft); border-radius: 11px; padding: 13px 14px; background: rgba(5, 7, 12, 0.7); }
.demo-msg .from { font-size: 12.5px; color: var(--muted-2); }
.demo-msg .subj { font-weight: 600; margin-top: 2px; font-size: 14.5px; }

.logo-line {
  overflow: hidden;
  margin: 36px calc(50% - 50vw) 8px;
  width: 100vw;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(8, 6, 16, 0.35), rgba(20, 12, 36, 0.45), rgba(8, 6, 16, 0.35));
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-line-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: logoMarquee 36s linear infinite;
  will-change: transform;
}
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.88;
}
.logo-item img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.login-cine .logo-line {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0;
  z-index: 2;
}
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.games-label {
  margin: 36px 0 18px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
}
.game-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 auto;
  max-width: 720px;
  perspective: 900px;
}
.gcard {
  --c: var(--blue);
  position: relative;
  min-height: 196px;
  padding: 32px 16px 22px;
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid color-mix(in srgb, var(--c) 42%, var(--line));
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.72), rgba(6, 8, 12, 0.78));
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent), 0 0 22px color-mix(in srgb, var(--c) 16%, transparent);
}
.gcard:last-child {
  grid-column: 1 / -1;
  max-width: 352px;
  justify-self: center;
  width: 100%;
}
.gcard:hover {
  border-color: var(--c);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 32px color-mix(in srgb, var(--c) 42%, transparent);
}
.gcard-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.88;
  transform: scale(1.06);
}
.gcard.has-vid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.08), rgba(5, 6, 10, 0.55));
  pointer-events: none;
}
.gcard.has-vid:hover .gcard-vid { opacity: 1; }
.gcard-ring {
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  animation: spinSlow 12s linear infinite;
  pointer-events: none;
  z-index: 1;
  mask: radial-gradient(circle, transparent 64%, #000 65%);
}
.gcard-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 96px;
}
.gcard-mark img {
  width: 148px;
  height: 88px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 50%, transparent));
}
.gcard-name {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent);
}

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 84px 0 30px; }
.feat {
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.16);
}
.feat h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.feat p { font-size: 14px; color: var(--muted); margin: 0; }
.feat .ic {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.1);
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: var(--mint);
}

footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 70px;
  padding: 28px 0;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.reveal { animation: rise 0.75s ease both; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.14s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.34s; }
.d5 { animation-delay: 0.44s; }
.d6 { animation-delay: 0.54s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes borderPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset, 0 20px 50px rgba(0,0,0,0.45), 0 0 28px rgba(59,130,246,0.05); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 20px 50px rgba(0,0,0,0.45), 0 0 36px rgba(239,68,68,0.08); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 40px) scale(1.18); }
}
@keyframes glitchSkew {
  0% { transform: none; }
  20% { transform: translate(-2px, 1px) skewX(-2deg); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 0) skewX(2deg); }
  100% { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse { 50% { opacity: 0.35; } }

@media (prefers-reduced-motion: reduce) {
  .dot, .gcard-ring, .reveal, body::before, .glass, .aurora, .logo-line-track, .brand-word i, .btn-signin, .btn-signin::after, .title-anim i, .title-anim b, .logo-word i, .logo .spark { animation: none !important; }
  .brand-word i, .title-anim i, .title-anim b { opacity: 1; }
  .reveal { opacity: 1; }
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .game-stage { grid-template-columns: 1fr 1fr; }
  .gcard { min-height: 168px; padding: 24px 12px 16px; }
  .gcard:last-child { grid-column: 1 / -1; max-width: 240px; justify-self: center; width: 100%; }
  .feats { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
  .card { padding: 24px 18px; }
  .login-cine .card { padding: 28px 20px 22px; }
}
