@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap');

:root {
  --ink-deep: #0c0a1f;
  --ink-mid: #1b1640;
  --glow-teal: #5be7d8;
  --glow-magenta: #ff6fd8;
  --glow-amber: #ffd27a;
  --panel-bg: rgba(14, 10, 34, 0.72);
  --panel-border: rgba(91, 231, 216, 0.35);
  --text-soft: #eae6ff;
  --text-muted: #a89fd6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(ellipse at 50% 0%, #1a1440 0%, #08061a 65%);
  background-attachment: fixed;
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
  color: var(--text-soft);
}

a { color: var(--glow-teal); }

/* ---------- Top nav ---------- */

header.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(8, 6, 22, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--panel-border);
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(91, 231, 216, 0.4);
}

nav.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

nav.tabs a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

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

nav.tabs a.active {
  color: var(--glow-teal);
  border-color: var(--panel-border);
  background: var(--panel-bg);
}

nav.tabs a.cta {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--glow-teal), var(--glow-magenta));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(91, 231, 216, 0.35);
}

nav.tabs a.cta:hover {
  box-shadow: 0 0 22px rgba(255, 111, 216, 0.5);
}

/* ---------- Layout ---------- */

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

section {
  margin-bottom: 56px;
}

.hero {
  text-align: center;
  padding: 32px 0 8px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 14px;
  color: var(--glow-amber);
  text-shadow: 0 0 22px rgba(255, 210, 122, 0.45);
}

.hero p.tagline {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  color: var(--ink-deep);
  background: linear-gradient(135deg, var(--glow-teal), var(--glow-magenta));
  box-shadow: 0 0 24px rgba(91, 231, 216, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px rgba(255, 111, 216, 0.55);
}

.btn-secondary {
  color: var(--text-soft);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
}

.btn-secondary:hover {
  border-color: var(--glow-teal);
  transform: translateY(-2px);
}

/* ---------- Stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0;
}

.stat {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 18px 8px;
  text-align: center;
}

.stat .num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--glow-teal);
  text-shadow: 0 0 14px rgba(91, 231, 216, 0.4);
}

.stat .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards / panels ---------- */

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 0 40px rgba(91, 231, 216, 0.08);
}

.panel h2 {
  margin-top: 0;
  color: var(--glow-magenta);
  font-size: 20px;
  text-shadow: 0 0 12px rgba(255, 111, 216, 0.4);
}

.panel h3 {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 6px;
}

.panel p, .panel li {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14.5px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.world-card {
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid var(--panel-border);
}

.world-card h3 {
  margin: 0 0 4px;
}

.world-card p {
  margin: 0;
  font-size: 13px;
}

.world-forest   { background: linear-gradient(135deg, rgba(91,231,216,0.12), rgba(20,14,46,0.4)); }
.world-aurora   { background: linear-gradient(135deg, rgba(255,111,216,0.14), rgba(74,31,90,0.4)); }
.world-ember    { background: linear-gradient(135deg, rgba(255,140,60,0.16), rgba(42,10,8,0.4)); }
.world-frost    { background: linear-gradient(135deg, rgba(159,216,255,0.16), rgba(15,36,68,0.4)); }

/* ---------- Download page ---------- */

.download-card {
  text-align: center;
}

.download-card .version {
  display: inline-block;
  margin: 10px 0 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--glow-amber);
  border: 1px solid rgba(255, 210, 122, 0.4);
  border-radius: 999px;
}

.meta-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.warning-box {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 210, 122, 0.08);
  border: 1px solid rgba(255, 210, 122, 0.3);
  text-align: left;
  font-size: 13.5px;
  color: #f0dfb0;
  line-height: 1.6;
}

ol.steps {
  padding-left: 20px;
}

ol.steps li {
  margin-bottom: 10px;
}

.placeholder-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  padding: 20px 0;
}

footer {
  text-align: center;
  padding: 30px 24px 50px;
  color: var(--text-muted);
  font-size: 12px;
}
