/* ============================================================
   KỸ NĂNG SỐNG — Dashboard & Pages CSS (Premium Redesign)
   ============================================================ */

/* ─── Dashboard Screen ───────────────────────────────────── */
.dashboard-screen {
  padding-top: 66px; padding-bottom: 90px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}


.dash-header {
  padding: 24px 20px 16px; text-align: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, transparent 100%);
  margin-bottom: 4px;
}
.dash-greeting {
  font-family: var(--font-head); font-size: 32px; font-weight: 900;
  margin-bottom: 8px; letter-spacing: -0.5px;
}
.dash-progress-text {
  font-size: 15px; color: var(--c-muted); margin-bottom: 16px;
}
.dash-progress-bar {
  width: 100%; max-width: 360px; height: 10px; border-radius: 8px;
  background: var(--c-border); margin: 0 auto 16px; overflow: hidden;
}
.dash-progress-fill {
  height: 100%; border-radius: 10px; transition: width 0.8s cubic-bezier(.4,0,.2,1);
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}

/* ─── Smart Review (Gấu Thông Thái) ─────────────────────── */
.smart-review {
  margin: 0 16px 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  display: block !important;
}
.smart-review-card {
  background: linear-gradient(135deg, var(--c-primary)18, var(--c-accent)10);
  border: 1px solid var(--c-primary)33;
  border-radius: 24px;
  padding: 20px;
  overflow: hidden;
  position: relative;
}
.smart-review-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.smart-review-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.smart-review-bear {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(124,77,255,0.2) 0%, rgba(64,196,255,0.2) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(124,77,255,0.3);
  border: 1px solid rgba(124,77,255,0.3);
  padding: 4px;
}
.smart-review-title {
  font-weight: 800; font-size: 17px; color: var(--c-primary-light);
}
.smart-review-msg {
  font-size: 15px; line-height: 1.55; color: var(--c-text2);
  margin-bottom: 16px;
}
.smart-review-items {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.smart-review-items::-webkit-scrollbar { display: none; }
.suggested-item {
  flex: 0 0 130px;
  background: var(--bg-card2) !important; /* override inline style */
  border: 1px solid var(--c-primary)22 !important;
  border-radius: 14px !important;
  padding: 12px !important;
  cursor: pointer;
  transition: all 0.2s !important;
  text-align: center;
}
.suggested-item:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary) !important;
  box-shadow: 0 8px 20px rgba(124,77,255,0.2);
}

/* ─── View Toggle & Filter ───────────────────────────────── */
.view-controls {
  display: flex; align-items: center;
  padding: 0 16px 8px; gap: 8px; flex-wrap: wrap;
}
.view-btns { display: flex; gap: 6px; }
.view-btns button {
  padding: 10px 22px; border-radius: 14px;
  background: var(--bg-card2); border: 1.5px solid var(--c-border);
  color: var(--c-text2); font-size: 15px; font-weight: 800;
  transition: all 0.2s; display: flex; align-items: center; gap: 6px;
}
.view-btns button.active {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
  box-shadow: 0 4px 14px rgba(124,77,255,0.35);
}

.filter-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 12px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0; padding: 10px 18px; border-radius: 24px;
  background: var(--bg-card2); border: 1.5px solid var(--c-border);
  font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap;
  transition: all 0.2s; color: var(--c-text2);
  display: flex; align-items: center; gap: 6px;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--c-primary)22; border-color: var(--c-primary);
  color: var(--c-primary); transform: translateY(-1px);
}
.filter-chip.completed {
  border-color: var(--c-green)66; background: var(--c-green)08;
}
.chip-perc {
  font-size: 10px; opacity: 0.6; background: var(--c-border);
  padding: 1px 5px; border-radius: 8px;
}
.chip-cert-btn {
  background: var(--c-gold); color: #000; border-radius: 50%;
  width: 22px; height: 22px; display: flex; align-items: center;
  justify-content: center; font-size: 12px;
  box-shadow: 0 2px 8px rgba(255,215,64,0.4);
  transition: transform 0.2s;
}
.chip-cert-btn:hover { transform: scale(1.2) rotate(10deg); }

