/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── TOKENS ── */
:root {
  --cyan:    #00d4ff;
  --purple:  #7b2dff;
  --bg:      #000;
  --text:    #fff;
  --muted:   #555;
  --sidebar: 25%;
  --h-pad:   15%;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── LOGO ── */
.logo-link {
  position: absolute;
  top: 48px;
  left: 48px;
  display: block;
  line-height: 0;
}

.logo-link img {
  width: 160px;
  height: auto;
}

/* ── MAIN CONTENT ── */
.page-content {
  flex: 1;
  padding: 130px var(--h-pad) 0 var(--sidebar);
}

/* ── TAGLINE ── */
.tagline {
  font-size: clamp(1.6rem, 3.5vw, 3.125rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 60vw;
  margin-bottom: 90px;
}

/* ── GAMES LIST ── */
.games-list {
  display: flex;
  flex-direction: column;
}

/* ── GAME ROW ── */
.game-row {
  display: flex;
  align-items: center;
  gap: 40px;
  text-decoration: none;
  color: var(--text);
  padding: 6px 0;
}

.game-name {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4.5rem, 9.7vw, 8.75rem);
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
}

.game-row--soon .game-name {
  color: var(--muted);
}

/* ── GAME LINE SVG ── */
.game-line-svg {
  flex: 1;
  align-self: center;
  display: block;
  min-width: 0;
  overflow: visible;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.25s ease;
}

/* ── HOVER ── */
.game-row:hover .game-line-svg {
  filter: none;
}

.game-row:hover .game-name {
  opacity: 0.85;
}

/* ── GAME DESCRIPTION (subpages) ── */
.game-description {
  margin-top: 32px;
  margin-bottom: 25px;
}

/* ── FOOTER ── */
footer {
  padding: 64px 40px 40px 40px;
}

.footer-email {
  display: block;
  font-size: 0.9rem;
  color: var(--cyan);
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text);
}

/* ── BOTTOM BAR ── */
.bottom-bar {
  height: 10px;
  background: linear-gradient(to right, var(--cyan), var(--purple));
  flex-shrink: 0;
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  .logo-link {
    position: static;
    display: block;
    margin: 40px 0 40px -10px;
  }

  .page-content {
    padding: 0 20% 0 15%;
  }

  .tagline {
    max-width: 100%;
    margin-bottom: 56px;
  }

  .game-line-svg {
    display: none;
  }

  footer {
    padding: 56px 20% 36px 15%;
  }
}
