:root {
  --bg1: #0a0814;
  --bg2: #140c24;
  --pink: #ff2bd6;
  --cyan: #22e6ff;
  --text: #ece8f7;
  --muted: #a79fc0;
  --glass: rgba(26, 16, 46, .62);
  --line: rgba(255, 43, 214, .35);
  --ok: #3dff9a;
  --bad: #ff5470;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg1), var(--bg2) 60%, var(--bg1));
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 40vw at 85% -10%, rgba(255,43,214,.14), transparent 70%),
    radial-gradient(50vw 40vw at -10% 60%, rgba(34,230,255,.10), transparent 70%);
}
a { color: var(--cyan); }
h1, h2, h3, .logo, .nav-logo, .footer-logo, .btn { font-family: "Exo 2", "Open Sans", sans-serif; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(10, 8, 20, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 43, 214, .18);
}
.nav-logo { font-weight: 900; letter-spacing: .08em; color: #ffd6f6; text-decoration: none;
  text-shadow: 0 0 10px var(--pink), 0 0 22px rgba(255,43,214,.6); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; opacity: .8; transition: .2s; }
.nav nav a:hover { opacity: 1; color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 90px 20px 60px; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,8,20,.55), rgba(10,8,20,.9)),
    url("screenshots/02-city-night.png") center / cover no-repeat;
  transform: scale(1.05);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.14) translateY(-1.5%); } }
.hero-inner { max-width: 760px; width: 100%; }
.logo {
  margin: 0; font-weight: 900; line-height: 1;
  font-size: clamp(52px, 14vw, 140px); letter-spacing: .03em;
  color: #ffe3f9;
  text-shadow: 0 0 6px #ffc2f2, 0 0 18px var(--pink), 0 0 42px var(--pink), 0 0 90px rgba(255,43,214,.7);
  animation: flicker 6s infinite;
}
@keyframes flicker {
  0%, 18%, 22%, 62%, 66%, 100% { opacity: 1; }
  20%, 64% { opacity: .78; }
}
.tagline {
  margin: 14px 0 28px; font-family: "Exo 2", sans-serif; font-weight: 700;
  font-size: clamp(14px, 3.6vw, 22px); letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); text-shadow: 0 0 14px rgba(34,230,255,.8);
}
.download-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.download-option { width: min(100%, 270px); }
.download-option .btn { width: 100%; padding-inline: 16px; }
.download-option svg { flex: none; }
.download-option small { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 30px; border-radius: 14px; font-weight: 800; font-size: 17px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #ff2bd6, #b61cff);
  box-shadow: 0 0 18px rgba(255,43,214,.65), 0 0 46px rgba(255,43,214,.3), inset 0 0 12px rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 26px rgba(255,43,214,.95), 0 0 70px rgba(255,43,214,.5), inset 0 0 14px rgba(255,255,255,.25); }
