/* === RidesBro app download promotion === */
.ridesbro-app-promo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 24px 0 8px;
  padding: 26px 30px;
  overflow: hidden;
  border: 1px solid rgba(93, 170, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 10%, rgba(101, 198, 31, 0.28), transparent 24%),
    radial-gradient(circle at 90% 5%, rgba(47, 140, 246, 0.34), transparent 28%),
    linear-gradient(135deg, #0b1f35 0%, #123e68 100%);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
  color: #fff;
}

.ridesbro-app-promo-icon,
.mobile-app-download-icon {
  display: block;
  object-fit: cover;
  border-radius: 22%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.ridesbro-app-promo-copy {
  min-width: 0;
}

.ridesbro-app-promo-eyebrow,
.mobile-app-download-eyebrow {
  margin: 0 0 5px;
  color: #9ee879;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ridesbro-app-promo h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.ridesbro-app-promo-copy > p:last-child {
  margin: 0;
  max-width: 580px;
  color: #d9e9f8;
  font-size: 1rem;
  line-height: 1.5;
}

.ridesbro-store-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ridesbro-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 164px;
  min-height: 58px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 13px;
  background: #05070a;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.ridesbro-store-badge:hover,
.ridesbro-store-badge:focus-visible {
  transform: translateY(-2px);
  background: #111827;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  outline: 3px solid rgba(147, 197, 253, 0.8);
  outline-offset: 2px;
}

.ridesbro-store-platform {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: #fff;
  color: #05070a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ridesbro-store-platform-play {
  background: linear-gradient(135deg, #34a853 0 28%, #fbbc04 28% 52%, #ea4335 52% 72%, #4285f4 72% 100%);
  color: #fff;
  font-size: 1.05rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ridesbro-store-badge > span:last-child {
  display: grid;
  gap: 1px;
  text-align: left;
  line-height: 1;
}

.ridesbro-store-badge small {
  color: #e5e7eb;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ridesbro-store-badge strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.mobile-app-download-card {
  display: none;
}

@media (max-width: 1060px) and (min-width: 861px) {
  .ridesbro-app-promo {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ridesbro-app-promo .ridesbro-store-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 120px;
  }
}

@media (max-width: 860px) {
  .mobile-app-download-card {
    display: grid;
    width: min(100%, 370px);
    gap: 13px;
    margin: 16px auto 4px;
    padding: 18px;
    position: relative;
    z-index: 3;
    overflow: hidden;
    border: 1px solid rgba(93, 170, 255, 0.24);
    border-radius: 24px;
    background:
      radial-gradient(circle at 8% 0%, rgba(101, 198, 31, 0.26), transparent 28%),
      radial-gradient(circle at 100% 0%, rgba(47, 140, 246, 0.32), transparent 32%),
      linear-gradient(145deg, #0c2138 0%, #123f6b 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    color: #fff;
  }

  .mobile-app-download-heading {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
  }

  .mobile-app-download-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .mobile-app-download-eyebrow {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .mobile-app-download-card h2 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .mobile-app-download-copy {
    margin: 0;
    color: #d9e9f8;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .ridesbro-store-links-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ridesbro-store-links-mobile .ridesbro-store-badge {
    min-width: 0;
    min-height: 56px;
    padding: 8px 10px;
    gap: 8px;
  }

  .ridesbro-store-links-mobile .ridesbro-store-platform {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .ridesbro-store-links-mobile .ridesbro-store-badge strong {
    font-size: 0.88rem;
  }

  .ridesbro-store-links-mobile .ridesbro-store-badge small {
    font-size: 0.57rem;
  }
}

@media (max-width: 360px) {
  .ridesbro-store-links-mobile {
    grid-template-columns: 1fr;
  }

  .ridesbro-store-links-mobile .ridesbro-store-badge {
    width: 100%;
    justify-content: center;
  }
}

[data-theme="barbie"] .ridesbro-app-promo,
[data-theme="barbie"] .mobile-app-download-card {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #9d174d 0%, #6d28d9 100%);
}

[data-theme="barbie"] .ridesbro-app-promo-eyebrow,
[data-theme="barbie"] .mobile-app-download-eyebrow {
  color: #ffe4f1;
}

/* === 2026 mobile homepage: light app-download card === */
@media (max-width: 860px) {
  .mobile-landing-live-header {
    min-height: clamp(138px, 21svh, 174px);
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
  }

  .mobile-landing-live-logo {
    display: block;
    width: clamp(128px, 38vw, 174px);
    height: auto;
    max-height: 76px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

  .mobile-app-download-card {
    grid-template-columns: minmax(0, 1.55fr) minmax(104px, 0.78fr);
    align-items: stretch;
    min-height: 176px;
    gap: 8px;
    padding: 17px 12px 13px 17px;
    border: 1px solid rgba(124, 163, 192, 0.18);
    border-radius: 20px;
    background: radial-gradient(ellipse at 98% 95%, rgba(176, 205, 218, 0.55) 0 15%, transparent 16%), radial-gradient(ellipse at 88% 102%, rgba(198, 220, 230, 0.7) 0 26%, transparent 27%), linear-gradient(135deg, #f4f9fc 0%, #eaf3f7 100%);
    box-shadow: 0 14px 30px rgba(15, 53, 81, 0.12);
    color: #0b2140;
  }

  .mobile-app-download-card::before {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 7px;
    width: 88px;
    height: 24px;
    opacity: 0.2;
    background: linear-gradient(150deg, transparent 48%, #7fa7bd 49% 53%, transparent 54%), linear-gradient(30deg, transparent 48%, #7fa7bd 49% 53%, transparent 54%);
    pointer-events: none;
  }

  .mobile-app-download-content {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
    position: relative;
    z-index: 2;
  }

  .mobile-app-download-card h2 {
    margin: 0;
    max-width: 205px;
    color: #0a244a;
    font-size: clamp(1.1rem, 5vw, 1.42rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 900;
  }

  .mobile-app-download-card h2 span { color: #16954f; }
  .mobile-app-download-copy { margin: 0; color: #52677d; font-size: 0.72rem; line-height: 1.25; }

  .ridesbro-store-links-mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 3px;
  }

  .ridesbro-store-links-mobile .ridesbro-store-badge {
    min-width: 0;
    min-height: 0;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
  }

  .ridesbro-store-links-mobile .ridesbro-store-badge img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 7px;
  }

  .ridesbro-store-links-mobile .ridesbro-store-platform {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    border-radius: 5px;
    font-size: 0.58rem;
  }

  .ridesbro-store-platform-apple { position: relative; background: #05070a; color: #fff; font-size: 1rem !important; line-height: 1; }
  .ridesbro-store-platform-apple::after { content: ""; position: absolute; width: 5px; height: 3px; top: 2px; right: 5px; border-radius: 80% 0 80% 0; background: #fff; transform: rotate(-28deg); }
  .ridesbro-store-links-mobile .ridesbro-store-badge strong { font-size: 0.64rem; }
  .ridesbro-store-links-mobile .ridesbro-store-badge small { font-size: 0.42rem; }

  .mobile-app-phone {
    position: relative;
    align-self: end;
    justify-self: center;
    width: 105px;
    height: 158px;
    margin: 7px -2px -24px 0;
    padding: 5px;
    border: 3px solid #14181e;
    border-radius: 20px;
    background: #111820;
    box-shadow: 0 9px 16px rgba(14, 35, 52, 0.24);
    transform: rotate(5deg);
    z-index: 2;
  }

  .mobile-app-phone-speaker { position: absolute; z-index: 4; top: 5px; left: 50%; width: 34px; height: 5px; border-radius: 999px; background: #101319; transform: translateX(-50%); }
  .mobile-app-phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 14px; background: linear-gradient(160deg, transparent 0 51%, rgba(255,255,255,0.65) 52% 54%, transparent 55%), radial-gradient(ellipse at 50% 88%, #1c743e 0 12%, transparent 13%), linear-gradient(180deg, #bde8fb 0 33%, #7fb1ca 34% 48%, #356f54 49% 100%); }
  .mobile-app-phone-logo { position: absolute; top: 16px; left: 50%; width: 20px; height: 20px; border-radius: 5px; transform: translateX(-50%); }
  .mobile-app-phone-screen > strong { position: absolute; top: 38px; left: 0; right: 0; text-align: center; color: #0a244a; font-size: 0.56rem; }
  .mobile-app-phone-message { position: absolute; right: 9px; top: 72px; color: #fff; font-size: 0.62rem; line-height: 1.02; font-weight: 800; font-style: italic; text-align: center; transform: rotate(-7deg); text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
  .mobile-app-phone-road { position: absolute; width: 76px; height: 70px; left: 23px; top: 76px; border-left: 10px solid rgba(225, 234, 230, 0.82); border-radius: 58% 0 0 0; transform: rotate(13deg); }
  .mobile-app-phone-nav { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 2px; background: rgba(255,255,255,0.94); color: #537084; font-size: 0.45rem; text-align: center; }

  body.ridesbro-homepage { padding-bottom: 0; }
  .ridesbro-homepage .ridesbro-mobile-landing {
    min-height: 0;
    padding-bottom: 4px;
    overflow: visible;
  }
  .ridesbro-homepage .mobile-app-download-card { margin-bottom: 4px; }
  .ridesbro-homepage .mobile-bottom-nav.ridesbro-home-mobile-nav {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: 8px 12px calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  }
  .ridesbro-homepage .ridesbro-home-mobile-nav .mobile-bottom-link {
    min-height: 56px;
    padding: 6px 2px;
    border-radius: 15px;
  }
  .ridesbro-homepage .ridesbro-home-mobile-nav .mobile-bottom-link strong { font-size: 0.64rem; }
  .ridesbro-homepage .ridesbro-home-mobile-nav .mobile-bottom-link-icon svg { width: 24px; height: 24px; }
}

@media (max-width: 360px) {
  .mobile-app-download-card { grid-template-columns: minmax(0, 1.5fr) 92px; padding-left: 14px; }
  .mobile-app-phone { width: 92px; height: 148px; }
}
