:root {
  --green: #123d31;
  --green-2: #1f6b52;
  --mint: #bff5dd;
  --cream: #fff5e2;
  --sand: #efd3a2;
  --coral: #ff765e;
  --yellow: #ffd66b;
  --blue: #62c7d8;
  --ink: #17312a;
  --muted: #6d7a75;
  --card: rgba(255, 255, 255, .88);
  --shadow: 0 22px 60px rgba(13, 45, 35, .22);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 107, .35), transparent 32rem),
    radial-gradient(circle at top right, rgba(98, 199, 216, .25), transparent 28rem),
    linear-gradient(180deg, #e8f8ee 0%, #fff7e8 48%, #e7f5ed 100%);
  min-height: 100vh;
}

button, select { font: inherit; }
button { cursor: pointer; }

#app { min-height: 100vh; }

.screen {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 18px;
  padding-bottom: 96px;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(180deg, rgba(18, 61, 49, .05), rgba(18, 61, 49, .9)),
    radial-gradient(circle at 75% 18%, rgba(255, 214, 107, .82), transparent 9rem),
    radial-gradient(circle at 10% 30%, rgba(191, 245, 221, .32), transparent 12rem),
    linear-gradient(135deg, #1d7056, #123d31 50%, #09241d);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .27;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 72% 52%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 48% 28%, #fff 0 1px, transparent 2px);
  background-size: 96px 96px, 74px 74px, 128px 128px;
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.compact-card {
  width: min(720px, 100%);
  margin: 0 auto;
}

.language-hero,
.welcome-hero {
  align-items: center;
  padding-top: 210px;
}

.gate-stage {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: 50%;
  width: min(720px, calc(100% - 34px));
  height: 230px;
  transform: translateX(-50%);
  pointer-events: none;
}

.small-gate {
  opacity: .88;
  transform: translateX(-50%) scale(.88);
  transform-origin: top center;
}

.sun-glow {
  position: absolute;
  right: 12%;
  top: 10px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,107,.85), rgba(255,214,107,.1) 55%, transparent 70%);
  filter: blur(2px);
}

.vondel-gate {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(560px, 94%);
  height: 190px;
  transform: translateX(-50%);
}

.gate-arch {
  position: absolute;
  left: 50%;
  top: 0;
  width: 360px;
  max-width: 82%;
  height: 92px;
  transform: translateX(-50%);
  display: grid;
  place-items: start center;
  padding-top: 18px;
  border: 10px solid rgba(255,245,226,.88);
  border-bottom: 0;
  border-radius: 190px 190px 0 0;
  color: rgba(255,245,226,.94);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 15px;
  text-shadow: 0 2px 18px rgba(0,0,0,.38);
}

.gate-bars {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 86%;
  height: 132px;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 48px;
  border-left: 9px solid rgba(255,245,226,.9);
  border-right: 9px solid rgba(255,245,226,.9);
}

.gate-bars::before,
.gate-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,245,226,.9);
}

.gate-bars::before { top: 55px; }
.gate-bars::after { bottom: 24px; }

.gate-bars span {
  width: 9px;
  height: 100%;
  border-radius: 999px 999px 0 0;
  background: rgba(255,245,226,.92);
}

.gate-bars span:nth-child(2),
.gate-bars span:nth-child(5) {
  height: 112px;
}

.gate-bars span:nth-child(3),
.gate-bars span:nth-child(4) {
  height: 126px;
}

.gate-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,245,226,.96);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.hero-orb {
  position: absolute;
  z-index: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.hero-orb-one {
  width: 118px;
  height: 118px;
  right: 24px;
  top: 62px;
  border-radius: 36px;
  font-size: 52px;
  transform: rotate(10deg);
}

.hero-orb-two {
  width: 86px;
  height: 86px;
  left: 28px;
  top: 168px;
  border-radius: 50%;
  font-size: 38px;
}

.park-logo {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--yellow));
  color: var(--green);
  font-size: 42px;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.eyebrow {
  margin: 18px 0 6px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
  font-size: 12px;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: .95;
  margin: 0;
}

h1 {
  font-size: clamp(46px, 12vw, 86px);
  letter-spacing: -.04em;
}

.lead {
  font-size: 18px;
  line-height: 1.45;
  max-width: 36rem;
}

.hero-note {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
}

