/* =====================================================
   TOURGUIDE.LIVE — Main Stylesheet
   Powered by AI • ElevenLabs Voice • Built for Hostinger
   ===================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ======= NAVBAR ======= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  white-space: nowrap;
}
.navbar-brand span { color: var(--slate-400); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 500;
}
.navbar-links a { color: var(--slate-700); transition: color 0.2s; }
.navbar-links a:hover { color: var(--primary); }

.navbar-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(37,99,235,0.4); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--slate-700); }
.btn-ghost:hover { background: var(--slate-100); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 4px 12px rgba(245,158,11,0.4); transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.8125rem; }

/* ======= HERO ======= */
.hero {
  background: radial-gradient(ellipse 120% 80% at 60% -20%, #dbeafe 0%, #ffffff 70%);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero h1 em { font-style: normal; color: var(--primary); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ======= SEARCH BOX ======= */
.search-container { max-width: 640px; margin: 0 auto 48px; }

.search-box {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--slate-200);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.search-box:focus-within { box-shadow: var(--shadow-xl), 0 0 0 3px rgba(37,99,235,0.2); }

.search-box input {
  flex: 1;
  padding: 18px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--slate-900);
  background: transparent;
}
.search-box input::placeholder { color: var(--slate-400); }

.search-box .btn { margin: 8px; border-radius: 12px; }

/* ======= STATS ======= */
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 0 24px;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.hero-stat span { font-size: 0.8125rem; color: var(--slate-500); font-weight: 500; }

/* ======= SECTION ======= */
.section { padding: 80px 24px; }
.section-sm { padding: 48px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { font-size: 1.0625rem; color: var(--slate-500); max-width: 560px; margin: 0 auto; }

/* ======= CITY GRID ======= */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.city-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  border: 1px solid var(--slate-100);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.city-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.city-card-img {
  height: 180px;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.city-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.city-card-img .city-flag {
  position: absolute; top: 12px; left: 12px;
  font-size: 1.5rem;
  background: rgba(255,255,255,0.9);
  border-radius: 8px; padding: 4px 8px;
}

.city-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.city-card-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.city-card-country { font-size: 0.8125rem; color: var(--slate-400); margin-bottom: 8px; }
.city-card-tagline { font-size: 0.8125rem; color: var(--slate-500); line-height: 1.5; flex: 1; margin-bottom: 12px; }
.city-card-footer { display: flex; justify-content: space-between; align-items: center; }
.city-card-stops { font-size: 0.75rem; color: var(--slate-400); font-weight: 500; }

/* ======= FEATURES ======= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.feature-card {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--slate-100);
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--slate-500); line-height: 1.6; }

/* ======= PRICING ======= */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 860px; margin: 0 auto; }

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--slate-200);
  position: relative;
  transition: border-color 0.2s;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}
.pricing-card .badge-featured {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: 4px 16px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  white-space: nowrap;
}
.pricing-price { font-size: 3rem; font-weight: 900; letter-spacing: -1px; margin: 16px 0 4px; }
.pricing-price sup { font-size: 1.25rem; vertical-align: top; margin-top: 12px; font-weight: 700; }
.pricing-period { color: var(--slate-400); font-size: 0.875rem; margin-bottom: 28px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 0.9375rem; border-bottom: 1px solid var(--slate-100);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--success); font-weight: 700; }
.pricing-features .x { color: var(--slate-400); }

/* ======= ADSENSE SLOTS ======= */
.ad-slot {
  background: var(--slate-50);
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 40px auto;
  width: 100%;
}
.ad-slot-728 { height: 90px; max-width: 728px; }
.ad-slot-300 { height: 250px; max-width: 300px; }
.ad-slot-responsive { min-height: 100px; }

/* ======= VOICE PLAYER ======= */
.voice-player {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 999;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--slate-200);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 380px;
  max-width: calc(100vw - 48px);
  transition: transform 0.3s, opacity 0.3s;
}
.voice-player.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 100px); }

.vp-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.vp-btn:hover { background: var(--primary-dark); transform: scale(1.05); }
.vp-btn.secondary { background: var(--slate-100); color: var(--slate-700); }
.vp-btn.secondary:hover { background: var(--slate-200); }

