/* ── World / delivery ── */
#world {
  background: var(--ink);
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

/* Subtle radial light behind map */
#world::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(255,255,255,0.04), transparent 70%);
  pointer-events: none;
}

.world-header {
  margin-bottom: clamp(36px, 4.5vw, 64px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.world-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--white);
}

.world-sub {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--stone);
  max-width: 260px;
  line-height: 1.6;
  padding-bottom: 12px;
}

/* ── Map ── */
.world-map-wrap {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1;
  aspect-ratio: 1600 / 595;
}

.world-map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
  border-radius: 18px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

#world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Origin point (Aktobe) */
.origin-halo {
  fill: url(#origin-glow);
  transform-box: fill-box;
  transform-origin: center;
  animation: origin-pulse 3s ease-in-out infinite;
}

.origin-core {
  fill: var(--ink);
}

.origin-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-out 3s linear infinite;
}

@keyframes origin-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%      { transform: scale(1.3); opacity: 1;   }
}

@keyframes ring-out {
  0%   { transform: scale(0.4); opacity: 0.7; }
  100% { transform: scale(3);   opacity: 0;   }
}

/* Destination cities */
.city-dot {
  fill: var(--ink);
}

.city-pulse {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
  animation: city-pulse 2.6s ease-out infinite;
}

@keyframes city-pulse {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(3);   opacity: 0;   }
}

/* Route lines (drawn JS-side) */
.route {
  fill: none;
  stroke: rgba(20,20,18,0.65);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  opacity: 0;
  animation: route-in 1.2s var(--ease-out) forwards;
}

@keyframes route-in {
  0%   { opacity: 0; stroke-dashoffset: 600; }
  100% { opacity: 0.85; stroke-dashoffset: 0;   }
}

/* Floating city labels */
.world-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.city-label {
  position: absolute;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20,20,18,0.8);
  white-space: nowrap;
  transform: translate(-50%, -180%);
  opacity: 0;
  animation: label-in 0.6s var(--ease-out) forwards;
}

.city-label.origin {
  color: var(--ink);
  font-size: 11px;
  transform: translate(-50%, -200%);
}

.city-label::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 1px;
  height: 8px;
  background: rgba(20,20,18,0.5);
  transform: translateX(-50%);
}

.city-label.origin::before {
  background: var(--ink);
  height: 12px;
  bottom: -14px;
}

@keyframes label-in {
  to { opacity: 1; }
}

/* ── Payment cards ── */
.world-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  margin: clamp(40px, 5vw, 70px) auto 0;
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.pay-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: clamp(36px, 4vw, 56px) clamp(24px, 2.4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  overflow: hidden;
  transition: transform 0.5s var(--ease-spring),
              border-color 0.5s var(--ease-out),
              background 0.5s var(--ease-out);
}

.pay-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.pay-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
}

.pay-card:hover::before { opacity: 1; }

.pay-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-card-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.pay-card-flag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
}

.pay-card-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pay-dot {
  display: inline-block;
  margin-left: 2px;
  font-size: 0.5em;
  vertical-align: 0.6em;
  font-style: normal;
}

.pay-italic {
  font-style: italic;
  opacity: 0.85;
}

.pay-card-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
}

.pay-card-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--stone);
}

/* ── Stats ── */
.world-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 50px);
  margin: clamp(36px, 4.5vw, 64px) auto 0;
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 880px;
  position: relative;
  z-index: 2;
}

#world .stat-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#world .stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 6vw, 88px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

#world .stat-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .world-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .world-pay {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .world-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .city-label { font-size: 8px; }
  .city-label.origin { font-size: 9px; }
}
