@font-face { font-family: "Bungee"; src: url("fonts/bungee.57cee48e3265.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bungee Shade"; src: url("fonts/bungee-shade.cb841c1c36a1.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Grotesk"; src: url("fonts/space-grotesk.87c506d88b9f.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Pacifico"; src: url("fonts/pacifico.d150e652cabc.woff2") format("woff2"); font-display: swap; }

:root {
  --night: #0b1838;   /* crest navy, darkened */
  --night2: #15265a;
  --gold: #ffd200;
  --sky: #1aa3e8;
  --red: #e0301e;
  --card: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .12);
  --ink: #fff7ec;
  --muted: rgba(255, 247, 236, .66);
  --pink: #ff3d8b;
  --yellow: #ffd200;
  --cyan: #3df5ff;
  --lime: #b6ff3d;
  --orange: #ff8a3d;
  --violet: #b083ff;
  --tabs-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --emoji: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--night); color-scheme: dark; }
body { min-height: 100dvh; color: var(--ink); font: 16px/1.45 "Grotesk", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.blob { position: absolute; width: 120vmax; height: 120vmax; border-radius: 50%; opacity: .32; }
.b1 { background: radial-gradient(circle, var(--pink), transparent 60%); left: -70vmax; top: -70vmax; animation: drift 30s ease-in-out infinite alternate; }
.b2 { background: radial-gradient(circle, var(--sky), transparent 60%); right: -70vmax; bottom: -75vmax; animation: drift 36s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(20vmax, 14vmax); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------ chrome */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: baseline; gap: 10px;
  padding: calc(10px + var(--safe-t)) 18px 10px; background: linear-gradient(var(--night) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Pacifico"; font-size: 24px; text-decoration: none; text-shadow: 0 0 14px var(--pink); }
.brand img { width: 30px; height: auto; filter: drop-shadow(0 0 8px rgba(255,210,0,.45)); }
.where { font-family: "Bungee"; font-size: 11px; letter-spacing: .3em; color: var(--yellow); text-transform: uppercase; }

main { padding: 0 16px calc(var(--tabs-h) + var(--safe-b) + 28px); max-width: 680px; margin: 0 auto; outline: none; }
.loading { padding: 30vh 0; text-align: center; font-family: "Pacifico"; font-size: 30px; color: var(--yellow); }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabs-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(23, 10, 51, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.tabs svg { width: 24px; height: 24px; fill: currentColor; transition: transform .2s; }
.tabs a.on { color: var(--ink); }
.tabs a.on svg { fill: var(--pink); transform: translateY(-2px) scale(1.12); }
.tabs .dot { position: absolute; top: 10px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--night); }

/* ------------------------------------------------ shared bits */
.h1 { font-family: "Bungee"; font-size: clamp(32px, 9.5vw, 50px); line-height: 1; margin: 8px 0 4px; letter-spacing: .01em;
  background: linear-gradient(180deg, #fff 0%, #fff3c4 38%, #ffd200 49%, #ff3d8b 51%, #b083ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.45)) drop-shadow(0 0 14px rgba(255,61,139,.35)); }
.h2 { font-family: "Bungee"; font-size: 19px; letter-spacing: .02em; margin: 30px 0 12px; display: flex; align-items: center; gap: 10px; }
.h2 .emoji { font-family: var(--emoji); }
.h2 small { margin-left: auto; font: 600 13px "Grotesk"; color: var(--yellow); text-decoration: none; }
.lede { color: var(--muted); font-size: 15px; }
.script { font-family: "Pacifico"; color: var(--yellow); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.chip { display: inline-block; font: 12px/1 "Bungee"; padding: 5px 8px 4px; border-radius: 7px; background: rgba(255,255,255,.12); white-space: nowrap; vertical-align: 2px; }
.chip.abv { background: var(--pink); color: var(--night); }
.chip.free { background: var(--lime); color: var(--night); }
.chip.new { background: var(--yellow); color: var(--night); animation: wiggle 2.4s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) scale(1.08); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--pink); color: var(--night); font: 16px "Bungee"; text-decoration: none; box-shadow: 0 6px 0 rgba(0,0,0,.3); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn.small { padding: 9px 16px; font-size: 13px; }
.price { font-family: "Bungee"; color: var(--pink); white-space: nowrap; }
.price small { font-size: .7em; vertical-align: .2em; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.enter > * { animation: up .5s cubic-bezier(.2,.9,.3,1.1) both; }
.enter > *:nth-child(2) { animation-delay: .05s; } .enter > *:nth-child(3) { animation-delay: .1s; }
.enter > *:nth-child(4) { animation-delay: .15s; } .enter > *:nth-child(n+5) { animation-delay: .2s; }
@keyframes up { from { transform: translateY(16px); opacity: 0; } }

/* ------------------------------------------------ 80s sunset hero */
.synth { position: relative; margin: 0 -16px; height: 250px; overflow: hidden; display: grid; place-items: end center; }
.synth .sun { position: absolute; left: 50%; bottom: 74px; width: 210px; height: 210px; margin-left: -105px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, #ff8a3d 45%, var(--pink) 80%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 18px) bottom / 100% 48% no-repeat, linear-gradient(#000, #000) top / 100% 52% no-repeat;
  mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 18px) bottom / 100% 48% no-repeat, linear-gradient(#000, #000) top / 100% 52% no-repeat;
  box-shadow: 0 0 60px rgba(255,61,139,.5); }
.synth .floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 80px; perspective: 120px; overflow: hidden; }
.synth .floor::before { content: ""; position: absolute; inset: -100% 0 0; transform: rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(var(--pink) 2px, transparent 2px), linear-gradient(90deg, var(--pink) 2px, transparent 2px);
  background-size: 44px 44px; animation: floor 1.6s linear infinite; opacity: .85; }
.synth .floor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--night), transparent 60%); }
@keyframes floor { to { background-position: 0 44px; } }
.synth .crest { position: relative; z-index: 2; width: 112px; margin-bottom: 26px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.synth .stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 45%, #fff, transparent), radial-gradient(1px 1px at 35% 12%, #fff, transparent), radial-gradient(1px 1px at 10% 55%, #fff, transparent); opacity: .7; }

/* ------------------------------------------------ today */
.hello { margin-top: -6px; text-align: center; position: relative; z-index: 3; }
.hello .script { font-size: 24px; }
.hello .h1 { margin-top: 2px; }
.promo { width: min(86vw, 420px); position: relative; padding: 20px; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; }
.promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 10%, rgba(23,10,51,.92)); }
.promo > * { position: relative; }
.promo.plain { background: linear-gradient(135deg, var(--accent, var(--pink)), var(--violet)); }
.promo.plain::before { background: radial-gradient(circle at 80% 0, rgba(255,255,255,.25), transparent 60%); }
.promo-kicker { font-family: "Pacifico"; font-size: 18px; color: var(--yellow); }
.promo-title { font-family: "Bungee"; font-size: 24px; line-height: 1.05; margin: 2px 0 6px; }
.promo-body { font-size: 14px; color: rgba(255,247,236,.85); }
.promo-price { position: absolute; top: 14px; right: 14px; background: var(--yellow); color: var(--night); font-family: "Bungee"; padding: 8px 12px; border-radius: 12px; transform: rotate(6deg); }

.drinkcard { width: 168px; padding: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.drinkcard .pic { height: 120px; border-radius: 14px; background: rgba(255,255,255,.06) center/contain no-repeat; display: grid; place-items: center; font-size: 54px; font-family: var(--emoji); }
.drinkcard b { font-size: 15px; line-height: 1.2; }
.drinkcard .price { font-size: 16px; }

.event-hero { display: block; text-decoration: none; }
.event-hero .poster { aspect-ratio: 16/10; background: var(--night2) center/cover no-repeat; display: grid; place-items: center; font-size: 80px; font-family: var(--emoji); }
.event-hero .meta { padding: 16px 18px 18px; }
.when { display: inline-block; font: 13px "Bungee"; background: var(--pink); color: var(--night); padding: 5px 10px 4px; border-radius: 8px; transform: rotate(-2deg); }
.when.hot { animation: flash 1.2s steps(2, jump-none) infinite; }
@keyframes flash { 50% { background: var(--yellow); } }
.event-hero h3 { font-family: "Bungee"; font-size: 22px; line-height: 1.1; margin: 10px 0 4px; }

.post { padding: 16px 18px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 14px; text-align: left; width: 100%; }
.post .kind { font: 11px "Bungee"; letter-spacing: .08em; color: var(--yellow); }
.post h3 { font-size: 18px; line-height: 1.2; margin: 3px 0 4px; }
.post p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .thumb { width: 78px; height: 78px; border-radius: 14px; background: rgba(255,255,255,.06) center/cover no-repeat; }
.post time { font-size: 12px; color: var(--muted); }

.nudge { margin-top: 26px; padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; background: linear-gradient(135deg, rgba(255,61,139,.25), rgba(61,245,255,.12)); }
.nudge .big { grid-row: span 2; font-size: 42px; font-family: var(--emoji); }
.nudge b { font-family: "Bungee"; font-size: 16px; }
.nudge p { font-size: 14px; color: var(--muted); }
.nudge .btn { grid-column: 1 / -1; margin-top: 8px; }

/* ------------------------------------------------ drinks */
.finder { position: sticky; top: calc(56px + var(--safe-t)); z-index: 5; padding: 8px 0 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; background: linear-gradient(var(--night) 80%, transparent); }
.search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font: 16px "Grotesk"; padding: 12px 0; }
.search input::placeholder { color: var(--muted); }
.filters { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font: 600 13px "Grotesk"; white-space: nowrap; }
.filters button.on { background: var(--ink); color: var(--night); border-color: var(--ink); }
.filters .sep { flex: none; width: 1px; background: var(--line); margin: 4px 2px; }

.group { margin-top: 18px; scroll-margin-top: 150px; }
.group-title { font-family: "Bungee Shade"; font-size: 30px; line-height: 1; color: var(--accent, var(--pink)); display: flex; align-items: center; gap: 10px; }
.group-title .emoji { font-family: var(--emoji); font-size: 26px; }
.sub { font: 14px "Bungee"; color: var(--yellow); margin: 16px 0 4px; letter-spacing: .03em; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 12px; width: 100%; text-align: left; padding: 13px 2px; border-bottom: 1px dashed var(--line); }
.row b { font-size: 16.5px; font-weight: 700; }
.row .chips { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-left: 6px; }
.row .desc { font-size: 13.5px; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .flav { font-size: 13px; color: var(--yellow); margin-top: 3px; }
.row .prices { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.row .p { font-family: "Bungee"; font-size: 16px; color: var(--accent, var(--pink)); white-space: nowrap; }
.row .p i { font: 600 11px "Grotesk"; font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 5px; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.empty .big { font-size: 46px; font-family: var(--emoji); }
.foot { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 24px; }

/* ------------------------------------------------ events */
.ev { margin-bottom: 16px; }
.ev .poster { aspect-ratio: 16/10; background: var(--night2) center/cover no-repeat; display: grid; place-items: center; font-size: 70px; font-family: var(--emoji); }
.ev .meta { padding: 16px 18px 18px; }
.ev .date { display: flex; align-items: baseline; gap: 8px; font: 14px "Bungee"; color: var(--yellow); }
.ev h3 { font-family: "Bungee"; font-size: 21px; line-height: 1.12; margin: 8px 0 6px; }
.ev .tagline { font-family: "Pacifico"; color: var(--yellow); font-size: 16px; }
.ev p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.ev .actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ev .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ------------------------------------------------ alerts */
.bell { font-size: 76px; font-family: var(--emoji); text-align: center; margin-top: 18px; animation: ring 3s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(14deg); } 72% { transform: rotate(-12deg); } 80% { transform: rotate(8deg); } 88% { transform: rotate(-4deg); } }
.center { text-align: center; }
.alerts .h1 { text-align: center; }
.toggles { margin-top: 22px; }
.toggle { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle .ico { font-size: 28px; font-family: var(--emoji); }
.toggle b { display: block; }
.toggle small { color: var(--muted); font-size: 13px; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.2); transition: background .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s cubic-bezier(.3,1.4,.5,1); }
.switch input:checked + span { background: var(--pink); }
.switch input:checked + span::after { transform: translateX(22px); }
.steps { counter-reset: step; list-style: none; margin-top: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--night); display: grid; place-items: center; font-family: "Bungee"; }
.share-ico { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; fill: var(--cyan); }
.small-print { font-size: 12.5px; color: var(--muted); margin-top: 22px; text-align: center; }

/* ------------------------------------------------ sheet + toast */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(5, 2, 12, .6); animation: fade .25s both; }
.sheet-card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; max-width: 680px; margin: 0 auto;
  background: var(--night2); border-radius: 26px 26px 0 0; padding: 22px 20px calc(26px + var(--safe-b)); animation: rise .35s cubic-bezier(.2,.9,.3,1.05) both; border-top: 1px solid var(--line); }
.sheet-x { position: sticky; top: 0; float: right; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 16px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(100%); } }
.sheet-body .hero { margin: -22px -20px 16px; aspect-ratio: 4/3; background: rgba(255,255,255,.05) center/contain no-repeat; display: grid; place-items: center; font-size: 90px; font-family: var(--emoji); }
.sheet-body .hero.cover { background-size: cover; }
.sheet-body h2 { font-family: "Bungee"; font-size: 26px; line-height: 1.08; margin: 4px 0 10px; }
.sheet-body p { color: var(--muted); font-size: 15.5px; white-space: pre-line; }
.sheet-body .bigprices { display: flex; gap: 22px; flex-wrap: wrap; margin: 16px 0 6px; }
.sheet-body .bigprices div { display: flex; flex-direction: column; }
.sheet-body .bigprices i { font: 600 12px "Grotesk"; font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.sheet-body .bigprices span { font-family: "Bungee"; font-size: 30px; color: var(--pink); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabs-h) + var(--safe-b) + 16px); transform: translateX(-50%); z-index: 60;
  background: var(--yellow); color: var(--night); font-weight: 700; padding: 12px 18px; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.4); animation: up .3s both; max-width: 90vw; text-align: center; }
