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

:root {
  --red: #c0001a;
  --gold: #ffd700;
  --gold2: #ffb300;
  --pink: #f9a8d4;
  --bg: #0a0010;
  --bg2: #110020;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,215,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
  cursor: none;
}

/* ─── ФОНОВЫЙ ХОЛСТ ─── */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── ЛЕПЕСТКИ ─── */
.petals-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.petal {
  position: absolute;
  opacity: 0;
  animation: petalFall linear forwards;
  user-select: none;
}
@keyframes petalFall {
  0%   { opacity: 0;   transform: translateY(-20px) rotate(0deg); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { opacity: 0;   transform: translateY(105vh) rotate(540deg); }
}


/* ─── ОБЩЕЕ ─── */
.section-label {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold);
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── HERO ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  /* blur убран — слишком дорого для GPU */
}
.orb1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(192,0,26,0.12), transparent 70%);
  top: -80px; left: -80px;
}
.orb2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(168,85,247,0.09), transparent 70%);
  bottom: -120px; right: -120px;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(20px,-30px); }
}

.hero-content { position: relative; z-index: 3; text-align: center; padding: 2rem; }
.hero-date {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-line {
  display: block;
  background: linear-gradient(135deg, #fff 0%, var(--pink) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
.hero-line.italic { font-style: italic; }
@keyframes shimmer { 0%{background-position:200% center} 100%{background-position:-200% center} }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.55);
  letter-spacing: 2px;
  margin-bottom: 3rem;
}
.hero-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35); font-size: 0.8rem; letter-spacing: 3px;
  text-transform: uppercase;
  animation: hintPulse 2.5s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  animation: arrowBounce 1.3s ease-in-out infinite;
}
@keyframes hintPulse  { 0%,100%{opacity:0.3} 50%{opacity:0.75} }
@keyframes arrowBounce{ 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

.hero-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sparkle-star {
  position: absolute;
  animation: sparkleTwinkle ease-in-out infinite;
  user-select: none;
}
@keyframes sparkleTwinkle {
  0%,100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1.1) rotate(180deg); }
}

/* ─── КАРУСЕЛЬ ─── */
.carousel-section {
  position: relative; z-index: 2;
  padding-top: 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
}
.carousel-wrapper { position: relative; display: flex; align-items: center; }
.carousel-track-container {
  overflow-x: auto; overflow-y: hidden; width: 100%;
  height: min(64vh, 520px);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-top: 1px solid rgba(255,215,0,0.15);
  border-bottom: 1px solid rgba(255,215,0,0.15);
}
.carousel-track-container::-webkit-scrollbar { display: none; }
@media (min-width: 700px) {
  .carousel-track-container { height: min(84vh, 760px); }
}
.carousel-track {
  display: flex; height: 100%; gap: 0;
  padding: 0;
}
@media (min-width: 700px) {
  .carousel-track { gap: 28px; padding: 0 28px; }
}
.slide {
  flex: 0 0 100%; width: 100%; height: 100%; position: relative; overflow: hidden;
  border-radius: 0;
  scroll-snap-align: center;
}
.slide img {
  height: 100%; width: 100%; display: block;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.05);
}
@media (min-width: 700px) {
  .slide {
    flex: 0 0 auto; width: auto;
    border-radius: 10px;
  }
  .slide img {
    width: auto;
    object-fit: unset;
  }
}
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem; color: #fff;
  letter-spacing: 1px;
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; background: rgba(0,0,0,0.4); color: #fff;
  border: 1px solid rgba(255,215,0,0.25);
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; cursor: none;
  transition: background 0.2s;
}
.carousel-arrow:hover { background: rgba(192,0,26,0.65); }
.arrow-left  { left: 14px; }
.arrow-right { right: 14px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; padding: 18px 0 8px; }
.carousel-dots .dot {
  height: 8px; border-radius: 4px; background: rgba(255,255,255,0.2);
  cursor: none; transition: background 0.3s, width 0.3s;
  width: 8px;
}
.carousel-dots .dot.active { background: var(--gold); width: 24px; }

