:root {
  --bg: #05070d;
  --bg-soft: #0b1220;
  --text: #f4f7ff;
  --muted: #b7c2d9;
  --accent: #4de2ff;
  --accent-2: #7afc93;
  --danger: #ff5d73;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
  /* 1 = o‘tkir; >1 — yaqinroq zoom (xiralik bilan); 1.2 ≈ yumshoq yaqinlashtirish */
  --lamp-bg-zoom: 1.2;
  --lamp-bg-pos-x: 56%;
  --lamp-bg-pos-y: 44%;
  --lamp-bg-nudge-x: -5px;
  --lamp-bg-nudge-y: -40px;
  /* Faqat dunyo xaritasi qatlami — rasmlarga ta’sir qilmaydi */
  --lamp-world-overscan: 28%;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  height: -webkit-fill-available;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 20% 10%, #121f37 0%, transparent 35%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body.landing-page {
  overflow: hidden;
  overflow: clip;
  background: #020407;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  min-height: -webkit-fill-available;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar {
  padding: 0.8rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9;
  backdrop-filter: blur(12px);
  background: rgba(2, 7, 18, 0.35);
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand span {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 1.3rem;
  margin-top: 5.2rem;
  min-height: calc(100vh - 6.5rem);
  align-items: center;
}

.lamp-shell {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  isolation: isolate;
}

.lamp-bg,
.lamp-hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  min-height: -webkit-fill-available;
  z-index: 0;
  background-position:
    calc(var(--lamp-bg-pos-x) + var(--lamp-bg-nudge-x))
      calc(var(--lamp-bg-pos-y) + var(--lamp-bg-nudge-y));
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(calc(0.94 * var(--lamp-bg-zoom)));
  transform-origin: calc(var(--lamp-bg-pos-x) + var(--lamp-bg-nudge-x))
    calc(var(--lamp-bg-pos-y) + var(--lamp-bg-nudge-y));
  animation: entBg 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

.lamp-bg {
  /* Rasm yuklanmasa ham pastki gradient qoladi (bg.php 404 bo‘lmasin) */
  background-image:
    url("/assets/bg.php"),
    radial-gradient(
      ellipse 115% 95% at 50% 36%,
      #1a3352 0%,
      #0d1828 48%,
      #020407 100%
    );
  background-position:
    calc(var(--lamp-bg-pos-x) + var(--lamp-bg-nudge-x))
      calc(var(--lamp-bg-pos-y) + var(--lamp-bg-nudge-y)),
    center center;
  background-size: cover, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-color: #020407;
}

.lamp-hero {
  background-image: url("/assets/hero-overlay.php");
}

/* Logistika dunyo xaritasi — fon va odam orasida; faqat shu qatlam masshtablanadi */
.lamp-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1400px;
  opacity: 0;
  animation: entWorld 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.lamp-world__drift {
  position: absolute;
  inset: calc(-1 * var(--lamp-world-overscan));
  width: calc(100% + 2 * var(--lamp-world-overscan));
  height: calc(100% + 2 * var(--lamp-world-overscan));
  transform-style: preserve-3d;
  will-change: transform;
  animation: worldZeroG 36s ease-in-out infinite;
}

.lamp-world__drift .logistics-world-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.lamp-world__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 95% 80% at 50% 40%, rgba(2, 4, 7, 0.05) 0%, rgba(2, 4, 7, 0.22) 78%, rgba(2, 4, 7, 0.38) 100%),
    linear-gradient(180deg, rgba(2, 4, 7, 0.2) 0%, transparent 18%, transparent 88%, rgba(2, 4, 7, 0.28) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.lamp-world .lw-graticule {
  animation: worldGridPulse 8s ease-in-out infinite;
}

.lamp-world .logistics-route {
  stroke-dasharray: 10 16;
  animation:
    routeFlow 14s linear infinite,
    routeGlowPulse 3.2s ease-in-out infinite;
}

.lamp-world .logistics-route:nth-child(1) { animation-delay: 0s, 0s; }
.lamp-world .logistics-route:nth-child(2) { animation-delay: 0s, 0.4s; }
.lamp-world .logistics-route:nth-child(3) { animation-delay: 0s, 0.85s; }
.lamp-world .logistics-route:nth-child(4) { animation-delay: 0s, 1.2s; }
.lamp-world .logistics-route:nth-child(5) { animation-delay: 0s, 1.65s; }
.lamp-world .logistics-route:nth-child(6) { animation-delay: 0s, 2.1s; }
.lamp-world .logistics-route:nth-child(7) { animation-delay: 0s, 2.55s; }
.lamp-world .logistics-route:nth-child(8) { animation-delay: 0s, 0.25s; }
.lamp-world .logistics-route:nth-child(9) { animation-delay: 0s, 1.45s; }
.lamp-world .logistics-route:nth-child(10) { animation-delay: 0s, 2.85s; }
.lamp-world .logistics-route:nth-child(11) { animation-delay: 0s, 3.2s; }
.lamp-world .logistics-route:nth-child(12) { animation-delay: 0s, 3.55s; }

.lamp-world .logistics-hub {
  fill: #a5f3fc;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 0.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: hubGlowPulse 4.5s ease-in-out infinite;
}

.lamp-world .logistics-hub:nth-child(1) { animation-delay: 0.1s; }
.lamp-world .logistics-hub:nth-child(2) { animation-delay: 0.55s; }
.lamp-world .logistics-hub:nth-child(3) { animation-delay: 1s; }
.lamp-world .logistics-hub:nth-child(4) { animation-delay: 1.45s; }
.lamp-world .logistics-hub:nth-child(5) { animation-delay: 1.9s; }
.lamp-world .logistics-hub:nth-child(6) { animation-delay: 2.35s; }
.lamp-world .logistics-hub:nth-child(7) { animation-delay: 2.8s; }

.lamp-world .lw-lands,
.lamp-world .lw-land {
  animation: landBreath 12s ease-in-out infinite;
}

@keyframes entWorld {
  to {
    opacity: 1;
  }
}

@keyframes worldZeroG {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.02);
  }
  20% {
    transform: translate3d(2.2%, -1.8%, 28px) rotateX(2.4deg) rotateY(-1.8deg) rotateZ(0.7deg) scale(1.05);
  }
  45% {
    transform: translate3d(-1.5%, 2.4%, -22px) rotateX(-1.6deg) rotateY(2.2deg) rotateZ(-0.55deg) scale(1.03);
  }
  70% {
    transform: translate3d(1.8%, 1.2%, 18px) rotateX(1.2deg) rotateY(-1.2deg) rotateZ(0.45deg) scale(1.06);
  }
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -260;
  }
}

