/* Modern Arcade & Gece Teması */
:root {
  --bg-dark: #0b0f19;
  --card-bg: rgba(18, 24, 38, 0.94);
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-glow: rgba(245, 158, 11, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  touch-action: manipulation;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
}

/* Oyun Konteyneri */
#game-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  max-height: 100vh;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--border-glow);
  display: flex;
  flex-direction: column;
}

/* Canvas Tam Ekran Oturumu */
#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Üst Bilgi Barı (HUD) */
#hud {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.hud-item {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hud-item small {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
}

.highscore-box {
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--primary);
}

.icon-btn {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s, background 0.2s;
}

.icon-btn:hover {
  transform: scale(1.1);
  background: rgba(30, 41, 59, 0.9);
}

.hud-action-btn {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hud-action-btn.active {
  background: #10b981;
  color: #022c22;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.7);
}

/* Canlı GPS Rota Çubuğu */
#gps-route-bar {
  position: absolute;
  top: 64px;
  left: 14px;
  right: 14px;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px 14px;
  z-index: 10;
  pointer-events: none;
}

.gps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.gps-tag {
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.gps-loc-name {
  color: var(--primary);
  font-weight: 800;
}

.route-track {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 4px 14px 4px;
}

.route-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #10b981, #f59e0b);
  border-radius: 4px;
  transition: width 0.2s linear;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.lion-pin {
  position: absolute;
  top: -14px;
  left: 0%;
  transform: translateX(-50%);
  font-size: 1.1rem;
  transition: left 0.2s linear;
  filter: drop-shadow(0 0 4px #000);
  z-index: 5;
}

.checkpoint {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.cp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748b;
  border: 2px solid #0f172a;
  transition: all 0.2s;
}

.cp-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  transform: scale(1.2);
}

.cp-dot.flag {
  background: transparent;
  border: none;
  font-size: 0.9rem;
  line-height: 1;
}

.cp-label {
  position: absolute;
  top: 12px;
  font-size: 0.62rem;
  color: #94a3b8;
  white-space: nowrap;
  font-weight: 700;
}

/* Dinamik Bölge Geçiş Bildirimi (Neon Toast) */
.zone-alert {
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: rgba(15, 23, 42, 0.92);
  border: 2px solid #38bdf8;
  border-radius: 14px;
  padding: 8px 20px;
  text-align: center;
  z-index: 18;
  pointer-events: none;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(56, 189, 248, 0.45);
}

.zone-alert.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.zone-alert-badge {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #38bdf8;
  margin-bottom: 2px;
}

.zone-alert-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.zone-alert-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Yakalanma Lokasyonu ve Ünvan (Yan Yana) */
.gameover-meta-row {
  display: flex;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

.map-caught-location {
  flex: 1.1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  padding: 5px 8px;
  text-align: left;
  overflow: hidden;
}

.radar-ping {
  font-size: 1.1rem;
  animation: pulse 1s infinite;
  flex-shrink: 0;
}

.loc-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.loc-subtitle {
  font-size: 0.58rem;
  color: #f87171;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#final-gps-location {
  font-size: 0.78rem;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Termal Kamera Modu Efekti */
.thermal-mode #gameCanvas {
  filter: contrast(130%) brightness(105%);
}

.thermal-mode #game-wrapper::after {
  content: "● REC [FLIR IR 8-14µm] SARIKÖY SEKTÖR-4";
  position: absolute;
  top: 135px;
  left: 20px;
  color: #10b981;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 12;
  text-shadow: 0 0 5px rgba(16, 185, 129, 0.8);
  animation: blinkRec 1.2s infinite;
}

@keyframes blinkRec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Menü ve Modal Pencereleri */
.overlay-screen {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 20;
  padding: 16px;
}

.overlay-screen.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  background: var(--card-bg);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 24px 30px;
  text-align: center;
  max-width: 500px;
  max-height: 95%;
  overflow-y: auto;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.5) transparent;
}

.modal-card::-webkit-scrollbar {
  width: 5px;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 4px;
}

