:root {
  --bg-top: #f2d28e;
  --bg-mid: #bf7643;
  --bg-deep: #311914;
  --panel: rgba(23, 20, 23, 0.85);
  --panel-edge: rgba(255, 226, 173, 0.22);
  --frame: #6d5338;
  --frame-glow: rgba(255, 222, 170, 0.25);
  --text-main: #fff5dc;
  --text-soft: #ffdf9a;
  --text-dark: #5c2b1a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 245, 210, 0.52), transparent 18%),
    radial-gradient(circle at 78% 16%, rgba(255, 203, 122, 0.2), transparent 16%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-deep) 100%);
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero {
  text-align: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6a2f1d;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.95;
  color: #4b1f14;
  text-shadow: 0 4px 0 rgba(255, 241, 216, 0.55);
}

.tagline {
  width: min(860px, 100%);
  margin: 14px auto 0;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1rem;
}

.build-note {
  margin: 10px auto 0;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(71, 31, 20, 0.14);
  border: 1px solid rgba(92, 43, 26, 0.18);
  color: #5b2b1d;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-frame {
  display: flex;
  justify-content: center;
  padding: 16px;
  border: 4px solid var(--frame);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(46, 36, 29, 0.96), rgba(15, 13, 16, 0.98));
  box-shadow:
    0 0 0 1px var(--frame-glow) inset,
    0 18px 44px rgba(18, 8, 6, 0.34);
}

#game {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #101217;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.28) inset;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.info-card {
  min-height: 150px;
  padding: 18px;
  border: 2px solid var(--panel-edge);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
    var(--panel);
  box-shadow: 0 10px 24px rgba(8, 5, 8, 0.22);
}

.info-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 1.15rem;
  color: #ffe1a1;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list span {
  color: var(--text-soft);
  font-weight: 700;
}

.info-list strong {
  text-align: right;
  font-weight: 700;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 18px, 1160px);
    padding-top: 20px;
  }

  .screen-frame {
    padding: 10px;
  }

  .info-strip {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
  }
}
