/* ============================================================
   ChannelHunt — minimal · neo-futurist
   one accent, generous space, no decorative chrome
   ============================================================ */

.server .server-add-text {
  display: block;
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 4px;
  font-weight: 400;
}

:root{
  /* surface */
  --bg: #07080a;
  --surface: #0d0f13;
  --surface-2: #14171d;
  --line: rgba(255,255,255,.06);
  --line-2: rgba(255,255,255,.12);
  /* text */
  --fg: #f0f2f5;
  --fg-2: #a8aeb8;
  --fg-3: #5a6069;
  --fg-4: #383c43;
  /* accent — brand red (used everywhere) */
  --cyan: #ff5550;
  --cyan-soft: rgba(255, 85, 80, .12);
  --cyan-edge: rgba(255, 85, 80, .38);
  --red: #ff5550;
  --red-soft: rgba(255, 85, 80, .12);
  /* type */
  --f-sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --container: 1200px;
}

/* ─── reset ─── */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  background:var(--bg);
  color:var(--fg);
  font-family:var(--f-sans);
  font-size:16px;
  line-height:1.5;
  font-weight:400;
  letter-spacing:-.005em;
  font-feature-settings:"ss01","ss03","cv11";
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  min-height:100vh;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font:inherit; color:inherit; background:none; border:none; cursor:pointer; padding:0; }
ol,ul{ list-style:none; }
::selection{ background:var(--cyan); color:var(--bg); }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--surface-2); border:2px solid var(--bg); border-radius:0; }

.wrap{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

/* ─── nav ─── */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(7,8,10,.72);
  backdrop-filter:blur(20px) saturate(120%);
  -webkit-backdrop-filter:blur(20px) saturate(120%);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  height:68px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-family:var(--f-sans);
  font-weight:600;
  font-size:15px;
  letter-spacing:-.01em;
  color:var(--fg);
  transition:opacity .2s;
}
.brand:hover{ opacity:.8; }
.brand-mark{
  width:28px;
  height:28px;
  border-radius:6px;
  display:block;
}
.brand-name{ line-height:1; }
.nav-links{
  display:flex;
  gap:28px;
  margin-left:auto;
}
.nav-links a{
  font-family:var(--f-sans);
  font-size:14px;
  font-weight:500;
  color:var(--fg-2);
  transition:color .15s;
}
.nav-links a:hover{ color:var(--fg); }
.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--f-sans);
  font-size:14px;
  font-weight:600;
  color:var(--bg);
  background:var(--cyan);
  padding:9px 16px;
  border-radius:999px;
  letter-spacing:-.01em;
  transition:transform .15s ease, background .15s;
}
.nav-cta:hover{
  background:#ff7a76;
  transform:translateY(-1px);
}
.nav-cta-arrow{
  font-family:var(--f-mono);
  transition:transform .15s;
}
.nav-cta:hover .nav-cta-arrow{ transform:translateX(2px); }
.nav-rule{
  height:1px;
  background:var(--line);
}

/* ─── hero ─── */
.hero{
  position:relative;
  padding:120px 0 96px;
  overflow:hidden;
  min-height:80vh;
  display:flex;
  align-items:center;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 65%;
  opacity:.22;
  filter:saturate(.6) contrast(1.1);
  mix-blend-mode:screen;
}
.hero-bg-fade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 50%,
      transparent 0%,
      rgba(7,8,10,.5) 60%,
      var(--bg) 100%),
    linear-gradient(to bottom,
      var(--bg) 0%,
      rgba(7,8,10,.4) 30%,
      var(--bg) 100%);
}
.hero-bg-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size:60px 60px;
  background-position:center;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}
