/* colors_and_type.css는 vybe-tokens.css로 상위에서 이미 로드됨 */
/* Plus Jakarta Sans는 styles.blade.php에서 이미 <link>로 로드됨 */

/* ====== VYBE home prototype — wvybe skin ====== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #07070A;
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* ---- Device stage ---- */
.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(93,94,252,.18) 0%, rgba(13,13,21,0) 55%),
    radial-gradient(60% 50% at 100% 100%, rgba(56,215,237,.08) 0%, rgba(7,7,10,0) 55%),
    #07070A;
}
.stage::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 160px 160px;
  pointer-events: none;
  z-index: 0;
}
.stage__head {
  position: fixed; top: 24px; left: 32px; z-index: 10;
  font-family: var(--font-display);
  display: flex; align-items: baseline; gap: 12px;
}
.stage__head h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.stage__head p { color: var(--fg-3); font: 500 13px var(--font-sans); }

/* ---- VYBE app container ---- */
.vybe {
  position: relative;
  width: 100%; height: 100%;
  background: #07070A;
  color: #fff;
  overflow: hidden;
  border-radius: inherit;
  font-family: var(--font-sans);
}
.vybe__shader {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.85;
}
.vybe__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 100%);
}
.vybe__scroll {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.vybe__scroll::-webkit-scrollbar { display: none; }

/* ---- App Header (fixed top bar: loc / lang / notif / search) ---- */
.appbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(7, 7, 10, 0.28);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.appbar__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
  line-height: 1;
}
.appbar__logo {
  font: 700 17px var(--font-display);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.appbar__tagline {
  font: 700 7px var(--font-sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.appbar__loc {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 130px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(30, 30, 42, 0.7);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: #D9D9E6;
  font: 600 11px var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appbar__loc:active { transform: scale(.95); }
.appbar__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.appbar__icon-btn {
  position: relative;
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(30, 30, 42, 0.45);
  border: 0;
  color: #9A9BC0;
  cursor: pointer;
  transition: transform .12s;
}
.appbar__icon-btn:active { transform: scale(.9); }
.appbar__lang {
  width: auto;
  padding: 0 8px 0 6px;
  gap: 3px;
}
.appbar__lang-code {
  font: 800 9px var(--font-sans);
  letter-spacing: 0.05em;
  color: #9A9BC0;
  text-transform: uppercase;
}
.appbar__badge {
  position: absolute;
  top: -1px; right: -1px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6061FF 0%, #38D7ED 100%);
  border-radius: 999px;
  font: 900 8px var(--font-sans);
  color: #fff;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(7,7,10,.8);
}

/* ---- Hero ---- */
.hero {
  padding: 18px 20px 24px;
  position: relative;
  isolation: isolate;
  margin-top: -60px; /* extend photo up behind the sticky AppHeader */
  padding-top: 76px; /* push content below the header */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    /* scrim */
    linear-gradient(180deg, rgba(7,7,10,.35) 0%, rgba(7,7,10,.55) 60%, #07070A 100%),
    /* club image — loads locally, may be blocked in some previews */
    url("https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat,
    /* neon stage-light fallback so hero never looks flat */
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(139,92,246,.55) 0%, rgba(139,92,246,0) 60%),
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(236,72,153,.55) 0%, rgba(236,72,153,0) 60%),
    linear-gradient(180deg, #1a0b2e 0%, #12091f 50%, #0a0615 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 80% 10%, rgba(236,72,153,.22) 0%, rgba(236,72,153,0) 65%),
    radial-gradient(55% 45% at 10% 30%, rgba(139,92,246,.22) 0%, rgba(139,92,246,0) 65%);
  pointer-events: none;
}
.hero__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 4px 0 10px;
}
.hero__title-accent {
  background: linear-gradient(95deg, #8B5CF6 0%, #EC4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font: 500 13px var(--font-sans);
  color: #C7C7D6;
  line-height: 1.5;
  margin: 0 0 18px;
}

/* ---- Hero CTA: "지금 뜨는 밤 찾기" ---- */
.hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  color: #fff;
  font: 800 13px var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 30px -6px rgba(236,72,153,.45);
  transition: transform .18s var(--ease-out);
}
.hero__cta:active { transform: scale(.98); }

/* ---- Hero sub-card (오늘의 픽 quick) ---- */
.hero__sub-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(13,13,21,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
}
.hero__sub-card-body { flex: 1; min-width: 0; }
.hero__sub-card-eyebrow {
  font: 700 10px var(--font-sans);
  color: #807EA6;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0;
}
.hero__sub-card-title {
  font: 700 13px var(--font-sans);
  color: #fff;
  margin: 4px 0 2px;
  letter-spacing: -0.01em;
}
.hero__sub-card-meta {
  font: 500 11px var(--font-sans);
  color: #9A9BC0;
  margin: 0;
}

/* ---- Section head ---- */
.sec { padding: 14px 0 22px; position: relative; }
.sec--last { padding-bottom: 40px; }
.sec__head {
  padding: 0 20px 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.sec__title { display: flex; align-items: center; gap: 8px; }
.sec__title h2 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.sec__count {
  font: 600 11px var(--font-sans);
  color: #38D7ED;
  background: rgba(56,215,237,.12);
  padding: 2px 7px;
  border-radius: 999px;
}
.sec__dot { width: 7px; height: 7px; border-radius: 999px; }
.sec__dot--live { background: #FF4D6D; box-shadow: 0 0 8px #FF4D6D; animation: pulse 1.6s infinite; }
.sec__dot--green { background: #38D7ED; box-shadow: 0 0 8px #38D7ED; animation: pulse 2s infinite; }
.sec__emoji { font-size: 14px; }
.sec__more {
  font: 600 12px var(--font-sans);
  color: var(--fg-3);
  text-decoration: none;
}

/* ---- Snap carousel ---- */
.snap-rail {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-top: 4px; padding-bottom: 14px;
  cursor: grab;
  user-select: none;
}
.snap-rail--dragging { cursor: grabbing; scroll-snap-type: none; }
.snap-rail::-webkit-scrollbar { display: none; }
.snap-rail__item { scroll-snap-align: start; flex-shrink: 0; }

/* ---- Party card ---- */
.party-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(13,13,21,.72);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .3s var(--ease-out), border-color .3s;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.5);
}
.party-card:active { transform: scale(.98); border-color: rgba(96,97,255,.45); }
.party-art {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.party-art__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transition: transform .6s var(--ease-out);
}
.party-card:active .party-art__photo { transform: scale(1.04); }
.party-art__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,10,0.1) 0%, rgba(7,7,10,0) 45%, rgba(7,7,10,0.65) 100%);
  pointer-events: none;
}
.party-art__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
}
.party-card__overlay {
  position: absolute;
  top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; align-items: flex-start;
  z-index: 2;
}
.party-card__tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: rgba(7,7,10,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  font: 700 10px var(--font-sans);
  color: #fff;
  letter-spacing: 0.04em;
}
.party-card__tag-dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: #FF4D6D;
  box-shadow: 0 0 6px #FF4D6D;
  animation: pulse 1.4s infinite;
}
.party-card__price {
  padding: 4px 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font: 700 10px var(--font-sans);
}
.party-card__body { padding: 12px 14px 14px; }
.party-card__name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 3px;
  color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.party-card__meta {
  font: 500 11px var(--font-sans);
  color: var(--fg-3);
  margin: 0 0 9px;
}
.party-card__foot {
  display: flex; justify-content: space-between; align-items: center;
}
/* monochrome icon mask — tinted via backgroundColor */
.icon-mask { flex-shrink: 0; vertical-align: middle; }