.vp-info { flex: 1; min-width: 0; }
.vp-title { font-size: 0.8125rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-subtitle { font-size: 0.75rem; color: var(--slate-400); }

.vp-lang {
  background: var(--primary-light); color: var(--primary);
  border: none; border-radius: 8px;
  padding: 6px 10px; font-size: 0.75rem; font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.vp-lang:hover { background: #bfdbfe; }

/* ======= FOOTER ======= */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 24px 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--slate-400); }
.footer p { font-size: 0.875rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap 16px; font-size: 0.8125rem; }

/* ======= CITY DETAIL PAGE ======= */
.city-hero {
  height: 380px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
}
.city-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.city-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 32px;
}
.city-hero-overlay h1 { font-size: 3rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.city-hero-overlay .city-flag-big { font-size: 3rem; margin-bottom: 8px; }
.city-hero-tagline { color: rgba(255,255,255,0.8); font-size: 1rem; margin-top: 4px; }

.tour-layout { display: grid; grid-template-columns: 380px 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.tour-sidebar {}
.tour-main {}

.stop-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  border: 2px solid var(--slate-100);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.stop-card:hover, .stop-card.active { border-color: var(--primary); box-shadow: var(--shadow); }
.stop-card.premium-stop { border-color: var(--accent); background: #fffbeb; }
.stop-card.premium-stop.locked { opacity: 0.7; filter: blur(0.5px); }

.stop-number {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  margin-right: 10px; flex-shrink: 0;
}
.stop-number.premium { background: var(--accent); }

.stop-title { font-size: 0.9375rem; font-weight: 700; display: flex; align-items: center; }
.stop-type-badge {
  display: inline-block;
  padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  margin-left: 8px;
}
.badge-free { background: #dcfce7; color: #166534; }
.badge-premium { background: #fef3c7; color: #92400e; }

.stop-transit { font-size: 0.8125rem; color: var(--slate-500); margin-top: 6px; }
.stop-verify-btn {
  margin-top: 12px;
  width: 100%;
  padding: 8px;
  background: var(--slate-100); color: var(--slate-700);
  border: none; border-radius: 8px;
  font-size: 0.8125rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.stop-verify-btn:hover { background: var(--primary-light); color: var(--primary); }
.stop-verified { background: #dcfce7 !important; color: #166534 !important; }

.map-container { border-radius: var(--radius-lg); overflow: hidden; height: 450px; background: var(--slate-100); position: sticky; top: 80px; }
.map-container iframe, .map-container #map { width: 100%; height: 100%; border: none; }

/* ======= AUTH PAGES ======= */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--slate-50); }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-xl); border: 1px solid var(--slate-100); }
.auth-card h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--slate-500); margin-bottom: 32px; font-size: 0.9375rem; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: var(--slate-700); }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--slate-200); border-radius: 10px;
  font-size: 0.9375rem; color: var(--slate-900);
  outline: none; transition: border-color 0.2s;
  background: #fff;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-input::placeholder { color: var(--slate-400); }

.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--slate-400); font-size: 0.875rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--slate-200); }

.social-btn {
  width: 100%; padding: 12px;
  border: 2px solid var(--slate-200); border-radius: 10px;
  background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.9375rem; font-weight: 600; color: var(--slate-700);
  transition: all 0.2s; margin-bottom: 12px;
}
.social-btn:hover { border-color: var(--slate-400); background: var(--slate-50); }
.social-btn img { width: 20px; height: 20px; }

/* ======= DASHBOARD ======= */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.dashboard-sidebar { background: var(--slate-900); padding: 24px; }
.sidebar-brand { font-size: 1.25rem; font-weight: 800; color: #fff; padding: 16px 0 32px; }
.sidebar-brand span { color: var(--slate-500); }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 0.9rem; color: var(--slate-400);
  transition: all 0.2s; text-decoration: none;
}
.sidebar-nav a:hover { background: #1e293b; color: #fff; }
.sidebar-nav a.active { background: var(--primary); color: #fff; }
.sidebar-nav .nav-icon { font-size: 1.1rem; }

.dashboard-main { background: var(--slate-50); padding: 32px; overflow-y: auto; }
.dashboard-header { margin-bottom: 32px; }
.dashboard-header h1 { font-size: 1.75rem; font-weight: 800; }
.dashboard-header p { color: var(--slate-500); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100); }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.stat-card .stat-label { font-size: 0.8125rem; color: var(--slate-500); font-weight: 500; }

/* ======= NEWSLETTER ======= */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  padding: 80px 24px; text-align: center; color: #fff;
}
.newsletter-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.newsletter-section p { opacity: 0.9; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 18px;
  border: none; border-radius: 10px;
  font-size: 0.9375rem; outline: none;
}
.newsletter-form .btn { border-radius: 10px; background: var(--accent); color: #fff; }
.newsletter-form .btn:hover { background: var(--accent-dark); }

/* ======= PREMIUM MODAL ======= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--slate-100); border: none; border-radius: var(--radius-full);
  width: 32px; height: 32px; cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  color: var(--slate-500);
}
.modal-close:hover { background: var(--slate-200); }

/* ======= LANGUAGE SELECTOR ======= */
.lang-selector { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.lang-btn {
  padding: 6px 14px; border-radius: var(--radius-full);
  border: 2px solid var(--slate-200); background: #fff;
  font-size: 0.8125rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; color: var(--slate-700);
}
.lang-btn:hover, .lang-btn.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .tour-layout { grid-template-columns: 1fr; }
  .map-container { position: relative; top: 0; height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hero { padding: 60px 16px 40px; }
  .voice-player { min-width: auto; width: calc(100vw - 32px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .newsletter-form { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .city-grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; border-radius: 12px; }
  .search-box .btn { margin: 0; border-radius: 0 0 12px 12px; }
}

/* ======= UTILITIES ======= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--slate-500); }
.fw-bold { font-weight: 700; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.w-full { width: 100%; }

/* ======= LOADING SPINNER ======= */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ======= TOAST NOTIFICATION ======= */
.toast-container { position: fixed; top: 80px; right: 16px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--slate-900); color: #fff;
  padding: 14px 20px; border-radius: 12px;
  box-shadow: var(--shadow-lg); font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
  animation: slideIn 0.3s ease;
  max-width: 360px;
}
.toast.success { background: #065f46; }
.toast.error { background: #991b1b; }
@keyframes slideIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }

/* ======= BADGES / GAMIFICATION ======= */
.badge-card {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  border-radius: var(--radius-lg); padding: 24px;
  color: #fff; text-align: center;
}
.badge-emoji { font-size: 3rem; margin-bottom: 8px; display: block; }
.badge-name { font-size: 1rem; font-weight: 700; }
.badge-city { font-size: 0.8125rem; opacity: 0.8; }
