/* Booking page */
body { overflow-x: hidden; }
.aura { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aura::before, .aura::after {
  content: ''; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(90px); opacity: .16;
  animation: drift 22s ease-in-out infinite alternate;
}
.aura::before { background: var(--gold2); top: -38vmax; left: -20vmax; }
.aura::after { background: #1b8f6a; bottom: -45vmax; right: -25vmax; animation-delay: -9s; opacity: .12; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.08); } }

.wrap { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 18px 16px 140px; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand img { width: 30px; height: 30px; }
.brand small { display: block; font-size: 11px; color: var(--gold); letter-spacing: 1.5px; font-weight: 600; }
.top-link { font-size: 14px; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(18, 26, 36, .6); cursor: pointer; }

.hero { text-align: center; padding: 8px 0 24px; }
.avatar { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; position: relative; padding: 3px; }
.avatar::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--gold2), #5b4718, var(--gold2), var(--gold));
  animation: ring 6s linear infinite;
}
.avatar > div {
  position: relative; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #233041, #0d141d);
  display: grid; place-items: center; font-family: var(--num); font-size: 38px; color: var(--gold); overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ring { to { transform: rotate(360deg); } }
.avatar::after { z-index: 1; content: ''; position: absolute; right: 4px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--mint); border: 3px solid var(--bg); box-shadow: 0 0 0 0 rgba(110, 231, 183, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(110, 231, 183, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); } }
.hero h1 { font-size: clamp(22px, 6vw, 28px); margin: 0 0 6px; line-height: 1.3; }
.hero p { color: var(--muted); margin: 0 auto 16px; max-width: 420px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(18, 26, 36, .7); font-size: 14px; }
.chip svg { width: 15px; height: 15px; }
.chip.price { border-color: rgba(232, 201, 106, .5); color: var(--gold); font-weight: 700; }
.chip.price s { color: var(--muted); font-weight: 400; margin-right: 2px; }

.offer {
  margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(110, 231, 183, .35);
  background: linear-gradient(135deg, rgba(110, 231, 183, .1), rgba(110, 231, 183, .02)); display: flex; gap: 12px; align-items: center;
}
.offer .ic { font-size: 22px; }
.offer b { color: var(--mint); }
.offer small { display: block; color: var(--muted); }
.offer.bad { border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .06); }
.offer.bad b { color: var(--red); }

.card { background: rgba(18, 26, 36, .78); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0 0 12px; font-size: 16px; }
.step-title .n { width: 24px; height: 24px; border-radius: 50%; background: rgba(232, 201, 106, .14); color: var(--gold); font-size: 13px; display: grid; place-items: center; font-family: var(--num); font-size: 17px; }

.dates { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -2px; }
.dates::-webkit-scrollbar { display: none; }
.date {
  flex: 0 0 auto; width: 68px; padding: 10px 0 8px; border-radius: 16px; border: 1px solid var(--line2); background: var(--bg2);
  text-align: center; cursor: pointer; scroll-snap-align: start; transition: transform .25s var(--spring), border-color .2s, background .2s;
  animation: fadeUp .45s var(--ease) both;
}
.date:hover { transform: translateY(-2px); border-color: var(--gold2); }
.date .d { font-size: 12px; color: var(--muted); }
.date .n { font-family: var(--num); font-size: 30px; line-height: 1.05; display: block; }
.date .m { font-size: 12px; color: var(--muted); }
.date .dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); margin: 5px auto 0; opacity: .8; }
.date.sel { background: linear-gradient(160deg, rgba(232, 201, 106, .22), rgba(196, 160, 80, .06)); border-color: var(--gold); transform: translateY(-3px); }
.date.sel .n { color: var(--gold); }