.hero-inner{
  position:relative;
  z-index:1;
  max-width:920px;
}
.hero-meta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 14px;
  border:1px solid var(--line-2);
  border-radius:999px;
  font-family:var(--f-mono);
  font-size:12px;
  font-weight:500;
  color:var(--fg-2);
  letter-spacing:.02em;
  margin-bottom:40px;
}
.hero-meta-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 8px var(--cyan);
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.5; transform:scale(.85); }
}
.hero-title{
  font-family:var(--f-sans);
  font-weight:700;
  font-size:clamp(56px, 9vw, 124px);
  line-height:.92;
  letter-spacing:-.045em;
  color:var(--fg);
  margin-bottom:32px;
  text-wrap:balance;
}
.hero-title-accent{
  color:var(--cyan);
  font-weight:500;
  letter-spacing:-.04em;
}
.hero-lede{
  font-family:var(--f-sans);
  font-size:clamp(17px, 1.4vw, 20px);
  line-height:1.5;
  color:var(--fg-2);
  max-width:54ch;
  margin-bottom:56px;
  font-weight:400;
}
.hero-version{
  margin-top:24px;
  font-family:var(--f-mono);
  font-size:12px;
  color:var(--fg-3);
  letter-spacing:.04em;
}

/* ─── servers (IP pills) ─── */
.servers{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:560px;
}
.server{
  display:grid;
  grid-template-columns:88px 1fr auto;
  align-items:center;
  gap:16px;
  text-align:left;
  width:100%;
  padding:18px 20px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  transition:border-color .18s, background .18s, transform .12s;
  position:relative;
  overflow:hidden;
}
.server::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:3px;
  background:var(--cyan);
  opacity:0;
  transition:opacity .18s;
}
.server:hover{
  border-color:var(--line-2);
  background:var(--surface-2);
}
.server:hover::before{ opacity:1; }
.server:active{ transform:scale(.997); }
.server-edition{
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--cyan);
}
.server-host{
  font-family:var(--f-mono);
  font-size:15px;
  font-weight:500;
  color:var(--fg);
  letter-spacing:-.01em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.server-action{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--f-mono);
  font-size:12px;
  color:var(--fg-3);
  letter-spacing:.04em;
  transition:color .15s;
}
.server:hover .server-action{ color:var(--cyan); }
.server-action-glyph{ font-size:14px; }

/* ─── sections ─── */
.section-head{
  display:flex;
  align-items:baseline;
  gap:20px;
  margin-bottom:72px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
.section-num{
  font-family:var(--f-mono);
  font-size:13px;
  color:var(--fg-3);
  letter-spacing:.04em;
}
.section-title{
  font-family:var(--f-sans);
  font-weight:600;
  font-size:clamp(36px, 4.5vw, 56px);
  line-height:1;
  letter-spacing:-.035em;
  color:var(--fg);
}

/* ─── rules ─── */
.rules{
  padding:120px 0;
}
.rule-list{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.rule{
  background:var(--bg);
  padding:48px 32px 56px;
  display:flex;
  flex-direction:column;
  gap:24px;
  transition:background .2s;
  position:relative;
}
.rule:hover{ background:var(--surface); }
.rule-num{
  font-family:var(--f-mono);
  font-size:13px;
  font-weight:500;
  color:var(--cyan);
  letter-spacing:.06em;
}
.rule-body h3{
  font-family:var(--f-sans);
  font-weight:600;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.025em;
  color:var(--fg);
  margin-bottom:14px;
}
.rule-body p{
  font-family:var(--f-sans);
  font-size:15px;
  line-height:1.55;
  color:var(--fg-2);
  text-wrap:pretty;
}

/* ─── final CTA (red slab) ─── */
.cta-red{
  background:var(--red);
  color:#0a0a0a;
  padding:96px 0 104px;
  border-top:3px solid var(--fg);
  border-bottom:3px solid var(--fg);
}
.cta-red-inner{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:64px;
  align-items:center;
}
.cta-red-text h2{
  font-family:var(--f-sans);
  font-weight:700;
  font-size:clamp(56px, 7vw, 96px);
  line-height:.92;
  letter-spacing:-.045em;
  color:#0a0a0a;
}
.cta-red-em{
  color:#ffffff;
  font-weight:600;
  letter-spacing:-.04em;
}
.cta-red-stamps{
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:stretch;
}
.ip-stamp{
  background:#ffffff;
  color:#0a0a0a;
  padding:18px 22px 16px;
  border:2px solid #0a0a0a;
  border-radius:4px;
  box-shadow:8px 8px 0 #0a0a0a;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  text-align:left;
  transition:transform .15s ease, box-shadow .15s ease;
  cursor:pointer;
  position:relative;
}
.ip-stamp:hover{
  transform:translate(-3px,-3px);
  box-shadow:12px 12px 0 #0a0a0a;
}
.ip-stamp:active{
  transform:translate(2px,2px);
  box-shadow:3px 3px 0 #0a0a0a;
}
.ip-stamp-label{
  font-family:var(--f-mono);
  font-size:11px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#5a6069;
}
.ip-stamp-value{
  font-family:var(--f-mono);
  font-size:20px;
  font-weight:600;
  letter-spacing:-.01em;
  color:#0a0a0a;
}

/* ─── footer ─── */
.foot{
  border-top:1px solid var(--line);
  padding:28px 0;
}
.foot-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.foot-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--f-sans);
  font-size:14px;
  font-weight:500;
  color:var(--fg);
}
.foot-mark{
  width:20px;
  height:20px;
  border-radius:4px;
}
.foot-meta{
  font-family:var(--f-mono);
  font-size:12px;
  color:var(--fg-3);
  letter-spacing:.02em;
}

