/* ============================================
   ART THIS — Berlin Art Guide
   Design System & Styles
   ============================================ */

/* RESET */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden;overscroll-behavior:none}
body{overflow-x:hidden;max-width:100vw;overscroll-behavior:none;background:#fff}
img{max-width:100%;height:auto;display:block}
iframe{max-width:100%}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit;border:none;background:none}
ul,ol{list-style:none}

/* DESIGN TOKENS */
:root {
  --black: #000000;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-50: #F5F5F5;
  --gray-100: #E8E8E8;
  --gray-200: #D4D4D4;
  --gray-400: #888888;
  --gray-600: #555555;
  --primary: #555555;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal, .reveal-left, .reveal-right, .reveal-scale,
.reveal-up, .reveal-fade,
.reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--gray-100);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
.brand-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar-actions .search-trigger,
.navbar-actions .navbar-insta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--black);
  transition: color 0.2s;
}
.navbar-actions .search-trigger:hover,
.navbar-actions .navbar-insta:hover {
  color: var(--primary);
}
.search-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.navbar .navbar-cta {
  background: var(--black);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.navbar .navbar-insta {
  display: flex;
  align-items: center;
  padding-bottom: 0;
}
.navbar .navbar-insta::after {
  display: none;
}
.navbar .navbar-cta:hover {
  background: var(--primary);
  transform: translateY(-1px);
}
.navbar .navbar-cta::after {
  display: none;
}

/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: all 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mobile-menu a:hover {
  opacity: 1;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .navbar { padding: 12px 48px; }
  .navbar-links { display: flex; }
  .hamburger { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
  background-image: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0f0f0f 100%);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  touch-action: pan-y;
}

/* Hero Slider */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: opacity;
  background-color: #1a1a1a;
  background-image: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.3) 70%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 10vh 24px 20vh;
  text-align: center;
}
.hero-logo {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto 16px;
}
.hero-tagline {
  font-size: clamp(0.65rem, 2.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin: 0;
  line-height: inherit;
}

/* Hero register button */
.hero-register-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  padding: 11px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-register-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}
.hero-register-btn svg {
  transition: transform 0.2s;
}
.hero-register-btn:hover svg {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .hero-content { padding: 10vh 48px 12vh; }
  .hero-logo { font-size: clamp(6rem, 18vw, 16rem); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 60px 0;
  overflow: hidden;
}
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.about-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.about-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-img-wrapper {
  width: 100%;
  overflow: hidden;
}
.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.about-img-caption {
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}

@media (min-width: 768px) {
  .about-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
  }
  .about-img-wrapper {
    height: 560px;
  }
  .about-img {
    height: 100%;
    object-fit: cover;
  }
}
.about-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.about-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  background: var(--black);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}
.about-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0;
}
.about-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-600);
}
.about-cities {
  font-weight: 700;
  color: var(--black);
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .about-inner {
    padding: 0 48px;
    gap: 64px;
  }
  .about-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    align-items: center;
  }
  .about-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
  }
  .about-footer {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .about-inner {
    padding: 0 24px;
  }
}

/* ============================================
   MUST EATS / EAT THIS SECTION
   ============================================ */
.must-sees-section {
  padding: 60px 0 40px;
}
.must-sees-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 72px;
  text-align: center;
}
.must-sees-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.must-sees-header .section-label {
  text-align: center;
}
.must-sees-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.must-sees-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 400;
}
.must-sees-grid {
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .must-sees-section { padding: 140px 0 100px; }
  .must-sees-header { padding: 0 48px 72px; }
  .must-sees-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; }
}

@media (min-width: 1024px) {
  .must-sees-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ── Globe active: hide Leaflet controls and map UI ── */
#foodMap.globe-active .leaflet-control-container {
  display: none;
}
.app-page[data-page="map"].globe-active .map-filters {
  display: none !important;
}

/* ── Eat Card Backdrop ── */
.art-card-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9996;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.art-card-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ── 3D Retro Card ── */
.art-card {
  background: transparent;
  border: none;
  overflow: visible;
  cursor: pointer;
  position: relative;
}
.art-card.is-expanded {
  /* Scene is moved to portal; card is a placeholder */
  cursor: pointer;
}

/* Portal: fixed wrapper that holds the scene while it's animated */
.art-card-portal {
  overflow: visible;
  border-radius: 14px;
}
.art-card-portal .art-card-scene {
  width: 100%;
  height: 100%;
}
.art-card-portal .art-card-flip {
  height: 100%;
}

/* Scene: sets perspective */
.art-card-scene {
  width: 100%;
  perspective: 900px;
}

/* Shell: receives the tilt transform */
.art-card-shell {
  width: 100%;
  transform-style: preserve-3d;
}

/* Flip wrapper */
.art-card-flip {
  width: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  aspect-ratio: 3/4;
  min-height: 240px;
}
.art-card-flip.flipped {
  transform: rotateY(180deg);
}

/* Shared face styles */
.art-card-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  z-index: 1;
}

/* ── FRONT FACE ── */
.art-card-front {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.art-card-img-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
  background: rgba(230,235,240,0.45);
}
.art-card-img-wrap img {
  width: calc(100% - 32px);
  height: calc(100% - 28px);
  object-fit: contain;
  display: block;
  margin: 14px auto 14px;
}

/* Front body */
.art-card-body {
  padding: 8px 12px 11px;
  background: #fff;
  border-top: 1px solid rgba(255,255,255,0.8);
  position: relative;
  z-index: 11;
}
.art-card-dish {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1px;
  color: var(--black);
}
.art-card-restaurant {
  font-size: 10px;
  color: #aaa;
  font-weight: 400;
  margin-bottom: 0;
}
.art-card-divider {
  border: none;
  border-top: 1.5px dashed rgba(0,0,0,0.12);
  margin: 7px 0;
}
.art-card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.art-card-flip-hint {
  font-size: 9px;
  color: #bbb;
  letter-spacing: 0.04em;
}

