:root {
  --bg: #090c11;
  --bg-alt: #0d131b;
  --panel: #121a24;
  --panel-border: #22303f;
  --cyan: #39d0ff;
  --gold: #ffd700;
  --green: #57f287;
  --red: #ff5c5c;
  --text: #e8f1f8;
  --text-dim: #8ca0b3;
  --font-display: 'Press Start 2P', monospace;
  --font-body: 'Rajdhani', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(57, 208, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 208, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

a { color: inherit; }

code {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6em;
  background: rgba(57, 208, 255, 0.1);
  border: 1px solid var(--panel-border);
  padding: 0.3em 0.5em;
  border-radius: 4px;
  color: var(--cyan);
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(9, 12, 17, 0.75);
  border-bottom: 1px solid var(--panel-border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-block {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(57, 208, 255, 0.5);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.brand-accent { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--cyan); }

.lang-switch {
  display: flex;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  overflow: hidden;
}

.lang-switch button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  background: transparent;
  color: var(--text-dim);
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch button:hover { color: var(--text); }

.lang-switch button.active {
  background: var(--cyan);
  color: #04141c;
}

/* Hero */
.hero {
  padding: 110px 24px 90px;
  text-align: center;
}

.hero-inner { max-width: 780px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.35;
  margin: 0 0 24px;
  text-shadow: 0 0 24px rgba(57, 208, 255, 0.35);
}

.hero h1 .accent { color: var(--gold); text-shadow: 0 0 24px rgba(255, 215, 0, 0.35); }

.hero-sub {
  color: var(--text-dim);
  font-size: 1.25rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.ip-label {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-dim);
}

.ip-box code {
  font-size: 0.85rem;
  padding: 8px 12px;
}

.copy-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--cyan);
  color: #04141c;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.copy-btn:hover { box-shadow: 0 0 16px rgba(57, 208, 255, 0.6); }
.copy-btn:active { transform: scale(0.96); }
.copy-btn.copied { background: var(--green); }

.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--text-dim);
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.status-dot.online { background: var(--green); box-shadow: 0 0 10px var(--green); }
.status-dot.offline { background: var(--red); box-shadow: 0 0 10px var(--red); }

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #1b8fd1);
  color: #04141c;
  box-shadow: 0 0 20px rgba(57, 208, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 26px rgba(57, 208, 255, 0.55); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--panel-border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Sections */
section { padding: 70px 24px; max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 22px);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title .tag {
  font-size: 12px;
  color: #04141c;
  background: var(--gold);
  padding: 6px 10px;
  border-radius: 4px;
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1rem;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 22px 26px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: #04141c;
  background: var(--cyan);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--text-dim); }

/* Community / Discord */
.community-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.community-text p { color: var(--text-dim); font-size: 1.05rem; }

.community-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}

.community-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 600;
}

.community-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.widget-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.7;
}

.discord-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel);
}

@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    font-size: 0.9rem;
  }

  .community-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 20px 70px; }
  section { padding: 50px 20px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }

  .hero { padding: 80px 16px 60px; }
  .hero-sub { font-size: 1.05rem; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; }

  .brand-text { font-size: 9px; }

  .ip-box { padding: 10px 12px; gap: 8px; }
  .ip-box code { font-size: 0.6rem; padding: 6px 8px; }

  .cta-row { flex-direction: column; width: 100%; }
  .cta-row .btn { width: 100%; text-align: center; }

  .section-title { font-size: 13px; gap: 10px; }

  .card { padding: 20px; }

  .steps li { flex-direction: column; padding: 18px; }
  .step-num { margin-bottom: 4px; }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 24px 60px;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-top: 1px solid var(--panel-border);
}

.site-footer code {
  font-size: 0.65rem;
}
