.mobile-launcher-section {
  position: relative;
  overflow: visible;
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(18px, 3vw, 36px);
}

.mobile-launcher-section::before {
  display: none;
}

.mobile-launcher-card {
  position: relative;
  isolation: isolate;
  appearance: none;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  width: min(100%, 1120px);
  min-height: clamp(430px, 54vw, 590px);
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 24px);
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transform: translateZ(0);
}

.mobile-launcher-card::before,
.mobile-launcher-card::after {
  display: none;
}

.mobile-launcher-card:hover,
.mobile-launcher-card:focus-visible {
  outline: none;
}

.mobile-launcher-card:hover .mobile-launcher-image,
.mobile-launcher-card:focus-visible .mobile-launcher-image {
  filter:
    drop-shadow(0 32px 38px rgba(0, 0, 0, 0.54))
    drop-shadow(0 0 34px rgba(187, 83, 255, 0.36));
}

.mobile-launcher-image {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  justify-self: center;
  pointer-events: none;
  filter:
    drop-shadow(0 32px 38px rgba(0, 0, 0, 0.54))
    drop-shadow(0 0 22px rgba(145, 75, 255, 0.22));
  animation: mobileLauncherFloat 4.8s ease-in-out infinite;
}

.mobile-launcher-fog {
  display: none;
}

.mobile-launcher-image img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

.mobile-device-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 212, 107, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(255, 212, 107, 0.95), rgba(216, 103, 255, 0.95) 50%, rgba(112, 72, 255, 0.95));
  box-shadow: 0 14px 28px rgba(126, 65, 255, 0.32);
}

.mobile-device-badge::before {
  content: "";
  width: 38%;
  height: 56%;
  border: 2px solid #15081f;
  border-radius: 6px;
  background: rgba(21, 8, 31, 0.14);
  box-shadow: inset 0 -4px 0 rgba(21, 8, 31, 0.24);
}

.mobile-device-badge::after {
  content: "";
  position: absolute;
  bottom: 24%;
  width: 8%;
  height: 8%;
  border-radius: 50%;
  background: #15081f;
}

.mobile-launcher-device-badge {
  position: absolute;
  top: 9%;
  right: 8%;
  z-index: 4;
  width: 62px;
  height: 62px;
}

.mobile-launcher-copy {
  display: grid;
  gap: 15px;
  align-content: center;
  justify-self: start;
  max-width: 490px;
  min-width: 0;
}

.mobile-launcher-kicker {
  width: fit-content;
  border: 1px solid rgba(224, 181, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #f3dcff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 8px 12px;
  text-transform: uppercase;
}

.mobile-launcher-title {
  color: #fff7ff;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.45rem, 5.8vw, 5.2rem);
  font-weight: 800;
  line-height: 0.9;
  text-shadow:
    0 0 18px rgba(213, 127, 255, 0.64),
    0 0 46px rgba(132, 47, 255, 0.46);
}

.mobile-launcher-text {
  color: #dfd1f7;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.mobile-launcher-modal[hidden] {
  display: none;
}

.mobile-launcher-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.mobile-launcher-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 10, 0.78);
  backdrop-filter: blur(10px);
}

.mobile-launcher-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  width: min(100%, 430px);
  padding: 24px;
  border: 1px solid rgba(214, 164, 255, 0.3);
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(165, 65, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(15, 7, 30, 0.98), rgba(7, 4, 15, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.52);
}

.mobile-launcher-dialog h2 {
  margin: 0;
  color: #fff7ff;
  font-size: 1.55rem;
  line-height: 1;
}

.mobile-launcher-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.mobile-launcher-dialog label:not(.mobile-launcher-consent) {
  color: #f4ecff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-launcher-dialog input:not([type="checkbox"]) {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(214, 164, 255, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 0 13px;
  outline: none;
}

.mobile-launcher-dialog input:not([type="checkbox"]):focus {
  border-color: rgba(236, 206, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(171, 87, 255, 0.2);
}

.mobile-launcher-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  color: #f4ecff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
}

.mobile-launcher-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #ffd46b;
}

.mobile-launcher-dialog .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.mobile-launcher-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.mobile-launcher-status {
  min-height: 20px;
  color: #ffd46b !important;
}

.mobile-launcher-status.is-error {
  color: #ff9aa9 !important;
}

@keyframes mobileLauncherFogPulse {
  from {
    transform: scale(0.96);
    opacity: 0.68;
  }

  to {
    transform: scale(1.05);
    opacity: 0.96;
  }
}

@keyframes mobileLauncherFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.8deg);
  }
}

@media (max-width: 780px) {
  .mobile-launcher-section {
    padding-top: 24px;
  }

  .mobile-launcher-card {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
    padding: 0 4px;
    text-align: center;
  }

  .mobile-launcher-image {
    width: min(100%, 315px);
  }

  .mobile-launcher-device-badge {
    width: 46px;
    height: 46px;
  }

  .mobile-launcher-copy {
    order: -1;
    justify-items: center;
    max-width: 350px;
    margin-inline: auto;
  }

  .mobile-launcher-title {
    font-size: clamp(1.8rem, 10vw, 2.35rem);
    line-height: 0.96;
  }

  .mobile-launcher-text {
    max-width: 21rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

}

@media (prefers-reduced-motion: reduce) {
  .mobile-launcher-image {
    animation: none;
  }
}