/* ── BACK FACE ── */
.art-card-back {
  transform: rotateY(180deg);
  background: #111;
  overflow: hidden;
  z-index: 1;
}

/* Full-bleed background image */
.art-card-back-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(10%) saturate(1.1) brightness(0.75);
  z-index: 0;
}

/* Frosted glass overlay at bottom */
.art-card-back-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 8px 6px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.85);
  z-index: 2;
  display: flex;
  flex-direction: column;
}


.art-card-back-dish {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  text-align: center;
  margin-bottom: 1px;
  position: relative;
  z-index: 2;
}
.art-card-back-restaurant {
  font-size: 6.5px;
  color: #444;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.art-card-divider-dark {
  border-top-color: rgba(0,0,0,0.1);
  margin: 3px 0 4px;
  position: relative;
  z-index: 2;
}

/* Info rows */
.art-card-info-rows {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}
.art-card-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.art-card-info-label {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  flex-shrink: 0;
}
.art-card-info-val {
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 6.5px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
  white-space: nowrap;
  min-width: 0;
}
.art-card-stat-orange { color: var(--primary); }

.art-card-back-desc {
  font-size: 6.5px;
  line-height: 1.45;
  color: #777;
  text-align: center;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

.art-card-maps-btn {
  margin-top: 4px;
  width: 100%;
  padding: 5px;
  background: var(--black);
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: background 0.2s;
}
.art-card-maps-btn:hover {
  background: #222;
}

/* ============================================
   FOOD MAP SECTION
   ============================================ */
.map-section {
  padding: 60px 0 40px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  position: relative;
  z-index: 1;
}
.map-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.map-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
}
.map-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.map-subtitle {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 12px;
}
.map-container {
  width: 100%;
  height: calc(100vh - 300px);
  min-height: 400px;
  background: var(--gray-50);
  position: relative;
  z-index: 1;
}

/* Spot Detail Bottom Sheet */
.spot-detail {
  display: none;
}

.spot-detail.open {
  transform: translateY(0);
}

.spot-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 50%;
  color: var(--black);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.spot-detail-close:hover {
  background: var(--black);
  color: var(--white);
}

.spot-detail-close svg {
  width: 20px;
  height: 20px;
}

/* Map Spot Overlay */
.map-spot-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 5, 20, 0.60);
  background-image:
    radial-gradient(circle 1px at  5% 10%, rgba(255,255,255,0.85) 0, transparent 1px),
    radial-gradient(circle 1px at 22%  8%, rgba(255,255,255,0.70) 0, transparent 1px),
    radial-gradient(circle 1px at 48%  4%, rgba(255,255,255,0.90) 0, transparent 1px),
    radial-gradient(circle 1px at 68% 14%, rgba(255,255,255,0.65) 0, transparent 1px),
    radial-gradient(circle 1px at 85%  6%, rgba(255,255,255,0.80) 0, transparent 1px),
    radial-gradient(circle 1px at 92% 22%, rgba(255,255,255,0.60) 0, transparent 1px),
    radial-gradient(circle 1px at 12% 30%, rgba(255,255,255,0.75) 0, transparent 1px),
    radial-gradient(circle 1px at 38% 25%, rgba(255,255,255,0.55) 0, transparent 1px),
    radial-gradient(circle 1px at 75% 32%, rgba(255,255,255,0.70) 0, transparent 1px),
    radial-gradient(circle 1px at  3% 55%, rgba(255,255,255,0.65) 0, transparent 1px),
    radial-gradient(circle 1px at 18% 68%, rgba(255,255,255,0.80) 0, transparent 1px),
    radial-gradient(circle 1px at 88% 48%, rgba(255,255,255,0.70) 0, transparent 1px),
    radial-gradient(circle 1px at 96% 62%, rgba(255,255,255,0.55) 0, transparent 1px),
    radial-gradient(circle 1px at 10% 82%, rgba(255,255,255,0.75) 0, transparent 1px),
    radial-gradient(circle 1px at 32% 90%, rgba(255,255,255,0.60) 0, transparent 1px),
    radial-gradient(circle 1px at 58% 85%, rgba(255,255,255,0.85) 0, transparent 1px),
    radial-gradient(circle 1px at 78% 78%, rgba(255,255,255,0.65) 0, transparent 1px),
    radial-gradient(circle 1px at 93% 88%, rgba(255,255,255,0.70) 0, transparent 1px),
    radial-gradient(circle 2px at 55% 50%, rgba(255,255,255,0.15) 0, transparent 2px),
    radial-gradient(circle 2px at 28% 48%, rgba(255,255,255,0.10) 0, transparent 2px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.map-spot-overlay.active {
  display: flex;
}


@keyframes meteor1 {
  0%   { transform: translate(0, 0) rotate(-42deg); opacity: 0; }
  3%   { opacity: 1; }
  18%  { opacity: 0.9; }
  25%  { opacity: 0; }
  100% { transform: translate(-560px, 400px) rotate(-42deg); opacity: 0; }
}

@keyframes meteor2 {
  0%   { transform: translate(0, 0) rotate(-38deg); opacity: 0; }
  4%   { opacity: 0.8; }
  22%  { opacity: 0.7; }
  30%  { opacity: 0; }
  100% { transform: translate(-420px, 300px) rotate(-38deg); opacity: 0; }
}

.map-spot-card {
  position: relative;
  background: #ffffff;
  border: none;
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  animation: popIn 0.25s var(--ease);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

@keyframes popIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.map-spot-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.map-spot-close svg {
  stroke: rgba(255,255,255,0.9);
  width: 14px;
  height: 14px;
}

.map-spot-content {
  font-family: var(--font);
}

.map-spot-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.map-spot-body {
  padding: 14px 16px 18px;
}

.map-spot-header {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 4px;
}

.map-spot-district {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
}

.map-spot-type {
  font-size: 10px;
  color: #aaa;
}

.map-spot-type::before {
  content: '·';
  margin-right: 6px;
  color: #ccc;
}

.map-spot-name {
  font-size: 17px;
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.2;
}

.map-spot-mustsee {
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: #f5f5f5;
  border-left: 3px solid #ddd;
  border-radius: 0 6px 6px 0;
}

.map-spot-label {
  font-weight: 700;
  color: #888;
}

.map-spot-address {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 12px;
}

.map-spot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(66,133,244,0.9);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(66,133,244,0.4);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}

.map-spot-btn:hover {
  background: #3367d6;
  box-shadow: 0 4px 18px rgba(66,133,244,0.5);
  transform: translateY(-1px);
}

.map-spot-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(66,133,244,0.3);
}


