/* Routes — remade Shuttle + Summer Sale dual band */

.rs-dual {
  background: #050b1f !important;
}

/* Hide the faint global shuttle photo behind the dual panel —
   each column now carries its own story */
.rs-dual > .absolute.inset-0 > img {
  opacity: 0.12 !important;
  filter: saturate(0.7) brightness(0.7);
}

.rs-shuttle {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 80% 32%, rgba(255, 122, 26, 0.15), transparent 62%),
    radial-gradient(ellipse 80% 70% at 6% 16%, rgba(56, 189, 248, 0.13), transparent 60%),
    linear-gradient(180deg, rgba(5, 11, 31, 0.25), rgba(5, 11, 31, 0.62));
}

/* Faint map grid wash behind the copy */
.rs-shuttle::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 45%, #000, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 45%, #000, transparent 76%);
}
.rs-shuttle > * {
  position: relative;
  z-index: 1;
}

.rs-live-chip {
  border-color: rgba(52, 211, 153, 0.35) !important;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12), 0 8px 24px -12px rgba(16, 185, 129, 0.45);
}

/* Pulsing live dot before the chip text via ::before */
.rs-live-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: rs-pulse 1.8s ease-out infinite;
}

@keyframes rs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.rs-sale {
  isolation: isolate;
}

.rs-sale-img {
  opacity: 1 !important;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  object-position: center 45%;
}
.rs-sale:hover .rs-sale-img {
  transform: scale(1.1);
}

.rs-sale-scrim {
  background:
    linear-gradient(
      115deg,
      rgba(12, 6, 2, 0.92) 0%,
      rgba(12, 6, 2, 0.72) 38%,
      rgba(255, 122, 26, 0.28) 78%,
      rgba(255, 122, 26, 0.12) 100%
    ),
    linear-gradient(to top, rgba(5, 11, 31, 0.55), transparent 55%);
}

/* Glow underline under sale headline */
.rs-sale h2 {
  text-shadow: 0 10px 40px rgba(255, 122, 26, 0.25);
}

/* Promo code button polish */
.rs-sale button[type="button"] {
  border-radius: 1rem !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
}
.rs-sale button[type="button"]:hover {
  border-color: rgba(255, 122, 26, 0.55) !important;
  background: rgba(0, 0, 0, 0.55) !important;
}

/* ============================================================
   Shuttle column — live tracking experience
   ============================================================ */

.rs-sh-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 1280px) {
  .rs-sh-grid {
    grid-template-columns: minmax(0, 1fr) 216px;
    gap: 2rem;
  }
}
@media (min-width: 1440px) {
  .rs-sh-grid {
    grid-template-columns: minmax(0, 1fr) 232px;
    gap: 2.5rem;
  }
}

/* ---------- copy ---------- */

.rs-sh-title {
  font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  line-height: 1.03;
}
.rs-sh-live-word {
  position: relative;
  color: #ff8a3a;
  white-space: nowrap;
}
.rs-sh-live-word::after {
  content: "";
  position: absolute;
  left: 0.3em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.13em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.95), rgba(255, 178, 122, 0.12));
}

.rs-sh-lede {
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.rs-sh-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.7rem;
  padding: 0;
  list-style: none;
}
.rs-sh-feat {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(6px);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
}
.rs-sh-feat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 26, 0.42);
  background: rgba(255, 122, 26, 0.09);
}
.rs-sh-feat-ic {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.62rem;
  color: #fff;
  background: linear-gradient(135deg, #ff8a3a, #ff7a1a);
  box-shadow: 0 8px 18px -8px rgba(255, 122, 26, 0.75);
}
.rs-sh-feat-tx {
  font-size: 0.79rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.rs-sh-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.15rem;
  margin-top: 2rem;
}
.rs-sh-note {
  font-size: 0.73rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- device stage ---------- */

.rs-sh-stage {
  position: relative;
  width: min(100%, 208px);
  margin: 0 auto;
}
@media (min-width: 1280px) {
  .rs-sh-stage { width: min(100%, 216px); }
}
@media (min-width: 1440px) {
  .rs-sh-stage { width: min(100%, 232px); }
}

/* GPS pulse rings radiating behind the phone */
.rs-sh-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30rem;
  height: 30rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.rs-sh-rings span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 26, 0.2);
  animation: rs-ring 4.5s ease-out infinite;
}
.rs-sh-rings span:nth-child(2) { animation-delay: 1.5s; }
.rs-sh-rings span:nth-child(3) { animation-delay: 3s; }
@keyframes rs-ring {
  0%   { transform: scale(0.32); opacity: 0; }
  22%  { opacity: 0.9; }
  100% { transform: scale(1); opacity: 0; }
}

