html { scroll-behavior: smooth; }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background: #F8FAFC; color: #102A43; -webkit-font-smoothing: antialiased; }

/* Hero backgrounds (descriptive names) */
.hero-winter-sports-arena-bg {
  background-image:
    linear-gradient(115deg, rgba(16,42,67,.96) 0%, rgba(0,53,128,.88) 55%, rgba(93,173,226,.55) 100%),
    url('https://images.unsplash.com/photo-1491002052546-bf38f186af56?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
}
.page-header-snowy-forest-bg {
  background-image:
    linear-gradient(120deg, rgba(16,42,67,.95), rgba(0,53,128,.82)),
    url('https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
}
.page-header-aurora-lapland-bg {
  background-image:
    linear-gradient(120deg, rgba(16,42,67,.93), rgba(0,53,128,.75)),
    url('https://images.unsplash.com/photo-1531366936337-7c912a4589a7?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
}
.cta-stadium-lights-bg {
  background-image:
    linear-gradient(120deg, rgba(0,53,128,.94), rgba(16,42,67,.92)),
    url('https://images.unsplash.com/photo-1471295253337-3ceaaedca402?auto=format&fit=crop&w=1600&q=80');
  background-size: cover; background-position: center;
}

/* Animated Finland hero map markers */
.finland-outline { fill: rgba(220,239,247,.10); stroke: rgba(220,239,247,.65); stroke-width: 1.4; stroke-linejoin: round; }
.finland-marker-core { fill: #F8FAFC; }
.finland-marker-pulse { fill: #5DADE2; transform-box: fill-box; transform-origin: center; animation: markerPulse 2.6s ease-out infinite; }
.finland-marker:nth-child(2) .finland-marker-pulse { animation-delay: .3s; }
.finland-marker:nth-child(3) .finland-marker-pulse { animation-delay: .6s; }
.finland-marker:nth-child(4) .finland-marker-pulse { animation-delay: .9s; }
.finland-marker:nth-child(5) .finland-marker-pulse { animation-delay: 1.2s; }
.finland-marker:nth-child(6) .finland-marker-pulse { animation-delay: 1.5s; }
.finland-marker:nth-child(7) .finland-marker-pulse { animation-delay: 1.8s; }
.finland-marker:nth-child(8) .finland-marker-pulse { animation-delay: 2.1s; }
@keyframes markerPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.float-soft { animation: floatSoft 7s ease-in-out infinite; }
@keyframes floatSoft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 3D location pins for Leaflet */
.pin-3d-wrap { background: transparent !important; border: 0 !important; overflow: visible; }
.pin-3d {
  width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(145deg, #5DADE2 0%, #003580 70%);
  box-shadow: 3px 5px 8px rgba(16,42,67,.35), inset -2px -3px 4px rgba(0,0,0,.25), inset 2px 2px 4px rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
}
.pin-3d span { width: 10px; height: 10px; background: #F8FAFC; border-radius: 50%; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.pin-3d.pin-casino { background: linear-gradient(145deg, #93c5fd 0%, #102A43 70%); }

/* Card depth */
.card-depth { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; }
.card-depth:hover { transform: translateY(-4px) perspective(800px) rotateX(1.5deg); box-shadow: 0 2px 4px rgba(16,42,67,.08), 0 18px 40px rgba(16,42,67,.16); }

.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 500; background: #DCEFF7; color: #003580; }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-chevron { transform: rotate(180deg); }

/* Leaflet map fixes: neutralise Tailwind preflight rules that break tiles and markers */
.leaflet-container { font-family: 'Inter', sans-serif; z-index: 0; width: 100%; }
.leaflet-container img,
.leaflet-container svg,
.leaflet-container .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
}
.leaflet-container img.leaflet-tile { height: 256px; width: 256px; }
.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow { max-width: none !important; }
.leaflet-container .leaflet-control-attribution svg { display: inline !important; }
.leaflet-container a.leaflet-popup-close-button { text-decoration: none; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-family: 'Inter', sans-serif; margin: 12px 14px; }

.prose-legal h2 { font-size: 1.25rem; font-weight: 700; color: #102A43; margin-top: 2rem; margin-bottom: .6rem; }
.prose-legal p, .prose-legal li { color: #334e68; line-height: 1.75; margin-bottom: .75rem; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; }

.nav-active { color: #003580; background: #DCEFF7; }
input[type=range] { accent-color: #003580; }
input[type=checkbox] { accent-color: #003580; }