/* Receipt Style */
.spot-receipt {
  background: #fff;
  font-family: 'Courier New', Courier, monospace;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
}

.spot-receipt::before,
.spot-receipt::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 8px,
    #fff 8px,
    #fff 16px
  );
}

.spot-receipt::before {
  top: -8px;
}

.spot-receipt::after {
  bottom: -8px;
}

.spot-receipt-header {
  text-align: center;
  margin-bottom: 12px;
}

.spot-receipt-district {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
}

.spot-receipt-type {
  display: block;
  font-size: 10px;
  color: var(--gray-500);
}

.spot-receipt-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 8px 0;
  line-height: 1.1;
  text-align: center;
}

.spot-receipt-divider {
  border-bottom: 2px dashed var(--black);
  margin: 12px 0;
  position: relative;
}

.spot-receipt-mustsee-box {
  text-align: center;
  padding: 8px 0;
}

.spot-receipt-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
}

.spot-receipt-mustsee {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  line-height: 1.3;
}

.spot-receipt-address {
  font-size: 11px;
  color: var(--gray-500);
  margin: 12px 0 16px;
  text-align: center;
}

.spot-receipt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Courier New', Courier, monospace;
}

/* User Location Marker */
.user-location-marker {
  background: transparent;
  border: none;
}

.user-location-dot {
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.user-location-popup {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}

.map-filters {
  display: flex;
  gap: 3px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.map-filters-track {
  display: flex;
  gap: 2px;
  background: #efefef;
  border-radius: 12px;
  padding: 3px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.map-filters-track::-webkit-scrollbar {
  display: none;
}

.map-filter-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.map-filter-btn:hover {
  color: #444;
}

.map-filter-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.map-location-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.map-location-btn-fixed {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.18s;
}

.map-location-btn-fixed svg {
  stroke: rgba(255,255,255,0.9);
}

.map-location-btn-fixed:active {
  transform: scale(0.93);
  background: rgba(0,0,0,0.65);
}

.map-location-btn-fixed:hover {
  background: rgba(0,0,0,0.65);
}

.map-location-btn-fixed.loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.map-location-btn:active {
  background: var(--gray-200);
}

@media (max-width: 767px) {
  .map-filters {
    padding: 10px 12px;
  }
  
  .map-filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .map-container {
    height: calc(100vh - 260px);
    min-height: 300px;
  }
  
}

/* Leaflet Overrides */
#foodMap {
  width: 100% !important;
  height: 50vh !important;
  min-height: 350px !important;
}
.leaflet-container {
  width: 100% !important;
  height: 100% !important;
}

/* Custom Marker with Logo */
.leaflet-marker-icon {
  background: transparent !important;
  border: none !important;
}
.leaflet-marker-icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4));
  transition: transform 0.2s, filter 0.2s;
}
.leaflet-marker-icon:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}


@media (min-width: 768px) {
  .map-section { padding: 140px 0 100px; }
  .map-header { padding: 0 48px 48px; }
  .map-container { height: 600px; }
  #foodMap { height: 60vh !important; min-height: 400px !important; }
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
  padding: 60px 0 40px;
}
.news-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
}
.news-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
}
.news-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.news-all-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.2s;
  white-space: nowrap;
}
.news-all-link:hover {
  color: var(--black);
}
.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.news-filter {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.news-filter:hover,
.news-filter.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Featured Article */
.news-featured {
  margin-bottom: 80px;
}
.news-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s;
}
.news-featured-link:hover {
  background: var(--gray-50);
}
.news-featured-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.news-featured-link:hover .news-featured-img img {
  transform: scale(1.05);
}
.news-featured-body {
  padding: 48px 24px 0;
  max-width: 900px;
}
.news-featured-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  margin-right: 10px;
  margin-bottom: 20px;
}
.news-featured-category {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 6px 0;
  margin-bottom: 20px;
}
.news-featured-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.news-featured-excerpt {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 700px;
}
.news-featured-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.news-featured-meta time {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}
.news-featured-read {
  font-size: 12px;
  color: var(--gray-400);
}

