:root {
  --bg: #0b0f17;
  --surface: #121826;
  --surface-2: #182032;
  --border: rgba(148, 163, 184, 0.2);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --gold: #ffd166;
  --green: #4ade80;
  --danger: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: radial-gradient(circle at top right, #172033 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 5px;
  padding: 1px 6px;
  color: #e2e8f0;
}

kbd {
  margin-right: 3px;
  color: var(--gold);
  border-color: rgba(255, 209, 102, 0.35);
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #0b0f17;
}

.brand-name {
  font-size: 16px;
}

.version-pill {
  font-size: 11px;
  font-weight: 700;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 99px;
  padding: 2px 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
}

.nav-links a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #052e16;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.42);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd166, #f59e0b);
  color: #1f1300;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.btn-secondary {
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
  border-color: var(--border);
  padding: 10px 18px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--accent);
  margin-bottom: 10px;
}

.gold-text {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 16px;
}

.hero-lead {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 580px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(160deg, rgba(24, 32, 50, 0.92), rgba(14, 20, 32, 0.95));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 16px 14px;
}

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}

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

.hero-callout {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Sections */
.section {
  padding: 54px 0;
}

.section-alt {
  background: rgba(18, 24, 38, 0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.card-ico {
  font-size: 26px;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: #cbd5e1;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--accent);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
}

/* Controls */
.controls-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
}

.controls-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.controls-card h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.ctrl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ctrl-table td {
  padding: 7px 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: top;
}

.ctrl-table td:first-child {
  white-space: nowrap;
  width: 42%;
}

.ctrl-table td:last-child {
  color: #cbd5e1;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.tips-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
}

/* Battle Pass Banner */
.bp-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(24, 32, 50, 0.95));
  border: 1px solid rgba(255, 209, 102, 0.38);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.bp-banner p {
  color: #cbd5e1;
  max-width: 660px;
  margin-top: 8px;
  font-size: 14.5px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: #fff;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 8, 14, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(460px, 94vw);
  background: var(--surface);
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
}

.modal-desc {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 14px;
}

.bp-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
}

.bp-perks li {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero-inner,
  .feature-grid,
  .controls-wrap {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 12px;
  }
}
