/* Bumble-inspired wedding deck */
:root {
  --bumble-yellow: #FFC629;
  --bumble-yellow-dark: #E6B020;
  --bumble-black: #1A1A1A;
  --bumble-gray: #6B6B6B;
  --bumble-gray-light: #E8E8E8;
  --bumble-white: #FFFFFF;
  --bumble-bg: #F5F5F5;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  --header-h: 56px;
  --nav-h: 56px;
  --radius-card: 20px;
  --radius-btn: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body.bumble-app {
  height: 100%;
  min-height: 100dvh;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  color: var(--bumble-black);
  background: var(--bumble-bg);
  line-height: 1.5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* --- App header (Bumble bar) --- */
.app-header {
  flex-shrink: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem 0 0.75rem;
  background: var(--bumble-yellow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-header__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.app-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 0.1rem;
  flex-shrink: 0;
  border: none;
  border-radius: 12px;
  background: var(--bumble-black);
  color: var(--bumble-yellow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-header__menu-btn:focus-visible {
  outline: 2px solid var(--bumble-black);
  outline-offset: 2px;
}

.burger {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.burger__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 6px; }
.burger__line:nth-child(3) { top: 12px; }

.app-header__menu-btn[aria-expanded="true"] .burger__line:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.app-header__menu-btn[aria-expanded="true"] .burger__line:nth-child(2) {
  opacity: 0;
}

.app-header__menu-btn[aria-expanded="true"] .burger__line:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.app-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section jump menu */
.deck-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 26, 26, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.deck-menu-backdrop:not([hidden]) {
  opacity: 1;
}

.deck-menu {
  position: fixed;
  top: calc(env(safe-area-inset-top) + var(--header-h) + 0.5rem);
  left: calc(env(safe-area-inset-left) + 0.75rem);
  z-index: 90;
  width: min(280px, calc(100vw - 1.5rem));
  max-height: min(70dvh, calc(100dvh - var(--header-h) - var(--nav-h) - 2rem));
  overflow-y: auto;
  padding: 0.85rem 0.65rem 0.75rem;
  background: var(--bumble-white);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transform-origin: top left;
  transform: scale(0.96) translateY(-6px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.deck-menu:not([hidden]) {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.deck-menu__heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bumble-gray);
  padding: 0 0.65rem 0.45rem;
}

.deck-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.deck-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--bumble-black);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.deck-menu__item:hover,
.deck-menu__item:focus-visible {
  background: var(--bumble-bg);
  outline: none;
}

.deck-menu__item.is-active {
  background: rgba(255, 198, 41, 0.35);
  font-weight: 700;
}

.deck-menu__index {
  flex-shrink: 0;
  width: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bumble-gray);
}

.deck-menu__item.is-active .deck-menu__index {
  color: var(--bumble-black);
}

.deck-menu__label {
  flex: 1;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .burger__line,
  .deck-menu,
  .deck-menu-backdrop {
    transition: none;
  }
}

.app-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bumble-black);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: var(--radius-btn);
}

.app-header__badge-icon {
  display: block;
  flex-shrink: 0;
}

/* --- Horizontal card deck --- */
.deck-shell {
  flex: 1;
  min-height: 0;
  position: relative;
}

.card-deck {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  outline: none;
}

.card-deck::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0.5rem;
  position: relative;
}

.slide--scroll {
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.slide--scroll .panel-card {
  margin-bottom: 0.5rem;
}

/* --- Profile / photo cards (dating-app style) --- */
.profile-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  flex: 1;
  min-height: 280px;
  max-height: min(72dvh, 560px);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.profile-card--photo {
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.slide--fullphoto .profile-card--photo {
  background-position: center top;
}

.profile-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-card__img--hero {
  object-position: center bottom;
}

.profile-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 45%);
  pointer-events: none;
}

.slide--fullphoto .profile-card__gradient {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
}

.profile-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.25rem;
  z-index: 1;
}

.profile-card__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bumble-yellow);
  margin-bottom: 0.35rem;
}

.profile-card__name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--bumble-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.profile-card__tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

