/* ========================================================
   HALUK AMCA NEREDE? - ADANA CANLI MOBİL OYUN TASARIMI V3
   Mini Oyunlar, Toplanabilir Eşyalar (Loot), Dokunmatik Tepkiler
   ======================================================== */

:root {
  --primary-orange: #ff7700;
  --primary-amber: #f59e0b;
  --sun-yellow: #facc15;
  --chili-red: #ef4444;
  --fresh-green: #22c55e;
  --game-blue: #0284c7;
  --hud-bg: rgba(255, 255, 255, 0.94);
  --hud-border: #fde047;
  --border-radius-pill: 40px;
  --border-radius-box: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  position: fixed;
}

body.game-body {
  font-family: 'Fredoka', 'Outfit', system-ui, -apple-system, sans-serif;
  background: #fef08a;
  display: flex;
  flex-direction: column;
  color: #1e293b;
  transition: background 0.4s ease;
}

/* ========================================================
   GECE MODU
   ======================================================== */
body.night-mode {
  background: #0f172a;
  color: #f8fafc;
}

body.night-mode .game-hud-top {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.85) 85%, transparent 100%);
}

body.night-mode .hud-player-card,
body.night-mode .game-bar-item,
body.night-mode .game-icon-btn,
body.night-mode .floating-game-dialogue,
body.night-mode .game-hud-bottom,
body.night-mode .game-sheet-container,
body.night-mode .hud-score-pill {
  background: #1e293b;
  border-color: #475569;
  color: #f8fafc;
}

body.night-mode .hud-location-text,
body.night-mode .dialogue-quote {
  color: #cbd5e1;
}

body.night-mode .bottom-nav-btn {
  background: #334155;
  border-color: #475569;
  box-shadow: 0 3px 0 #1e293b;
}

body.night-mode .nav-btn-text {
  color: #f1f5f9;
}

body.night-mode .spot-game-card {
  background: #334155;
  border-color: #475569;
}

body.night-mode .spot-card-name {
  color: #f8fafc;
}

body.night-mode .spot-card-desc {
  color: #94a3b8;
}

body.night-mode #adanaMap .leaflet-tile-pane {
  filter: brightness(0.7) invert(1) contrast(3) hue-rotate(200deg) saturate(0.35);
}

/* ========================================================
   1. TOP GAME HUD
   ======================================================== */
.game-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 85%, transparent 100%);
  pointer-events: none;
}

.game-hud-top > * {
  pointer-events: auto;
}

.hud-player-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 5px 10px 5px 5px;
  border-radius: var(--border-radius-pill);
  border: 3px solid #f97316;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 42%;
}

.hud-player-card:active {
  transform: scale(0.94);
}

.hud-avatar-box {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.hud-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ea580c;
  background: #fff7ed;
}

.hud-live-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 10px;
}

.hud-player-info {
  overflow: hidden;
}

.hud-player-title {
  font-size: 0.88rem;
  font-weight: 900;
  color: #c2410c;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.1;
  white-space: nowrap;
}

.hud-level-badge {
  font-size: 0.6rem;
  background: #f59e0b;
  color: #fff;
  padding: 2px 4px;
  border-radius: 6px;
  font-weight: 800;
}

.hud-location-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Skor Göstergesi (Loot Score) */
.hud-score-pill {
  background: #ffffff;
  border: 2px solid #f59e0b;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.2);
  cursor: pointer;
  animation: pulse-score 2s infinite ease-in-out;
}

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

.score-icon {
  font-size: 1.1rem;
}

.score-val {
  font-size: 0.8rem;
  font-weight: 900;
  color: #b45309;
  white-space: nowrap;
}

.hud-bars-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-bar-item {
  background: #ffffff;
  border: 2px solid #fed7aa;
  padding: 4px 6px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  min-width: 68px;
}

.bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.55rem;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 2px;
}

