:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background: #151b2d;
  color: #fff8d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #49b7ff 0 24%, #7cdd56 24% 31%, #5d9d35 31% 37%, #7d512a 37% 100%);
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: #111827;
  border-bottom: 4px solid #1d140e;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #fff3b0;
  font-weight: 950;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-nav .brand img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
}

.site-nav a.nav-link {
  padding: 8px 14px;
  border: 3px solid #1d140e;
  background: #fff3b0;
  color: #23150d;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 4px 4px 0 #1d140e;
}

.site-nav a.nav-link:hover {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 #1d140e;
}

.site-nav a.nav-link.vip {
  background: linear-gradient(90deg, #ffc928, #ff8a3d);
}

main {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 40px 0 70px;
}

.hero {
  text-align: left;
  padding: 40px 0 10px;
}

.hero h1 {
  margin: 0;
  color: #fffef2;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.92;
  text-shadow: 5px 5px 0 #2b1b12, 8px 8px 0 #e0345f;
}

.hero .tagline {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fffef2;
  text-shadow: 2px 2px 0 #2b1b12;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.badge-row span {
  padding: 8px 14px;
  border: 3px solid #1d140e;
  background: #fff3b0;
  color: #23150d;
  font-weight: 950;
  box-shadow: 4px 4px 0 #1d140e;
}

.panel {
  margin-top: 34px;
  padding: 24px;
  border: 4px solid #1d140e;
  background: #111827;
  box-shadow: 8px 8px 0 #1d140e;
}

.panel h2 {
  margin: 0 0 16px;
  color: #ffc928;
  font-size: 1.9rem;
  text-shadow: 3px 3px 0 #2b1b12;
}

.panel p {
  line-height: 1.55;
}

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

.join-card {
  padding: 18px;
  border: 4px solid #1d140e;
  background: #1c2740;
  box-shadow: 5px 5px 0 #1d140e;
}

.join-card strong {
  display: block;
  color: #7cdd56;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.join-card code {
  display: inline-block;
  padding: 6px 10px;
  margin-top: 4px;
  background: #0b101f;
  border: 2px solid #2b3350;
  color: #fff3b0;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.feature-card {
  padding: 18px;
  border: 4px solid #1d140e;
  box-shadow: 5px 5px 0 #1d140e;
  color: #23150d;
  background: #fff3b0;
}

.feature-card:nth-child(2n) { background: #b7f0a1; }
.feature-card:nth-child(3n) { background: #ffd9a1; }
.feature-card:nth-child(4n) { background: #c5e5ff; }

.feature-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.steps li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 3px solid #1d140e;
  background: #1c2740;
  box-shadow: 4px 4px 0 #1d140e;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #ffc928;
  border: 3px solid #1d140e;
  color: #23150d;
  font-weight: 950;
  font-size: 1.1rem;
}

.steps ul {
  margin: 0;
  padding: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border: 4px solid #1d140e;
  font-weight: 950;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 6px 6px 0 #1d140e;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 #1d140e;
}

.button.primary {
  background: linear-gradient(90deg, #ffc928, #ff8a3d);
  color: #23150d;
}

.button.secondary {
  background: #4fe8ff;
  color: #0b2a33;
}

.command-table {
  width: 100%;
  border-collapse: collapse;
}

.command-table th,
.command-table td {
  padding: 10px 12px;
  border: 2px solid #2b3350;
  text-align: left;
}

.command-table th {
  background: #1c2740;
  color: #ffc928;
}

.command-table code {
  color: #fff3b0;
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

.site-footer {
  padding: 22px 18px;
  text-align: center;
  background: #111827;
  border-top: 4px solid #1d140e;
  color: #9aa6c8;
  font-size: 0.95rem;
}