/* News Grid */
.news-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.news-card {
  overflow: hidden;
  transition: opacity 0.3s, transform 0.3s;
}
.news-card.hidden {
  display: none;
}
.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.news-card-link:hover {
  background: var(--gray-50);
}
.news-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-card-link:hover .news-card-img img {
  transform: scale(1.06);
}
.news-card-body {
  padding: 24px 0 0;
}
.news-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-card-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.news-card-date {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 400;
}
.news-card-headline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .news-section { padding: 180px 0 140px; }
  .news-header { padding: 0 48px 64px; }
  .news-featured-body { padding: 56px 48px 0; }
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 48px;
  }
  .news-card-headline { font-size: clamp(1.2rem, 2vw, 1.6rem); }
}
@media (min-width: 1024px) {
  .news-grid { gap: 32px; padding: 0 48px; max-width: 1400px; }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 80px 24px;
  border-top: 1px solid var(--black);
  background: var(--white);
}
.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.pricing-desc {
  font-size: 15px;
  color: var(--gray-600);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
}
.pricing-card-header {
  margin-bottom: 20px;
}
.pricing-plan-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.pricing-plan-tagline {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 4px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.pricing-period {
  font-size: 14px;
  color: var(--gray-400);
}
.pricing-trial {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.pricing-feature-excluded {
  color: var(--gray-300);
  text-decoration: line-through;
}
.pricing-check {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}
.pricing-x {
  width: 18px;
  height: 18px;
  color: var(--gray-200);
  flex-shrink: 0;
}
.pricing-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.pricing-btn-free {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.pricing-btn-free:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.pricing-btn-pro {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.pricing-btn-pro:hover {
  background: var(--black);
  border-color: var(--black);
}
.pricing-btn-ultimate {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.pricing-btn-ultimate:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Popular Badge */
.pricing-card-pro {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15);
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}

/* Best Value Badge */
.pricing-card-ultimate {
  border-color: var(--black);
}
.pricing-best-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}

/* Tablet+ */
@media (min-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  .pricing-card-pro {
    transform: scale(1.05);
    z-index: 1;
  }
  .pricing-card-free,
  .pricing-card-ultimate {
    margin-top: 20px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .pricing-section {
    padding: 120px 48px;
  }
  .pricing-card {
    padding: 40px 32px;
  }
}

@media (min-width: 768px) {
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  display: none;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand-block {
  display: flex;
  flex-direction: column;
}
.footer-brand {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 8px;
}
.footer-brand span {
  display: block;
}
.footer-brand-accent {
  color: var(--primary);
}
.footer-tagline {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 0;
  letter-spacing: 0.05em;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--black);
  transition: all 0.3s;
}
.footer-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.footer-nav-col a {
  font-size: 15px;
  color: rgba(0,0,0,0.5);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.footer-nav-col a:hover {
  color: var(--black);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}
.footer-bottom-left {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
}
.footer-bottom-right {
  display: flex;
  gap: 24px;
}
.footer-bottom-right a {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  transition: color 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-bottom-right a:hover {
  color: var(--black);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: var(--white);
  padding: 20px 24px;
  z-index: 10002;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.cookie-consent.show {
  transform: translateY(0);
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-text {
  font-size: 14px;
  line-height: 1.5;
}
.cookie-text a {
  text-decoration: underline;
  color: var(--white);
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-btn-accept {
  background: var(--white);
  color: var(--black);
}
.cookie-btn-accept:hover {
  background: var(--gray-200);
}
.cookie-btn-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 48px;
    gap: 80px;
  }
  .footer-nav-group {
    flex-direction: row;
    gap: 64px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 24px 48px;
  }
}
@media (min-width: 1024px) {
  .footer-brand-block {
    max-width: 360px;
  }
}

/* ============================================
   MUST EAT MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), background 0.4s var(--ease);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0,0,0,0.5);
}
.modal {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10003;
}
.modal-overlay.active .modal {
  transform: translateY(0);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover {
  background: var(--primary);
  transform: scale(1.1);
}
.modal-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-radius: 20px 20px 0 0;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-body {
  padding: 24px 24px max(48px, calc(env(safe-area-inset-bottom) + 32px));
}
.modal-district {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  padding: 4px 8px;
  margin-bottom: 8px;
}
.modal-dish {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 4px;
}
.modal-restaurant {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 6px;
  font-weight: 600;
}
.modal-address {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 10px;
  font-weight: 400;
}
.modal-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-600);
  margin-bottom: 20px;
}
.modal-maps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--black);
  padding: 16px 20px;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.15s;
}
.modal-maps-btn:hover {
  background: var(--primary);
  transform: translateY(-1px);
}
.modal-maps-btn:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .modal-overlay { align-items: center; }
  .modal {
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    border-radius: 20px;
    transform: scale(0.95) translateY(0);
  }
  .modal-overlay.active .modal { transform: scale(1) translateY(0); }
  .modal-img { height: 220px; border-radius: 20px 20px 0 0; }
  .modal-body { padding: 24px 28px 32px; }
}

/* ============================================
   NEWS ARTICLE MODAL
   ============================================ */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), background 0.4s var(--ease);
}
.news-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0,0,0,0.7);
}
.news-modal {
  background: var(--white);
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.news-modal-overlay.active .news-modal {
  transform: scale(1);
  opacity: 1;
}
.news-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.news-modal-close:hover {
  background: var(--primary);
  transform: scale(1.1);
}
.news-modal-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.news-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-modal-body {
  padding: 24px 28px 32px;
}
.news-modal-category {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--white);
  padding: 4px 10px;
  margin-bottom: 12px;
}
.news-modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.news-modal-date {
  display: block;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.news-modal-share {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s;
}
.share-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.share-twitter:hover {
  background: #000;
}
.share-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}
.share-native:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.news-modal-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
}
.news-modal-content h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  margin: 20px 0 8px;
}
.news-modal-content p {
  margin-bottom: 12px;
}

/* ============================================
   UTILITY
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

/* Safe area for notch */
@supports (padding-top: env(safe-area-inset-top)) {
  .navbar { padding-top: calc(10px + env(safe-area-inset-top)); }
  .hero { padding-top: calc(120px + env(safe-area-inset-top)); }
}

/* ============================================
   SEARCH
   ============================================ */
.search-trigger {
  display: none;
}
@media (max-width: 767px) {
  .search-trigger {
    display: flex;
    align-items: center;
    padding: 0;
    color: var(--black);
  }
}
.search-trigger::after {
  display: none;
}
.search-trigger svg {
  width: 18px;
  height: 18px;
}

/* Search Modal */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding-top: 80px;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0,0,0,0.8);
}
.search-container {
  background: var(--white);
  width: 90%;
  max-width: 640px;
  border-radius: 12px;
  overflow: hidden;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.search-overlay.active .search-container {
  transform: translateY(0);
  opacity: 1;
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 2px solid var(--black);
}
.search-input-wrapper svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-family: var(--font);
  background: transparent;
}
.search-input::placeholder {
  color: var(--gray-400);
}
.search-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--gray-400);
  transition: color 0.2s;
}
.search-close:hover {
  color: var(--black);
}
.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 16px 0;
}
.search-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 8px 20px;
  margin-bottom: 4px;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.search-result-item:hover {
  background: var(--gray-50);
}
.search-result-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-content {
  flex: 1;
  min-width: 0;
}
.search-result-dish,
.search-result-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-restaurant,
.search-result-meta {
  font-size: 12px;
  color: var(--gray-400);
}
.search-result-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.search-no-results {
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-400);
}
.search-no-results p {
  font-size: 15px;
  margin-bottom: 8px;
}
.search-no-results span {
  font-size: 13px;
}
.search-hint {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}

