/* ==========================================================================
   TuneDance — "Included free with Cénematic" modal
   Opened by the hero download CTA. Bridges the two brands (TuneDance teal +
   Cénematic blue) with a celebratory "free bonus" framing.
   ========================================================================== */

.included-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

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

.included-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 38%, rgba(59, 130, 246, 0.18), transparent 70%),
    rgba(8, 14, 28, 0.6);
  backdrop-filter: blur(5px);
}

/* Dialog ------------------------------------------------------------------- */
.included-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 466px);
  padding: 44px 44px 40px;
  text-align: center;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
}

/* Soft brand aura pooled at the top, teal on the left / blue on the right */
.included-modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 210px;
  background:
    radial-gradient(120% 90% at 28% -10%, rgba(45, 156, 134, 0.34), transparent 62%),
    radial-gradient(120% 90% at 80% -10%, rgba(59, 130, 246, 0.30), transparent 62%);
  pointer-events: none;
}

.included-modal__dialog > * { position: relative; }

/* Close -------------------------------------------------------------------- */
.included-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(8, 14, 28, 0.04);
  color: var(--color-text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.included-modal__close:hover {
  background: rgba(8, 14, 28, 0.1);
  color: var(--color-text);
}

/* Free-bonus badge --------------------------------------------------------- */
.included-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  background: linear-gradient(100deg, #ffd34d, #ffb52e);
  color: #1a1a1a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Logos -------------------------------------------------------------------- */
.included-modal__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

.included-modal__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.included-modal__logo-wrap--td { --halo: rgba(45, 156, 134, 0.5); }
.included-modal__logo-wrap--cn { --halo: rgba(59, 130, 246, 0.5); }

/* Coloured glow behind each icon */
.included-modal__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}

.included-modal__logo {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  border-radius: 21px;
}

/* Gradient "+" chip joining the two apps */
.included-modal__plus {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14a085, #3b82f6);
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

/* Message ------------------------------------------------------------------ */
.included-modal__text {
  margin: 0 auto;
  max-width: 21em;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.55rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.included-modal__text strong { font-weight: 800; }

.included-modal__free {
  background: linear-gradient(100deg, #14a085, #3b82f6, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CTA ---------------------------------------------------------------------- */
.included-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 15px 34px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(255, 187, 56) 58%, rgb(214, 140, 20) 190%);
  border: 1px solid rgba(214, 140, 20, 0.65);
  font-size: 1.06rem;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
}
.included-modal__cta:hover { filter: brightness(1.05); }

@media (max-width: 480px) {
  .included-modal__dialog { padding: 40px 24px 32px; }
  .included-modal__logos { gap: 16px; }
  .included-modal__logo { width: 70px; height: 70px; border-radius: 18px; }
}