/* ─── Map View ───────────────────────────────────────────── */
.map-view { position: relative; overflow: hidden; height: 100%; }
.map-fullscreen .navbar, 
.map-fullscreen .bottom-nav,
.map-fullscreen .filter-bar,
.map-fullscreen .grade-filter-bar { display: none !important; }
.map-fullscreen .map-canvas { height: 100vh; }
.map-fullscreen .map-pagination { bottom: 50%; right: 25px; transform: translateY(50%); padding: 15px 12px; }
.map-fullscreen .map-node { transform: scale(1.18); transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28); }
.map-fullscreen .map-flyer { scale: 1.35; transition: opacity 0.5s; }
.map-canvas {
  width: 100%; height: calc(100vh - 150px);
  overflow: hidden; position: relative; cursor: grab;
  -ms-overflow-style: none; scrollbar-width: none;
}
.map-canvas::-webkit-scrollbar { display: none; }
.map-canvas:active { cursor: grabbing; }
.map-inner {
  position: relative;
  width: max(100%, 750px);
  height: 100%;
  padding-bottom: 160px; /* Safety space for pagination bar */
}
#map-nodes, #map-svg {
  animation: mapPageIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes mapPageIn {
  0% { opacity: 0; transform: scale(0.96) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Map Background: photo-based with dark overlay (JS applies backgroundImage) */
.map-bg {
  position: absolute; inset: -40px; z-index: 0;
  /* Dark fallback shown while photo loads */
  background-color: #06091a;
  background-size: 36px 36px, 120% 120%, cover;
  background-position: top, center, center;
  background-repeat: repeat, no-repeat, no-repeat;
  /* Smooth transition for theme and parallax */
  transition: background-image 1s ease-in-out, transform 0.2s ease-out;
  transform: scale(1.05); /* Pre-scale for parallax room */
  animation: mapPan 45s linear infinite alternate;
}

@keyframes mapPan {
  0% { background-position: top, 50% 50%, 50% 50%; }
  100% { background-position: top, 60% 40%, 40% 60%; }
}

/* Vignette: darkens edges so nodes in corners stay readable */
.map-bg::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(
    ellipse 85% 80% at 50% 40%,
    transparent 40%,
    rgba(4, 6, 20, 0.55) 100%
  );
}

/* Subtle top-to-bottom dark fade (for label readability at bottom) */
.map-bg::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(4,6,20,0.35) 0%,
    transparent 20%,
    transparent 75%,
    rgba(4,6,20,0.6) 100%
  );
}