@keyframes routeGlowPulse {
  0%,
  100% {
    opacity: 0.18;
    stroke-width: 1.1;
    filter: drop-shadow(0 0 1px rgba(77, 226, 255, 0.25));
  }
  45% {
    opacity: 0.95;
    stroke-width: 1.65;
    filter: drop-shadow(0 0 6px rgba(77, 226, 255, 0.75)) drop-shadow(0 0 14px rgba(34, 211, 238, 0.35));
  }
  55% {
    opacity: 0.35;
    stroke-width: 1.25;
    filter: drop-shadow(0 0 3px rgba(77, 226, 255, 0.4));
  }
}

@keyframes hubGlowPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.45);
  }
}

@keyframes worldGridPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@keyframes landBreath {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.lamp-beams {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  min-height: -webkit-fill-available;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  animation: entFade 0.95s ease-out 0.12s forwards;
}

.lamp-beam {
  position: absolute;
  top: -10%;
  bottom: 15%;
  width: min(55vw, 320px);
  filter: blur(36px);
  opacity: 0.55;
  animation: entBeam 1.1s ease-out 0.35s both;
}

.lamp-beam--left {
  left: -8%;
  background: linear-gradient(
    105deg,
    rgba(0, 229, 255, 0.55) 0%,
    rgba(0, 229, 255, 0.12) 45%,
    transparent 100%
  );
}

.lamp-beam--right {
  right: -8%;
  background: linear-gradient(
    255deg,
    rgba(0, 229, 255, 0.55) 0%,
    rgba(0, 229, 255, 0.12) 45%,
    transparent 100%
  );
}

.lamp-glow-line {
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(92vw, 420px);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.95), transparent);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.65);
  opacity: 0;
  animation:
    entGlowLine 0.75s ease-out 0.42s forwards,
    lampLinePulse 2.8s ease-in-out 1.05s infinite;
}

@keyframes lampLinePulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) scaleX(0.92);
  }
  50% {
    opacity: 0.95;
    transform: translateX(-50%) scaleX(1);
  }
}

.lamp-vignette {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  min-height: -webkit-fill-available;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 75% at 50% 50%, transparent 25%, rgba(2, 4, 7, 0.45) 100%),
    linear-gradient(180deg, rgba(2, 4, 7, 0.35) 0%, transparent 28%, transparent 72%, rgba(2, 4, 7, 0.55) 100%);
  opacity: 0;
  animation: entFade 1s ease-out 0.2s forwards;
}