/* ─── ЦИТАТА ─── */
.quote-section {
  position: relative; z-index: 2;
  padding: 5rem 2rem; text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #150028 50%, var(--bg) 100%);
}
.quote-deco {
  position: absolute; font-size: 1.3rem; color: var(--gold); opacity: 0.45;
  animation: decoSpin 10s linear infinite;
}
.deco-tl { top: 1.5rem; left: 2.5rem; }
.deco-tr { top: 1.5rem; right: 2.5rem; animation-delay: -2.5s; }
.deco-bl { bottom: 1.5rem; left: 2.5rem; animation-delay: -5s; }
.deco-br { bottom: 1.5rem; right: 2.5rem; animation-delay: -7.5s; }
@keyframes decoSpin { to { transform: rotate(360deg); } }
.quote-line {
  width: 100px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3.2vw, 1.85rem);
  line-height: 1.9; color: rgba(255,255,255,0.88);
  max-width: 680px; margin: 0 auto;
}
.quote-author {
  font-family: 'Dancing Script', cursive;
  font-size: 1rem; color: var(--pink); letter-spacing: 2px; margin-top: 0.3rem;
}

/* ─── ПРИЧИНЫ ─── */
.reasons-section {
  position: relative; z-index: 2;
  padding: 5rem 2rem;
  background: var(--bg);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  max-width: 960px; margin: 0 auto;
}
.reason-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.reason-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 8px 30px rgba(192,0,26,0.15);
}
.reason-icon {
  font-size: 2rem; margin-bottom: 0.8rem; display: block;
  animation: iconFloat 4s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes iconFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.reason-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ─── ПИСЬМО ─── */
.letter-section {
  position: relative; z-index: 2;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #0f0020 50%, var(--bg) 100%);
}
.letter-card {
  position: relative;
  max-width: 680px; margin: 0 auto;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}
.letter-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--gold); border-style: solid; opacity: 0.5;
}
.letter-corner.tl { top: 10px; left: 10px;  border-width: 1px 0 0 1px; }
.letter-corner.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.letter-corner.bl { bottom: 10px; left: 10px;  border-width: 0 0 1px 1px; }
.letter-corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.letter-greeting {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem; color: var(--gold);
  margin-bottom: 1.2rem;
}
.letter-body {
  font-size: 1rem; color: rgba(255,255,255,0.75);
  line-height: 1.8; margin-bottom: 1rem;
}
.letter-sign {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem; color: var(--pink);
  margin-top: 1.5rem;
}

/* ─── МОМЕНТЫ ─── */
.moments-section {
  position: relative; z-index: 2;
  padding: 5rem 2rem;
  background: var(--bg);
}
.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  max-width: 960px; margin: 0 auto;
}
.moment-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s;
}
.moment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.3);
}
.moment-icon { font-size: 2.2rem; margin-bottom: 0.8rem; display: block; }
.moment-label {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem; color: var(--gold);
  margin-bottom: 0.6rem;
}
.moment-desc { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ─── ГАЛЕРЕЯ ─── */
.gallery-section {
  position: relative; z-index: 2;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #0d001c 50%, var(--bg) 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 10px;
  max-width: 900px; margin: 0 auto;
}
.gallery-item { overflow: hidden; border-radius: 10px; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s;
  filter: brightness(0.85) saturate(1.1);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.2); }
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-tall, .gi-wide { grid-row: auto; grid-column: auto; }
}