.map-svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.map-nodes { position: relative; z-index: 2; }
.map-decorations { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Decorative emoji — brighter, no animation */
.map-land-deco {
  position: absolute; font-size: 20px; opacity: 0.45;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* ── Map Nodes ── redesigned for clarity ─────────────────── */
.map-node {
  position: absolute; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0;
  cursor: pointer;
  /* Floating animation */
  animation: mapNodeFloat 3s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.map-node:hover { transform: translate(-50%,-50%) scale(1.08); z-index: 50; }

@keyframes mapNodeFloat {
  0% { transform: translate(-50%, -48%); }
  100% { transform: translate(-50%, -52%); }
}

.map-node-inner {
  width: 78px; height: 78px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; position: relative;
  /* glassmorphism card */
  background: rgba(20, 24, 60, 0.75);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* Completed — green glow */
.map-node.completed .map-node-inner {
  border-color: rgba(0,229,160,0.6);
  background: rgba(0,229,160,0.15);
  box-shadow:
    0 10px 30px rgba(0,229,160,0.4),
    inset 0 1px 0 rgba(0,229,160,0.3);
}

/* Unlocked — purple glow, slightly brighter */
.map-node.unlocked .map-node-inner {
  border-color: rgba(124,77,255,0.7);
  background: rgba(124,77,255,0.18);
  box-shadow:
    0 10px 30px rgba(124,77,255,0.45),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Locked — dim */
.map-node.locked {
  pointer-events: none;
}
.map-node.locked .map-node-inner {
  opacity: 0.35;
  filter: grayscale(0.6);
  border-color: rgba(255,255,255,0.06);
}

/* Check badge */
.map-node-check {
  position: absolute; bottom: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-green); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
  box-shadow: 0 2px 8px rgba(0,229,160,0.5);
  border: 2px solid rgba(10,14,31,0.8);
}

/* Number badge below node */
.map-node-num {
  margin-top: 6px;
  font-size: 13px; font-weight: 900; letter-spacing: 0.5px;
  background: rgba(124,77,255,0.85);
  color: #fff; border-radius: 12px;
  padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}

/* Label — pill chip so it's readable over ANY background */
.map-node-label {
  margin-top: 3px;
  font-size: 13px; font-weight: 900;
  max-width: 120px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 4px 10px; border-radius: 10px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.2px;
}


/* ─── Lesson Detail Screen ───────────────────────────────── */
.lesson-screen { padding-top: 0; padding-bottom: 0; }
.lesson-body { padding: 20px 16px 120px; max-width: 800px; margin: 0 auto; }
.lesson-detail-title {
  font-family: var(--font-head); font-size: 38px; font-weight: 900;
  margin-bottom: 12px; line-height: 1.25;
}
.lesson-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.meta-tag {
  padding: 6px 14px; border-radius: 24px; font-size: 14px; font-weight: 800;
  background: var(--bg-card2); border: 2px solid var(--c-border); color: var(--c-text2);
}
.lesson-desc { font-size: 20px; color: var(--c-text2); line-height: 1.6; margin-bottom: 32px; }
.lesson-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; }
.lesson-stat-item {
  background: var(--bg-card2); border: 1.5px solid var(--c-border);
  border-radius: 24px; padding: 20px; text-align: center;
}
.lesson-stat-item .stat-value { font-size: 30px; font-weight: 900; color: var(--c-gold); margin-bottom: 4px; }
.lesson-stat-item .stat-label { font-size: 14px; color: var(--c-muted); text-transform: uppercase; letter-spacing: 1px; }
.lesson-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.lesson-actions .btn { flex: 1; min-width: 180px; justify-content: center; padding: 18px 32px; font-size: 20px; }

/* ─── Comments ───────────────────────────────────────────── */
.comments-section { margin-top: 32px; border-top: 2px solid var(--c-border); padding-top: 32px; }
.comments-title { font-family: var(--font-head); font-size: 28px; margin-bottom: 24px; }
.comment-input-row {
  display: flex; gap: 10px; margin-bottom: 16px;
  background: var(--bg-input); padding: 8px 12px; border-radius: 16px;
  border: 1.5px solid var(--c-border); transition: border-color 0.2s;
}
.comment-input-row:focus-within { border-color: var(--c-primary); }
.comment-input-row input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--c-text); font-size: 14px; padding: 4px 0;
}
.rating-stars { display: flex; gap: 8px; margin-bottom: 14px; font-size: 22px; }
.rating-stars i { color: var(--c-border2); cursor: pointer; transition: color 0.2s, transform 0.2s; }
.rating-stars i.active { color: var(--c-gold); }
.rating-stars i:hover { color: var(--c-gold); transform: scale(1.25); }
.comment-item {
  padding: 14px 0; border-bottom: 1px solid var(--c-border);
}
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff; flex-shrink: 0;
}
.comment-name { font-weight: 800; font-size: 15px; }
.comment-stars { font-size: 13px; color: var(--c-gold); }
.comment-time { font-size: 12px; color: var(--c-muted); margin-left: auto; }
.comment-text { font-size: 16px; color: var(--c-text2); padding-left: 54px; line-height: 1.6; }