@media (max-width: 767px) {
  .search-overlay {
    padding-top: 0;
    align-items: flex-end;
  }
  .search-container {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
    opacity: 1;
  }
  .search-overlay.active .search-container {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================
   APP PAGES CONTAINER
   ============================================ */
.app-pages {
  display: block;
  height: 100%;
}

.app-page {
  display: none !important;
  width: 100%;
  height: calc(100vh - 60px - 70px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 70px;
}

.app-page.active {
  display: block !important;
}

.app-page .about-section,
.app-page .must-sees-section,
.app-page .news-section,
.app-page .map-section {
  min-height: 100%;
}

.app-page:not([data-page="start"]) .hero,
.app-page:not([data-page="start"]) .hero-bg,
.app-page:not([data-page="start"]) .hero-overlay,
.app-page:not([data-page="start"]) .hero-content {
  display: none !important;
}

.app-page[data-page="start"] .hero {
  position: relative;
  z-index: 1;
}

.app-page[data-page="start"] {
  min-height: calc(100vh - 60px - 70px);
}

/* ============================================
   APP FOOTER NAVIGATION (Mobile)
   ============================================ */
.app-footer {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.app-footer-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.app-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  color: #333;
  transition: color 0.2s var(--ease);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border: none;
  background: none;
  min-width: 48px;
}

.app-footer-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s var(--ease);
  stroke: #333;
}

.app-footer-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #333;
}

.app-footer-item.active {
  color: #000;
}

.app-footer-item.active svg {
  stroke: #000;
}

.app-footer-item:active svg {
  transform: scale(0.9);
}

@media (max-width: 767px) {
  body {
    background-color: #000;
  }

  .navbar {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    min-height: 60px;
  }

  .app-footer {
    box-shadow: none;
  }

  .app-footer-item span {
    font-size: 10px;
  }
  
  .app-page {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 70px;
    height: auto;
    z-index: 9990;
    background: var(--white);
    overscroll-behavior: none;
  }
  
  .app-page.active {
    z-index: 9995;
  }
  
  .app-page[data-page="start"] {
    background: var(--white);
  }

  .app-page[data-page="start"] .hero {
    position: relative;
    width: 100%;
    height: calc(100dvh - 130px);
    min-height: 400px;
  }
  
  .app-page[data-page="start"] .hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
  }
  
  .app-page[data-page="start"] .hero-slide {
    width: 100%;
    height: 100%;
  }
  
  .app-page[data-page="start"] .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    padding: 10dvh 20px clamp(24px, 8dvh, 60px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
  }
  
  .app-page[data-page="start"] .hero-logo {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
  }
  
  .app-page[data-page="start"] .hero-tagline {
    font-size: 0.75rem;
    display: block;
    font-weight: 600;
    letter-spacing: 0.2em;
  }
  
  .app-page[data-page="start"] .about-section {
    display: none;
  }
  
  /* Common header styles for all app pages */
  .app-page[data-page="musts"] .must-sees-header,
  .app-page[data-page="news"] .news-header {
    padding: 16px 16px 24px;
    background: var(--white);
    text-align: center;
    border: none;
    margin: 0;
    display: block;
  }

  .app-page[data-page="map"] .map-header {
    padding: 16px 16px 24px;
    background: var(--white);
    text-align: left;
    border: none;
    margin: 0;
    display: block;
  }

  .app-page[data-page="musts"] .must-sees-title,
  .app-page[data-page="map"] .map-title,
  .app-page[data-page="news"] .news-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
    display: block;
    text-transform: uppercase;
  }

  .app-page[data-page="musts"] .section-label {
    color: var(--primary);
    margin-bottom: 6px;
    margin-top: 0;
    display: block;
    font-size: 10px;
  }
  
  .app-page[data-page="musts"] .must-sees-section {
    padding: 0;
  }
  
  .app-page[data-page="musts"] .must-sees-logo-img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
  }
  
  .app-page[data-page="musts"] .must-sees-subtitle,
  .app-page[data-page="map"] .map-subtitle,
  .app-page[data-page="news"] .news-subtitle {
    display: none;
  }

  .app-page.hidden {
    display: none;
  }
  
  /* Map page mobile */
  .app-page[data-page="map"] {
    overflow: hidden;
  }

  .app-page[data-page="map"] .map-section {
    position: absolute;
    inset: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
  }

  .app-page[data-page="map"] .map-filters {
    flex-shrink: 0;
  }

  .app-page[data-page="map"] .map-container {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-page[data-page="map"] #foodMap {
    height: 100% !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  .app-page[data-page="map"] .leaflet-container {
    height: 100% !important;
    width: 100%;
  }
  
  .app-page[data-page="map"] .leaflet-control-zoom {
    bottom: 32px !important;
    top: auto !important;
    right: 12px !important;
    left: auto !important;
    z-index: 500;
    border: none !important;
    box-shadow: none !important;
  }

  .app-page[data-page="map"] .leaflet-control-zoom-in,
  .app-page[data-page="map"] .leaflet-control-zoom-out {
    background: rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    font-size: 18px !important;
    line-height: 36px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    margin-bottom: 4px !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  }

  .app-page[data-page="map"] .leaflet-control-zoom-in:hover,
  .app-page[data-page="map"] .leaflet-control-zoom-out:hover {
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
  }
  
  .app-page[data-page="map"] .map-location-btn-fixed {
    top: 10px;
    left: 10px;
    right: auto;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.18);
  }

  .app-page[data-page="map"] .map-location-btn-fixed svg {
    stroke: rgba(255,255,255,0.9);
  }
  
  /* News page - Magazine style */
  .app-page[data-page="news"] .news-section {
    padding: 0;
    background: var(--white);
  }
  
  .app-page[data-page="news"] .news-header {
    padding: 16px;
    background: var(--white);
    text-align: left;
  }
  
  .app-page[data-page="news"] .news-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
    font-family: var(--font);
    text-transform: uppercase;
  }
  
  .app-page[data-page="news"] .section-label {
    color: var(--primary);
    margin-bottom: 8px;
  }
  
  .app-page[data-page="news"] .news-subtitle {
    display: none;
  }
  
  .app-page[data-page="news"] .news-featured {
    margin: 0;
    padding: 0;
    background: var(--white);
  }
  
  .app-page[data-page="news"] .news-featured-img {
    height: auto;
    aspect-ratio: 16/10;
    margin: 0;
  }
  
  .app-page[data-page="news"] .news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .app-page[data-page="news"] .news-featured-body {
    padding: 16px;
  }
  
  .app-page[data-page="news"] .news-featured-badge {
    display: none;
  }
  
  .app-page[data-page="news"] .news-featured-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
  }
  
  .app-page[data-page="news"] .news-featured-headline {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font);
    line-height: 1.2;
    margin: 8px 0;
    color: var(--black);
  }
  
  .app-page[data-page="news"] .news-featured-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-600);
    font-family: var(--font);
  }
  
  .app-page[data-page="news"] .news-featured-meta {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 12px;
  }
  
  .app-page[data-page="news"] .news-grid {
    padding: 0;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .app-page[data-page="news"] .news-card {
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--gray-100);
    display: block;
  }

  .app-page[data-page="news"] .news-card:last-child {
    border-bottom: none;
  }
  
  .app-page[data-page="news"] .news-card-img {
    display: block;
    width: 100%;
    height: 180px;
    border: none;
    padding: 0;
    background: transparent;
  }
  
  .app-page[data-page="news"] .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .app-page[data-page="news"] .news-card-body {
    padding: 16px;
  }
  
  .app-page[data-page="news"] .news-card-headline {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font);
    line-height: 1.3;
    color: var(--black);
  }
  
  .app-page[data-page="news"] .news-card-excerpt {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 8px;
    line-height: 1.4;
  }
  
  .app-page[data-page="news"] .news-card-top {
    margin-bottom: 6px;
  }
  
  .app-page[data-page="news"] .news-card-category {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
  }
  
  .app-page[data-page="news"] .news-card-date {
    font-size: 11px;
    color: var(--gray-400);
  }
  
}