.bar-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.fill-kebab {
  background: linear-gradient(90deg, #ea580c, #f97316);
}

.fill-heat {
  background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.game-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fdba74;
  background: #ffffff;
  color: #c2410c;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.game-icon-btn:active {
  transform: scale(0.9);
}

.btn-night-mode {
  color: #8b5cf6;
  border-color: #c4b5fd;
}

/* ========================================================
   2. MAIN GAME MAP CANVAS
   ======================================================== */
.game-map-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  height: calc(100dvh - 80px);
}

#adanaMap {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.multiplayer-status-pill {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 500;
  backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.sync-dot.pulse {
  animation: radar-pulse 1.8s infinite;
}

@keyframes radar-pulse {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.floating-game-dialogue {
  position: absolute;
  top: 112px;
  left: 12px;
  right: 12px;
  background: #ffffff;
  border: 3px solid #ff7700;
  border-radius: var(--border-radius-box);
  padding: 8px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  z-index: 500;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25);
  max-width: 480px;
  margin: 0 auto;
}

.dialogue-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.dialogue-speaker {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ea580c;
  text-transform: uppercase;
  display: block;
}

.dialogue-quote {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
  line-height: 1.25;
}

.quest-pill-widget {
  position: absolute;
  top: 175px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #f59e0b;
  border-radius: 14px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  max-width: 250px;
  backdrop-filter: blur(8px);
}

.quest-pill-icon {
  font-size: 1.1rem;
}

.quest-pill-title {
  display: block;
  font-size: 0.58rem;
  font-weight: 900;
  color: #b45309;
}

.quest-pill-task {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
}

/* Floating Action Circle Controls (Right Side) */
.floating-game-controls {
  position: absolute;
  right: 12px;
  bottom: 95px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
}

.game-action-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-action-circle:active {
  transform: scale(0.9);
}

.btn-minigames {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  color: #ffffff;
  animation: bounce-mini 2s infinite ease-in-out;
}

@keyframes bounce-mini {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.btn-ride-mode {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.btn-ride-mode.riding {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  animation: pulse-ride 1.2s infinite;
}

@keyframes pulse-ride {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 14px rgba(245, 158, 11, 0.8); }
}

.btn-horn {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #ffffff;
}

.btn-selfie {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #ffffff;
}

.btn-find {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
}

.btn-switch-pin {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
}

.map-tap-banner {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  color: #c2410c;
  border: 2px dashed #f97316;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 800;
  z-index: 490;
  pointer-events: none;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* ========================================================
   3. BOTTOM GAME HUD
   ======================================================== */
.game-hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  padding: 8px 10px 14px 10px;
  background: #ffffff;
  border-top: 3px solid #fed7aa;
  box-shadow: 0 -8px 25px rgba(234, 88, 12, 0.15);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  z-index: 1000;
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  border: 2px solid #fed7aa;
  border-radius: 16px;
  padding: 4px 2px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 3px 0 #fed7aa;
}

.bottom-nav-btn:active {
  transform: translateY(3px);
  box-shadow: none;
}

.nav-btn-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.nav-btn-text {
  font-size: 0.65rem;
  font-weight: 800;
  color: #78350f;
  margin-top: 3px;
  white-space: nowrap;
}

.btn-nav-routes {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #fde047;
  box-shadow: 0 3px 0 #facc15;
}

.btn-nav-feed {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
  border-color: #fb923c;
  box-shadow: 0 3px 0 #ea580c;
}

.btn-nav-games {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  border-color: #c084fc;
  box-shadow: 0 3px 0 #9333ea;
}

.btn-nav-yell {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #93c5fd;
  box-shadow: 0 3px 0 #3b82f6;
}

.btn-nav-action {
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  border-color: #f472b6;
  box-shadow: 0 3px 0 #db2777;
}

/* ========================================================
   4. MODAL BOTTOM SHEETS & MINI GAMES
   ======================================================== */
.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
}