/* ─── Video Modal ────────────────────────────────────────── */
.video-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: var(--bg-modal); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 12px;
}
.video-modal.active { display: flex; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--c-border);
  border-radius: 20px; overflow: hidden;
  width: 100%; max-width: 900px; max-height: 90vh;
  display: flex; flex-direction: column; animation: scaleIn 0.3s ease;
}
.modal-box.fullsize { max-width: 100%; max-height: 100vh; border-radius: 0; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--c-border);
}
.modal-title { font-weight: 800; font-size: 15px; }
.modal-actions { display: flex; gap: 8px; }
.modal-actions button {
  padding: 7px 12px; border-radius: 10px;
  background: var(--bg-card2); border: 1px solid var(--c-border);
  color: var(--c-text2); font-size: 17px; transition: all 0.2s;
}
.modal-actions button:hover { background: var(--c-primary)22; border-color: var(--c-primary); }
.modal-iframe { flex: 1; width: 100%; min-height: 60vh; border: none; background: #000; }

/* ─── Completion Overlay ─────────────────────────────────── */
.completion-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: var(--bg-modal); backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
}
.completion-overlay.active { display: flex; }
.completion-content {
  text-align: center; animation: scaleIn 0.4s ease;
  padding: 40px 24px; max-width: 380px;
}
.completion-particles { position: fixed; inset: 0; pointer-events: none; z-index: 501; }
.confetti { position: absolute; top: -10px; animation: confettiFall 3s ease-in forwards; }
@keyframes confettiFall {
  0% { transform: translate(0, -20px) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-80px + 160px * var(--r, 0.5)), 100vh) rotate(720deg); opacity: 0; }
}
.completion-icon { font-size: 80px; animation: popIn 0.5s ease; }
@keyframes popIn { 0%{transform:scale(0)} 60%{transform:scale(1.2)} 100%{transform:scale(1)} }
.completion-title { font-family: var(--font-head); font-size: 28px; margin: 12px 0; color: var(--c-gold); }
.completion-stars { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.comp-star {
  font-size: 36px; display: inline-block;
  animation: starPop 0.5s ease backwards, starGlow 2s ease-in-out infinite 0.8s;
}
.comp-star:nth-child(2) { animation-delay: 0.15s; }
.comp-star:nth-child(3) { animation-delay: 0.3s; }
@keyframes starPop { 0%{transform:scale(0) rotate(-45deg);opacity:0} 100%{transform:scale(1) rotate(0);opacity:1} }
.completion-total { font-size: 16px; color: var(--c-text2); margin-bottom: 24px; }
.completion-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── Leaderboard ────────────────────────────────────────── */
.leaderboard-screen {
  padding-top: 66px; padding-bottom: 90px;
  min-height: 100vh;
}
.lb-header { text-align: center; padding: 24px 16px 16px; }
.lb-title { font-family: var(--font-head); font-size: 36px; margin-bottom: 6px; }
.lb-tagline { font-size: 15px; color: var(--c-muted); margin-bottom: 24px; }
.lb-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.lb-tab {
  padding: 10px 24px; border-radius: 24px;
  background: var(--bg-card2); border: 2px solid var(--c-border);
  font-size: 15px; cursor: pointer; transition: all 0.2s;
  color: var(--c-text2); font-weight: 800;
}
.lb-tab.active {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
  box-shadow: 0 6px 18px rgba(124,77,255,0.4);
}

/* Podium */
.lb-podium {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 12px; padding: 0 20px 24px; min-height: 200px;
}
.lb-podium-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.lb-podium-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 32px; color: #fff;
  position: relative; margin-bottom: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 3px solid rgba(255,255,255,0.2);
}
.lb-podium-name {
  font-size: 14px; font-weight: 900; max-width: 110px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.lb-podium-stars { font-size: 14px; color: var(--c-gold); font-weight: 800; margin-bottom: 10px; }
.lb-podium-block {
  width: 70px; border-radius: 10px 10px 0 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10px; font-weight: 900; font-size: 22px; color: rgba(0,0,0,0.6);
}

/* List */
.lb-list { padding: 0 16px; }
.lb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; margin-bottom: 8px;
  background: var(--bg-card); border: 1px solid var(--c-border);
  border-radius: 16px; transition: all 0.2s;
}
.lb-item:hover { border-color: var(--c-primary)66; transform: translateX(6px); }
.lb-item.is-me { border-color: var(--c-gold)88; background: var(--c-gold)08; }
.lb-rank { font-size: 18px; font-weight: 900; color: var(--c-muted); min-width: 32px; text-align: center; }
.lb-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff; flex-shrink: 0;
}
.lb-info { flex: 1; min-width: 0; }
.lb-name { font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-detail { font-size: 13px; color: var(--c-muted); margin-top: 2px; }
.lb-stars { font-size: 17px; font-weight: 900; color: var(--c-gold); white-space: nowrap; }

/* ─── Map Pagination UI (Vertical Right) ─────────────────── */
.map-pagination {
  position: absolute; top: 50%; right: 20px; transform: translateY(-50%);
  z-index: 150; display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: rgba(20, 24, 60, 0.7); backdrop-filter: blur(25px);
  padding: 12px 10px; border-radius: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.1);
  animation: fadeInRight 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.map-pag-btn {
  width: 44px; height: 44px; flex-shrink: 0; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border: none; border-radius: 50%; color: #fff;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(124,77,255,0.5);
}
.map-pag-btn:hover:not(:disabled) {
  transform: scale(1.15) translateX(-5px);
  box-shadow: 0 8px 24px rgba(124,77,255,0.6);
}
.map-pag-btn:active:not(:disabled) { transform: scale(0.9); }
.map-pag-btn:disabled {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.2);
  cursor: not-allowed; box-shadow: none;
}
.map-pag-info {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-head); font-weight: 900; color: var(--c-gold);
}
.map-pag-info span { font-size: 18px; }
.map-pag-info small { font-size: 10px; opacity: 0.6; margin-top: -2px; }