.rs-sh-phone {
  position: relative;
  padding: 0.5rem;
  border-radius: 2.15rem;
  background: linear-gradient(160deg, #2b3559 0%, #131c3a 42%, #080e22 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 46px 90px -34px rgba(0, 0, 0, 0.95),
    0 0 70px -22px rgba(255, 122, 26, 0.4);
  transform: perspective(1300px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.rs-shuttle:hover .rs-sh-phone {
  transform: perspective(1300px) rotateY(-3deg) rotateX(1deg) translateY(-7px);
}

.rs-sh-island {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 0.85rem;
  border-radius: 999px;
  background: #05091a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 3;
}

.rs-sh-screen {
  position: relative;
  overflow: hidden;
  border-radius: 1.72rem;
  background: #070d21;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.rs-sh-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.95rem 0.7rem 0.6rem;
}
.rs-sh-livetag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.32);
  background: rgba(16, 185, 129, 0.13);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
}
.rs-sh-livetag i {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #34d399;
  animation: rs-pulse 1.8s ease-out infinite;
}
.rs-sh-id {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- the map ---------- */

.rs-sh-map {
  position: relative;
  margin: 0 0.5rem;
  border-radius: 1.15rem;
  overflow: hidden;
  aspect-ratio: 320 / 250;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.rs-sh-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(7, 13, 33, 0.55),
    transparent 24%,
    transparent 76%,
    rgba(7, 13, 33, 0.6)
  );
}
.rs-map-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Route draws itself in sync with the vehicle marker */
.rs-route-live {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: rs-draw 7s linear infinite;
}
@keyframes rs-draw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  6%   { opacity: 1; }
  93%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.rs-van { animation: rs-vanfade 7s linear infinite; }
@keyframes rs-vanfade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { opacity: 0; }
}
.rs-ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: rs-ping 2.4s ease-out infinite;
}
@keyframes rs-ping {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ---------- ETA card ---------- */

.rs-sh-eta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.75rem 0.5rem 0;
  padding: 0.7rem 0.8rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.rs-sh-eta-num {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.rs-sh-eta-num small {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.rs-sh-eta-meta {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 0;
}
.rs-sh-eta-meta strong {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.rs-sh-eta-meta em {
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
}

.rs-sh-track {
  margin: 0.6rem 0.5rem 1rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.rs-sh-track > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6a00, #ffb27a);
  transform-origin: left;
  animation: rs-fill 7s linear infinite;
}
@keyframes rs-fill {
  0%   { transform: scaleX(0.04); }
  100% { transform: scaleX(1); }
}

/* ---------- floating glass badges ---------- */

.rs-sh-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 40, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.95);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
}
.rs-sh-float-a {
  top: 33%;
  left: -1.5rem;
  color: #ffd7b8;
  border-color: rgba(255, 122, 26, 0.38);
  animation: rs-float 5s ease-in-out infinite;
}
.rs-sh-float-b {
  bottom: -0.7rem;
  right: -1.3rem;
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.34);
  animation: rs-float 5s ease-in-out 0.9s infinite;
}
@keyframes rs-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  .rs-live-chip::before,
  .rs-sale-img,
  .rs-sh-rings span,
  .rs-route-live,
  .rs-van,
  .rs-ping,
  .rs-sh-livetag i,
  .rs-sh-track > span,
  .rs-sh-float,
  .rs-sh-phone {
    animation: none !important;
    transition: none !important;
  }
  .rs-route-live { stroke-dashoffset: 0; }
  .rs-sh-track > span { transform: scaleX(0.62); }
}