.btn-ghost { color: var(--cyan); border-color: var(--cyan); background: rgba(34,230,255,.06); box-shadow: 0 0 14px rgba(34,230,255,.3); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(34,230,255,.14); box-shadow: 0 0 26px rgba(34,230,255,.6); }
.hero-note { margin: 16px 0 28px; font-size: 14px; }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--cyan); text-decoration: none; font-size: 26px; animation: bob 1.8s ease-in-out infinite; text-shadow: 0 0 12px var(--cyan); }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* server status */
.status {
  max-width: 560px; margin: 0 auto; text-align: left; padding: 18px 22px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 28px rgba(255,43,214,.18);
}
.status-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.status-title { font-family: "Exo 2", sans-serif; font-size: 17px; }
.status-state { margin-left: auto; font-size: 14px; font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-state="online"] .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok), 0 0 22px var(--ok); animation: pulse 1.8s infinite; }
.status[data-state="online"] .status-state { color: var(--ok); text-shadow: 0 0 10px rgba(61,255,154,.6); }
.status[data-state="offline"] .dot { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.status[data-state="offline"] .status-state { color: var(--bad); }
@keyframes pulse { 50% { opacity: .45; } }
.status-body { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.status-count { font-size: 15px; color: var(--muted); }
.status-count b { font-family: "Exo 2", sans-serif; font-size: 32px; color: var(--cyan); text-shadow: 0 0 12px rgba(34,230,255,.7); }
.status-nicks { display: flex; flex-wrap: wrap; gap: 8px; }
.nick { padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,43,214,.14); border: 1px solid var(--line); }
.nick.empty { background: none; border-color: transparent; color: var(--muted); padding-left: 0; font-weight: 400; }

/* sections */
.section { max-width: 1160px; margin: 0 auto; padding: clamp(56px, 9vw, 100px) clamp(16px, 4vw, 32px) 0; }
.h2 {
  margin: 0; font-size: clamp(30px, 6vw, 48px); font-weight: 800; color: #ffe3f9;
  text-shadow: 0 0 10px rgba(255,43,214,.9), 0 0 30px rgba(255,43,214,.5);
}
.h2::after { content: ""; display: block; width: 120px; height: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--pink), var(--cyan)); box-shadow: 0 0 12px var(--pink); border-radius: 3px; }
.lead { color: var(--muted); margin: 16px 0 32px; font-size: 17px; max-width: 640px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.shot {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--glass); cursor: zoom-in; aspect-ratio: 16 / 9;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.shot:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: 0 0 26px rgba(255,43,214,.5); }
.shot:hover img { transform: scale(1.06); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: 13px; font-weight: 600; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(10,8,20,.9)); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  padding: 26px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: 0 0 30px rgba(255,43,214,.35); }
.card h3 { margin: 14px 0 8px; font-size: 21px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; border: 1px solid rgba(34,230,255,.5); background: rgba(34,230,255,.08); box-shadow: 0 0 16px rgba(34,230,255,.3); }
.icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px var(--cyan)); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { display: flex; gap: 16px; padding: 24px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: "Exo 2", sans-serif; font-weight: 900; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--pink), #b61cff); box-shadow: 0 0 18px rgba(255,43,214,.7); }
code { background: rgba(34,230,255,.12); color: var(--cyan); padding: 1px 7px; border-radius: 6px; font-size: .92em; }
.note { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* controls */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); }
.controls { width: 100%; border-collapse: collapse; min-width: 340px; }
.controls th, .controls td { padding: 13px 20px; text-align: left; }
.controls th { font-family: "Exo 2", sans-serif; color: var(--cyan); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.controls td { border-bottom: 1px solid rgba(255,255,255,.06); }
.controls tbody tr { transition: background .2s; }
.controls tbody tr:hover { background: rgba(255,43,214,.09); }
.controls tbody tr:last-child td { border-bottom: 0; }
kbd { display: inline-block; margin: 1px 3px 1px 0; padding: 2px 10px; min-width: 30px; text-align: center; border-radius: 8px; font-family: "Exo 2", sans-serif; font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.28); border-bottom-width: 3px; }

/* sponsors */
[hidden] { display: none !important; }
.sponsors { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.sponsor {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  width: 200px; min-height: 120px; padding: 18px; border-radius: 18px; color: var(--text); text-decoration: none;
  background: var(--glass); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.sponsor.main { width: min(100%, 340px); min-height: 170px; border-color: var(--cyan); box-shadow: 0 0 24px rgba(34,230,255,.22); }
a.sponsor:hover { transform: translateY(-5px); border-color: var(--pink); box-shadow: 0 0 28px rgba(255,43,214,.45); }
.sponsor img { max-width: 100%; max-height: 64px; object-fit: contain; }
.sponsor.main img { max-height: 100px; }
.sponsor-name { font-family: "Exo 2", sans-serif; font-weight: 800; font-size: 20px; color: #ffe3f9; text-shadow: 0 0 10px rgba(255,43,214,.7); }
.sponsor.main .sponsor-name { font-size: 26px; }
.sponsor small { color: var(--muted); font-size: 13px; }

/* requirements */
.req { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.req-item { padding: 20px 22px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.req-item span { display: block; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.req-item b { font-family: "Exo 2", sans-serif; font-size: 19px; color: var(--cyan); }
.cta { margin-top: 44px; }

/* footer */
.footer { margin-top: clamp(60px, 9vw, 110px); padding: 40px 20px 50px; text-align: center; border-top: 1px solid rgba(255,43,214,.25); color: var(--muted); font-size: 14px; }
.footer-logo { font-weight: 900; font-size: 26px; letter-spacing: .08em; color: #ffd6f6; text-shadow: 0 0 12px var(--pink), 0 0 30px rgba(255,43,214,.6); }
.footer p { margin: 8px 0 0; }
.footer-small { opacity: .7; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(5, 3, 12, .93); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 0 50px rgba(255,43,214,.4); animation: zoomIn .25s; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.lb-close, .lb-nav { position: absolute; background: rgba(255,43,214,.15); color: #fff; border: 1px solid var(--line); cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; transition: .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,43,214,.4); box-shadow: 0 0 18px var(--pink); }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--text); font-weight: 600; }

/* reveal on scroll */
.reveal, .shot { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s, box-shadow .3s, border-color .3s; }
.reveal.in, .shot.in { opacity: 1; transform: none; }
.reveal.in:hover { transform: translateY(-6px); }
.shot.in:hover { transform: translateY(-4px); }
.no-js .reveal, .no-js .shot { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .nav nav { display: none; }
  .nav { justify-content: center; }
  .btn { width: 100%; max-width: 360px; }
  .lb-nav { width: 40px; height: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot span { font-size: 11px; padding: 16px 8px 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .shot { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
