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

html, body {
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: "Segoe UI", "Georgia", serif;
  color: #fff;
}

/* ---------- BAŞLANGIÇ EKRANI ---------- */
#start-screen {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 1s ease;
}
#start-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.start-inner { text-align: center; }
.start-ring {
  font-size: 72px;
  animation: pulse 1.6s ease-in-out infinite;
}
.start-text {
  margin-top: 20px;
  font-size: 20px;
  letter-spacing: 2px;
  color: #d9b3ff;
  opacity: 0.85;
  animation: fadeText 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes fadeText {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---------- SAHNE ---------- */
#stage {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, #23003f 0%, #0a0012 55%, #000 100%);
  opacity: 0;
  transition: opacity 1.5s ease;
}
#stage.on { opacity: 1; }

/* 3D tuval tüm ekranı kaplar */
#ring-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- YAZI ---------- */
#question {
  position: absolute;
  bottom: 16%;
  left: 0;
  right: 0;
  font-size: clamp(28px, 6vw, 60px);
  font-weight: 700;
  color: #ffd6f2;
  text-shadow: 0 0 22px rgba(255, 120, 200, 0.85);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
}
#question.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BUTONLAR ---------- */
#answers {
  position: absolute;
  bottom: 7%;
  left: 0;
  right: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
}
#answers.show { opacity: 1; }

#answers button {
  font-size: 22px;
  padding: 14px 36px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease;
}
#yes-btn {
  background: linear-gradient(135deg, #ff4e8b, #ff87b2);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 80, 140, 0.6);
}
#yes-btn:hover { transform: scale(1.12); }
#no-btn {
  background: #333;
  color: #ccc;
  position: relative;
}

/* ---------- KUTLAMA ---------- */
#celebrate {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(circle at 50% 50%, rgba(60,0,50,0.55), rgba(0,0,0,0.8));
}
#celebrate.show { display: flex; animation: fadeIn 1.2s ease; }
#celebrate h2 {
  font-size: clamp(34px, 8vw, 80px);
  color: #fff;
  text-shadow: 0 0 30px #ff5bb0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- NAH GÖRSELİ (Hayır) — TAM EKRAN ---------- */
.nah-pop {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0;
  animation: nahIn 0.3s ease forwards;
}
.nah-pop.gone {
  animation: nahOut 0.6s ease forwards;
}
@keyframes nahIn {
  0%   { opacity: 0; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes nahOut {
  to { opacity: 0; }
}
.nah-pop .nah-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nah-pop .nah-text {
  position: absolute;
  bottom: 6%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(44px, 11vw, 130px);
  font-weight: 900;
  color: #ff2d2d;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.9), 0 3px 4px #000;
}

/* ---------- KALPLER ---------- */
#hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}
.heart {
  position: absolute;
  bottom: -40px;
  font-size: 26px;
  animation: rise linear forwards;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(0.6); opacity: 1; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}