/* ============================================
   LOGIN MODAL
   ============================================ */
/* Cookie Info Trigger Button */
.cookie-info-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  align-items: center;
  justify-content: center;
}

.login-modal.active {
  display: flex;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.login-modal-content {
  position: relative;
  width: 90%;
  max-width: 380px;
  max-height: min(90dvh, 90vh);
  overflow-y: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 22px;
  text-align: center;
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.login-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--black);
}

.login-modal-close:hover {
  background: var(--gray-200);
}

.login-logo {
  margin-bottom: 10px;
}

.login-logo img {
  width: 72px;
  height: auto;
  margin: 0 auto;
}

.login-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font);
  background: var(--white);
  transition: border-color 0.2s;
}

.login-field input:focus {
  outline: none;
  border-color: var(--primary);
}

.login-field input::placeholder {
  color: var(--gray-400);
}

.login-btn {
  width: 100%;
  padding: 11px 18px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.login-btn-primary {
  background: var(--black);
  color: var(--white);
}

.login-btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
}

.login-btn-primary svg {
  transition: transform 0.2s;
}

.login-btn-primary:hover svg {
  transform: translateX(4px);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.login-btn-google {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-200);
  margin-bottom: 8px;
}

.login-btn-google:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}


.login-terms {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.login-terms a, .login-terms-link {
  color: var(--black);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 767px) {
  .login-modal {
    align-items: center;
    justify-content: center;
    bottom: 70px;
  }
  .login-modal-content {
    width: 90%;
    max-width: 360px;
    /* dvh = actual viewport ohne Safari-Chrome */
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 18px 18px;
    border-radius: 20px;
    animation: slideUp 0.3s var(--ease);
  }
  /* Logo komplett verstecken auf Mobile — spart ~70px */
  .login-logo {
    display: none;
  }
  .login-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .login-subtitle {
    font-size: 0.82rem;
    margin-bottom: 16px;
    line-height: 1.4;
  }
  .login-form {
    gap: 8px;
    margin-bottom: 0;
  }
  .login-field input {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .login-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .login-mode-toggle {
    margin: 10px 0 0;
    font-size: 0.82rem;
  }
  .login-divider {
    margin: 14px 0;
  }
  .login-btn-google {
    margin-bottom: 8px;
  }
  .login-terms {
    margin-top: 14px;
    font-size: 0.72rem;
  }
  /* About / Impressum / AGB / Datenschutz / Kontakt Modals */
  .cookie-info-modal-content {
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================
   DESKTOP APP FRAME (≥ 768px)
   ============================================ */
@media (min-width: 768px) {
  body {
    background: #0f0f0f;
  }

  /* Center navbar */
  .navbar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 60px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    background: #ffffff;
  }

  /* Center app content, push down below fixed navbar */
  .app-pages {
    max-width: 480px;
    margin: 60px auto 0;
    box-shadow: 0 0 80px rgba(0,0,0,0.7);
  }

  /* Center footer nav */
  .app-footer {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
  }

  /* App pages fill height between navbar and footer */
  .app-page {
    height: calc(100vh - 60px - 70px);
    background: var(--white);
  }

  .app-page[data-page="start"] {
    background: var(--white);
  }

  .app-page[data-page="start"] .hero {
    height: calc(100dvh - 130px);
  }

  .app-page[data-page="start"] .hero-content {
    height: 100%;
    padding-bottom: 8vh;
  }

  /* ---- Compact section headers (no large padding) ---- */
  .app-page .must-sees-section,
  .app-page .news-section {
    padding: 0;
  }

  .app-page .must-sees-header {
    padding: 16px 16px 24px;
    background: var(--white);
    text-align: center;
    margin: 0;
    border: none;
  }

  .app-page .news-header,
  .app-page .map-header {
    padding: 16px 16px 24px;
    background: var(--white);
    text-align: left;
    margin: 0;
    border: none;
  }

  .app-page .must-sees-title,
  .app-page .news-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    display: block;
    text-transform: uppercase;
  }

  .app-page[data-page="musts"] .section-label {
    text-align: center;
  }

  .app-page[data-page="musts"] .must-sees-logo-img {
    display: block;
    margin: 0 auto;
  }

  .app-page .section-label {
    font-size: 10px;
    color: var(--primary);
    margin-bottom: 4px;
    margin-top: 0;
    display: block;
    text-align: left;
  }

  .app-page[data-page="musts"] .section-label {
    text-align: center;
  }

  .app-page[data-page="map"] .section-label,
  .app-page[data-page="news"] .section-label {
    text-align: left;
  }

  .app-page .must-sees-subtitle,
  .app-page .news-subtitle,
  .app-page .map-subtitle {
    display: none;
  }

  .app-page .must-sees-logo-img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
  }
  .must-sees-logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin: 0 auto;
  }

  /* ---- Eat This: 2-column grid, compact cards ---- */
  .app-page[data-page="musts"] .must-sees-section {
    padding: 0;
  }

  .app-page[data-page="musts"] .must-sees-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 16px 16px;
    gap: 12px;
  }

  /* ---- Map: fill available space, no scroll ---- */
  .app-page[data-page="map"] {
    overflow: hidden;
    position: relative;
  }

  .app-page[data-page="map"] .map-section {
    position: absolute;
    inset: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
  }

  .app-page[data-page="map"] .map-header {
    padding: 10px 24px 0;
    text-align: left;
  }

  .app-page[data-page="map"] .section-label {
    margin-top: 0;
    margin-bottom: 2px;
    text-align: left;
  }

  .app-page[data-page="map"] .map-subtitle {
    display: none;
  }

  .app-page[data-page="map"] .map-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    display: block;
    text-transform: uppercase;
  }

  /* Desktop zoom buttons — same dark glass style as mobile */
  .app-page[data-page="map"] .leaflet-control-zoom {
    border: none !important;
    box-shadow: none !important;
  }

  .app-page[data-page="map"] .leaflet-control-zoom-in,
  .app-page[data-page="map"] .leaflet-control-zoom-out {
    background: rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    font-size: 18px !important;
    line-height: 36px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    margin-bottom: 4px !important;
    display: block !important;
    text-align: center !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  }

  .app-page[data-page="map"] .leaflet-control-zoom-in:hover,
  .app-page[data-page="map"] .leaflet-control-zoom-out:hover {
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
  }

  .app-page[data-page="map"] .map-filters {
    flex-shrink: 0;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .app-page[data-page="map"] .map-container {
    flex: 1;
    min-height: 0;
  }

  .app-page[data-page="map"] .leaflet-container {
    height: 100% !important;
    width: 100%;
  }

  /* ---- News: single column ---- */
  .app-page[data-page="news"] .news-section {
    padding: 0;
    background: var(--white);
  }

  .app-page[data-page="news"] .news-featured {
    margin-bottom: 0;
  }

  .app-page[data-page="news"] .news-featured-img {
    aspect-ratio: 16/9;
    height: auto;
    margin: 0;
  }

  .app-page[data-page="news"] .news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .app-page[data-page="news"] .news-featured-body {
    padding: 12px 16px;
  }

  .app-page[data-page="news"] .news-featured-headline {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0;
  }

  .app-page[data-page="news"] .news-featured-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-600);
  }

  .app-page[data-page="news"] .news-grid {
    display: block;
    padding: 0;
    background: var(--white);
  }

  .app-page[data-page="news"] .news-card {
    background: var(--white);
    border: none;
    display: block;
    padding: 0;
  }

  .app-page[data-page="news"] .news-card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    padding: 0;
    border: none;
    background: transparent;
  }

  .app-page[data-page="news"] .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .app-page[data-page="news"] .news-card-body {
    padding: 12px 16px 16px;
  }

  .app-page[data-page="news"] .news-card-headline {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--black);
  }

  .app-page[data-page="news"] .news-card-excerpt {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.5;
  }

  .app-page[data-page="news"] .news-card-top {
    margin-bottom: 6px;
  }

}

