@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto:wght@400;500;700;900&display=swap');

:root {
  --bg: #10121a;
  --surface: #191c27;
  --surface-2: #222633;
  --text: #f4f1e8;
  --muted: #aeb3c1;
  --accent: #ffcf24;
  --accent-2: #ff5b3d;
  --blue: #147dff;
  --green: #36d66b;
  --purple: #b35cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, #252a3b 0, var(--bg) 42%);
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 24px;
  border-bottom: 4px solid var(--accent);
}

.hero-content {
  width: min(1050px, 100%);
  display: grid;
  grid-template-columns: minmax(230px, 390px) 1fr;
  gap: 70px;
  align-items: center;
}

.cover {
  width: 100%;
  max-width: 390px;
  margin: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .55);
}

.logo {
  color: var(--accent);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.15;
  text-shadow: 5px 5px 0 #7d4d00;
  margin-bottom: 25px;
}

.tagline {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 0 0 35px;
}

.download {
  display: inline-block;
  padding: 17px 26px;
  color: #111;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .5px;
  box-shadow: 0 7px 0 #9a7400;
  transition: transform .15s, box-shadow .15s, background .15s;
}

.download:hover {
  transform: translateY(2px);
  box-shadow: 0 5px 0 #9a7400;
  background: #ffe16b;
}

.platform {
  color: #747b8d;
  font-size: 14px;
  margin-top: 22px;
}

main {
  width: min(1000px, calc(100% - 40px));
  margin: auto;
}

section {
  padding: 85px 0;
  border-bottom: 1px solid #2b2f3c;
}

h1, h2 {
  font-weight: 900;
  line-height: 1.2;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-top: 0;
}

h2 {
  font-size: 28px;
  margin: 12px 0 15px;
}

.intro {
  max-width: 760px;
  margin: auto;
}

.intro p {
  color: var(--muted);
  font-size: 19px;
}

.intro strong {
  color: var(--text);
}

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

.card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid #2b3040;
  border-radius: 10px;
}

.card p,
.special span,
.section-lead {
  color: var(--muted);
}

.number {
  color: var(--accent);
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
}

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

.special {
  min-height: 150px;
  padding: 20px;
  background: var(--surface);
  border-radius: 10px;
  border-top: 4px solid var(--accent);
}

.special:nth-child(2) { border-top-color: var(--blue); }
.special:nth-child(3) { border-top-color: var(--green); }
.special:nth-child(4) { border-top-color: var(--purple); }
.special:nth-child(5) { border-top-color: var(--accent-2); }

.special strong {
  display: block;
  margin-bottom: 10px;
}

.special img {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 15px;
  object-fit: contain;
}

.controller {
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 28px;
}

.control-row {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #2b3040;
}

.control-row:last-child {
  border-bottom: 0;
}

.key-group {
  min-width: 155px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.key {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #303545;
  border: 2px solid #50586e;
  box-shadow: 0 4px 0 #10121a;
  font-weight: 900;
}

.key.large {
  min-width: 80px;
  width: auto;
  padding: 0 12px;
}

.control-description strong {
  display: block;
  font-size: 18px;
}

.control-description span {
  color: var(--muted);
}

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

.score-grid div {
  padding: 22px;
  background: var(--surface);
  border-radius: 10px;
}

.score-grid b,
.score-grid span {
  display: block;
}

.score-grid span {
  color: var(--muted);
  margin-top: 7px;
}

.final-cta {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.mini-cover {
  width: 130px;
  border-radius: 8px;
}

.final-cta h2 {
  margin-top: 0;
}

footer {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1000px, calc(100% - 40px));
  margin: auto;
  color: #777e8f;
  font-size: 13px;
}

footer span:first-child {
  color: var(--accent);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
}

@media (max-width: 800px) {
  .hero {
    padding-top: 45px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }

  .cover {
    max-width: 300px;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mechanics,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .special-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .control-row {
    align-items: flex-start;
  }

  .key-group {
    min-width: 130px;
  }

  .final-cta {
    flex-direction: column;
    text-align: center;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
  }
}

.hero-description {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  margin: -15px 0 30px;
}

.section-lead {
  max-width: 700px;
  font-size: 18px;
  margin-top: -5px;
  margin-bottom: 35px;
}

.fan-game {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 35px 0;
  padding: 22px 25px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.fan-game strong {
  color: var(--accent);
  font-size: 14px;
}

.fan-game span {
  color: var(--muted);
}

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

.compatibility-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid #2b3040;
  border-radius: 10px;
}

.compatibility-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #111;
  font-family: "Press Start 2P", monospace;
  font-size: 22px;
  font-weight: bold;
}

.compatibility-card h2 {
  margin-top: 0;
}

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

.credits-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}

.credit-main,
.testers {
  padding: 30px;
  background: var(--surface);
  border-radius: 10px;
}

.credit-label {
  display: block;
  color: var(--accent);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  margin-bottom: 15px;
}

.credit-main h2 {
  font-size: 32px;
  margin: 0 0 10px;
}

.credit-main p {
  color: var(--muted);
  margin: 0;
}

.credit-main a {
    color: #aeb3c1;
}

.tester {
  padding: 13px 0;
  border-bottom: 1px solid #2b3040;
  font-weight: 700;
}

.tester:last-child {
  border-bottom: 0;
}

.footer-brand {
  color: var(--accent);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
}

.footer-info {
  color: #8c93a3;
}

.footer-disclaimer {
  max-width: 330px;
  text-align: right;
  color: #626979;
  font-size: 11px;
}

@media (max-width: 800px) {

  .compatibility-grid,
  .credits-content {
    grid-template-columns: 1fr;
  }

  .footer-disclaimer {
    text-align: center;
  }

}

@media (max-width: 480px) {
  main {
    width: min(100% - 28px, 1000px);
  }

  section {
    padding: 60px 0;
  }

  .special-grid {
    grid-template-columns: 1fr;
  }

  .controller {
    padding: 5px 18px;
  }

  .control-row {
    gap: 15px;
  }

  .key-group {
    min-width: 105px;
  }
}