/* --- Content panels --- */
.panel-card {
  width: 100%;
  max-width: 420px;
  background: var(--bumble-white);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.panel-card--wide {
  max-width: 440px;
}

.slide--scroll .panel-card--wide {
  max-width: 100%;
}

.panel-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bumble-yellow-dark);
  margin-bottom: 0.35rem;
}

.panel-card__title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.panel-card__subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 0 0.65rem;
}

.panel-card__body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bumble-black);
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.countdown-box {
  background: var(--bumble-bg);
  border-radius: 14px;
  padding: 0.75rem 0.4rem;
  text-align: center;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bumble-gray);
  letter-spacing: 0.06em;
}

/* List (schedule) */
.bumble-list {
  list-style: none;
}

.bumble-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bumble-gray-light);
  font-size: 0.9rem;
}

.bumble-list li:last-child {
  border-bottom: none;
}

.bumble-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bumble-black);
}

.bumble-list span {
  color: var(--bumble-gray);
}

/* Mini location cards */
.bumble-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bumble-mini-card {
  background: var(--bumble-bg);
  border-radius: 16px;
  padding: 1rem 1rem;
}

.bumble-mini-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.bumble-mini-card p {
  font-size: 0.88rem;
  color: var(--bumble-gray);
  margin-bottom: 0.65rem;
}

.bumble-mini-card--solo {
  margin-top: 0;
}

.btn-bumble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s;
}

.btn-bumble:active {
  transform: scale(0.97);
}

.btn-bumble--primary {
  background: var(--bumble-yellow);
  color: var(--bumble-black);
}

.btn-bumble--secondary {
  background: var(--bumble-black);
  color: var(--bumble-white);
}

.btn-bumble--block {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--bumble-gray-light);
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem 0.85rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  color: var(--bumble-yellow-dark);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--bumble-gray);
  padding-bottom: 0.85rem;
}

.faq-answer {
  padding-bottom: 0.85rem;
}

.faq-answer p {
  padding-bottom: 0.75rem;
}

.faq-answer p:last-child {
  padding-bottom: 0;
}

.faq-answer a {
  color: var(--bumble-black);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.room-rates {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  background: var(--bumble-bg);
  border-radius: 12px;
}

.room-rates li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--bumble-black);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--bumble-gray-light);
}

.room-rates li:last-child {
  border-bottom: none;
}

.room-rates li span:last-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--bumble-gray);
}

/* RSVP form */
.rsvp-intro {
  font-size: 0.88rem;
  color: var(--bumble-gray);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.rsvp-form .form-group {
  margin-bottom: 0.9rem;
}

.rsvp-form label,
.rsvp-form legend {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.rsvp-form fieldset.form-group {
  border: none;
}

.rsvp-form input[type="text"],
.rsvp-form input[type="number"],
.rsvp-form textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--bumble-gray-light);
  border-radius: 12px;
  background: var(--bumble-white);
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--bumble-yellow);
}

.rsvp-form textarea {
  resize: vertical;
  min-height: 72px;
}

.form-row {
  display: flex;
  gap: 0.65rem;
}

.form-row .form-group {
  flex: 1;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
  border: 2px solid var(--bumble-gray-light);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.88rem;
}

.radio-label input {
  accent-color: var(--bumble-black);
}

.radio-label:has(input:checked) {
  border-color: var(--bumble-yellow);
  background: rgba(255, 198, 41, 0.12);
}

.children-age-group small {
  font-size: 0.72rem;
  color: var(--bumble-gray);
}

.rsvp-guest-fields[hidden] {
  display: none;
}

.rsvp-sad {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(26, 26, 26, 0.04);
  color: var(--bumble-gray);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.rsvp-sad[hidden] {
  display: none;
}

.rsvp-sad__face {
  flex-shrink: 0;
  font-size: 1.55rem;
  line-height: 1;
}

.slide-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bumble-gray-light);
  font-family: var(--font-display);
  font-weight: 700;
}

.slide-footer__date {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--bumble-gray);
  margin-top: 0.2rem;
}

/* Bottom nav: arrows + dots */
.deck-nav {
  flex-shrink: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 0.5rem calc(0.25rem + env(safe-area-inset-bottom));
  background: var(--bumble-white);
  border-top: 1px solid var(--bumble-gray-light);
}