/* Cookie Info Modal Content */
.cookie-info-modal-content {
  text-align: left;
  max-width: 480px;
}
.cookie-info-title {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  padding-right: 32px;
}
.cookie-info-body h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 20px 0 6px;
  color: var(--black);
}
.cookie-info-body h3:first-child {
  margin-top: 0;
}
.cookie-info-body p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0;
}
.cookie-info-body ul {
  margin: 8px 0 0 16px;
  padding: 0;
}
.cookie-info-body ul li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.cookie-info-body a {
  color: var(--black);
  font-weight: 600;
}

/* ── BURGER MENU ─────────────────────────────────── */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: 0.2s;
}

/* Drawer */
.burger-drawer {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.burger-drawer.active {
  opacity: 1;
  pointer-events: all;
}
.burger-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.burger-drawer-panel {
  position: relative;
  width: 280px;
  max-width: 85vw;
  height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.burger-drawer.active .burger-drawer-panel {
  transform: translateX(0);
}
.burger-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--black);
}
.burger-nav {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  padding: 0 32px;
  gap: 4px;
}
.burger-nav-item {
  background: none;
  border: none;
  text-align: left;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--black);
  cursor: pointer;
  padding: 10px 0;
  letter-spacing: -0.02em;
  transition: opacity 0.15s;
}
.burger-nav-item:hover {
  opacity: 0.5;
}
.burger-drawer-footer {
  margin-top: auto;
  padding: 24px 32px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--gray-400);
}
.burger-drawer-footer a, .burger-drawer-footer-btn {
  color: var(--gray-400);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}