/* ─── ОБЕЩАНИЯ ─── */
.promises-section {
  position: relative; z-index: 2;
  padding: 5rem 2rem;
  background: var(--bg);
}
.promises-list { max-width: 600px; margin: 0 auto; list-style: none; }
.promise-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,215,0,0.08);
  font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.5;
}
.promise-item:last-child { border-bottom: none; }
.promise-mark { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ─── КОРОБКА ─── */
.box-section {
  position: relative; z-index: 2;
  padding: 6rem 2rem 8rem; text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #0d0020 50%, var(--bg) 100%);
}
.box-orb-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(192,0,26,0.1) 0%, transparent 70%);
}
.box-section-sub {
  color: rgba(255,255,255,0.45); font-size: 0.95rem;
  letter-spacing: 2px; margin-bottom: 3rem;
}
.box-scene { position: relative; display: inline-block; perspective: 900px; }
.box-sparkles { position: absolute; inset: -50px; pointer-events: none; z-index: 10; }
.bs {
  position: absolute;
  animation: bsAnim ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes bsAnim {
  0%,100% { opacity: 0; transform: scale(0.5); }
  50%      { opacity: 1; transform: scale(1.2); }
}

.box-wrapper {
  position: relative; width: 280px; height: 240px;
  cursor: none; will-change: transform;
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
}
.box-wrapper:hover:not(.opened) { transform: scale(1.04) translateY(-5px); }
.box-wrapper::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 170px;
  background: #c0001a;
  background-image: radial-gradient(ellipse at 25% 25%, #ee0020 0%, transparent 55%);
  border-radius: 6px;
  box-shadow: 0 16px 50px rgba(192,0,26,0.35);
}
.ribbon {
  position: absolute;
  background: linear-gradient(135deg, #ffe566, var(--gold2), #ffe566);
  box-shadow: 0 0 8px rgba(255,215,0,0.4); z-index: 2;
}
.ribbon-h { left: 0; right: 0; bottom: 42px; height: 30px; }
.ribbon-v { top: 0; bottom: 0; left: 50%; width: 30px; transform: translateX(-50%); }
.lid {
  position: absolute; top: 0; left: -10px; right: -10px; height: 76px;
  background: #d40020;
  background-image: radial-gradient(ellipse at 50% 0%, #f00025 0%, #990016 100%);
  border-radius: 6px; border-bottom: 4px solid var(--gold2);
  z-index: 4; overflow: hidden;
  transform-origin: top center;
  transition: transform 0.9s cubic-bezier(0.4,0,0.2,1), opacity 0.55s ease 0.4s;
  will-change: transform, opacity;
}
.lid .ribbon-v { position: absolute; top: 0; bottom: 0; left: 50%; width: 30px; transform: translateX(-50%); }
.box-wrapper.opened .lid { transform: translateY(-175px) rotateX(-40deg) scaleY(0.5); opacity: 0; }
.bow {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  z-index: 6; width: 140px; height: 90px;
}
.bow-left, .bow-right {
  position: absolute; width: 62px; height: 62px;
  border-radius: 50% 0;
  background: linear-gradient(135deg, #ffe566, var(--gold2));
  box-shadow: 0 2px 10px rgba(0,0,0,0.25); top: 0;
}
.bow-left  { left: 0;   transform: rotate(45deg);  transform-origin: bottom right; }
.bow-right { right: 0;  transform: rotate(-45deg); transform-origin: bottom left; }
.bow-center {
  position: absolute; width: 24px; height: 24px;
  background: #ff8c00; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -70%);
  box-shadow: 0 0 0 3px var(--gold); z-index: 2;
}
.bow-tail-l, .bow-tail-r {
  position: absolute; width: 22px; height: 44px;
  background: linear-gradient(180deg, var(--gold2), #ff8c00);
  bottom: -16px; border-radius: 0 0 12px 12px;
}
.bow-tail-l { left: 48px;  transform: rotate(-15deg); transform-origin: top center; }
.bow-tail-r { right: 48px; transform: rotate(15deg);  transform-origin: top center; }
.click-hint {
  position: absolute; bottom: -46px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); font-size: 0.82rem;
  letter-spacing: 2px; white-space: nowrap;
  animation: hintPulse 2s ease-in-out infinite;
}

/* ─── PROPOSAL ─── */
.proposal-overlay {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, #07000f 0%, #160028 50%, #0a0010 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 50; opacity: 0; pointer-events: none;
  transition: opacity 0.65s ease;
}
.proposal-overlay.show { opacity: 1; pointer-events: auto; }
.overlay-canvas { position: absolute; inset: 0; pointer-events: none; }
.proposal-card {
  position: relative; text-align: center;
  padding: 3rem 2.5rem; max-width: 520px; width: 100%;
  animation: cardIn 0.75s cubic-bezier(0.34,1.56,0.64,1) both;
  border: 1px solid rgba(255,215,0,0.14); border-radius: 22px;
  background: rgba(10,0,20,0.85);
  box-shadow: 0 0 50px rgba(192,0,26,0.12);
}
@keyframes cardIn {
  from { transform: scale(0.55) translateY(50px); opacity: 0; }
  to   { transform: scale(1) translateY(0);        opacity: 1; }
}
.card-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 22px; }

/* ─── КОЛЬЦО ─── */
.ring-container {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 2rem; height: 170px;
}
.ring-rays {
  position: absolute; width: 210px; height: 210px; border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg, rgba(255,215,0,0.1) 10deg, transparent 20deg,
    transparent 60deg, rgba(255,215,0,0.08) 70deg, transparent 80deg,
    transparent 120deg, rgba(255,215,0,0.1) 130deg, transparent 140deg,
    transparent 180deg, rgba(255,215,0,0.08) 190deg, transparent 200deg,
    transparent 240deg, rgba(255,215,0,0.1) 250deg, transparent 260deg,
    transparent 300deg, rgba(255,215,0,0.08) 310deg, transparent 320deg
  );
  animation: raysSpin 14s linear infinite;
  will-change: transform;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }
.ring-glow {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.28) 0%, transparent 70%);
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.18)} }
.proposal-heart {
  position: relative; font-size: 5.5rem; line-height: 1;
  animation: heartFloat 3.5s ease-in-out infinite, heartPop 0.6s ease-out;
  filter: drop-shadow(0 6px 20px rgba(255,50,100,0.55));
}
@keyframes heartFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-13px) scale(1.08)} }
@keyframes heartPop { from{transform:scale(0.3); opacity:0} to{transform:scale(1); opacity:1} }
.ring {
  position: relative; width: 125px; height: 125px;
  animation: ringFloat 3.5s ease-in-out infinite, ringSpin 0.9s ease-out;
  will-change: transform;
}
@keyframes ringFloat { 0%,100%{transform:translateY(0) rotateX(22deg)} 50%{transform:translateY(-13px) rotateX(22deg)} }
@keyframes ringSpin  { from{transform:rotateY(0) rotateX(22deg)} to{transform:rotateY(720deg) rotateX(22deg)} }
.ring-band {
  position: absolute; inset: 0; border-radius: 50%;
  border: 20px solid transparent;
  border-color: #ffe566 #ffb300 #ff8c00 #ffc107;
  box-shadow: 0 0 0 3px var(--gold), inset 0 0 0 2px rgba(255,255,255,0.2), 0 6px 30px rgba(255,200,0,0.5);
}
.ring-gem {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #e8f4ff, #93c5fd, #3b82f6, #6d28d9);
  clip-path: polygon(50% 0%, 100% 35%, 85% 100%, 15% 100%, 0% 35%);
  box-shadow: 0 0 25px rgba(96,165,250,0.8);
  animation: gemSpark 2.2s ease-in-out infinite;
}
@keyframes gemSpark { 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.5)} }
.ring-shine  { position: absolute; top: 22px; left: 22px; width: 20px; height: 6px; background: rgba(255,255,255,0.6); border-radius: 10px; transform: rotate(-40deg); filter: blur(2px); }
.ring-shine2 { position: absolute; top: 36px; left: 37px; width: 10px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 10px; transform: rotate(-40deg); filter: blur(1px); }

