:root {
  --ink: #070b14;
  --ink-2: #0d1526;
  --panel: rgba(12, 22, 40, 0.72);
  --line: rgba(0, 229, 255, 0.28);
  --cyan: #00e5ff;
  --cyan-2: #7af6ff;
  --pink: #ff6ad5;
  --cream: #f4efe6;
  --mute: #9bb0c9;
  --ok: #7dffb3;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --r: 22px;
  --font-d: "Outfit", system-ui, sans-serif;
  --font-h: "Comfortaa", "Outfit", sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-d);
  color: var(--cream);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(0, 229, 255, 0.16), transparent 55%),
    radial-gradient(900px 500px at 110% 10%, rgba(255, 106, 213, 0.12), transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, #050814 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M10 8c2 0 3 2 3 4s-1 3-3 3-3-1-3-3 1-4 3-4zm8 6c2 0 3 1 3 3s-1 3-3 3-3-1-3-3 1-3 3-3z' fill='%2300e5ff' fill-opacity='0.035'/%3E%3C/svg%3E");
  z-index: 0;
}
#paw-layer, #spark {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  margin: 12px auto 0;
  width: min(1180px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), var(--shadow);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.55);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: flex-end;
}
.nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav a:hover, .nav a.on {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}
.nav-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 229, 255, 0.08);
  cursor: pointer;
  position: relative;
}
.nav-btn::before, .nav-btn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.nav-btn::before { top: 16px; }
.nav-btn::after { bottom: 16px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 54px 0 28px;
}
.kicker {
  font-family: var(--font-m);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--font-h);
  line-height: 1.15;
  margin: 8px 0 12px;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  background: linear-gradient(90deg, var(--cream), var(--cyan-2), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p { color: var(--mute); line-height: 1.7; }
.lead { font-size: 1.08rem; color: #c9d7e8; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-c {
  background: linear-gradient(90deg, var(--cyan), #4dfff0);
  color: #041018;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.28);
}
.btn-g {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.stage {
  position: relative;
  min-height: 420px;
}
.stage img.hero-pic {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 0 80px rgba(0, 229, 255, 0.18), var(--shadow);
}
.scan {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 2px,
    rgba(0, 229, 255, 0.04) 2px 4px
  );
}
.scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.22), transparent);
  animation: sweep 3.6s linear infinite;
}
@keyframes sweep {
  from { top: -30%; }
  to { top: 110%; }
}
#orb {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  z-index: 3;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip {
  font-family: var(--font-m);
  font-size: 0.72rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan-2);
  background: rgba(0, 229, 255, 0.06);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
  transform: perspective(800px) rotateX(0) rotateY(0);
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { border-color: var(--cyan); }
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}
.card h3 { margin: 6px 0; color: var(--cream); }
.icon-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-row img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin: 0;
}
.section { padding: 28px 0 10px; }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.visor {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), var(--cyan), transparent);
  background-size: 200% 100%;
  animation: flow 6s linear infinite;
  margin: 18px 0 28px;
}
@keyframes flow {
  to { background-position: 200% 0; }
}
.story p + p { margin-top: 14px; }
.aside {
  border-left: 3px solid var(--pink);
  padding: 8px 0 8px 16px;
  color: #d7c3e8;
  font-style: italic;
}
.media-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}
.spine {
  min-height: 170px;
  border-radius: 6px 10px 10px 6px;
  padding: 12px 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-m);
  font-size: 0.78rem;
  color: #061018;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset -8px 0 12px rgba(0,0,0,0.25);
}
.eq {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  margin: 18px 0;
}
.eq i {
  display: block;
  width: 8px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--pink));
  animation: bounce 0.9s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-delay: 0.1s; }
.eq i:nth-child(3) { animation-delay: 0.18s; }
.eq i:nth-child(4) { animation-delay: 0.05s; }
.eq i:nth-child(5) { animation-delay: 0.22s; }
.eq i:nth-child(6) { animation-delay: 0.12s; }
.eq i:nth-child(7) { animation-delay: 0.28s; }
.eq i:nth-child(8) { animation-delay: 0.08s; }
.eq i:nth-child(9) { animation-delay: 0.16s; }
.eq i:nth-child(10) { animation-delay: 0.24s; }
@keyframes bounce {
  from { height: 18%; }
  to { height: 100%; }
}
.spin {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #111 0 18%, transparent 19%),
    repeating-conic-gradient(#0b0b0b 0 6deg, #1c1c1c 6deg 12deg);
  border: 8px solid #222;
  box-shadow: 0 0 0 4px var(--cyan), 0 0 30px rgba(0,229,255,0.4);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  height: 220px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery a:hover img { transform: scale(1.06); }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.on { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 16px;
  border: 1px solid var(--line);
}
form {
  display: grid;
  gap: 12px;
}
label { font-size: 0.85rem; color: var(--cyan-2); font-family: var(--font-m); }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 20, 0.8);
  color: var(--cream);
  font: inherit;
}
button.btn {
  cursor: pointer;
  font: inherit;
  width: fit-content;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ok);
  color: #042014;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  display: none;
  z-index: 90;
}
.toast.on { display: block; animation: pop 0.3s ease; }
@keyframes pop {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.stat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 8px;
}
.stat div {
  background: rgba(0,229,255,0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 1.3rem;
  color: var(--cyan);
  font-family: var(--font-h);
}
.stat span { color: var(--mute); font-size: 0.78rem; }
.foot {
  margin: 48px auto 24px;
  width: min(1180px, calc(100% - 32px));
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--mute);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  background: rgba(7,11,20,0.55);
}
.tag { color: var(--pink); }
.game {
  position: relative;
  overflow: hidden;
}
.game .tag-abs {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cyan);
  color: #041018;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}
ul.clean { padding-left: 18px; color: var(--mute); }
ul.clean li { margin: 8px 0; }
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hud {
  font-family: var(--font-m);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
@media (max-width: 960px) {
  .hero, .split, .grid, .gallery, .two, .stat { grid-template-columns: 1fr 1fr; }
  .stat { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .top { border-radius: 20px; }
  .nav-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    background: rgba(7, 11, 20, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .hero, .split, .grid, .gallery, .two, .stat { grid-template-columns: 1fr; }
  .stage img.hero-pic { height: 280px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