.hero-note strong {
  color: var(--yellow);
}

.hero-note span {
  color: rgba(255,255,255,.82);
  line-height: 1.35;
}

.language-start {
  margin: 18px 0;
}

.language-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint);
}

.language-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 12px;
  color: white;
  background: rgba(255,255,255,.1);
  font-weight: 900;
  text-align: left;
}

.language-option.active {
  color: var(--green);
  background: linear-gradient(135deg, var(--yellow), #fff3bf);
  border-color: rgba(255,255,255,.5);
}

.language-option:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.language-option span {
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.hero-actions, .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.text-link {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  background: transparent;
  color: var(--mint);
  font-weight: 900;
}

.primary, .secondary, .chip, .ghost {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
}

.primary {
  color: var(--green);
  background: linear-gradient(135deg, var(--yellow), #fff1b4);
}

.secondary {
  color: white;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
}

.ghost {
  color: var(--green);
  background: rgba(18, 61, 49, .08);
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.chip {
  color: white;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  padding: 9px 12px;
  font-size: 13px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: -18px -18px 18px;
  padding: 14px 18px;
  background: rgba(232, 248, 238, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 61, 49, .08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
}

.lang, .lang-pill {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  background: white;
  color: var(--green);
  font-weight: 800;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.hero-foot {
  margin: 14px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.panel {
  background: var(--card);
  border: 1px solid rgba(18, 61, 49, .08);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(18, 61, 49, .09);
  margin-bottom: 14px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.route-card {
  text-align: left;
  min-height: 122px;
  border: 0;
  border-radius: 24px;
  padding: 16px;
  background: white;
  color: var(--green);
  box-shadow: 0 12px 24px rgba(18, 61, 49, .08);
}

.route-card.active {
  color: white;
  background: linear-gradient(135deg, var(--green-2), var(--green));
}

.route-card strong {
  display: block;
  font-size: 18px;
}

.route-card span {
  display: block;
  margin-top: 9px;
  color: inherit;
  opacity: .78;
  font-size: 13px;
}

.route-choice-intro h1 {
  font-size: clamp(38px, 9vw, 72px);
  margin-bottom: 10px;
}

.route-choice-list {
  display: grid;
  gap: 12px;
}

.route-choice-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 142px;
  text-align: left;
  border: 0;
  border-radius: 28px;
  padding: 20px;
  color: var(--green);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(18, 61, 49, .1);
}

.route-choice-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -38px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(191,245,221,.55);
}

.route-choice-card.active {
  color: white;
  background: linear-gradient(135deg, var(--green-2), var(--green));
}

.route-choice-card.active::after {
  background: rgba(255,214,107,.25);
}

.route-choice-card strong {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 900;
}

.route-choice-card small,
.route-choice-card p,
.route-time {
  position: relative;
  z-index: 1;
}

.route-choice-card p {
  max-width: 32rem;
  margin: 0;
  line-height: 1.35;
}

.route-time {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(18,61,49,.08);
  font-weight: 900;
}

.route-choice-card.active .route-time {
  color: var(--green);
  background: var(--yellow);
}

.map {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 214, 107, .42), transparent 7rem),
    radial-gradient(circle at 78% 70%, rgba(98, 199, 216, .32), transparent 8rem),
    linear-gradient(135deg, #dff5d7, #f7f0cf);
  border: 1px solid rgba(18,61,49,.08);
}

.map-path {
  position: absolute;
  left: 9%;
  right: 5%;
  top: 15%;
  height: 68%;
  border: 13px solid rgba(31, 107, 82, .2);
  border-left-color: transparent;
  border-radius: 55% 48% 52% 44%;
  transform: rotate(-9deg);
}

.map-path-two {
  left: 20%;
  right: 17%;
  top: 34%;
  height: 29%;
  border-width: 8px;
  border-color: rgba(255,255,255,.65);
  border-left-color: transparent;
  transform: rotate(-10deg);
}

.map-water {
  position: absolute;
  left: 18%;
  right: 10%;
  top: 42%;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77, 190, 205, .55), rgba(98, 199, 216, .36));
  transform: rotate(-12deg);
}

.map-water-small {
  left: 14%;
  right: auto;
  width: 22%;
  top: 58%;
  height: 46px;
  opacity: .72;
  transform: rotate(-18deg);
}

.map-lawn {
  position: absolute;
  border-radius: 999px;
  background: rgba(147, 199, 112, .26);
}

.lawn-one {
  left: 12%;
  top: 24%;
  width: 25%;
  height: 22%;
}

.lawn-two {
  right: 13%;
  bottom: 17%;
  width: 27%;
  height: 20%;
}

.map-title,
.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(18,61,49,.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-title {
  left: 18px;
  top: 16px;
}

.map-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.map-label.west {
  left: 10px;
  bottom: 22px;
}

.map-label.east {
  right: 10px;
  bottom: 22px;
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border: 3px solid white;
  border-radius: 50% 50% 50% 9px;
  rotate: -45deg;
  background: var(--coral);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  z-index: 2;
}

.pin span {
  display: grid;
  place-items: center;
  rotate: 45deg;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.pin.done { background: var(--green-2); }

.progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 61, 49, .1);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-2), var(--yellow));
}

.stop-list {
  display: grid;
  gap: 10px;
}

.gps-nearby {
  display: grid;
  gap: 14px;
}

.nearby-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 22px;
  background: rgba(18,61,49,.06);
}