.times-head { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 10px; font-size: 14px; color: var(--muted); }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 360px) { .times { grid-template-columns: repeat(2, 1fr); } }
.time {
  padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg2); cursor: pointer; text-align: center;
  font-family: var(--num); font-size: 21px; letter-spacing: .5px; transition: all .22s var(--ease); animation: pop .4s var(--spring) both; position: relative;
}
.time:hover { border-color: var(--mint); color: var(--mint); }
.time.sel { background: var(--mint); color: #062a1d; border-color: var(--mint); box-shadow: 0 8px 22px -8px rgba(110, 231, 183, .7); }
.time .lock { position: absolute; top: 4px; right: 6px; font-size: 10px; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 34px 10px; color: var(--muted); }
.empty .big { font-size: 40px; margin-bottom: 8px; animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.empty a { display: inline-block; margin-top: 12px; }

.skel { height: 74px; border-radius: 16px; background: linear-gradient(90deg, var(--bg2) 0, #1a2433 50%, var(--bg2) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.how { margin-top: 22px; display: grid; gap: 10px; }
.how div { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.how b { color: var(--text); font-weight: 600; }
.how i { font-style: normal; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 10px; background: var(--card2); display: grid; place-items: center; }

/* sticky bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 16, 24, .9); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .38s var(--spring);
}
.bar.show { transform: none; }
.bar-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.bar-info { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.bar-info b { display: block; color: var(--text); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sheet */
.scrim { position: fixed; inset: 0; background: rgba(3, 6, 10, .6); backdrop-filter: blur(3px); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; max-height: 92dvh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line2); border-bottom: 0; border-radius: 24px 24px 0 0;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .42s var(--spring);
}
.sheet.show { transform: none; }
@media (min-width: 640px) {
  .sheet { left: 50%; bottom: auto; top: 50%; width: 440px; border-radius: 24px; border-bottom: 1px solid var(--line2); transform: translate(-50%, -40%) scale(.96); opacity: 0; transition: transform .38s var(--spring), opacity .25s; pointer-events: none; }
  .sheet.show { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
}
.grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line2); margin: 0 auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-size: 19px; }
.x { background: var(--bg2); border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.pane { animation: paneIn .38s var(--ease) both; }
@keyframes paneIn { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.muted { color: var(--muted); font-size: 14px; }
.summary { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; }
.summary .cal { width: 46px; flex: 0 0 46px; text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--line2); }
.summary .cal span { display: block; background: var(--gold2); color: #10151d; font-size: 11px; font-weight: 700; padding: 1px 0; }
.summary .cal b { font-family: var(--num); font-size: 24px; line-height: 1.3; display: block; }
.summary .what { flex: 1; font-size: 14px; }
.summary .what b { display: block; font-size: 15px; }
.summary .amt { font-family: var(--num); font-size: 24px; color: var(--gold); }

.phone-row { display: flex; gap: 8px; }
.phone-row .cc { flex: 0 0 64px; text-align: center; }
.otp { display: flex; gap: 8px; justify-content: space-between; margin: 6px 0 14px; position: relative; }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; caret-color: transparent; border: 0; z-index: 2; letter-spacing: 40px; }
.otp span {
  flex: 1; max-width: 52px; aspect-ratio: 1/1.15; display: grid; place-items: center; font-family: var(--num); font-size: 30px;
  background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; transition: border-color .2s, transform .2s var(--spring);
}
.otp span.fill { border-color: var(--gold2); animation: pop .25s var(--spring); }
.otp span.cur { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(196, 160, 80, .18); }
.otp.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.resend { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
.resend button { background: none; border: 0; color: var(--gold); cursor: pointer; font-weight: 600; }
.wa-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.wa-note svg { width: 16px; height: 16px; color: #25d366; flex: 0 0 16px; }
.secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* success */
.done { text-align: center; padding: 6px 0 4px; }
.check { width: 86px; height: 86px; margin: 4px auto 14px; }
.check circle { stroke: var(--mint); stroke-width: 3; fill: rgba(110, 231, 183, .08); stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .7s var(--ease) forwards; }
.check path { stroke: var(--mint); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin: 0 0 4px; font-size: 22px; }
.meetbox { margin: 16px 0; padding: 14px; border-radius: 14px; border: 1px dashed var(--line2); background: var(--bg2); word-break: break-all; font-size: 14px; }
.meetbox .wait { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: .6; } }

/* my bookings / booking page */
.blist { display: grid; gap: 12px; }
.bitem { display: flex; gap: 12px; align-items: center; animation: fadeUp .45s var(--ease) both; }
.bitem .what { flex: 1; min-width: 0; }
.badge { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line2); }
.badge.confirmed { color: var(--mint); border-color: rgba(110, 231, 183, .45); }
.badge.cancelled, .badge.conflict { color: var(--red); border-color: rgba(248, 113, 113, .4); }
.foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 34px; }
.foot a { color: var(--muted); }