@keyframes entBg {
  to {
    opacity: 1;
    transform: scale(var(--lamp-bg-zoom));
  }
}

@keyframes entFade {
  to {
    opacity: 1;
  }
}

@keyframes entBeam {
  from {
    opacity: 0;
    filter: blur(48px);
  }
  to {
    opacity: 0.55;
    filter: blur(36px);
  }
}

@keyframes entGlowLine {
  from {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.4);
  }
  to {
    opacity: 0.85;
    transform: translateX(-50%) scaleX(1);
  }
}

.hero-stack {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 0;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: max(1rem, env(safe-area-inset-top)) 1rem 0;
}

.hero-top {
  flex: 0 0 auto;
  padding-top: 0.5rem;
  width: 100%;
}

.hero-sub {
  margin: 0.65rem 0 0;
  color: rgba(244, 247, 255, 0.82);
  font-size: clamp(0.85rem, 3.2vw, 0.98rem);
  line-height: 1.45;
  max-width: 34ch;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(1.1rem);
  animation: entSlideUp 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.52s forwards;
}

.hero-bottom {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

.cta-hint {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(244, 247, 255, 0.72);
  opacity: 0;
  transform: translateY(0.75rem);
  animation: entSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

.cta-hint-arrow {
  transform: rotate(-45deg);
  opacity: 0.9;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(77, 226, 255, 0.45);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.35rem, 5.5vw, 2.15rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f7ff;
}

.hero-title {
  opacity: 0;
  transform: translateY(2.8rem);
  animation: heroTitleIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.hero-title-accent {
  color: #5ee7ff;
  text-shadow: 0 0 28px rgba(94, 231, 255, 0.35);
}

@keyframes heroTitleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes entSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lead {
  color: var(--muted);
  line-height: 1.5;
  max-width: 620px;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-stats div {
  min-width: 120px;
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
}

.hero-stats span {
  font-size: 0.84rem;
  color: var(--muted);
}

.glass-card,
.glass-subcard {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-subcard {
  padding: 1.2rem;
}

.form {
  display: grid;
  gap: 0.56rem;
}

.form label {
  display: grid;
  gap: 0.45rem;
  color: #e4ecff;
  font-size: 0.9rem;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.64rem 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(77, 226, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(77, 226, 255, 0.2);
}

/* Modal lead form — “spotlight” input (React/GSAP komponentiga o‘xshash, vanilla) */
.form--modal {
  gap: 1rem;
  margin-top: 1.1rem;
}

.modal-panel .alert {
  margin-top: 0;
  margin-bottom: 0.25rem;
  text-align: left;
}

.modal-panel.glass-subcard {
  padding: 1.05rem 1rem 1.15rem;
  border-radius: 20px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(165, 243, 252, 0.08) 42%,
    rgba(125, 211, 252, 0.05) 78%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 15, 30, 0.1);
  backdrop-filter: blur(28px) saturate(155%);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
}

.modal-header {
  text-align: center;
  padding-bottom: 0.85rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  margin: 0;
  font-size: clamp(0.98rem, 3.6vw, 1.18rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4f9ff;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .modal-title {
    background: linear-gradient(105deg, #ffffff 0%, #dbeafe 45%, #7ee8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.modal-lead {
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: clamp(0.78rem, 2.8vw, 0.86rem);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(196, 212, 236, 0.82);
  max-width: 36ch;
  margin-inline: auto;
}

.modal-panel--success .modal-header--success {
  border-bottom: none;
  padding-bottom: 0.35rem;
  margin-bottom: 0;
}

.modal-lead--success {
  color: rgba(210, 245, 255, 0.92);
  max-width: 38ch;
}

/* Success modal: zarralar + check ikon (3D Kamaz olib tashlangan) */
#successModal .modal-panel--success {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.success-burst-host {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
  border-radius: inherit;
}

#successModal:not(.success-phase--celebrate) .success-burst-host {
  visibility: hidden;
}

#successModal.success-phase--celebrate .success-burst-host {
  visibility: visible;
}

/* Success ikon maydoni (oldingi Kamaz viewer o‘rniga) */
.success-stage {
  position: relative;
  width: 100%;
  margin: 0 auto 0.9rem;
  border-radius: 16px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-stage .success-post-drive {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 100%;
}

/* Kartochka ichidan chiqayotgandek — overlay */
.success-post-drive {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.82);
  overflow: visible;
  pointer-events: none;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.success-post-drive__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: 100%;
}

#successModal.success-phase--celebrate .success-post-drive:not([hidden]) {
  opacity: 1;
  transform: scale(1);
  pointer-events: none;
}

/* Katta success ikonka + burchak yulduzlari (oldingi dizayn) */
.success-icon-wrap--post {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  animation: successIconPop 0.72s cubic-bezier(0.34, 1.45, 0.64, 1) 0.08s both;
}

.success-icon-wrap--post .success-icon-svg {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 28px rgba(34, 211, 238, 0.42));
}

.success-icon-mini {
  position: absolute;
  font-size: 1.05rem;
  line-height: 1;
  color: #fde047;
  text-shadow:
    0 0 14px rgba(250, 204, 21, 0.92),
    0 0 2px rgba(254, 249, 195, 0.95);
  animation: successMiniTwinkle 2.2s ease-in-out infinite;
  pointer-events: none;
}

.success-icon-mini--tl {
  top: -4px;
  left: 0;
  animation-delay: 0s;
}

.success-icon-mini--tr {
  top: 0;
  right: -2px;
  animation-delay: 0.35s;
}

.success-icon-mini--bl {
  bottom: 2px;
  left: -4px;
  animation-delay: 0.65s;
}

.success-icon-mini--br {
  bottom: -2px;
  right: -2px;
  animation-delay: 0.18s;
}

/* O‘rta yulduzchalar */
.success-mid-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
}

.success-mid-stars__s {
  font-size: 1.15rem;
  line-height: 1;
  color: #fef9c3;
  text-shadow:
    0 0 16px rgba(253, 224, 71, 0.95),
    0 0 4px rgba(250, 204, 21, 0.85);
  animation: successMidStarPulse 1.8s ease-in-out infinite;
}

.success-mid-stars__s:nth-child(1) {
  animation-delay: 0s;
}

.success-mid-stars__s:nth-child(2) {
  animation-delay: 0.25s;
}

.success-mid-stars__s:nth-child(3) {
  animation-delay: 0.5s;
}

.success-mid-stars__s--lg {
  font-size: 1.45rem;
}

@keyframes successIconPop {
  0% {
    opacity: 0;
    transform: scale(0.42) rotate(-12deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes successMiniTwinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes successMidStarPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

/* Zarralar (pastki burchaklar) */
.success-spark {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
  filter: blur(var(--blur, 0px));
  backface-visibility: hidden;
}

.success-spark--corner.success-spark--bl {
  left: max(-2vw, -12px);
  bottom: max(-3vh, -14px);
  top: auto;
  right: auto;
  transform-origin: 10% 95%;
}

.success-spark--corner.success-spark--br {
  right: max(-2vw, -12px);
  bottom: max(-3vh, -14px);
  top: auto;
  left: auto;
  transform-origin: 90% 95%;
}

.success-spark--dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, rgba(255, 255, 255, 0.9) 20%, transparent 42%),
    radial-gradient(circle at 28% 30%, #e0f2fe 0%, #67e8f9 55%, rgba(8, 145, 178, 0.25) 100%);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(125, 211, 252, 0.8);
}

.success-spark--diamond {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(148deg, #ffffff 0%, #cffafe 28%, #22d3ee 62%, rgba(8, 145, 178, 0.5) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 12px rgba(34, 211, 238, 0.9);
}

.success-spark--star {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ffffff 0%, #fef08a 22%, #fbbf24 58%, rgba(180, 83, 9, 0.35) 100%);
  box-shadow:
    0 0 10px rgba(253, 224, 71, 1),
    0 0 22px rgba(251, 191, 36, 0.5);
}

.success-spark--shard {
  width: 4px;
  height: 20px;
  border-radius: 40%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    #bae6fd 40%,
    #38bdf8 70%,
    rgba(56, 189, 248, 0.06) 100%
  );
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.75);
}

.success-spark--flake {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, #fef9c3 0%, #fde047 45%, #eab308 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 10px rgba(253, 224, 71, 0.85);
}

.success-spark--chip {
  width: 7px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(175deg, #fffbeb 0%, #fcd34d 42%, #b45309 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

#successModal.success-phase--celebrate .success-spark--corner {
  animation: successBurstCorner var(--dur, 2.8s) cubic-bezier(0.14, 0.68, 0.18, 1) var(--delay, 0s) both;
}

@keyframes successBurstCorner {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(var(--s0));
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  78% {
    opacity: 0.92;
  }
  100% {
    transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot-end)) scale(var(--s1));
    opacity: 0;
  }
}

.kamaz-viewer-canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.kamaz-viewer-fallback {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(196, 212, 236, 0.88);
}

.field.field--modal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  text-align: left;
}

.field.field--modal > .field-label-text {
  display: block;
  padding-left: 0.05rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(180, 204, 236, 0.88);
}

.input-glow-field {
  --gx: 50%;
  --gy: 50%;
  --glow-r: 0px;
  position: relative;
  display: block;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  transition: box-shadow 0.25s ease;
}

.input-glow-field:focus-within {
  box-shadow: 0 0 0 1px rgba(77, 226, 255, 0.35), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.input-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.22s ease;
  background: radial-gradient(
    var(--glow-r) circle at var(--gx) var(--gy),
    rgba(59, 130, 246, 0.5),
    rgba(77, 226, 255, 0.22) 38%,
    transparent 68%
  );
}

.input-glow-field--active .input-glow {
  opacity: 1;
}

input.input-field--modal {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  background: rgba(5, 9, 20, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: #f4f7ff;
  font-size: 1rem;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input.input-field--modal::placeholder {
  color: rgba(170, 188, 218, 0.72);
}

input.input-field--modal:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

input.input-field--modal:focus {
  border-color: rgba(77, 226, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(77, 226, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  outline: none;
}

.modal-submit-wrap {
  margin-top: 0.35rem;
  width: 100%;
}

.primary-btn,
.ghost-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.64rem 0.95rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.cta-main {
  margin-top: 0;
  border-radius: 999px;
  padding: 1rem 2rem;
  width: min(100%, 340px);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  color: #f4f7ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 228, 179, 0.12) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(1.6rem) scale(0.96);
  animation: entCta 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.78s forwards;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.cta-main:hover {
  transform: translateY(-2px) scale(1);
  border-color: rgba(94, 231, 255, 0.55);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(94, 231, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cta-main:active {
  transform: translateY(0) scale(0.99);
}

/* Modal “Yuborish” — hero “Ro'yxatdan o'tish” bilan bir xil stil; kirish animatsiyasi yo‘q */
.cta-main.cta-main--modal {
  display: block;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  opacity: 1;
  transform: none;
  animation: none;
}

.cta-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
}

.cta-main.cta-main--modal.cta-with-icon {
  display: inline-flex;
}

.cta-with-icon__svg {
  flex-shrink: 0;
  opacity: 0.92;
}

.cta-telegram-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  box-sizing: border-box;
}

.cta-telegram-link__icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.cta-telegram-link span {
  white-space: nowrap;
}

.cta-telegram-link:focus-visible {
  outline: none;
  border-color: rgba(94, 231, 255, 0.75);
  box-shadow:
    0 0 0 3px rgba(94, 231, 255, 0.35),
    0 16px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

@keyframes entCta {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.primary-btn {
  background: linear-gradient(100deg, var(--accent), #8df5ff);
  color: #05131c;
}

.ghost-btn {
  color: #ebf6ff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.ghost-btn.block {
  width: 100%;
}

.alert {
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  margin: 0.6rem 0;
  font-size: 0.9rem;
}

.alert.success {
  border: 1px solid rgba(122, 252, 147, 0.45);
  background: rgba(122, 252, 147, 0.14);
}

.alert.error {
  border: 1px solid rgba(255, 93, 115, 0.45);
  background: rgba(255, 93, 115, 0.13);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.65rem, env(safe-area-inset-top)) 1rem max(0.65rem, env(safe-area-inset-bottom));
  background: rgba(0, 4, 12, 0.52);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.modal-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  -webkit-filter: blur(56px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.modal-blob--1 {
  width: min(78vmin, 460px);
  height: min(78vmin, 460px);
  left: -14%;
  top: 8%;
  background: radial-gradient(
    circle at 42% 38%,
    rgba(56, 232, 255, 0.92) 0%,
    rgba(34, 211, 238, 0.55) 38%,
    rgba(6, 182, 212, 0.28) 58%,
    transparent 78%
  );
  opacity: 0.88;
  animation: modalBlobDrift1 4.8s ease-in-out infinite;
}

.modal-blob--2 {
  width: min(70vmin, 400px);
  height: min(70vmin, 400px);
  right: -12%;
  bottom: 12%;
  background: radial-gradient(
    circle at 50% 48%,
    rgba(56, 189, 248, 0.82) 0%,
    rgba(14, 165, 233, 0.48) 42%,
    rgba(2, 132, 199, 0.22) 62%,
    transparent 78%
  );
  opacity: 0.78;
  animation: modalBlobDrift2 5.6s ease-in-out infinite;
}

.modal-blob--3 {
  width: min(95vmin, 540px);
  height: min(95vmin, 540px);
  left: 12%;
  bottom: -18%;
  background: radial-gradient(
    circle at 48% 32%,
    rgba(125, 211, 252, 0.58) 0%,
    rgba(56, 189, 248, 0.36) 40%,
    rgba(14, 116, 144, 0.2) 58%,
    transparent 74%
  );
  opacity: 0.72;
  animation: modalBlobDrift3 5.2s ease-in-out infinite;
}

.modal-blob--4 {
  width: min(58vmin, 340px);
  height: min(58vmin, 340px);
  right: 22%;
  top: -8%;
  background: radial-gradient(
    circle at 45% 55%,
    rgba(96, 165, 250, 0.72) 0%,
    rgba(59, 130, 246, 0.42) 48%,
    rgba(29, 78, 216, 0.18) 68%,
    transparent 82%
  );
  opacity: 0.68;
  animation: modalBlobDrift4 6.4s ease-in-out infinite;
}

.modal-overlay:not(.open) .modal-blob {
  animation-play-state: paused;
}

@keyframes modalBlobDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.72;
  }
  35% {
    transform: translate(14%, 18%) scale(1.14);
    opacity: 0.95;
  }
  68% {
    transform: translate(-10%, 24%) scale(0.9);
    opacity: 0.62;
  }
}

@keyframes modalBlobDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1.06);
    opacity: 0.62;
  }
  32% {
    transform: translate(-22%, -14%) scale(0.88);
    opacity: 0.92;
  }
  62% {
    transform: translate(12%, 14%) scale(1.12);
    opacity: 0.7;
  }
}

@keyframes modalBlobDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.58;
  }
  48% {
    transform: translate(-14%, -22%) scale(1.18);
    opacity: 0.88;
  }
}

@keyframes modalBlobDrift4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1.02);
    opacity: 0.55;
  }
  28% {
    transform: translate(16%, 20%) scale(1.16);
    opacity: 0.85;
  }
  58% {
    transform: translate(-12%, 8%) scale(0.88);
    opacity: 0.62;
  }
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(520px, calc(100vw - 2rem));
  max-height: min(88vh, calc(100dvh - 2rem));
  margin-inline: auto;
  overflow-y: auto;
  transform: scale(0.96) translateY(0.75rem);
  opacity: 0;
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
  transition-delay: 0s;
}