/* ─── toast ─── */
.toast{
  position:fixed;
  bottom:32px;
  left:50%;
  transform:translateX(-50%) translateY(150%);
  background:var(--surface);
  border:1px solid var(--line-2);
  color:var(--fg);
  padding:12px 18px;
  border-radius:999px;
  font-family:var(--f-mono);
  font-size:13px;
  font-weight:500;
  letter-spacing:.01em;
  z-index:100;
  display:flex;
  align-items:center;
  gap:10px;
  opacity:0;
  transition:transform .3s cubic-bezier(.22,1,.36,1), opacity .2s;
  box-shadow:0 12px 32px rgba(0,0,0,.4);
}
.toast.show{
  transform:translateX(-50%) translateY(0);
  opacity:1;
}
.toast-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 8px var(--cyan);
}

/* ─── legacy JS-injected aliases (kept so any leftover JS runs cleanly) ─── */
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes scaleUp{ from{ opacity:0; transform:scale(.95); } to{ opacity:1; transform:none; } }

/* ─── responsive ─── */
@media (max-width:880px){
  .nav-row{ height:60px; gap:20px; }
  .nav-links{ display:none; }
  .hero{ padding:80px 0 64px; min-height:auto; }
  .hero-title{ font-size:clamp(44px, 12vw, 72px); }
  .hero-lede{ font-size:16px; margin-bottom:40px; }
  .rules{ padding:80px 0; }
  .rule-list{
    grid-template-columns:1fr;
  }
  .rule{ padding:36px 24px; }
  .cta-red{ padding:64px 0 72px; }
  .cta-red-inner{ grid-template-columns:1fr; gap:40px; }
  .section-head{ margin-bottom:48px; gap:16px; }
  .server{
    grid-template-columns:1fr auto;
    gap:8px 14px;
    padding:16px 18px;
  }
  .server-edition{ grid-column:1 / -1; font-size:10px; }
  .server-host{ font-size:13px; }
}
@media (max-width:480px){
  .wrap{ padding:0 20px; }
  .hero-title{ font-size:44px; }
  .section-title{ font-size:32px; }
  .cta-red-text h2{ font-size:48px; }
  .ip-stamp-value{ font-size:17px; }
  .foot-row{ flex-direction:column; align-items:flex-start; gap:12px; }
}