.deck-nav__arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  border: 2px solid var(--bumble-gray-light);
  background: var(--bumble-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--bumble-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-nav__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.deck-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(200px, 50vw);
  flex-wrap: wrap;
  justify-content: center;
}

.deck-dots__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--bumble-gray-light);
  cursor: pointer;
}

.deck-dots__dot.is-active {
  background: var(--bumble-black);
  transform: scale(1.15);
}

@media (min-width: 480px) {
  .profile-card__name {
    font-size: 1.85rem;
  }

  .slide {
    padding: 1.25rem 1.5rem 0.5rem;
  }
}

@media (min-width: 768px) {
  .bumble-cards {
    flex-direction: row;
  }

  .bumble-mini-card {
    flex: 1;
  }
}

/* Thank-you page (single screen) */
body.bumble-app.thank-page {
  overflow: auto;
}

.thank-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  min-height: 0;
}

.thank-main .panel-card {
  text-align: center;
}

.thank-main .panel-card__title {
  margin-bottom: 0.75rem;
}

.thank-main p {
  color: var(--bumble-gray);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

/* ===========================
   Match intro (2 Profile → Merge → Konfetti)
   =========================== */
.match-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #FFE566 0%, #F5F5F5 45%, #ebe6d6 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.match-intro.match-intro--exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.match-intro__bar {
  flex-shrink: 0;
  padding: calc(0.65rem + env(safe-area-inset-top)) 1rem 0.75rem;
  text-align: center;
  background: var(--bumble-yellow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.match-intro__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.match-intro__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1rem 0.75rem 2rem;
  position: relative;
}

.match-intro__cards {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.35rem, 3vw, 1rem);
  perspective: 1200px;
  position: relative;
  z-index: 2;
}

.match-intro__card {
  position: relative;
  width: clamp(135px, 36vw, 220px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
  transition:
    transform 0.85s cubic-bezier(0.34, 1.15, 0.53, 1),
    opacity 0.55s ease,
    filter 0.55s ease;
  transform-origin: center bottom;
}

.match-intro__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}

.match-intro__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.2) 48%, transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.match-intro__card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.65rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  z-index: 1;
}

.match-intro__card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bumble-white);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Start: sofort sichtbar (kein Off-Screen ohne JS). Swipe-Effekt optional per Klasse. */
.match-intro__card--christina {
  transform: translate3d(-8%, 0, 0) rotate(-6deg);
}

.match-intro__card--christopher {
  transform: translate3d(8%, 0, 0) rotate(6deg);
}

.match-intro--reduced .match-intro__card--christina,
.match-intro--reduced .match-intro__card--christopher {
  animation: none !important;
}

/* Zusammenführen / „Matchen“ */
.match-intro--merging .match-intro__card--christina {
  animation: none;
  transform: translate3d(38%, -5%, 0) rotate(-2deg) scale(0.97);
  z-index: 3;
}

.match-intro--merging .match-intro__card--christopher {
  animation: none;
  transform: translate3d(-38%, -5%, 0) rotate(2deg) scale(0.97);
  z-index: 2;
}

/* Verschmelzen – Platz für Hero */
.match-intro--matched .match-intro__card--christina,
.match-intro--matched .match-intro__card--christopher {
  animation: none;
  transform: translate3d(0, 8vh, 0) scale(0.25);
  opacity: 0;
  filter: blur(4px);
  transition:
    transform 0.65s cubic-bezier(0.45, 0, 0.2, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
}

.match-intro__match-flash {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) scale(0.5);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 6.5vw, 2.15rem);
  color: var(--bumble-black);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 60;
  text-shadow:
    0 0 20px rgba(255, 198, 41, 0.95),
    0 2px 0 var(--bumble-white);
  letter-spacing: -0.03em;
}

.match-intro--matched .match-intro__match-flash {
  animation: matchFlashPop 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes matchFlashPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.match-intro__confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

@media (max-width: 380px) {
  .match-intro--merging .match-intro__card--christina {
    transform: translate3d(32%, -4%, 0) rotate(-2deg) scale(0.96);
  }

  .match-intro--merging .match-intro__card--christopher {
    transform: translate3d(-32%, -4%, 0) rotate(2deg) scale(0.96);
  }
}