/* Game Over için daha kompakt ve şık düzen (Scroll çıkmasın) */
#gameover-screen .modal-card {
  padding: 12px 18px;
  gap: 6px;
  max-width: 470px;
  overflow: hidden; /* Scroll tamamen engellendi */
}

.badge-tag {
  display: inline-block;
  align-self: center;
  background: var(--accent-red);
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}

.game-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.story-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.controls-guide {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 14px;
  border-radius: 12px;
  text-align: left;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.control-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ctrl-icon {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

/* Buton Stilleri */
.primary-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #111827;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  transition: all 0.15s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.primary-btn:active {
  transform: translateY(1px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Game Over Özel Alanları */
.gameover-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--accent-red);
}

.gameover-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: -4px;
}

.result-stats {
  display: flex;
  gap: 10px;
}

.stat-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stat-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
}

.rank-banner {
  flex: 0.9;
  min-width: 0;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.rank-label {
  font-size: 0.58rem;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.rank-text {
  font-weight: 900;
  color: var(--primary);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Viral Paylaşım Butonları */
.viral-actions {
  display: flex;
  gap: 8px;
}

.share-btn {
  flex: 1;
  border: none;
  padding: 7px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.15s;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.whatsapp {
  background: #25D366;
  color: #064e20;
}

.share-btn.x-twitter {
  background: #000;
  color: #fff;
  border: 1px solid #334155;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.action-buttons button {
  flex: 1;
}

#gameover-screen .primary-btn {
  padding: 9px 16px;
  font-size: 0.95rem;
}

#gameover-screen .secondary-btn {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* Reklam Alanı (Banner Slot) */
.ad-placeholder {
  background: rgba(15, 23, 42, 0.75);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  transition: all 0.2s ease;
}

.ad-placeholder:hover {
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.ad-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  letter-spacing: 0.5px;
}

.ad-badge-clean {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.ad-info-text {
  color: #94a3b8;
  font-size: 0.6rem;
}

.ad-slot-body {
  padding: 2px 0;
}

.ad-mock-text {
  font-size: 0.78rem;
  color: #e2e8f0;
  font-weight: 500;
}

.ad-mock-text em {
  color: #f59e0b;
  font-style: normal;
  font-weight: 700;
}

/* Dokunmatik Kontroller (Mobilde Alta Sabitlenir) */
#touch-controls {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: none;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
  z-index: 15;
}

.touch-btn {
  pointer-events: auto;
  flex: 1;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.1s;
}

.touch-btn:active {
  background: rgba(245, 158, 11, 0.6);
  border-color: var(--primary);
}

/* Bağış Modalı */
.small-modal {
  max-width: 400px;
}

.donate-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}

.donate-link-btn {
  display: block;
  text-decoration: none;
  background: #f59e0b;
  color: #111;
  font-weight: 800;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.donate-link-btn.outline {
  background: transparent;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px;
}

.close-btn:hover {
  color: #fff;
}

/* Ödüllü Reklam (1 Can Al & Devam Et) Butonu */
.rewarded-btn {
  background: linear-gradient(135deg, #059669, #10b981);
  border: 2px solid #34d399;
  color: #fff;
  padding: 9px 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.rewarded-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
}

.pulse-glow {
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.85); }
}

.reward-icon {
  font-size: 1.6rem;
}

.reward-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.reward-text strong {
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

.reward-text small {
  font-size: 0.75rem;
  color: #d1fae5;
}

.badge-free {
  background: #f59e0b;
  color: #000;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Reklam İzleme Modalı */
.ad-card {
  max-width: 440px;
  border-color: #10b981;
}

.ad-timer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.ad-indicator {
  color: #10b981;
  font-weight: 800;
}

.ad-counter {
  color: #f59e0b;
  font-weight: 800;
}

.ad-video-mockup {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.ad-brand-logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fbbf24;
}

.ad-slogan {
  font-size: 0.9rem;
  color: #e0e7ff;
  line-height: 1.4;
  font-style: italic;
}

.ad-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}

.ad-fill {
  width: 0%;
  height: 100%;
  background: #10b981;
  transition: width 5s linear;
}

.ad-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animasyonlar */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Mobil Görünüm Ayarları (Tam Ekran, 16:9 Canvas Oranı, Asla Scroll ve Kesilme Yok) */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    background: #020617;
    height: 100vh;
    height: 100dvh;
    display: flex;
    overflow: hidden;
  }
  
  #game-wrapper {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    aspect-ratio: auto !important;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  /* Canvas kesinlikle 16:9 oranını korur, asla sıkışmaz veya uzamaz */
  #gameCanvas {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  /* Modallar tüm telefon ekranını (100vh) kaplar, asla kesilmez ve scroll çıkarmaz */
  .overlay-screen {
    position: absolute;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px;
    z-index: 30;
  }

  .modal-card {
    max-width: 360px;
    width: 100%;
    padding: 16px 20px;
    gap: 10px;
    max-height: 90vh;
    overflow: hidden;
  }

  #gameover-screen .modal-card {
    max-width: 350px;
    padding: 10px 14px;
    gap: 6px;
  }

  .gameover-meta-row {
    gap: 6px;
  }

  .map-caught-location {
    flex: 1.1;
    min-width: 0;
    padding: 4px 6px;
    gap: 5px;
  }

  .radar-ping {
    font-size: 0.95rem;
  }

  .loc-subtitle {
    font-size: 0.54rem;
  }

  #final-gps-location {
    font-size: 0.72rem;
  }

  .rank-banner {
    flex: 0.9;
    min-width: 0;
    padding: 4px 6px;
  }

  .rank-label {
    font-size: 0.54rem;
  }

  .rank-text {
    font-size: 0.72rem;
  }

  .game-title {
    font-size: 1.6rem;
  }

  .story-desc {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .controls-guide {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .controls-guide .control-col:first-child {
    display: none;
  }

  .primary-btn {
    padding: 12px 20px;
    font-size: 1.05rem;
  }

  /* HUD ve GPS Barı Canvas'a Göre Konumlanır */
  #hud {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .hud-item {
    padding: 4px 8px;
    font-size: 0.82rem;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .hud-action-btn {
    padding: 5px 10px;
    font-size: 0.68rem;
  }

  #gps-route-bar {
    top: 44px;
    left: 8px;
    right: 8px;
    padding: 4px 8px;
  }

  .gps-header {
    font-size: 0.65rem;
    margin-bottom: 3px;
  }

  .route-track {
    height: 6px;
    margin: 4px 2px 10px 2px;
  }

  .lion-pin {
    top: -12px;
    font-size: 0.95rem;
  }

  .cp-label {
    top: 8px;
    font-size: 0.52rem;
  }

  .zone-alert {
    top: 80px;
    padding: 5px 14px;
  }

  .zone-alert-title {
    font-size: 0.95rem;
  }

  /* Dokunmatik Kontroller (Ekranın Altında Rahat Başparmak Pozisyonu) */
  #touch-controls {
    display: flex;
    position: absolute;
    bottom: 18px;
    left: 16px;
    right: 16px;
    gap: 12px;
    z-index: 15;
    pointer-events: none;
  }

  .touch-btn {
    pointer-events: auto;
    padding: 14px 10px;
    font-size: 0.92rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.25);
  }
}

/* Telefon Yan Çevrildiğinde (Yatay Mod - Full Screen Arcade) */
@media (max-width: 950px) and (orientation: landscape) {
  body {
    padding: 0;
  }

  #game-wrapper {
    height: 100vh !important;
    width: 100vw !important;
    max-width: none;
    margin: 0;
    justify-content: center;
    align-items: center;
  }

  #gameCanvas {
    height: 100vh !important;
    width: auto !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 100vh !important;
  }

  #touch-controls {
    bottom: 10px;
    left: 14px;
    right: 14px;
  }

  .touch-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}


