.launch-choice-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.launch-choice-modal[hidden] {
  display: none !important;
}

.launch-choice-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255, 168, 84, 0.34) 0%, rgba(255, 168, 84, 0) 52%),
    linear-gradient(160deg, rgba(5, 9, 18, 0.72), rgba(2, 7, 17, 0.86));
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.launch-choice-card {
  position: relative;
  width: min(580px, 100%);
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(255, 186, 125, 0.24) 0%, rgba(255, 186, 125, 0) 55%),
    linear-gradient(150deg, rgba(12, 21, 44, 0.96), rgba(8, 15, 31, 0.98));
  border: 1px solid rgba(255, 166, 87, 0.42);
  border-radius: 26px;
  padding: 28px 26px 24px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  color: #f6f7fb;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.launch-choice-modal.is-open .launch-choice-backdrop {
  opacity: 1;
}

.launch-choice-modal.is-open .launch-choice-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.launch-choice-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 178, 118, 0.34);
  border-radius: 50%;
  background: rgba(255, 180, 110, 0.08);
  color: #ecf1ff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.launch-choice-close:hover {
  background: rgba(255, 188, 124, 0.14);
  border-color: rgba(255, 190, 130, 0.54);
  transform: rotate(90deg);
}

.launch-choice-close:focus-visible {
  outline: 2px solid rgba(255, 184, 122, 0.56);
  outline-offset: 2px;
}

.launch-choice-eyebrow {
  margin: 0;
  color: #ffc887;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.launch-choice-card h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.45rem, 2.9vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.launch-choice-card p {
  margin: 0;
  color: #c9d6f8;
  line-height: 1.5;
}

.launch-choice-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.launch-choice-option {
  position: relative;
  min-height: 122px;
  border-radius: 18px;
  padding: 18px 16px;
  text-decoration: none;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

.launch-choice-option:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.launch-choice-option:focus-visible {
  outline: 2px solid rgba(149, 203, 255, 0.95);
  outline-offset: 2px;
}

.launch-choice-option-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.launch-choice-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.launch-choice-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.launch-choice-svg {
  width: 24px;
  height: 24px;
}

.launch-choice-svg--telegram {
  fill: #ffffff;
  stroke: none;
  transform: translateX(-1px) translateY(0px);
}

.launch-choice-svg--web {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.95;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-choice-option-text {
  color: rgba(242, 247, 255, 0.88);
  font-size: 0.92rem;
}

.launch-choice-option--telegram {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(120, 204, 255, 0.45), rgba(120, 204, 255, 0) 60%),
    linear-gradient(145deg, rgba(29, 131, 205, 0.95), rgba(27, 90, 153, 0.95));
}

.launch-choice-option--web {
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 222, 148, 0.45), rgba(255, 222, 148, 0) 60%),
    linear-gradient(145deg, rgba(255, 142, 42, 0.98), rgba(219, 84, 32, 0.97));
}

@media (max-width: 640px) {
  .launch-choice-card {
    border-radius: 22px;
    padding: 22px 18px 18px;
  }

  .launch-choice-actions {
    grid-template-columns: 1fr;
  }

  .launch-choice-option {
    min-height: 104px;
  }

  .launch-choice-icon {
    width: 40px;
    height: 40px;
  }

  .launch-choice-svg {
    width: 23px;
    height: 23px;
  }
}