/* Integrated Fullscreen Toggle in pagination */
.map-pag-btn.fs-toggle {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none; margin-top: 5px;
}
.map-pag-btn.fs-toggle:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.map-fullscreen .map-pag-btn.fs-toggle { background: var(--c-primary)22; border-color: var(--c-primary); color: var(--c-primary); }

/* Advanced 3D Effects */
@keyframes fadeInRight {
  0% { opacity: 0; transform: translate(30px, -50%); }
  100% { opacity: 1; transform: translate(0, -50%); }
}

.map-path-dash {
  animation: pathDashPulse 6s infinite linear;
}
@keyframes pathDashPulse {
  0% { stroke-dashoffset: 200; stroke: rgba(255,255,255,0.3); }
  50% { stroke: rgba(255,255,255,0.6); }
  100% { stroke-dashoffset: 0; stroke: rgba(255,255,255,0.3); }
}

.map-particle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, transparent 80%);
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
  pointer-events: none; z-index: 1;
  animation: particleFloat 15s infinite ease-in-out;
}
@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  25% { opacity: 0.3; }
  50% { transform: translate(40px, -60px) scale(1.5); opacity: 0.1; }
  75% { opacity: 0.3; }
}

/* Map Wildlife (Birds, Planes) */
.map-flyer {
  position: absolute; z-index: 105; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
  will-change: transform;
}

@media (max-width: 480px) {
  .map-pagination { right: 10px; padding: 10px 8px; gap: 8px; }
  .map-pag-btn { width: 40px; height: 40px; font-size: 16px; }
  .map-pag-info span { font-size: 15px; }
}
