:root {
  --bg: #0b111a;
  --bg-alt: #111a27;
  --card: #162233;
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef3fb;
  --muted: #a6b4ca;
  --gold: #f5b942;
  --red: #e5484d;
  --green: #3dd68c;
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 4rem;
  background: url("assets/hero.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 26, 0.72) 0%, rgba(11, 17, 26, 0.6) 45%, rgba(11, 17, 26, 0.96) 100%);
}

.topbar,
.hero-content {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.hero-content {
  padding-top: 3.5rem;
  max-width: 760px;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.16);
  border: 1px solid rgba(245, 185, 66, 0.45);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  color: #dce5f3;
  margin-bottom: 2rem;
  max-width: 650px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1.4rem;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-width: 260px;
}

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

.btn-primary {
  background: linear-gradient(135deg, #f5b942, #e58e26);
  color: #111722;
  box-shadow: 0 10px 28px rgba(245, 185, 66, 0.25);
}

.btn-secondary {
  background: rgba(22, 34, 51, 0.9);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.btn-meta {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.server-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(17, 26, 39, 0.88);
  border: 1px solid var(--border);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.45rem;
  box-shadow: 0 0 10px var(--green);
}

.server-label {
  color: var(--muted);
  margin-right: 0.4rem;
}

code {
  font-family: Consolas, "Cascadia Mono", monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.92em;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 1.8rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

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

.card h3 {
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-text p {
  color: var(--muted);
  margin: 0.8rem 0 1.2rem;
}

.checks {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.checks li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.map-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  text-align: center;
}

.map-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.map-caption {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
}

.step-num {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-bottom: 0.3rem;
}

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

.checksum-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--muted);
}

.checksum-box summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.checksum-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.45rem;
  word-break: break-all;
  font-size: 0.88rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
}