.modal-overlay.open .modal-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition-delay: 0.06s;
}

.auth-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.admin-page {
  display: grid;
  place-items: start center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

/* Admin: sidebar + asosiy kontent */
.admin-page.admin-page--app {
  display: block;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.admin-app {
  display: flex;
  align-items: stretch;
  min-height: 100dvh;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.98) 0%, rgba(4, 10, 22, 0.96) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.admin-sidebar__brand {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar__brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.admin-sidebar__brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.admin-sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar__link {
  display: block;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(228, 236, 255, 0.88);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.admin-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-sidebar__link.is-active {
  background: rgba(77, 226, 255, 0.14);
  color: #b8f0ff;
  border: 1px solid rgba(77, 226, 255, 0.28);
}

.admin-sidebar__link--muted {
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--muted);
}

.admin-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: max(0.85rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.admin-main__stack {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-page-head {
  padding: 1.1rem 1.15rem;
}

.admin-page-head h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
}

.admin-page-lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 62ch;
}

.admin-form-card {
  padding: 1.1rem 1.15rem;
}

.admin-telegram-form textarea {
  width: 100%;
  min-height: 6rem;
  resize: vertical;
  font-family: inherit;
}

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.form-hint code {
  font-size: 0.78rem;
  word-break: break-all;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .admin-app {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .admin-sidebar__brand {
    flex: 1 1 auto;
    border-bottom: none;
    padding-bottom: 0;
  }

  .admin-sidebar__nav {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-sidebar__footer {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    border-top: none;
    padding-top: 0;
    gap: 0.5rem;
  }
}

.auth-card {
  width: min(480px, calc(100% - 2rem));
}

.admin-page .container {
  width: min(1180px, calc(100% - 2rem));
  max-width: 100%;
  margin-block: 0 1.25rem;
  margin-inline: auto;
  min-width: 0;
}

.admin-top {
  padding: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.admin-page h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 4.2vw, 1.75rem);
  line-height: 1.2;
}

.admin-page .admin-top p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.search-form {
  display: flex;
  gap: 0.45rem;
  flex: 1 1 220px;
  min-width: 0;
  align-items: stretch;
}

.search-form input {
  min-width: 0;
  flex: 1 1 auto;
}

.table-wrap {
  margin-top: 1rem;
  padding: 0.8rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table {
  min-width: 860px;
}

th,
td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

th {
  font-size: 0.84rem;
  color: #c7d7ef;
}

td {
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .hero-stack {
    max-width: 560px;
  }

  .modal-panel {
    max-width: min(560px, calc(100vw - 2rem));
  }

  h1 {
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  }
}

@media (max-width: 940px) {
  :root {
    --lamp-world-overscan: 38%;
  }

  body.landing-page {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .hero-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    margin-top: 0;
    padding-bottom: max(1.1rem, calc(env(safe-area-inset-bottom) + 0.35rem));
    padding-left: 1rem;
    padding-right: 1rem;
    background: linear-gradient(
      180deg,
      rgba(2, 4, 7, 0) 0%,
      rgba(2, 4, 7, 0.55) 38%,
      rgba(2, 4, 7, 0.82) 100%
    );
  }

  .hero-stack {
    padding-bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-top {
    padding-top: calc(0.5rem + 20px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 4.5rem;
    margin-bottom: 0.8rem;
  }

  .admin-top {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .search-form {
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
  }

  .search-form .ghost-btn {
    width: 100%;
  }

  .admin-actions .primary-btn {
    width: 100%;
    justify-content: center;
  }

  .search-form input {
    width: 100%;
  }
}

/* Admin: tor ekranda jadvalni kartochka ko‘rinishi — gorizontal scroll yo‘q */
@media (max-width: 640px) {
  .table-wrap {
    overflow-x: visible;
    padding: 0.65rem;
  }

  .admin-table {
    min-width: 0;
    width: 100%;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody tr {
    display: block;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 8, 22, 0.35);
  }

  .admin-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .admin-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    text-align: right;
    word-break: break-word;
  }

  .admin-table tbody td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .admin-table tbody td:first-child {
    padding-top: 0;
  }

  .admin-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8b8d4;
    text-align: left;
    flex: 0 0 auto;
    max-width: 42%;
  }

  .admin-table .table-empty {
    display: block;
    text-align: center;
    padding: 2rem 1rem;
    border: none;
    background: transparent;
  }

  .admin-table .table-empty::before {
    display: none;
  }

  .admin-table tbody tr.admin-table-empty-row {
    margin-bottom: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .admin-table-empty-row td {
    border-bottom: none;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lamp-bg,
  .lamp-hero,
  .lamp-world,
  .lamp-world__drift,
  .lamp-world .logistics-route,
  .lamp-world .logistics-hub,
  .lamp-world .lw-graticule,
  .lamp-world .lw-lands,
  .lamp-beams,
  .lamp-beam,
  .lamp-vignette,
  .lamp-glow-line,
  .hero-title,
  .hero-sub,
  .cta-main,
  .cta-hint {
    animation: none !important;
  }

  .lamp-bg,
  .lamp-hero,
  .lamp-world,
  .lamp-beams,
  .lamp-vignette {
    opacity: 1 !important;
    transform: none !important;
  }

  .lamp-bg,
  .lamp-hero {
    transform: scale(var(--lamp-bg-zoom)) !important;
  }

  .lamp-world .logistics-route {
    opacity: 0.55 !important;
  }

  .lamp-world .logistics-hub {
    opacity: 0.75 !important;
    transform: none !important;
  }

  .lamp-beam {
    opacity: 0.55 !important;
    filter: blur(36px) !important;
  }

  .lamp-glow-line {
    opacity: 0.85 !important;
    transform: translateX(-50%) !important;
  }

  .hero-title,
  .hero-sub,
  .cta-main,
  .cta-hint {
    opacity: 1 !important;
    transform: none !important;
  }

  .modal-overlay,
  .modal-panel {
    transition: none !important;
  }

  .modal-overlay.open .modal-panel {
    transition-delay: 0s !important;
  }

  .input-glow {
    transition: none !important;
    opacity: 0 !important;
  }

  .modal-blob {
    animation: none !important;
    opacity: 0.42 !important;
    transform: none !important;
  }

  #successModal.success-phase--celebrate .success-spark--corner {
    animation: none !important;
    opacity: 0 !important;
  }

  .success-post-drive {
    transform: none !important;
  }

  #successModal.success-phase--celebrate .success-post-drive:not([hidden]) {
    transform: none !important;
  }

  .success-icon-wrap--post {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .success-icon-mini,
  .success-mid-stars__s {
    animation: none !important;
    opacity: 0.9 !important;
    transform: none !important;
  }

}

/* ——— Ticket landing: ticket modal ——— */
.modal-panel--ticket {
  max-width: min(500px, calc(100vw - 2rem));
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 1.25rem));
  padding: 1.25rem 1.15rem calc(2.35rem + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ticket-card {
  position: relative;
  text-align: left;
  max-width: 100%;
  overflow-x: hidden;
}

.ticket-card__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ticket-card__tear {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100%;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 5px,
    rgba(255, 255, 255, 0.22) 5px,
    rgba(255, 255, 255, 0.22) 7px
  );
  opacity: 0.55;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 50%, #000 55%, transparent 72%);
}

.ticket-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.ticket-card__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.95);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 226, 255, 0.35);
  background: rgba(6, 22, 42, 0.45);
}

.ticket-card__brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(196, 212, 236, 0.72);
  max-width: 14rem;
  text-align: right;
}

.ticket-card__code-wrap {
  margin-bottom: 0.65rem;
}

.ticket-card__code-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(183, 194, 217, 0.75);
  margin-bottom: 0.35rem;
}

.ticket-card__code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f0fdfa;
  text-shadow: 0 0 24px rgba(77, 226, 255, 0.35);
  word-break: break-all;
}

