/* Hydro SMP: dark site in the server's blue, with the purple drop from the logo. */
:root {
  --bg: #070b1a;
  --bg-alt: #0a1124;
  --card: #0e1631;
  --line: rgba(144, 200, 255, 0.14);
  --text: #e8efff;
  --muted: #9fb0d4;
  --blue: #1e5bff;
  --sky: #90c8ff;
  --ice: #bdf3ff;
  --purple: #a200ff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--ice); }
code {
  font: 500 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(30, 91, 255, 0.16);
  color: var(--ice);
  padding: 0.12em 0.45em;
  border-radius: 6px;
}
h1, h2, h3 { font-family: Outfit, Inter, system-ui, sans-serif; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 26, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px Outfit, sans-serif; color: var(--text); }
.brand b { background: linear-gradient(90deg, var(--blue), var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand.small { font-size: 15px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--text); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 15px Inter, sans-serif; line-height: 1;
  padding: 14px 22px; border-radius: 12px; border: 0; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--blue), #4b86ff);
  box-shadow: 0 8px 24px rgba(30, 91, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 30px rgba(30, 91, 255, 0.45); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(144, 200, 255, 0.08); box-shadow: none; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(30, 91, 255, 0.28), transparent 60%),
    radial-gradient(700px 420px at 92% 10%, rgba(162, 0, 255, 0.18), transparent 60%),
    var(--bg);
  padding: 72px 0 28px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: radial-gradient(rgba(144, 200, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--sky); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--blue), var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 56ch; margin: 18px 0 28px; }

.ip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 460px; padding: 12px 12px 12px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.ip-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ip-label { color: var(--muted); font-size: 12px; font-weight: 500; }
.ip code { background: none; color: var(--text); padding: 0; font-size: clamp(20px, 3vw, 24px); font-weight: 600; }
.status { display: flex; align-items: center; gap: 8px; margin: 14px 2px 0; color: var(--muted); font-size: 14px; min-height: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #5b6a8e; flex: none; }
.status.on .dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
.status.off .dot { background: #f87171; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(162, 0, 255, 0.5), rgba(30, 91, 255, 0.18) 55%, transparent 70%); filter: blur(20px); }
.drop { position: relative; width: min(230px, 56vw); height: auto; filter: drop-shadow(0 0 22px rgba(162, 0, 255, 0.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
.facts div { background: rgba(14, 22, 49, 0.7); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.facts b { display: block; font: 700 18px Outfit, sans-serif; background: linear-gradient(90deg, var(--sky), var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 14px; }

/* ---- sections ---- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.sub { color: var(--muted); margin: 10px 0 38px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.2s ease, transform 0.2s ease; }
.card:hover { border-color: rgba(144, 200, 255, 0.34); transform: translateY(-2px); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .note { margin-top: 14px; font-size: 14px; }

.join { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.join ol { margin: 0; padding-left: 22px; color: var(--muted); display: grid; gap: 8px; }
.join li::marker { color: var(--sky); font-weight: 700; }
.join b { color: var(--text); font-weight: 600; }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: rule; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rules li { counter-increment: rule; position: relative; padding-left: 34px; color: var(--muted); font-size: 15px; }
.rules li::before { content: counter(rule); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 600 12px Inter, sans-serif; color: var(--ice); background: rgba(30, 91, 255, 0.2); }

.band { background: linear-gradient(135deg, rgba(30, 91, 255, 0.22), rgba(162, 0, 255, 0.16)); border-block: 1px solid var(--line); padding: 56px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band .sub { margin-bottom: 0; }

.footer { padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.foot-in > span:last-child { max-width: 560px; }

/* ---- legal and rules pages ---- */
.doc-page { padding: 56px 0 72px; }
.wrap.doc { width: min(780px, 100% - 32px); }
.wrap.doc.doc-wide { width: min(1120px, 100% - 32px); }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc .updated { color: var(--muted); font-size: 14px; margin: 10px 0 26px; }
.doc h2 { font-size: 26px; font-weight: 700; margin: 42px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-family: Outfit, Inter, sans-serif; font-size: 19px; font-weight: 700; margin: 26px 0 8px; color: var(--sky); }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.doc li::marker { color: var(--sky); }
.doc b { color: var(--text); font-weight: 600; }
.doc-wide p { max-width: 70ch; }
.rules-page { margin-top: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-in .disclaimer { flex-basis: 100%; max-width: 640px; }

/* ---- smaller screens ---- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 190px; }
  .glow { width: 220px; height: 220px; }
  .drop { width: 130px; }
  .links { display: none; }
  .join { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .ip { max-width: none; }
}
@media (max-width: 560px) {
  .grid, .rules { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .facts div { padding: 14px; }
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drop { animation: none; }
  .btn, .card { transition: none; }
}
