:root {
  --bg: #050816;
  --bg-elevated: rgba(15, 23, 42, 0.85);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.1);
  --minecraft: #22c55e;
  --fivem: #f97316;
  --satisfactory: #eab308;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.75);
  --radius-lg: 26px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0 0, rgba(52, 211, 153, 0.15), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(244, 114, 182, 0.15), transparent 55%),
    linear-gradient(135deg, #020617, #020617 40%, #030712 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  position: relative;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%' stop-color='%2338bdf8' stop-opacity='0.09'/%3E%3Cstop offset='100%' stop-color='%236b21a8' stop-opacity='0.02'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0.5' y='0.5' width='159' height='159' fill='none' stroke='url(%23g)' stroke-width='0.5' stroke-dasharray='2 6' opacity='0.8'/%3E%3C/svg%3E");
  opacity: 0.7;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -2;
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 0, rgba(15, 23, 42, 0.8), transparent 65%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-orb {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background:
    conic-gradient(from 180deg, #38bdf8, #22c55e, #f97316, #eab308, #38bdf8);
  position: relative;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 18px 36px rgba(8, 47, 73, 0.9);
}

.logo-orb::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, rgba(248, 250, 252, 0.6), transparent),
    radial-gradient(circle at 60% 100%, rgba(56, 189, 248, 0.22), transparent),
    rgba(15, 23, 42, 0.96);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-title {
  margin: 1px 0 0;
  font-size: 20px;
  letter-spacing: 0.03em;
}

.top-nav {
  display: flex;
  gap: 8px;
  padding: 2px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.top-nav a {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  text-decoration: none;
  transition: all 150ms ease-out;
  position: relative;
}

.top-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.4), transparent 55%);
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.top-nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.95);
}

.top-nav a:hover::before {
  opacity: 0.7;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 28px;
  margin-bottom: 28px;
  align-items: center;
}

.hero-content h2 {
  font-size: clamp(26px, 4vw, 32px);
  margin: 0 0 10px;
}

.hero-content p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 34rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: rgba(191, 219, 254, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 18px 18px 18px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(56, 189, 248, 0)) 0 0 /
      100% 45% no-repeat,
    radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.45), transparent 60%),
    rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 120%, rgba(15, 23, 42, 0.9), transparent 65%);
  pointer-events: none;
}

.shield {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.85), transparent 65%),
    rgba(15, 23, 42, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.shield-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(15, 23, 42, 0.7);
}

.shield-sub {
  font-size: 12px;
  margin-top: 2px;
}

.security-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 10px 0 0;
  margin: 12px 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 12px;
  color: rgba(209, 213, 219, 0.96);
}

.security-list li + li {
  margin-top: 4px;
}

.servers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.server-card {
  position: relative;
  padding: 16px 16px 18px;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(15, 23, 42, 0.85), transparent 55%),
    rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.72);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out,
    border-color 160ms ease-out, background 160ms ease-out;
}

.server-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 160ms ease-out;
  pointer-events: none;
}

.server-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.98);
  border-color: rgba(56, 189, 248, 0.7);
}

.server-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.server-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.9);
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.3);
}

.server-tag--minecraft {
  background: rgba(34, 197, 94, 0.96);
  border-color: rgba(22, 163, 74, 0.95);
}

.server-tag--fivem {
  background: rgba(249, 115, 22, 0.96);
  border-color: rgba(234, 88, 12, 0.95);
}

.server-tag--satisfactory {
  background: rgba(234, 179, 8, 0.96);
  border-color: rgba(202, 138, 4, 0.95);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(22, 163, 74, 0.96);
}

.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 1);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.3);
}

.server-card h3 {
  margin: 4px 0 4px;
  font-size: 17px;
}

.server-subtitle {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 6px;
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
}

.info-value {
  font-size: 13px;
}

.launch-link {
  color: rgba(96, 165, 250, 0.96);
  text-decoration: none;
  font-size: 12px;
}

.launch-link:hover {
  text-decoration: underline;
  color: rgba(129, 199, 255, 1);
}

.info-value code,
code.info-value {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

code.info-value {
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.copy-btn {
  margin-top: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%),
    rgba(15, 23, 42, 0.98);
  color: rgba(226, 232, 240, 0.98);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
  transition: background 140ms ease-out, transform 140ms ease-out,
    box-shadow 140ms ease-out, border-color 140ms ease-out;
}

.copy-btn:hover {
  transform: translateY(-1px);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.32), transparent 55%),
    rgba(15, 23, 42, 1);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.98);
}

.copy-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.85);
}

.copy-btn--success {
  border-color: rgba(34, 197, 94, 0.9);
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.3), transparent 55%),
    rgba(15, 23, 42, 1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 64, 175, 0.7);
}

.footer-main {
  font-size: 12px;
  color: var(--muted);
}

.footer-main ul {
  padding-left: 16px;
  margin: 4px 0 0;
}

.footer-main li + li {
  margin-top: 2px;
}

.footer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
}

.footer-meta {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.96);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .hero-panel {
    order: -1;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    align-self: flex-end;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 20px 16px 32px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .top-nav {
    align-self: stretch;
    justify-content: center;
  }

  .hero-panel {
    margin-top: 4px;
  }

  .servers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

