/* GTUB – the look of the film: Basel at night in violet, warm windows, big condensed
   white and red letters; the phone like a real one, the app inside light and clean. */
:root {
  --cond: "Bahnschrift Condensed", "Bahnschrift", "Arial Narrow", "Roboto Condensed", sans-serif;
  --app: "Segoe UI", -apple-system, "SF Pro Text", Inter, system-ui, sans-serif;
  --red: #e3121b;
  --green: #19b26b;
  --ink: #16151a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #120d24; color: #f6efe2; font-family: var(--app); }
button { font: inherit; }

/* the film first */
.intro { position: fixed; inset: 0; z-index: 50; background: #000; display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.intro-ctl { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.intro-ctl button, .intro-start { border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .55); color: #fff; padding: 8px 14px; border-radius: 20px; cursor: pointer; font-size: 14px; backdrop-filter: blur(6px); }
.intro-ctl button:hover, .intro-start:hover { background: rgba(255, 255, 255, .15); }
.intro-start { position: absolute; font-size: 20px; padding: 14px 26px; }

/* Basel at night behind everything */
.scene { position: fixed; inset: 0; z-index: 0; }
.sky { width: 100%; height: 100%; display: block; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 13, 36, .88) 0%, rgba(18, 13, 36, .55) 45%, rgba(18, 13, 36, 0) 75%); }
@media (max-width: 900px) { .scene::after { background: rgba(18, 13, 36, .7); } }
.boat { animation: boat 38s linear infinite; }
@keyframes boat { from { transform: translate(-140px, 772px); } to { transform: translate(1740px, 772px); } }
.moon { animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { opacity: .85; } }

.page { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 80px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 40px clamp(18px, 4vw, 48px); }

