:root {
  --bg: #12071f;
  --panel: #221039;
  --pink: #ff3df2;
  --lime: #aaff00;
  --cyan: #18f7ff;
  --muted: #c8bde1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: white;
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }

.arcade-hero {
  min-height: 830px;
  padding: 30px clamp(18px, 5vw, 78px) 90px;
  background:
    linear-gradient(90deg, rgba(255, 61, 242, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(24, 247, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 28%, rgba(255, 61, 242, 0.24), transparent 30%),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  color: var(--lime);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

button {
  padding: 12px 16px;
  border: 2px solid var(--lime);
  color: var(--lime);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 380px;
  gap: 68px;
  align-items: center;
  padding-top: 108px;
}

.pixel {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.hero p:last-child,
.levels p,
.exchange-board p,
.ticker span,
.inventory p,
footer p,
address span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero p:last-child {
  max-width: 790px;
  font-size: 21px;
}

.game-card {
  min-height: 440px;
  padding: 30px;
  background: var(--panel);
  border: 4px solid var(--cyan);
  box-shadow: 12px 12px 0 var(--pink), 24px 24px 0 var(--lime);
}

.game-card span {
  color: var(--lime);
  font-weight: 900;
  text-transform: uppercase;
}

.game-card b {
  display: block;
  margin: 70px 0 24px;
  color: var(--pink);
  font-size: 54px;
  line-height: 0.95;
}

.level-select, .exchange-board, .inventory, footer {
  padding: 94px clamp(18px, 5vw, 78px);
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.level-select { background: #180a29; }

.levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.levels article {
  min-height: 340px;
  padding: 28px;
  background: var(--panel);
  border-bottom: 8px solid var(--pink);
}

.levels article:nth-child(even) {
  border-bottom-color: var(--cyan);
}

.levels span {
  color: var(--lime);
  font-weight: 900;
}

.levels h3 {
  font-size: 28px;
}

.exchange-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  background: #08030f;
}

.ticker {
  display: grid;
  gap: 10px;
  align-content: center;
}

.ticker p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  margin: 0;
  padding: 18px;
  border: 2px solid var(--cyan);
  background: rgba(24, 247, 255, 0.06);
}

.ticker b { color: var(--lime); }

.inventory {
  background: var(--panel);
}

.slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 34px 0;
}

.slots span {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--bg);
  background: var(--lime);
  font-weight: 900;
  text-transform: uppercase;
}

.slots span:nth-child(odd) {
  background: var(--cyan);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  background: #08030f;
}

address {
  display: grid;
  gap: 12px;
  min-width: min(100%, 430px);
  padding: 30px;
  border: 2px solid var(--pink);
  font-style: normal;
}

address a {
  color: var(--lime);
  font-size: 24px;
  font-weight: 900;
}

@media (max-width: 1000px) {
  .hero, .levels, .exchange-board, .ticker p, .slots, footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  nav { flex-wrap: wrap; }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
}
