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

html {
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
  color: #2b2b2b;
  /* alt boşluk üstten fazla: kart ve altında beliren GIF'ler mobil
     tarayıcı menü çubuğunun üzerinde kalsın diye biraz yukarı kayar */
  padding: 1.5rem 1rem 4.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

.floating-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.fi {
  position: absolute;
  bottom: -10%;
  font-size: 1.8rem;
  opacity: 0.55;
  animation: float-up 9s ease-in infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.55;
  }
  90% {
    opacity: 0.55;
  }
  100% {
    transform: translateY(-110vh) rotate(25deg);
    opacity: 0;
  }
}

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: #b23b6b;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.progress {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.dot {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: #f0e0e6;
}

.dot.active {
  background: #ff6b9d;
}

.meter {
  width: 100%;
  height: 8px;
  background: #f0e0e6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b9d, #ff9a9e);
  transition: width 0.6s ease;
}

.meter-label {
  font-size: 0.8rem;
  color: #b23b6b;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

h1 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.subtitle {
  color: #7a7a7a;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  min-height: 3rem;
}

button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.opt {
  background: #f5eef1;
  color: #3b2a30;
}

#yes-btn {
  background: #ff6b9d;
  color: #fff;
}

#no-btn {
  background: #eeeeee;
  color: #555;
}

/* Hayır butonu kaçmaya başlayınca konumu fixed'e alınıyor */
#no-btn.dodging {
  position: fixed;
  z-index: 10;
  transition: top 0.15s ease, left 0.15s ease, transform 0.2s ease;
}

.bye-label {
  position: fixed;
  font-size: 0.95rem;
  font-weight: 700;
  color: #b23b6b;
  background: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(178, 59, 107, 0.3);
  pointer-events: none;
  white-space: nowrap;
  z-index: 11;
}

.attempts-label {
  font-size: 0.8rem;
  color: #b23b6b;
  font-weight: 600;
  margin-top: 0.9rem;
  min-height: 1.1rem;
}

.give-up-text {
  font-size: 0.95rem;
  color: #b23b6b;
  font-weight: 700;
  margin-top: 0.75rem;
}

.burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 50;
  animation-name: burst-fly;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  filter: drop-shadow(0 0 6px rgba(255, 190, 220, 0.85));
}

@keyframes burst-fly {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  15% {
    transform: translate(calc(var(--dx) * 0.2), calc(var(--dy) * 0.2)) scale(1.3) rotate(calc(var(--rot) * 0.2));
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.3) rotate(var(--rot));
    opacity: 0;
  }
}

.character-pop {
  position: fixed;
  width: 170px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 50;
}

.hidden {
  display: none;
}

.reaction {
  font-size: 0.9rem;
  color: #b23b6b;
  font-weight: 600;
  margin-top: 0.9rem;
  min-height: 1.2rem;
}

.result-gif {
  width: 100%;
  max-width: 260px;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.response {
  font-size: 1.15rem;
  font-weight: 700;
  color: #b23b6b;
}

.gift-wrapper {
  margin-top: 1.5rem;
  text-align: center;
}

.gift-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #b23b6b;
  margin-bottom: 0.6rem;
}

.gift-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gift-hint {
  font-size: 0.9rem;
  font-weight: 600;
  color: #b23b6b;
}

.gift-arrow {
  font-size: 1.4rem;
  color: #b23b6b;
  animation: arrow-point 1.2s ease-in-out infinite;
}

@keyframes arrow-point {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

.gift-box {
  font-size: 5rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  filter: drop-shadow(0 8px 18px rgba(178, 59, 107, 0.4));
}

.player-wrapper {
  margin-top: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(178, 59, 107, 0.35);
}

.player-wrapper iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: none;
}

.top-gif {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 60;
}

.player-fallback {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem;
  background: #fff0f5;
  color: #b23b6b;
  text-decoration: none;
  font-weight: 600;
}

.song-note {
  font-size: 1.6rem;
}

.song-note-right {
  margin-left: auto;
  animation: spin-note 2.2s linear infinite;
}

@keyframes spin-note {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.song-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.song-text strong {
  font-size: 1.05rem;
}

.song-text small {
  font-size: 0.78rem;
  opacity: 0.9;
}
