/* Taxi Tashkent – game page (index.html). Loads after ../style.css and taxitashkent.css. */
@font-face {
  font-family: "Montserrat";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("fonts/montserrat-extrabold.woff") format("woff");
}
:root {
  --night: #0a1029;
  --night2: #16224f;
  --head: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(14, 26, 58, .12);
  --methane: #13a39b;
  --petrol: #ef8a00;
  --hybrid: #2e9e4f;
  --electric: #2f6fe0;
  --diesel: #5b6478;
}
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.landing { background: #f5f6fb; }
h1, h2, h3, .tt-num, .tt-eyebrow { font-family: var(--head); }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.landing .bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 16, 41, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  flex-wrap: nowrap;
}
.landing .bar .brand-tt { font-family: var(--head); font-size: 1.05rem; white-space: nowrap; }
.landing .bar .brand-tt img { border-radius: 10px; }
.tt-nav { display: flex; align-items: center; gap: 2px; }
.tt-nav a { font-weight: 600; font-size: .95rem; padding: 4px 10px; border-radius: 999px; opacity: .88; }
.tt-nav a:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.tt-lang {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}
.landing .bar .tt-lang a {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  opacity: .8;
}
.landing .bar .tt-lang a.on { background: var(--gold); color: var(--navy); opacity: 1; }
@media (max-width: 860px) { .tt-nav .tt-link { display: none; } }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  position: relative;
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  transition: transform .15s ease, filter .15s ease;
}
.store img { height: 52px; width: auto; }
.store:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.store .soon {
  display: none;
  position: absolute;
  top: -14px;
  right: -10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font: 800 .7rem/1.3 var(--head);
  letter-spacing: .02em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
  white-space: nowrap;
}
.store.is-soon { cursor: default; }
.store.is-soon img { opacity: .8; }
.store.is-soon .soon { display: block; }
.store.is-soon:hover { transform: none; filter: none; }

/* ---------- Hero ---------- */
.tt-hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  min-height: clamp(560px, 82vh, 780px);
  display: flex;
  align-items: center;
}
.tt-hero .art { position: absolute; inset: 0; }
.tt-hero .art img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 55%; display: block; }
.tt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 34, .94) 0%, rgba(8, 12, 34, .8) 28%, rgba(8, 12, 34, .3) 52%, rgba(8, 12, 34, 0) 70%),
    linear-gradient(0deg, rgba(10, 16, 41, .85) 0%, rgba(10, 16, 41, 0) 26%);
}
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 64px 24px 120px; }
.hero-copy { max-width: 560px; }
.tt-eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(253, 198, 26, .6);
  border-radius: 999px;
  background: rgba(253, 198, 26, .12);
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tt-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.tt-hero h1 span { color: var(--gold); }
.tt-hero .lead { margin: 18px 0 28px; font-size: clamp(1.05rem, 2.2vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .92); }
.tt-hero .note { margin: 18px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.checker {
  height: 12px;
  width: 220px;
  margin-top: 26px;
  background: repeating-conic-gradient(#111 0 25%, var(--gold) 0 50%) 0 0 / 12px 12px;
  border-radius: 3px;
  opacity: .95;
}

@media (max-width: 820px) {
  .tt-hero { display: block; min-height: 0; }
  .tt-hero .art { position: relative; aspect-ratio: 16 / 10; }
  .tt-hero .art img { object-position: 62% 55%; }
  .tt-hero::after { display: none; }
  .tt-hero .art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--night) 0%, rgba(10, 16, 41, 0) 45%);
  }
  .hero-in { margin-top: -64px; padding: 0 16px 96px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .stores { justify-content: center; }
  .checker { margin: 24px auto 0; }
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: -64px auto 0;
  padding: 0 16px;
}
.stats ul {
  list-style: none;
  margin: 0;
  padding: 22px 12px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(14, 26, 58, .16);
}
.stats li { text-align: center; padding: 4px 8px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.tt-num { display: block; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.1; color: var(--navy); }
.stats li > span:last-child { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 640px) {
  .stats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .stats li:nth-child(4) { border-left: 0; }
}

/* ---------- Sections ---------- */
.block { max-width: 1180px; margin: 0 auto; padding: 88px 24px 0; }
.block-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.block-head h2 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 4.4vw, 2.5rem); line-height: 1.15; }
.block-head p { margin: 12px 0 0; color: var(--muted); font-size: 1.08rem; }
.kicker {
  display: block;
  margin-bottom: 10px;
  color: #c98a00;
  font: 800 .8rem/1 var(--head);
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 640px) { .block { padding: 64px 16px 0; } }

/* Feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.feat {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 26, 58, .04);
}
.feat h3 { margin: 14px 0 6px; color: var(--navy); font-size: 1.12rem; line-height: 1.3; }
.feat p { margin: 0; color: var(--muted); }
.ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffd84d, #f5a400);
  color: var(--navy);
  box-shadow: 0 6px 14px rgba(245, 164, 0, .3);
}
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Split sections (picture + text) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split.flip .split-media { order: 2; }
.split-text h2 { margin: 0; color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15; }
.split-text > p { color: var(--muted); font-size: 1.06rem; }
.split-media img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 16px 36px rgba(14, 26, 58, .22); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.flip .split-media { order: 0; }
}
.checks { padding: 0; margin: 18px 0 0; list-style: none; }
.checks li { position: relative; padding-left: 34px; margin: 10px 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff3c4;
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: .5em;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid #c98a00;
  border-bottom: 2.5px solid #c98a00;
  transform: rotate(-45deg);
}

/* Landmark mosaic */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 24px rgba(14, 26, 58, .2); }
.mosaic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(0deg, rgba(8, 12, 34, .85), rgba(8, 12, 34, 0));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.3;
}
.places { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.places li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--navy); }

/* Cars */
.cars-banner { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); box-shadow: 0 16px 36px rgba(14, 26, 58, .22); }
.car-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-top: 22px; }
.car-group { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.car-group.wide { grid-column: 1 / -1; }
.car-group h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.15rem; }
.car-group .count { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: #f3f5fb;
  font-size: .92rem;
  line-height: 1.2;
  color: var(--navy);
}
.chips li small { color: var(--muted); font-size: .8rem; }
.chips li b { font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--petrol); }
.dot.m { background: var(--methane); }
.dot.h { background: var(--hybrid); }
.dot.e { background: var(--electric); }
.dot.d { background: var(--diesel); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.fine { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1330;
  cursor: zoom-in;
  box-shadow: 0 10px 24px rgba(14, 26, 58, .2);
}
.gallery button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.035); }
.gallery figcaption { margin: 10px 4px 0; color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.35; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .gallery {
    display: flex;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .gallery figure { flex: 0 0 84%; scroll-snap-align: center; }
}

/* Lightbox */
.lightbox {
  width: min(96vw, 1280px);
  max-height: 96vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #0b1330;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(5, 8, 22, .88); }
.lightbox img { display: block; width: 100%; height: auto; max-height: calc(96vh - 52px); object-fit: contain; background: #000; }
.lightbox p { margin: 0; padding: 14px 64px 14px 16px; font-weight: 600; min-height: 52px; }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 16, 41, .72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(10, 16, 41, .92); }
.lb-btn:focus-visible { outline: 3px solid var(--gold); }
.lb-close { right: 10px; bottom: 4px; }
.lb-prev, .lb-next { top: 40%; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* What's new */
.news {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 198, 26, .22) 0, rgba(253, 198, 26, 0) 45%),
    linear-gradient(160deg, var(--night2) 0%, var(--night) 100%);
  box-shadow: 0 18px 40px rgba(10, 16, 41, .3);
}
.news h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 3.6vw, 1.9rem); }
.news > p { margin: 0 0 14px; color: rgba(255, 255, 255, .75); }
.news ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.news li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.news li b { color: var(--gold); }
.news .tag {
  flex: none;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
  font: 800 .68rem/1.4 var(--head);
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* earlier versions: the version number instead of "New" */
.news .tag.old { background: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 560px) {
  .news { padding: 24px 18px; }
  .news li { flex-direction: column; gap: 6px; }
  .news .tag { align-self: flex-start; }
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: 0 6px 18px rgba(14, 26, 58, .08); border: 1px solid rgba(14, 26, 58, .05); }
.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2.5px solid #c98a00;
  border-bottom: 2.5px solid #c98a00;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { outline: 3px solid var(--gold); border-radius: 16px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Final call to action */
.cta {
  max-width: 1180px;
  margin: 88px auto 0;
  padding: 0 24px;
}
.cta-in {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 120%, rgba(253, 198, 26, .38) 0, rgba(253, 198, 26, 0) 50%),
    linear-gradient(150deg, #1e3070 0%, var(--night) 100%);
  box-shadow: 0 20px 44px rgba(10, 16, 41, .3);
}
.cta-in img.app-icon { width: 112px; height: 112px; flex: none; border-radius: 26px; box-shadow: 0 12px 26px rgba(0, 0, 0, .45); }
.cta-in h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.15; }
.cta-in p { margin: 8px 0 18px; color: rgba(255, 255, 255, .82); }
@media (max-width: 700px) {
  .cta { padding: 0 16px; margin-top: 64px; }
  .cta-in { flex-direction: column; text-align: center; padding: 28px 20px; }
  .cta-in .stores { justify-content: center; }
}

/* Footer */
.landing footer { margin-top: 56px; padding-bottom: 40px; }
.landing footer .small { max-width: 760px; margin: 10px auto 0; font-size: .82rem; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store, .gallery img, .faq summary::after { transition: none; }
}