.party-card:active .icon-mask { transform: translateX(3px); background-color: #38D7ED !important; }

.genre-pill {
  font: 700 10px var(--font-sans);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(96,97,255,.18);
  color: #9A9BD1;
  letter-spacing: 0.04em;
}

/* ---- Dots pagination ---- */
.dots {
  display: flex; justify-content: center; gap: 5px;
  margin-top: 4px;
}
.dots__d {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  transition: all .25s;
}
.dots__d--on { width: 18px; background: #38D7ED; box-shadow: 0 0 8px rgba(56,215,237,.6); }

/* ---- Hot clubs grid ---- */
.hot-grid {
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.club-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s var(--ease-out);
}
.club-card--big {
  grid-column: span 2;
  aspect-ratio: 2 / 1.1;
}
.club-card:active { transform: scale(.98); }
.club-art { position: absolute; inset: 0; overflow: hidden; }
.club-art__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transition: transform .6s var(--ease-out);
}
.club-card:active .club-art__photo { transform: scale(1.04); }
.club-art__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,10,0.05) 0%, rgba(7,7,10,0) 55%, rgba(7,7,10,0.55) 100%);
  pointer-events: none;
}

.club-card__overlay {
  position: absolute; inset: 0;
  padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(to top, rgba(7,7,10,.78) 0%, rgba(7,7,10,.15) 55%, transparent 100%);
  pointer-events: none;
}
.club-card__overlay > * { pointer-events: auto; }
.club-card__badge {
  align-self: flex-start;
  padding: 4px 10px;
  background: #38D7ED;
  color: #07070A;
  font: 800 10px var(--font-sans);
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(56,215,237,.4);
}
.club-card__body h3 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 3px;
}
.club-card--big .club-card__body h3 { font-size: 20px; }
.club-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  font: 500 11px var(--font-sans);
  color: var(--fg-2);
}
.rating {
  display: inline-flex; align-items: center; gap: 3px;
  color: #FFD166;
  font: 700 11px var(--font-sans);
}

