:root {
  --bg: hsl(240 21% 6%);
  --fg: hsl(216 28% 91%);
  --muted: hsl(215 16% 65%);
  --border: hsl(240 20% 12%);
  --card: hsl(0 0% 100% / 0.05);
  --primary: hsl(190 100% 50%);
  --primary-soft: hsl(190 100% 50% / 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}

.bg-effects {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(3px);
}

.glow-1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(190 100% 50% / 0.25), transparent 70%);
}

.glow-2 {
  top: 30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(270 80% 60% / 0.22), transparent 70%);
}

.glow-3 {
  bottom: 5%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(280 70% 60% / 0.20), transparent 70%);
}

.glow-4 {
  bottom: -5%;
  right: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, hsl(270 80% 60% / 0.15), transparent 70%);
}

.glow-5 {
  top: 50%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(190 100% 50% / 0.18), transparent 70%);
}

.glow-6 {
  top: 20%;
  right: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(190 100% 50% / 0.12), transparent 70%);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}

header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero-image {
  margin-bottom: 1.25rem;
  border-radius: 14px;
  border: 1px solid hsl(0 0% 100% / 0.12);
  overflow: hidden;
  background: hsl(0 0% 100% / 0.03);
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 0%;
}

header h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

header p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid hsl(0 0% 100% / 0.20);
  backdrop-filter: blur(12px) saturate(120%);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px hsl(240 70% 3% / 0.20);
}

.server-widget {
  margin-bottom: 1.25rem;
}

.server-widget__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.server-widget__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 14px;
  border: 1px solid hsl(0 0% 100% / 0.12);
  object-fit: cover;
  background: hsl(0 0% 100% / 0.04);
}

.server-widget__copy {
  min-width: 0;
}

.server-widget__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.server-widget__name {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.server-widget__motd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.server-widget__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.42rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(190 100% 50% / 0.30);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.server-widget__status.is-online {
  border-color: hsl(150 78% 64% / 0.45);
  background: hsl(150 78% 64% / 0.14);
  color: hsl(150 78% 64%);
}

.server-widget__status.is-offline {
  border-color: hsl(0 84% 70% / 0.45);
  background: hsl(0 84% 70% / 0.12);
  color: hsl(0 84% 70%);
}

.server-widget__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.server-widget__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: hsl(0 0% 100% / 0.04);
  border: 1px solid hsl(0 0% 100% / 0.08);
}

.server-widget__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.server-widget__stat strong {
  font-size: 1rem;
  font-weight: 700;
}

.kicker {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tldr-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.muted-label {
  width: 7rem;
  flex-shrink: 0;
  color: var(--muted);
}

.accent-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.accent-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: hsl(190 100% 62%);
}

.divider {
  height: 1px;
  margin: 0.85rem 0;
  background: hsl(0 0% 100% / 0.06);
}

.ip-row {
  gap: 0.9rem;
}

.ip-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid hsl(190 100% 50% / 0.30);
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.42rem 0.72rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.ip-button:hover {
  border-color: hsl(190 100% 50% / 0.48);
  background: hsl(190 100% 50% / 0.18);
}

.ip-button:active {
  transform: translateY(1px);
}

.ip-button.copied {
  color: hsl(150 78% 64%);
  border-color: hsl(150 78% 64% / 0.5);
  background: hsl(150 78% 64% / 0.14);
}

.copy-icon {
  width: 14px;
  height: 14px;
  color: inherit;
}

.steps {
  margin-top: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.card-image-slot {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid hsl(0 0% 100% / 0.12);
  background: hsl(0 0% 100% / 0.04);
}

.step1-image img {
    object-position: center 0%;
}

.card-image-slot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(190 100% 50% / 0.4);
  background: hsl(190 100% 50% / 0.10);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
}

.step-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.3;
  color: #fff;
}

.step-content p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.step-content p + p {
  margin-top: 0.6rem;
}

.chip-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--fg);
  border: 1px solid hsl(0 0% 100% / 0.10);
  background: hsl(0 0% 100% / 0.04);
  transition: all 0.2s ease;
}

.chip-links a:hover {
  color: var(--primary);
  border-color: hsl(190 100% 50% / 0.30);
  background: hsl(190 100% 50% / 0.10);
}

code {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: #fff;
  background: hsl(0 0% 100% / 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
}

.strong-light {
  color: #fff;
}

.subtle-note {
  font-size: 0.78rem;
  color: hsl(215 16% 65% / 0.75);
}

.spacer-top {
  padding-top: 0.75rem;
}

.footer-note {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .container {
    padding-top: 2.9rem;
    padding-bottom: 4rem;
  }

  .card {
    padding: 1rem;
  }

  .muted-label {
    width: 100%;
  }

  .tldr-row {
    gap: 0.35rem;
  }
}
