*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #090a0d;
  --bg2: #101218;
  --card: #15171e;
  --text: #f0f1f5;
  --muted: #8b92a5;
  --accent: #8b5cf6;
  --accent2: #a78bfa;
  --online: #22c55e;
  --offline: #ef4444;
  --border: rgba(255,255,255,0.08);
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.inner {
  width: min(960px, 92%);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9,10,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: relative;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.nav-discord {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 0.95rem;
  border-radius: 7px;
  font-weight: 600;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.2s;
}

.menu-check:checked ~ .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-check:checked ~ .burger span:nth-child(2) {
  opacity: 0;
}
.menu-check:checked ~ .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(139,92,246,0.18), transparent 60%);
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.ip-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.ip-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.ip-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ip-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.copy-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.5rem 0.95rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.copy-btn:hover {
  filter: brightness(1.12);
}

.copy-btn.copied {
  background: var(--online);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

.live-status.is-online .dot {
  background: var(--online);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  animation: pulse 2s ease-in-out infinite;
}

.live-status.is-online {
  color: var(--online);
}

.live-status.is-offline .dot {
  background: var(--offline);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.25);
}

.live-status.is-offline {
  color: var(--offline);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.15s;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  filter: brightness(1.12);
}

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

.btn.outline:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03);
}

/* Features */
.features {
  padding: 4rem 0;
  background: var(--bg2);
}

.features h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.25rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(139,92,246,0.35);
}

.card-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.7rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.inner.narrow {
  width: min(560px, 92%);
}

/* Info blocks */
.info-block {
  padding: 3.5rem 0;
}

.info-block.alt {
  background: var(--bg2);
}

.info-block h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.info-block p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-size: 1.02rem;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-block strong {
  color: var(--text);
  font-weight: 600;
}

.info-block a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
}

.info-block a:hover {
  text-decoration: underline;
}

.map-title {
  text-align: center;
}

.map-lead {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 1.75rem !important;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.map-shot {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  aspect-ratio: 16 / 10;
}

.map-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 560px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta {
  padding: 4.5rem 0;
  text-align: center;
}

.cta h2 {
  font-family: var(--display);
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.cta-ip {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.copy {
  width: 100%;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0.7rem;
  }

  .menu-check:checked ~ .nav {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .features {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