.burger-drawer-footer span {
  color: var(--gray-400);
}

/* ============================================
   AUTH — Neue Elemente
   ============================================ */

/* Fehlermeldung im Login-Formular */
.login-error {
  display: none;
  font-size: 0.82rem;
  color: #e53e3e;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  line-height: 1.4;
}

.login-success {
  display: none;
  font-size: 0.82rem;
  color: #276749;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  line-height: 1.4;
}

/* Modus-Toggle-Link (Registrierung ↔ Anmeldung) */
.login-forgot {
  margin: 2px 0 0;
  text-align: right;
}

.login-forgot-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-family: var(--font);
  color: var(--gray-400);
  cursor: pointer;
  text-decoration: underline;
}

.login-forgot-btn:hover {
  color: var(--black);
}

.login-mode-toggle {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.login-mode-link {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: var(--font);
  color: var(--black);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.login-mode-link:hover {
  color: var(--primary);
}

/* Profil-Avatar (Initialen-Kreis) */
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  letter-spacing: -0.02em;
}

/* Footer-Button eingeloggter Zustand */
.app-footer-item.logged-in span {
  color: var(--primary);
  font-weight: 700;
}

.app-footer-item.logged-in svg {
  stroke: var(--primary);
}

@media (max-width: 767px) {
  .login-error {
    font-size: 0.78rem;
    padding: 8px 10px;
  }
}

/* ============================================
   START PAGE – SCROLL SECTIONS
   ============================================ */

/* Scroll hint */
.start-scroll-hint {
  display: none;
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.start-scroll-hint-line {
  width: 1px;
  height: 28px;
  background: #ccc;
  margin: 0 auto 8px;
}
.start-scroll-hint-text {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
}
@media (min-width: 768px) {
  .start-scroll-hint { display: none; }
}

/* Section wrapper */
.start-scroll-content { background: var(--white); padding-bottom: 32px; }

.start-section {
  padding: 52px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.start-section:last-child { border-bottom: none; }
.start-section--alt { background: var(--gray-50); }

@media (min-width: 768px) {
  .start-section {
    padding: 72px 48px;
    max-width: 900px;
    margin: 0 auto;
  }
}

/* Section label (black pill) */
.start-section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  background: var(--black);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* Heading */
.start-section-title {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

/* Body text */
.start-section-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-600);
}
.start-section-body p + p {
  margin-top: 1em;
}

/* Join CTA section */
.start-join-section {
  text-align: center;
  border-top: 3px solid var(--primary) !important;
  background: var(--white) !important;
}
.start-join-section .start-section-label {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.start-join-section .start-section-title {
  margin-top: 4px;
  color: var(--black);
}
.start-join-section .start-section-body {
  max-width: 340px;
  margin: 0 auto 32px;
  color: var(--gray-600);
}
.start-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 32px;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s;
}
.start-join-btn:hover {
  filter: brightness(0.88);
}
.start-join-btn svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.start-join-btn:hover svg {
  transform: translateX(4px);
}

/* Editorial row – single column on all screen sizes */
.start-editorial-row {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.start-editorial-text { flex: 1; }

/* Images */
.start-img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.start-img.tall   { height: 320px; }
.start-img.medium { height: 240px; }
.start-img.wide   { height: 280px; }

@media (min-width: 768px) {
  .start-img.tall   { height: 480px; }
  .start-img.medium { height: 360px; }
  .start-img.wide   { height: 420px; }
}

/* Philosophie numbered list */
.start-philo-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .start-philo-list {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}
.start-philo-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.start-philo-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 24px;
  padding-top: 3px;
}
.start-philo-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.start-philo-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* What's next – city line */
.start-cities {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.45);
  animation: heroScrollBounce 2s ease-in-out infinite;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}
