/* sortibeclevercrat.quest — global stylesheet */
:root {
  --primary: #111111;
  --secondary: #F5F0E6;
  --accent: #C9A45C;
  --text: #242424;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--secondary);
  -webkit-font-smoothing: antialiased;
}
.font-display { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.glass-light {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ---------- Navigation ---------- */
.nav-link { position: relative; opacity: .85; transition: opacity .3s; }
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .35s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }

/* ---------- Hero cinematic montage ---------- */
.hero-layer { will-change: transform; }
.hero-slide-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity 1.6s ease, transform 9s ease-out;
}
.hero-slide-image.active { opacity: 1; transform: scale(1); }
.hero-vignette {
  background:
    linear-gradient(180deg, rgba(17,17,17,.75) 0%, rgba(17,17,17,.25) 40%, rgba(17,17,17,.9) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.55) 100%);
}
.city-light {
  position: absolute; width: 3px; height: 3px; border-radius: 9999px;
  background: #ffd98a; box-shadow: 0 0 10px 3px rgba(255, 196, 120, .65);
  animation: cityTwinkle var(--d, 4s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes cityTwinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }

.dest-pill[aria-pressed="true"] { background: var(--accent); color: #111; border-color: var(--accent); }

/* ---------- 3D / depth ---------- */
.card-3d { transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; transform-style: preserve-3d; }
.card-3d:hover { transform: translateY(-8px) perspective(900px) rotateX(2deg); box-shadow: 0 30px 60px -25px rgba(17,17,17,.45); }
.float-slow { animation: floatSlow 7s ease-in-out infinite; }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.skyline-silhouette { filter: drop-shadow(0 -6px 18px rgba(201,164,92,.18)); }

/* ---------- Destination themes ---------- */
.theme-tokyo     { --base:#08090C; --c:#FF4FA3; background:#08090C; color:#fff; }
.theme-bangkok   { --base:#073B35; --c:#D4A72C; background:#073B35; color:#fff; }
.theme-singapore { --base:#102A43; --c:#D6C09A; background:#102A43; color:#fff; }
.theme-hongkong  { --base:#191919; --c:#3FA796; background:#191919; color:#fff; }
.theme-seoul     { --base:#281B2D; --c:#4D7CFE; background:#281B2D; color:#fff; }
.theme-mumbai    { --base:#D65A31; --c:#174A7E; background:#D65A31; color:#fff; }

.accent-text { color: var(--c); }
.accent-bg { background: var(--c); color: #fff; }
.accent-border { border-color: var(--c); }
.theme-tokyo .accent-text { text-shadow: 0 0 12px rgba(255,79,163,.75); }
.theme-singapore .accent-bg, .theme-bangkok .accent-bg { color: #111; }
.theme-mumbai .accent-text { color: #FFE3B3; }

.dest-pattern-tokyo {
  background-image:
    linear-gradient(rgba(255,79,163,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,79,163,.10) 1px, transparent 1px);
  background-size: 28px 28px;
}
.dest-pattern-bangkok {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(212,167,44,.28), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(212,167,44,.18), transparent 45%);
}
.dest-pattern-singapore { background-image: repeating-linear-gradient(135deg, rgba(214,192,154,.08) 0 2px, transparent 2px 22px); }
.dest-pattern-hongkong { background-image: repeating-linear-gradient(90deg, rgba(63,167,150,.10) 0 1px, transparent 1px 14px); }
.dest-pattern-seoul { background-image: radial-gradient(rgba(77,124,254,.30) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.dest-pattern-mumbai { background-image: repeating-radial-gradient(circle at 50% 120%, rgba(23,74,126,.28) 0 6px, transparent 6px 18px); }

.neon-flicker { animation: neonFlicker 5s infinite; }
@keyframes neonFlicker { 0%, 18%, 22%, 60%, 100% { opacity: 1; } 20%, 61% { opacity: .55; } }

/* ---------- Utilities ---------- */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.select-field {
  width: 100%; border-radius: .75rem; border: 1px solid rgba(17,17,17,.12); background: #fff;
  padding: .65rem .9rem; font-size: .875rem; color: var(--text);
}
.select-field:focus, .input-field:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tab-btn[aria-selected="true"] { background: var(--accent); color: #111; }
.prose-legal h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 2rem 0 .75rem; color: #111; }
.prose-legal p, .prose-legal li { line-height: 1.8; margin-bottom: .75rem; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}