.ticket-card__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  margin: 0.65rem 0 0.85rem;
}

.ticket-card__qr-host {
  display: inline-block;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  line-height: 0;
}

.ticket-card__qr-host img,
.ticket-card__qr-host canvas {
  display: block;
  border-radius: 6px;
}

.ticket-card__qr-caption {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(183, 194, 217, 0.78);
}

.ticket-card__meta {
  margin: 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-card__meta-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
}

.ticket-card__meta-row dt {
  margin: 0;
  font-weight: 600;
  color: rgba(155, 168, 196, 0.85);
}

.ticket-card__meta-row dd {
  margin: 0;
  font-weight: 600;
  color: rgba(236, 242, 255, 0.96);
}

.ticket-card__meta-row--dim dd {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(165, 180, 210, 0.72);
}

.ticket-card__hint {
  margin: 1rem 0 0;
  padding-bottom: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(196, 212, 236, 0.88);
  text-align: center;
}

.modal-submit-wrap--ticket {
  margin-top: 0;
}

.modal-submit-wrap--ticket-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Tugmalar paneldan chiqib ketmasin (inline-flex + width:100% ba’zi mobil brauzerlarda buziladi) */
.modal-panel--ticket .cta-main.cta-main--modal {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.modal-panel--ticket .cta-main.cta-main--modal.cta-with-icon {
  display: flex;
}

.cta-main--ticket-download {
  border-color: rgba(94, 231, 255, 0.42);
  background: linear-gradient(
    145deg,
    rgba(77, 226, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.1) 48%,
    rgba(125, 211, 252, 0.12) 100%
  );
}

.cta-main--ticket-download:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Admin: ticket QR tekshirish */
.admin-ticket-verify {
  padding: 1.1rem 1.15rem;
}

.admin-ticket-verify__h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.admin-ticket-verify__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 900px) {
  .admin-ticket-verify__grid {
    grid-template-columns: 1fr;
  }
}