/* ─── ТЕКСТ ─── */
.proposal-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 0.7rem;
}
.proposal-text em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.proposal-sub {
  font-size: 1.1rem; color: var(--pink); margin-bottom: 2.2rem;
  letter-spacing: 3px; animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat { 0%,100%{transform:scale(1)} 35%{transform:scale(1.09)} }

/* ─── КНОПКИ ─── */
.proposal-btns { display: flex; gap: 1.5rem; justify-content: center; position: relative; }
.btn-yes {
  position: relative; overflow: hidden;
  padding: 1rem 2.6rem;
  background: linear-gradient(135deg, #a80016, var(--red));
  color: #fff; border: none; border-radius: 50px;
  font-size: 1.15rem; font-weight: 700; cursor: none;
  box-shadow: 0 0 30px rgba(192,0,26,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn-yes-shine {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: shineSweep 2.8s ease-in-out infinite; border-radius: 50px;
}
@keyframes shineSweep { 0%{left:-100%} 55%,100%{left:150%} }
.btn-yes:hover { transform: scale(1.07) translateY(-2px); box-shadow: 0 0 50px rgba(192,0,26,0.75); }

.btn-no {
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 50px;
  font-size: 1rem; cursor: none; position: fixed;
  transition: left 0.15s cubic-bezier(0.25,0.46,0.45,0.94),
              top  0.15s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s;
  font-family: inherit; z-index: 100; white-space: nowrap;
  will-change: left, top;
}

/* ─── YES ─── */
.yes-overlay {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at center, #3d0020 0%, #0a0010 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 55; opacity: 0; pointer-events: none;
  transition: opacity 0.55s ease;
}
.yes-overlay.show { opacity: 1; pointer-events: auto; }
.confetti-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.yes-card { position: relative; z-index: 2; text-align: center; animation: cardIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both; }
.yes-ring-anim {
  font-size: 6.5rem; display: block; margin-bottom: 1rem;
  animation: yesFloat 2s ease-in-out infinite;
}
@keyframes yesFloat { 0%,100%{transform:translateY(0) rotate(-7deg)} 50%{transform:translateY(-18px) rotate(7deg)} }
.yes-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 11vw, 6.5rem); font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--pink), var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1rem; animation: shimmer 3s linear infinite;
}
.yes-text {
  font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--pink);
  line-height: 1.75; max-width: 360px; margin: 0 auto 1.5rem;
}
.yes-hearts-row { font-size: 1.8rem; letter-spacing: 8px; animation: heartbeat 1.6s ease-in-out infinite; }

/* Сердечки на canvas */
.hearts { display: none; }
