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

/* ── Body & animated background ── */
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #160309;
  animation: bgCycle 18s ease-in-out infinite;
  cursor: default;
}
@keyframes bgCycle {
  0%   { background-color: #160309; }
  33%  { background-color: #090318; }
  66%  { background-color: #040e18; }
  100% { background-color: #160309; }
}

/* subtle overlay noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 30% 20%, rgba(180,40,90,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 90% at 70% 80%, rgba(60,20,120,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(10,50,80,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Screens ── */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.99);
  transition: opacity 1s ease, transform 1s ease;
  z-index: 10;
}
.screen.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}
.screen.exit {
  opacity: 0;
  transform: translateY(0) scale(0.96);
  pointer-events: none;
}

/* ── Gold rule ── */
.gold-rule {
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0c060 30%, #f0c060 70%, transparent);
  margin: 20px auto;
  opacity: 0.6;
}

/* ── Shared keyframes ── */
@keyframes fadeIn      { to { opacity: 1; } }
@keyframes hintPulse {
  0%, 100% { opacity: 0.55; text-shadow: none; }
  50%       { opacity: 1;   text-shadow: 0 0 10px rgba(240,192,60,0.7); }
}
@keyframes breatheText {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.018); }
}
@keyframes yesGlow {
  0%, 100% { box-shadow: 0 6px 30px rgba(200,30,120,0.5); }
  50%       { box-shadow: 0 10px 50px rgba(200,30,120,0.8), 0 0 20px rgba(240,60,160,0.4); }
}

/* ── Next button — minimal hint style ── */
.btn-next {
  background: none;
  border: none;
  padding: 0;
  margin-top: 28px;
  flex-shrink: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #f0c060;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s, text-shadow 0.3s;
  animation: hintPulse 2.4s ease-in-out infinite;
}
.btn-next:hover {
  opacity: 1;
  text-shadow: 0 0 14px rgba(240,192,60,0.8);
}

/* ── ДА / НЕ ── */
.btn-yes {
  position: relative;
  overflow: hidden;
  padding: 16px 64px;
  background: linear-gradient(135deg, #e03060, #c020a0);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(200,30,120,0.5);
  animation: yesGlow 2.5s ease-in-out infinite;
  transition: transform 0.2s;
}
.btn-yes:hover { transform: scale(1.07) translateY(-2px); }

.btn-no {
  padding: 10px 32px;
  background: transparent;
  border: 1px solid rgba(253,245,232,0.25);
  border-radius: 50px;
  color: rgba(253,245,232,0.5);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-no:hover { opacity: 0.7; }

/* ── Answer buttons layout ── */
.answer-buttons {
  display: flex;
  gap: 52px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* ── Subtle note ── */
.subtle-note {
  margin-top: 26px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #f0c060;
  opacity: 0.6;
  letter-spacing: 0.3px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .gallery {
    height: min(90vw, 380px);
  }
  #screen3 h2 { margin-bottom: 36px; }
  .lily-wrap { width: 230px; height: 300px; }
  .lily-svg  { width: 180px; height: 250px; }
}