.admin-ticket-verify__reader {
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-ticket-verify__reader video {
  border-radius: 12px;
}

.admin-ticket-verify__status {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
  min-height: 2.6em;
}

.admin-ticket-verify__cam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.admin-ticket-verify__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(228, 236, 255, 0.9);
}

.admin-ticket-verify__input {
  width: 100%;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
}

.admin-ticket-verify__input:focus {
  outline: none;
  border-color: rgba(77, 226, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(77, 226, 255, 0.15);
}

.admin-ticket-verify__result {
  padding: 1.1rem 1.15rem;
}

.admin-ticket-verify__msg {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-ticket-verify__msg--bad {
  color: #ffb4c0;
}

.admin-ticket-verify__meta {
  margin: 0.5rem 0 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.admin-ticket-verify__meta code {
  font-size: 0.82rem;
  color: #dbeafe;
}

.admin-ticket-verify__ok-badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0c1a12;
  background: linear-gradient(120deg, #7afc93, #4de2ff);
}

.admin-ticket-verify__dl {
  margin: 0;
}

.admin-ticket-verify__dl-row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}

.admin-ticket-verify__dl-row:last-child {
  border-bottom: 0;
}

.admin-ticket-verify__dl-row dt {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.admin-ticket-verify__dl-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

@media (max-width: 520px) {
  .admin-ticket-verify__dl-row {
    grid-template-columns: 1fr;
  }
}