/* the title block, like the film's last frame */
.pitch { position: relative; }
.kicker { font: 600 13px var(--app); letter-spacing: .32em; text-transform: uppercase; color: #e8dcc6; margin: 0 0 10px; }
h1 { margin: 0; display: grid; line-height: .86; font-family: var(--cond); font-stretch: condensed; text-transform: uppercase; }
h1 .t1 { font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: .3em; color: #f6efe2; }
h1 .t2 { font-weight: 800; font-size: clamp(88px, 12vw, 170px); color: #f6efe2; text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
h1 .t3 { font-weight: 800; font-size: clamp(88px, 12vw, 170px); color: var(--red); text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.tag { font: 600 14px var(--app); letter-spacing: .18em; text-transform: uppercase; margin: 18px 0 0; }
.polaroid { position: absolute; right: 0; top: 40px; width: 190px; margin: 0; padding: 10px 10px 12px; background: #fbf8f1; color: #111; transform: rotate(4deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.polaroid img { width: 100%; aspect-ratio: 226 / 282; object-fit: cover; display: block; }
.polaroid figcaption { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; margin-top: 8px; align-items: baseline; }
.polaroid b { font: 800 22px var(--cond); text-transform: uppercase; }
.polaroid em { font: 700 11px var(--app); font-style: normal; color: var(--red); text-transform: uppercase; }
.polaroid span { grid-column: 1 / -1; font: 600 10px var(--app); text-transform: uppercase; letter-spacing: .04em; }
.fine { max-width: 460px; margin: 26px 0 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #e9dfcd; background: rgba(13, 10, 31, .65); border-left: 3px solid var(--red); border-radius: 4px; }
.fine b { color: #fff; }
.again { margin-top: 16px; border: 1px solid rgba(246, 239, 226, .4); background: none; color: #f6efe2; padding: 9px 16px; border-radius: 20px; cursor: pointer; }
.again:hover { background: rgba(246, 239, 226, .1); }

/* the phone */
.stage { display: grid; justify-items: center; gap: 10px; }
.phone { position: relative; width: min(370px, 88vw); aspect-ratio: 9 / 19.3; border-radius: 52px; background: #0f0f12; padding: 12px;
  box-shadow: 0 0 0 2px #2b2b31, 0 0 0 4px #0a0a0c, 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px #3a3a42; }
.island { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; background: #000; border-radius: 20px; z-index: 5; }
.status { position: absolute; top: 12px; left: 12px; right: 12px; height: 54px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between;
  font: 600 15px var(--app); color: var(--ink); z-index: 4; border-radius: 40px 40px 0 0; }
.status span { font-size: 11px; letter-spacing: 1px; }
.home-bar { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 130px; height: 5px; border-radius: 3px; background: #1d1d22; z-index: 5; }
.phone-note { margin: 0; font: 600 11px var(--app); letter-spacing: .2em; text-transform: uppercase; color: #d8cbe9; opacity: .8; }

/* the app inside */
.app { width: 100%; height: 100%; border-radius: 41px; overflow: hidden; background: #fff; color: var(--ink); position: relative; display: flex; flex-direction: column; }
.scr { flex: 1; overflow-y: auto; padding: 58px 16px 84px; scrollbar-width: none; }
.scr::-webkit-scrollbar { display: none; }
.nav { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; padding: 8px 10px 22px; background: #fff; border-top: 1px solid #eee; display: flex; justify-content: space-around; }
.nav button { border: 0; background: none; display: grid; justify-items: center; gap: 2px; font-size: 10px; color: #8a8a8f; cursor: pointer; }
.nav button i { font-style: normal; font-size: 18px; }
.nav button.on { color: var(--ink); font-weight: 700; }
.brand { display: flex; align-items: baseline; gap: 6px; font: 800 22px var(--app); letter-spacing: -.02em; }
.brand em { font-style: normal; color: var(--green); }
.addr { font-size: 13px; color: #555; margin: 2px 0 12px; }
.addr b { color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; background: #f2f2f4; border-radius: 22px; padding: 10px 14px; color: #888; font-size: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 14px -16px 4px; padding: 0 16px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: grid; justify-items: center; gap: 4px; font-size: 11px; color: #333; background: none; border: 0; cursor: pointer; }
.chip i { font-style: normal; font-size: 24px; width: 54px; height: 54px; border-radius: 16px; background: #f3f3f5; display: grid; place-items: center; }
.chip.on i { background: #e6f7ef; box-shadow: inset 0 0 0 2px var(--green); }
.promo { margin: 12px 0; padding: 14px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #2a1747, #5a2a5e); display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.promo b { font: 800 18px var(--cond); text-transform: uppercase; letter-spacing: .02em; display: block; }
.promo span { font-size: 12px; opacity: .85; }
.promo img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
h2.sec { font: 800 18px var(--app); margin: 16px 0 8px; }
.rest { display: grid; gap: 14px; }
.card { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.card .pic { height: 118px; border-radius: 14px; display: grid; place-items: center; font-size: 54px; position: relative; overflow: hidden; }
.card .pic small { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 700; background: #fff; color: var(--ink); padding: 3px 8px; border-radius: 10px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 7px; }
.card .row b { font-size: 15px; }
.card .row span { font-size: 12px; background: #f2f2f4; border-radius: 10px; padding: 2px 7px; }
.card p { margin: 2px 0 0; font-size: 12px; color: #6b6b70; }
.back { border: 0; background: #fff; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; font-size: 18px; }
.hero { height: 150px; margin: -58px -16px 0; display: grid; place-items: center; font-size: 72px; position: relative; }
.hero .back { position: absolute; left: 14px; top: 58px; }
.rname { font: 800 22px var(--app); margin: 12px 0 2px; }
.rmeta { font-size: 12px; color: #6b6b70; }
.items { display: grid; margin-top: 10px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #eee; align-items: center; }
.item b { font-size: 14px; }
.item p { margin: 0; font-size: 12px; color: #6b6b70; grid-column: 1; }
.item .price { font-size: 13px; color: #333; }
.add { grid-row: 1 / 3; grid-column: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f2f2f4; font-size: 20px; cursor: pointer; }
.add:active { transform: scale(.92); }
.cartbar { position: absolute; left: 12px; right: 12px; bottom: 84px; border: 0; background: var(--ink); color: #fff; border-radius: 26px; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-weight: 700; cursor: pointer; font-size: 14px; }
.cartbar i { font-style: normal; background: var(--green); color: #fff; border-radius: 12px; padding: 2px 8px; font-size: 12px; }
.line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.line.sum { font-weight: 800; border: 0; font-size: 16px; }
.pay { width: 100%; height: 50px; border: 0; border-radius: 26px; background: var(--green); color: #fff; font-weight: 800; font-size: 15px; margin-top: 14px; cursor: pointer; }
.joke { font-size: 11px; color: #8a8a8f; text-align: center; margin: 8px 0 0; }
.empty { color: #8a8a8f; font-size: 14px; text-align: center; margin-top: 40px; }

/* tracking */
.map { margin: -58px -16px 0; height: 300px; background: #eef0ec; position: relative; }
.map svg { width: 100%; height: 100%; display: block; }
.sheet { margin: -22px -16px 0; position: relative; background: #fff; border-radius: 22px 22px 0 0; padding: 16px; box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); }
.eta { font: 800 24px var(--app); }
.eta small { display: block; font: 500 13px var(--app); color: #6b6b70; margin-top: 2px; }
.bar { height: 5px; background: #eee; border-radius: 3px; margin: 12px 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--green); transition: width .6s ease; }
.driver { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #eee; }
.driver img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.driver b { display: block; font-size: 15px; }
.driver span { font-size: 12px; color: #6b6b70; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: #9a9aa0; }
.steps li::before { content: "○ "; }
.steps li.done { color: var(--ink); }
.steps li.done::before { content: "● "; color: var(--green); }

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; text-align: center; padding-top: 28px; }
  .pitch { display: grid; justify-items: center; }
  .polaroid { position: relative; top: 0; margin-top: 18px; width: 160px; }
  .fine { text-align: left; }
}