.game-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.game-sheet-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px 28px 0 0;
  border-top: 4px solid #ff7700;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  padding: 12px 18px 24px 18px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-modal-overlay.active .game-sheet-container {
  transform: translateY(0);
}

.sheet-drag-handle {
  width: 44px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 10px;
  margin: 0 auto 12px auto;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sheet-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sheet-emoji {
  font-size: 1.8rem;
}

.sheet-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #c2410c;
  line-height: 1.1;
}

.sheet-subtitle {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.btn-close-sheet {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.3rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-content-scroll {
  overflow-y: auto;
  max-height: 62vh;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Mini Games Arena & Tabs */
.minigames-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.game-tab-btn {
  padding: 8px 6px;
  border-radius: 14px;
  border: 2px solid #fed7aa;
  background: #fff7ed;
  color: #78350f;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.game-tab-btn.active {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border-color: #c2410c;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.minigame-arena {
  background: #fff7ed;
  border: 2px solid #fed7aa;
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.minigame-arena.hidden {
  display: none;
}

.game-arena-desc {
  font-size: 0.82rem;
  color: #78350f;
  font-weight: 600;
}

.mangal-stage, .ice-stage, .tespih-stage {
  width: 100%;
  background: #ffffff;
  border: 2px dashed #fdba74;
  border-radius: 16px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mangal-fire {
  font-size: 1.8rem;
  animation: fire-flicker 0.4s infinite alternate;
}

@keyframes fire-flicker {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.15); filter: brightness(1.2); }
}

.kebab-skewer-box {
  font-size: 3.5rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kebab-status-badge {
  font-size: 0.8rem;
  font-weight: 800;
  background: #ffedd5;
  color: #c2410c;
  padding: 4px 12px;
  border-radius: 20px;
}

.ice-block {
  font-size: 3.5rem;
  transition: transform 0.1s;
}

.ice-meter-wrap {
  width: 80%;
  height: 14px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.ice-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0284c7);
  transition: width 0.15s ease;
}

.ice-timer {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0284c7;
}

.tespih-bead-anim {
  font-size: 3.5rem;
  animation: wobble-tespih 1.2s infinite ease-in-out;
}

@keyframes wobble-tespih {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
}

.tespih-counter-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #78350f;
}

.btn-game-play {
  width: 100%;
  padding: 14px;
  border-radius: var(--border-radius-pill);
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

.btn-game-play:active {
  transform: scale(0.95);
}

.btn-play-kebab {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}

.btn-play-ice {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

.btn-play-tespih {
  background: linear-gradient(135deg, #d97706, #b45309);
}

/* Spot Items */
.spot-game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid #fed7aa;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spot-game-card:active {
  transform: scale(0.97);
  background: #fff7ed;
}

.spot-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spot-card-emoji {
  font-size: 1.6rem;
  width: 42px;
  height: 42px;
  background: #fff7ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fed7aa;
}

.spot-card-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
}

.spot-card-desc {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 1px;
}

.spot-btn-send {
  padding: 7px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 3px 0 #9a3412;
  cursor: pointer;
}

/* Action Buttons Grid */
.action-grid-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.action-card-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 2px solid #fed7aa;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 3px 0 #fed7aa;
}

.action-card-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

.act-emoji {
  font-size: 1.6rem;
}

.act-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #78350f;
}

.act-desc {
  display: block;
  font-size: 0.62rem;
  color: #94a3b8;
}

.sheet-quests-section {
  border-top: 2px dashed #fed7aa;
  padding-top: 12px;
  margin-bottom: 12px;
}

.quests-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.quest-item.completed {
  background: #ecfdf5;
  border-color: #86efac;
  color: #15803d;
  text-decoration: line-through;
}

.quest-tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f59e0b;
  color: #fff;
  font-weight: 800;
}

.quest-item.completed .quest-tag {
  background: #22c55e;
}

.sheet-diary-section {
  border-top: 2px dashed #fed7aa;
  padding-top: 12px;
}

