:root {
  --bg: #0c0f0d;
  --panel: #151a16;
  --panel-2: #1b221d;
  --text: #f3f7f3;
  --muted: #a8b3aa;
  --accent: #78d66c;
  --accent-2: #b7ff91;
  --border: #2a342c;
  --danger: #ff7f7f;
  --shadow: 0 18px 55px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(120,214,108,.09), transparent 35%),
    linear-gradient(180deg, #0b0e0c 0%, #111512 100%);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(12,15,13,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .4px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #4ba743);
  color: #081008; font-weight: 1000;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.14);
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--muted); padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { background: var(--panel-2); color: var(--text); }

.hero { padding: 88px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: center; }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
h1 { font-size: clamp(48px, 8vw, 92px); line-height: .92; margin: 14px 0 20px; letter-spacing: -0.055em; }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 700px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  border: 1px solid var(--border); background: var(--panel); color: var(--text);
  padding: 13px 17px; border-radius: 10px; font-weight: 900; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); border-color: #48594b; }
.btn.primary { background: var(--accent); color: #081008; border-color: var(--accent); }

.server-card {
  background: linear-gradient(180deg, rgba(28,35,30,.96), rgba(17,22,18,.96));
  border: 1px solid var(--border); border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
}
.server-card h3 { margin-top: 0; }
.status-row { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.status-pill { display:inline-flex; gap:8px; align-items:center; font-size:13px; color:var(--muted); }
.dot { width:9px; height:9px; border-radius:999px; background:var(--accent); box-shadow:0 0 14px rgba(120,214,108,.75); }
.ip-box { margin-top: 18px; background: #0b0e0c; border: 1px solid var(--border); border-radius: 10px; padding: 14px; display:flex; justify-content:space-between; gap:12px; align-items:center; }
.ip-box code { color: var(--accent-2); overflow-wrap:anywhere; }

.section { padding: 40px 0 72px; }
.section-title { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-bottom:22px; }
.section-title h2 { margin:0; font-size: 32px; }
.section-title p { color:var(--muted); margin:0; max-width:650px; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap:16px; }
.card { background:var(--panel); border:1px solid var(--border); border-radius:14px; padding:20px; }
.card h3 { margin:0 0 10px; }
.card p { color:var(--muted); line-height:1.65; margin-bottom:0; }
.tag { display:inline-block; margin-bottom:12px; font-size:12px; font-weight:900; color:var(--accent-2); text-transform:uppercase; letter-spacing:.12em; }

.content { padding: 56px 0 80px; }
.content h1 { font-size: clamp(42px, 7vw, 72px); }
.prose { max-width: 850px; }
.prose p, .prose li { color: var(--muted); line-height: 1.75; }
.prose h2 { margin-top: 42px; }
.notice { padding:16px 18px; border-left:3px solid var(--accent); background:var(--panel); border-radius:8px; color:var(--muted); }

.forum-list { display:grid; gap:12px; margin-top:24px; }
.forum-item { display:flex; justify-content:space-between; gap:18px; align-items:center; background:var(--panel); border:1px solid var(--border); border-radius:12px; padding:18px; }
.forum-item small { color:var(--muted); }

footer { border-top:1px solid var(--border); color:var(--muted); padding:28px 0 42px; font-size:14px; }

@media (max-width: 820px) {
  .hero-grid, .grid-3 { grid-template-columns: 1fr; }
  .nav { align-items:flex-start; padding:16px 0; flex-direction:column; }
  .nav-links { justify-content:flex-start; }
  .hero { padding-top: 58px; }
}


/* Live Minecraft server status */
.server-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.server-stat {
  background: #0b0e0c;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.server-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.server-stat strong { font-size: 17px; }
.status-meta {
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
  text-align: right;
}
.status-pill .dot { background: #a8b3aa; box-shadow: none; }
.status-pill.is-online { color: var(--accent-2); }
.status-pill.is-online .dot {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(120,214,108,.75);
}
.status-pill.is-offline { color: var(--danger); }
.status-pill.is-offline .dot {
  background: var(--danger);
  box-shadow: 0 0 14px rgba(255,127,127,.45);
}
.status-pill.is-checking .dot {
  background: #e8c86d;
  box-shadow: 0 0 14px rgba(232,200,109,.45);
  animation: status-pulse 1s ease-in-out infinite alternate;
}
@keyframes status-pulse {
  from { opacity: .45; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}
