/* Music Token Launcher — prominent CTA + hover hearts (see launcher-cta-hearts.js) */

.launcher-cta {
  --cta-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --cta-duration: 0.38s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 0.85rem;
  padding: 1rem 1.35rem 1rem 1.15rem;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 105, 180, 0.45);
  border-radius: 1rem;
  background:
    linear-gradient(
      135deg,
      rgba(255, 105, 180, 0.14) 0%,
      rgba(153, 69, 255, 0.1) 45%,
      rgba(20, 241, 149, 0.08) 100%
    ),
    rgba(8, 12, 28, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(255, 105, 180, 0.12);
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
  transition:
    border-color var(--cta-duration) var(--cta-ease),
    box-shadow var(--cta-duration) var(--cta-ease),
    background var(--cta-duration) var(--cta-ease),
    transform var(--cta-duration) var(--cta-ease);
}

.launcher-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 105, 180, 0.22) 0%,
    rgba(153, 69, 255, 0.16) 45%,
    rgba(20, 241, 149, 0.1) 100%
  );
  transition: opacity var(--cta-duration) var(--cta-ease);
}

.launcher-cta:hover,
.launcher-cta:focus-visible {
  border-color: rgba(255, 130, 200, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(255, 105, 180, 0.28),
    0 0 72px rgba(153, 69, 255, 0.15);
  outline: none;
}

.launcher-cta:hover::before,
.launcher-cta:focus-visible::before {
  opacity: 1;
}

.launcher-cta:active {
  transform: scale(0.992);
  transition-duration: 0.12s;
}

.launcher-cta__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.35), rgba(153, 69, 255, 0.35));
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.25);
  transition:
    transform var(--cta-duration) var(--cta-ease),
    box-shadow var(--cta-duration) var(--cta-ease),
    background var(--cta-duration) var(--cta-ease);
}

.launcher-cta:hover .launcher-cta__icon,
.launcher-cta:focus-visible .launcher-cta__icon {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(255, 105, 180, 0.42);
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.48), rgba(153, 69, 255, 0.42));
}

.launcher-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
}

.launcher-cta__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 160, 210, 0.82);
  transition: color var(--cta-duration) var(--cta-ease);
}

.launcher-cta:hover .launcher-cta__eyebrow,
.launcher-cta:focus-visible .launcher-cta__eyebrow {
  color: rgba(255, 190, 230, 1);
}

.launcher-cta__title {
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  transition: filter var(--cta-duration) var(--cta-ease), opacity var(--cta-duration) var(--cta-ease);
}

.launcher-cta__arrow {
  flex: none;
  margin-left: auto;
  font-size: 1.45rem;
  line-height: 1;
  color: rgba(255, 180, 220, 0.78);
  transform: translateX(0);
  transition:
    transform var(--cta-duration) var(--cta-ease),
    color var(--cta-duration) var(--cta-ease),
    opacity var(--cta-duration) var(--cta-ease);
}

.launcher-cta:hover .launcher-cta__arrow,
.launcher-cta:focus-visible .launcher-cta__arrow {
  transform: translateX(0.28rem);
  color: rgba(255, 210, 235, 1);
}

.launcher-cta--center {
  display: flex;
  justify-content: center;
}

.launcher-cta--start {
  border-color: rgba(79, 195, 255, 0.45);
  background:
    linear-gradient(
      135deg,
      rgba(79, 195, 255, 0.14) 0%,
      rgba(20, 241, 149, 0.1) 50%,
      rgba(255, 159, 46, 0.08) 100%
    ),
    rgba(8, 12, 28, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(79, 195, 255, 0.14);
}

.launcher-cta--start::before {
  background: linear-gradient(
    135deg,
    rgba(79, 195, 255, 0.22) 0%,
    rgba(20, 241, 149, 0.16) 50%,
    rgba(255, 200, 120, 0.1) 100%
  );
}

.launcher-cta--start:hover,
.launcher-cta--start:focus-visible {
  border-color: rgba(120, 220, 255, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(79, 195, 255, 0.28),
    0 0 56px rgba(20, 241, 149, 0.12);
}

.launcher-cta--start .launcher-cta__icon {
  background: linear-gradient(135deg, rgba(79, 195, 255, 0.35), rgba(20, 241, 149, 0.35));
  box-shadow: 0 0 20px rgba(79, 195, 255, 0.25);
}

.launcher-cta--start:hover .launcher-cta__icon,
.launcher-cta--start:focus-visible .launcher-cta__icon {
  box-shadow: 0 0 28px rgba(79, 195, 255, 0.42);
  background: linear-gradient(135deg, rgba(79, 195, 255, 0.48), rgba(20, 241, 149, 0.42));
}

.launcher-cta--start .launcher-cta__eyebrow {
  color: rgba(160, 220, 255, 0.82);
}

.launcher-cta--start:hover .launcher-cta__eyebrow,
.launcher-cta--start:focus-visible .launcher-cta__eyebrow {
  color: rgba(190, 235, 255, 1);
}

.launcher-cta--start .launcher-cta__arrow {
  color: rgba(180, 235, 255, 0.78);
}

.launcher-cta--start:hover .launcher-cta__arrow,
.launcher-cta--start:focus-visible .launcher-cta__arrow {
  color: rgba(210, 245, 255, 1);
}

.launcher-cta-hearts,
.launcher-cta-coins {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body.launcher-cta-hover,
body.launcher-cta-hover .launcher-cta:hover {
  cursor: none;
}

body.launcher-cta-coins-hover,
body.launcher-cta-coins-hover .launcher-cta:hover {
  cursor: none;
}

@media (max-width: 600px) {
  .launcher-cta {
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .launcher-cta__icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launcher-cta,
  .launcher-cta::before,
  .launcher-cta__icon,
  .launcher-cta__eyebrow,
  .launcher-cta__title,
  .launcher-cta__arrow {
    transition: none;
  }

  .launcher-cta:hover,
  .launcher-cta:focus-visible,
  .launcher-cta:hover .launcher-cta__icon,
  .launcher-cta:focus-visible .launcher-cta__icon,
  .launcher-cta:hover .launcher-cta__arrow,
  .launcher-cta:focus-visible .launcher-cta__arrow {
    transform: none;
  }

  .launcher-cta:active {
    transform: none;
  }
}