.diary-head-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 6px;
}

.mini-diary-feed {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 120px;
  overflow-y: auto;
}

.diary-entry-item {
  font-size: 0.72rem;
  background: #f8fafc;
  padding: 5px 8px;
  border-radius: 8px;
  border-left: 3px solid #f97316;
}

/* Selfie Modal Canvas */
.selfie-sheet {
  align-items: center;
}

.selfie-preview-box {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 14px;
}

#selfieCanvas {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.btn-download-selfie {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--border-radius-pill);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* ========================================================
   5. TOAST NOTIFICATION
   ======================================================== */
.game-toast-notification {
  position: fixed;
  top: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(-40px);
  background: #15803d;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.4);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================================
   6. MARKER & LOOT STYLES
   ======================================================== */
.uncle-marker-container {
  position: relative;
  width: 95px;
  height: 125px;
  transform-origin: bottom center;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Göbek ve Dokunmatik Yaylanma */
.uncle-belly-shake {
  animation: belly-shake 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes belly-shake {
  0% { transform: scale(1); }
  25% { transform: scale(1.2, 0.85); }
  50% { transform: scale(0.9, 1.15); }
  75% { transform: scale(1.1, 0.95); }
  100% { transform: scale(1); }
}

.uncle-full-caricature {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: uncle-idle 2.4s infinite ease-in-out;
}

@keyframes uncle-idle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(3deg) scale(1.02); }
  75% { transform: rotate(-3deg) scale(1.02); }
}

.uncle-bobble-wrap {
  position: relative;
  width: 95px;
  height: 125px;
}

.bobble-head-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid #ff7700;
  object-fit: cover;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  animation: bobble-wobble 1.8s infinite ease-in-out;
  transform-origin: bottom center;
}

@keyframes bobble-wobble {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  25% { transform: translateX(-50%) rotate(6deg) translateY(-2px); }
  75% { transform: translateX(-50%) rotate(-6deg) translateY(-2px); }
}

.bobble-body-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 75px;
  object-fit: contain;
  z-index: 1;
}

.uncle-riding-moto {
  animation: moto-drive 0.2s infinite alternate ease-in-out !important;
}

@keyframes moto-drive {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-7px) rotate(4deg); }
}

.moto-smoke {
  position: absolute;
  bottom: 5px;
  left: -15px;
  font-size: 1.2rem;
  animation: smoke-puff 0.5s infinite;
}

@keyframes smoke-puff {
  0% { opacity: 0; transform: scale(0.5) translate(0, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.4) translate(-15px, -10px); }
}

.uncle-talk-bubble {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #c2410c;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  border: 2px solid #fed7aa;
  pointer-events: none;
  animation: pop-bubble 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
}

.uncle-talk-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

@keyframes pop-bubble {
  from { opacity: 0; transform: translateX(-50%) scale(0.5); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

.uncle-ground-shadow {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 12px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}

/* Haritadaki Toplanabilir Eşyalar (Loot Icons) */
.loot-div-icon {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  cursor: pointer;
  animation: pulse-loot 1.4s infinite ease-in-out;
}

@keyframes pulse-loot {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.18) translateY(-4px); }
}

/* Flying overlays */
.animation-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
}

.flying-item {
  position: absolute;
  font-size: 2.8rem;
  animation: fly-up 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fly-up {
  0% { opacity: 0; transform: translateY(40px) scale(0.4) rotate(0deg); }
  30% { opacity: 1; transform: translateY(-40px) scale(1.2) rotate(15deg); }
  100% { opacity: 0; transform: translateY(-220px) scale(0.8) rotate(45deg); }
}

.heatwave-effect {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35) 0%, rgba(245, 158, 11, 0.2) 70%, transparent 100%);
  z-index: 9999;
  pointer-events: none;
  animation: heatwave-flash 2.5s ease-out forwards;
}

@keyframes heatwave-flash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}
