* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background: #0b0f1c;
  font-family: "Courier New", monospace;
  color: #e8e8e8;
}

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(240, 192, 64, 0.10), transparent 60%),
    radial-gradient(900px 700px at 85% 110%, rgba(64, 120, 200, 0.12), transparent 60%),
    linear-gradient(180deg, #0b0f1c 0%, #141a2e 100%);
  min-height: 100vh;
}

#stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

#title {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 10px;
  color: #f7d053;
  text-shadow:
    0 0 22px rgba(240, 192, 64, 0.55),
    0 0 6px rgba(240, 192, 64, 0.75),
    0 2px 0 #7a4a12;
  user-select: none;
  border-top: 1px solid rgba(240, 192, 64, 0.35);
  border-bottom: 1px solid rgba(240, 192, 64, 0.35);
  padding: 6px 0;
}

#title::before,
#title::after {
  content: "◆";
  color: rgba(240, 192, 64, 0.5);
  font-size: 12px;
  vertical-align: middle;
  padding: 0 10px;
}

#title span {
  color: #9acdff;
  letter-spacing: 3px;
  font-size: 13px;
  display: block;
  text-align: center;
  margin-top: 4px;
  text-shadow: 0 0 10px rgba(154, 205, 255, 0.4);
}

#gamewrap {
  position: relative;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(160deg, #232c44 0%, #141a2e 60%, #1a2240 100%);
  box-shadow:
    0 0 0 1px rgba(240, 192, 64, 0.18),
    0 0 44px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(240, 192, 64, 0.06),
    inset 0 0 24px rgba(0, 0, 0, 0.5);
}

#game {
  display: block;
  background: #000;
  border: 3px solid #3a3f55;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px #0a0d18,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 30px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(240, 192, 64, 0.14);
  image-rendering: pixelated;
  max-width: 100%;
  height: auto;
}

#hint {
  color: #9aa3b8;
  font-size: 13px;
  letter-spacing: 1.5px;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

#hint b {
  color: #f0c040;
  font-weight: bold;
}
