.game-section {
  padding-top: 24px;
}

.game-intro {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: center;
}

.game-intro h2 {
  margin-bottom: 10px;
}

.game-intro p {
  color: var(--text-light);
}

.difficulty-select {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.difficulty-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  background: none;
  border: 1px solid #d8d8d4;
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.difficulty-btn:hover {
  border-color: var(--gold);
  color: var(--black);
}

.difficulty-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black-deep);
}

.game-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.game-hud {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  color: var(--black);
  margin-bottom: 8px;
  padding: 0 4px;
}

.game-hud .hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.game-hud .hud-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--text-light);
  text-transform: uppercase;
}

.game-hud .hud-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
}

.game-hud .hud-value.gold {
  color: #b8901f;
}

.game-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #1e7a3d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  user-select: none;
}

.stage-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stage-inner canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(3, 3, 3, 0.72);
  color: #fff;
  text-align: center;
  padding: 24px;
}

.game-overlay[hidden] {
  display: none;
}

.game-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin: 0;
}

.game-overlay p {
  margin: 0;
  color: #ddd;
  max-width: 320px;
}

.game-btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--gold);
  color: var(--black-deep);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.game-btn:hover {
  background: var(--gold-light);
}

.game-controls-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 12px 20px;
  min-height: 96px;
  border-radius: 12px;
  background: var(--black);
}

.shoot-btn {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.95);
  color: var(--black-deep);
  border: 2px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.72rem;
  cursor: pointer;
  touch-action: none;
  transition: transform 0.1s ease;
}

.shoot-btn:active {
  transform: scale(0.92);
}

.joystick {
  position: relative;
  width: 84px;
  height: 84px;
  touch-action: none;
}

.joystick-base {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.joystick-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background 0.1s ease;
}

.joystick.active .joystick-thumb {
  background: rgba(212, 175, 55, 0.85);
}

@media (hover: none) and (pointer: coarse) {
  .game-controls-bar {
    display: flex;
  }
}

.game-controls-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 12px;
}

.tilt-toggle {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 1px solid #d8d8d4;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tilt-toggle:hover {
  border-color: var(--gold);
  color: var(--black);
}

.tilt-toggle.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black-deep);
  font-weight: 600;
}

.ad-slot {
  max-width: 728px;
  margin: 28px auto;
  text-align: center;
}

.ad-slot .ad-label {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.ad-slot .ad-box {
  min-height: 90px;
  background: var(--gray-bg);
  border: 1px dashed #d8d8d4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8b8b2;
  font-size: 0.8rem;
}

.ad-slot.ad-rect .ad-box {
  min-height: 250px;
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .game-wrap {
    max-width: 100%;
  }
}