.small-thumb {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 24px;
}

.stop-card {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 24px;
  padding: 10px;
  background: white;
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(18, 61, 49, .07);
}

.thumb {
  height: 76px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 32px;
  background: linear-gradient(135deg, var(--green-2), var(--blue));
}

.stop-card h3 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.stop-card p, .muted {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 61, 49, .08);
  color: var(--green);
  font-weight: 900;
}

.stop-hero {
  min-height: 210px;
  border-radius: 32px;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(18, 61, 49, .05), rgba(18, 61, 49, .82)),
    var(--hero-bg, linear-gradient(135deg, #1f6b52, #62c7d8));
  box-shadow: var(--shadow);
}

.stop-hero .emoji {
  font-size: 54px;
  margin-bottom: auto;
}

.stop-hero h1 {
  font-size: clamp(34px, 9vw, 66px);
}

.fact {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 214, 107, .24);
  border: 1px solid rgba(255, 214, 107, .4);
}

.fact-list {
  display: grid;
  gap: 10px;
}

.mini-fact {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(18, 61, 49, .08);
  box-shadow: 0 8px 18px rgba(18, 61, 49, .05);
}

.mini-fact span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 107, .35);
}

.mini-fact p {
  margin: 0;
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.quiz-options button {
  border: 1px solid rgba(18, 61, 49, .1);
  background: white;
  border-radius: 18px;
  padding: 13px;
  text-align: left;
  color: var(--ink);
  font-weight: 800;
}

.quiz-options button.good {
  background: #dff8e7;
  border-color: #7fdda2;
}

.quiz-options button.bad {
  background: #ffe8e3;
  border-color: #ffad9d;
}

.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 8;
  width: min(620px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 26px;
  background: rgba(18, 61, 49, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.bottom-nav.single-nav {
  grid-template-columns: 1fr;
}

.bottom-nav button {
  border: 0;
  border-radius: 18px;
  padding: 14px;
  color: white;
  font-weight: 900;
  background: rgba(255,255,255,.14);
}

.bottom-nav button.primary-nav {
  color: var(--green);
  background: var(--yellow);
}

.gps-box {
  display: grid;
  gap: 10px;
}

.distance {
  font-size: 34px;
  font-weight: 900;
  color: var(--green);
}

.photo-task {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, rgba(98,199,216,.18), rgba(255,214,107,.22));
  border-radius: 24px;
  padding: 14px;
}

.photo-task .camera {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: white;
  font-size: 28px;
}

.guide-answer {
  white-space: pre-wrap;
  line-height: 1.45;
}

.finish {
  text-align: center;
  padding-top: 40px;
}

.big-score {
  width: 168px;
  height: 168px;
  margin: 20px auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: conic-gradient(var(--yellow), var(--green-2), var(--blue), var(--yellow));
  box-shadow: var(--shadow);
  font-size: 44px;
  font-weight: 900;
}

@media (max-width: 720px) {
  .route-grid { grid-template-columns: 1fr; }
  .stop-card { grid-template-columns: 64px 1fr auto; }
  .thumb { height: 64px; border-radius: 18px; }
  .map { min-height: 280px; }
  .language-grid { grid-template-columns: 1fr; }
}