/* ---- Tonight pick flow ---- */
.sec__sub {
  padding: 0 20px 12px;
  font: 500 12px var(--font-sans);
  color: #9A9BC0;
  margin: -4px 0 0;
  line-height: 1.5;
}
.tonight-flow {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.tonight-flow__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(13,13,21,.55);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: transform .15s;
}
.tonight-flow__item:active { transform: scale(.99); }
.tonight-flow__step {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 900 13px var(--font-sans);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.tonight-flow__body { flex: 1; min-width: 0; }
.tonight-flow__label {
  font: 700 13px var(--font-sans);
  color: #fff;
  letter-spacing: -0.01em;
}
.tonight-flow__meta {
  font: 500 11px var(--font-sans);
  color: #9A9BC0;
  margin-top: 2px;
}
.tonight-flow__line {
  position: absolute;
  left: 27px;
  top: 100%;
  width: 1px;
  height: 8px;
  background: rgba(255,255,255,.12);
}
.tonight-ctas {
  display: flex;
  gap: 8px;
  padding: 12px 20px 0;
}
.tonight-ctas__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(30,30,42,.65);
  border: 1px solid rgba(255,255,255,.06);
  font: 700 12px var(--font-sans);
  color: #D9D9E6;
  text-decoration: none;
  transition: transform .15s;
}
.tonight-ctas__btn:active { transform: scale(.97); }

