/* --- GAME PAGE --- */

body { overflow-x: hidden; }

.game-intro,
.game-over {
  min-height: calc(100vh - 54px - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}

.game-intro-inner,
.game-over-inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.game-eyebrow {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
}

.game-intro-title,
.game-over-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--bright);
  letter-spacing: -2px;
  line-height: 0.9;
}

.game-intro-sub,
.game-over-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
}

.game-intro-sub em { color: var(--light); font-style: normal; }

.game-intro-stats {
  display: flex;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
  justify-content: center;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--bright);
  line-height: 1;
}

.stat-lbl {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid);
}

.game-start-btn {
  padding: 16px 48px;
  font-size: 14px;
}

/* --- GAME SCREEN --- */
.game-screen {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 54px - 58px);
}

.game-hud {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--off-black);
}

.hud-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 32px;
  border-right: 1px solid var(--border);
}

.hud-block:last-child { border-right: none; }
.hud-center { align-items: center; }
.hud-right  { align-items: flex-end; }

.hud-label {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}

.hud-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--bright);
  line-height: 1;
}

.timer-danger { color: var(--red) !important; animation: pulse 0.5s ease infinite alternate; }

@keyframes pulse { from { opacity: 1; } to { opacity: 0.4; } }

.game-arena {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #080808;
  min-height: 420px;
  cursor: crosshair;
}

.arena-bg-text {
  position: absolute;
  bottom: 20px;
  right: 28px;
  font-size: 80px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1;
  text-align: right;
  pointer-events: none;
  user-select: none;
  letter-spacing: -3px;
}

.game-quote-bar {
  border-top: 1px solid var(--border);
  padding: 14px 32px;
  min-height: 48px;
  background: var(--off-black);
}

.game-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--mid);
  text-align: center;
}

/* --- TARGETS --- */
.target-btn {
  position: absolute;
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--red);
  border-radius: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.1s, opacity 0.2s;
  animation: pop-in 0.15s ease forwards;
  padding: 4px;
  z-index: 10;
}

@keyframes pop-in {
  from { transform: scale(0.3); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.target-btn:hover {
  transform: scale(1.08);
  background: rgba(139,0,0,0.2);
}

.target-name {
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
}

.target-hit {
  animation: hit-flash 0.2s ease forwards !important;
  pointer-events: none;
}

@keyframes hit-flash {
  0%   { transform: scale(1.3); opacity: 1; background: rgba(139,0,0,0.6); }
  100% { transform: scale(0);   opacity: 0; }
}

.target-miss {
  animation: miss-fade 0.25s ease forwards !important;
  pointer-events: none;
}

@keyframes miss-fade {
  to { opacity: 0; transform: translateY(8px); }
}

/* --- GAME OVER BTNS --- */
.game-over-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