/* ---- Near me CTA ---- */
.nearme {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 20px;
  padding: 14px 16px;
  background: rgba(13,13,21,.55);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: transform .15s;
}
.nearme:active { transform: scale(.99); }
.nearme__icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: rgba(56,215,237,.1);
  border: 1px solid rgba(56,215,237,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nearme__body { flex: 1; min-width: 0; }
.nearme__title {
  font: 700 13px var(--font-sans);
  color: #D9D9E6;
  margin: 0;
  letter-spacing: -0.01em;
}
.nearme__sub {
  font: 500 11px var(--font-sans);
  color: #807EA6;
  margin: 2px 0 0;
}

/* ---- Quick Actions (3 grid) ---- */
.qa-grid {
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.qa {
  padding: 16px 10px;
  background: rgba(13,13,21,.55);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  text-decoration: none;
  transition: transform .15s;
}
.qa:active { transform: scale(.96); }
.qa__icon {
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.qa__icon-mask {
  width: 22px; height: 22px;
  display: inline-block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.qa__label {
  font: 700 12px var(--font-sans);
  color: #D9D9E6;
  letter-spacing: -0.01em;
}
.qa__sub {
  font: 500 10px var(--font-sans);
  color: #807EA6;
  margin-top: 2px;
}

/* ---- Posts ---- */.posts { list-style: none; padding: 0 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.post {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px;
  background: rgba(13,13,21,.7);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s;
}
.post:active { border-color: rgba(96,97,255,.4); background: rgba(13,13,21,.85); }
.post__avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5D5EFC, #38D7ED);
  display: flex; align-items: center; justify-content: center;
  font: 800 13px var(--font-display);
  color: #07070A;
  flex-shrink: 0;
}
.post__body { flex: 1; min-width: 0; }
.post__head { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.post__name { font: 700 11px var(--font-sans); color: #fff; }
.post__tag {
  font: 700 9px var(--font-sans);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.post__tag--realtime { background: rgba(255,77,109,.18); color: #FF4D6D; }
.post__tag--tip { background: rgba(56,215,237,.15); color: #38D7ED; }
.post__tag--review { background: rgba(96,97,255,.18); color: #9A9BD1; }
.post__content {
  font: 500 13px var(--font-sans);
  color: var(--fg-1);
  margin: 0 0 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post__club { font: 500 10px var(--font-sans); color: var(--fg-3); margin: 0; }
.post__thumb {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
  align-self: center;
}
.post__ago { font: 500 10px var(--font-sans); color: var(--fg-muted); flex-shrink: 0; }

/* ---- Bottom nav ---- */
.bnav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  padding: 8px 12px 22px;
  background: linear-gradient(to top, rgba(7,7,10,.98) 40%, rgba(7,7,10,0) 100%);
}
.bnav__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  background: rgba(28,30,48,.85);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.bnav__tab {
  border: 0; background: transparent;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px;
  color: #807EA6;
  cursor: pointer;
  transition: color .2s;
}
.bnav__tab--on { color: #EC4899; }
.bnav__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.bnav__ai {
  position: absolute;
  top: -6px;
  right: -10px;
  padding: 1px 5px;
  font: 900 7px var(--font-sans);
  color: #fff;
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  border-radius: 999px;
  line-height: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(236,72,153,.5);
}
.bnav__label { font: 700 10px var(--font-sans); }

/* ---- Tour Sheet ----
   Fixed to viewport (was absolute — only valid inside iOS-frame demo).
   Constrained to mobile content width so it doesn't stretch on desktop. */
.sheet {
  position: fixed;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 32rem);
  z-index: 60;
  pointer-events: none;
  display: flex; align-items: flex-end;
}
.sheet--open { pointer-events: auto; }
.sheet__backdrop {
  position: fixed;
  inset: 0;                     /* full viewport scrim */
  background: rgba(7,7,10,.72);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.sheet--open .sheet__backdrop { opacity: 1; pointer-events: auto; }
.sheet__panel {
  position: relative;
  width: 100%;
  background: #0D0D15;
  border-radius: 28px 28px 0 0;
  transform: translateY(105%);
  transition: transform .4s var(--ease-out);
  max-height: 82vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  box-shadow: 0 -20px 60px 0 rgba(0,0,0,.55);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet__panel::-webkit-scrollbar { display: none; }
.sheet--open .sheet__panel { transform: translateY(0); }

/* Hero with plasma shader wallpaper */
.sheet__hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #07070A;
}
.sheet__hero-plasma {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.sheet__hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}
.sheet__hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(7,7,10,0) 40%, rgba(13,13,21,0.55) 100%),
    linear-gradient(180deg, rgba(7,7,10,0.15) 0%, rgba(7,7,10,0) 35%, rgba(13,13,21,0.98) 100%);
  pointer-events: none;
}
.sheet__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(7,7,10,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.sheet__hero-text {
  position: absolute;
  left: 22px; right: 22px; bottom: 18px;
  z-index: 2;
}
.sheet__body { padding: 18px 22px 26px; }

.sheet__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 800 10px var(--font-sans);
  letter-spacing: 0.25em;
  color: #38D7ED;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(7,7,10,.8);
}
.sheet__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #38D7ED;
  box-shadow: 0 0 8px #38D7ED;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.sheet__title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(7,7,10,.7);
}
.sheet__sub {
  font: 500 13px var(--font-sans);
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(7,7,10,.7);
}
.sheet__stops { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.sheet__stop {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
}
.sheet__stop-num {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5D5EFC, #38D7ED);
  color: #07070A;
  font: 800 14px var(--font-display);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sheet__stop-body { flex: 1; }
.sheet__stop-name { font: 700 14px var(--font-sans); margin-bottom: 2px; }
.sheet__stop-time { font: 500 11px var(--font-sans); color: var(--fg-3); }
.sheet__stop-line {
  position: absolute;
  left: 28px;
  top: 58px;
  width: 2px;
  height: 12px;
  background: linear-gradient(to bottom, rgba(96,97,255,.6), transparent);
}
.sheet__go {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #5D5EFC 0%, #38D7ED 100%);
  color: #07070A;
  font: 800 14px var(--font-sans);
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 14px 40px -8px rgba(93,94,252,.6);
  margin-bottom: 8px;
}
.sheet__cancel {
  width: 100%;
  padding: 13px;
  border: 0; background: transparent;
  color: var(--fg-3);
  font: 600 13px var(--font-sans);
  cursor: pointer;
}

/* ---- Animations ---- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes float-3d {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-8px) rotate(5deg); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  33% { transform: translateY(-10px) rotate(3deg); }
  66% { transform: translateY(6px) rotate(-2deg); }
}
@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* drift version spins in-place (no centering translate) */
.hero__cta-shape { animation: float-3d-simple 5s ease-in-out infinite; }
@keyframes float-3d-simple {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-6px) rotate(8deg); }
}
@keyframes flow-dance {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(8px); }
}
@keyframes tile-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
