:root {
  --bg-1: #120814;
  --bg-2: #2a1230;
  --bg-3: #4b1d59;
  --border: rgba(255,255,255,0.16);
  --glass: rgba(255,255,255,0.09);
  --gold: #ffd88a;
  --lavender: #d7b7ff;
  --phone-max-h: min(86vh, 980px);
  --phone-max-w: calc(var(--phone-max-h) * 9 / 16);
  --pink: #ffb3d8;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --rose: #ff7ab6;
  --shadow: 0 30px 70px rgba(0,0,0,0.42);
  --soft: rgba(255,255,255,0.78);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 122, 182, 0.28), transparent 20%),
    radial-gradient(circle at 85% 20%, rgba(215, 183, 255, 0.22), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(255, 216, 138, 0.12), transparent 28%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  padding: 0;
}

body {
  align-items: flex-start;
  display: flex;
  isolation: isolate;
  justify-content: center;
  padding: 28px;
  position: relative;
}

.ambient,
.ambient::before,
.ambient::after {
  border-radius: 999px;
  content: "";
  filter: blur(70px);
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

.ambient {
  animation: floatA 14s ease-in-out infinite;
  background: rgba(255, 122, 182, 0.24);
  height: 36vw;
  left: -10vw;
  min-height: 260px;
  min-width: 260px;
  top: -8vh;
  width: 36vw;
}

.ambient::before {
  animation: floatB 12s ease-in-out infinite;
  background: rgba(215, 183, 255, 0.18);
  height: 28vw;
  min-height: 220px;
  min-width: 220px;
  right: -14vw;
  top: 12vh;
  width: 28vw;
}

.ambient::after {
  animation: floatC 16s ease-in-out infinite;
  background: rgba(255, 216, 138, 0.14);
  bottom: -10vh;
  height: 26vw;
  left: 36vw;
  min-height: 180px;
  min-width: 180px;
  width: 26vw;
}

.audio-hint {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(16, 10, 19, 0.68);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  left: 50%;
  max-width: calc(100% - 40px);
  overflow: hidden;
  padding: 10px 14px;
  pointer-events: none;
  position: absolute;
  text-overflow: ellipsis;
  top: 108px;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 11;
}

.audio-hint.hide {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.audio-toast {
  background: rgba(255, 122, 182, 0.94);
  border-radius: 999px;
  bottom: 106px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  color: #2a1025;
  font-size: 0.9rem;
  font-weight: 700;
  left: 50%;
  max-width: calc(100% - 40px);
  opacity: 0;
  overflow: hidden;
  padding: 10px 16px;
  pointer-events: none;
  position: absolute;
  text-overflow: ellipsis;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
  z-index: 12;
}

.audio-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.avatar {
  background: #666;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  flex: 0 0 42px;
  height: 42px;
  overflow: hidden;
  width: 42px;
}

.avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.bottom-note {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.contact-info {
  align-items: center;
  display: flex;
  gap: 12px;
  padding-top: 10px;
  width: 100%;
}

.contact-name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.contact-status {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  line-height: 1.2;
  margin-top: 3px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.control {
  align-items: center;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0,0,0,0.26);
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 70px;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  width: 70px;
}

.control:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.32);
  transform: translateY(-2px) scale(1.04);
}

.control:active {
  transform: translateY(0) scale(1);
}

.control.hangup {
  background: #ff3b30;
  color: #fff;
}

.control.mute {
  background: #e4e4e4;
  color: #000;
}

.eyebrow {
  align-items: center;
  background: rgba(255, 179, 216, 0.12);
  border: 1px solid rgba(255, 179, 216, 0.18);
  border-radius: 999px;
  color: var(--pink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-ring {
  animation: floatRing 5s ease-in-out infinite;
  left: 18px;
  pointer-events: none;
  position: absolute;
  top: 110px;
  width: 90px;
  z-index: 20;
}

.floating-ring img {
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
  height: auto;
  object-fit: contain;
  width: 100%;
}

.footer-note {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 22px 0 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 22px;
}

.headline-gold {
  color: var(--gold);
  display: block;
  text-shadow: 0 0 18px rgba(255, 216, 138, 0.14);
}

.headline-soft {
  color: var(--pink);
  display: block;
  text-shadow: 0 0 24px rgba(255, 122, 182, 0.18);
}

.hearts {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.hearts span {
  animation: floatHeart linear infinite;
  bottom: -40px;
  color: rgba(255, 179, 216, 0.18);
  font-size: 24px;
  position: absolute;
}

.hearts span:nth-child(1) {
  animation-delay: 0s;
  animation-duration: 14s;
  left: 8%;
}

.hearts span:nth-child(2) {
  animation-delay: 3s;
  animation-duration: 18s;
  left: 26%;
}

.hearts span:nth-child(3) {
  animation-delay: 6s;
  animation-duration: 16s;
  left: 48%;
}

.hearts span:nth-child(4) {
  animation-delay: 1s;
  animation-duration: 20s;
  left: 70%;
}

.hearts span:nth-child(5) {
  animation-delay: 5s;
  animation-duration: 15s;
  left: 88%;
}

.info-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.info-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.info-label {
  color: var(--lavender);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.info-value {
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

.love-panel {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.love-panel::before {
  background: radial-gradient(circle, rgba(255,122,182,0.22), transparent 68%);
  border-radius: 999px;
  content: "";
  height: 220px;
  inset: auto -80px -80px auto;
  pointer-events: none;
  position: absolute;
  width: 220px;
}

.phone-camera {
  background: #111;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.04) inset,
    0 0 8px rgba(0,0,0,0.4);
  height: 10px;
  pointer-events: none;
  position: absolute;
  right: 34px;
  top: 15px;
  width: 10px;
  z-index: 12;
}

.phone-shell {
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 40px;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 40px rgba(255, 122, 182, 0.18);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: min(100%, var(--phone-max-w));
}

.phone-shell::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 12%, rgba(0,0,0,0.02) 78%, rgba(0,0,0,0.28) 100%),
    radial-gradient(circle at top center, rgba(255,255,255,0.08), transparent 28%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.phone-shell::after {
  background: rgba(0,0,0,0.65);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(255,255,255,0.08) inset;
  content: "";
  height: 10px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 12px;
  transform: translateX(-50%);
  width: 90px;
  z-index: 12;
}

.poem {
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0;
}

.poem strong {
  color: #fff;
}

.proposal-badge-inline {
  background: rgba(255, 122, 182, 0.92);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  color: #2a1025;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 14px;
}

.proposal-label {
  color: var(--lavender);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0;
  text-transform: uppercase;
}

.proposal-label-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 12px;
}

.proposal-photo {
  display: block;
  height: auto;
  width: 100%;
}

.proposal-photo-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
  overflow: hidden;
  position: relative;
}

.quote-box {
  background: linear-gradient(135deg, rgba(255,122,182,0.12), rgba(215,183,255,0.10));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  padding: 18px 20px;
}

.quote-box span {
  color: var(--gold);
  font-weight: 700;
}

.ring-sparkle {
  animation: sparkleFlash 4s infinite;
  background: white;
  border-radius: 50%;
  box-shadow:
    0 0 6px white,
    0 0 12px rgba(255,255,255,0.8),
    0 0 18px rgba(255,255,255,0.6);
  height: 8px;
  opacity: 0;
  position: absolute;
  width: 8px;
}

.section-title {
  color: var(--lavender);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.shell {
  align-items: stretch;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr);
  max-width: 1480px;
  width: 100%;
}

.signature {
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 22px;
}

.signature span {
  color: var(--pink);
  font-weight: 700;
}

.sparkle-1 {
  animation-delay: 0s;
  left: 55%;
  top: 18%;
}

.sparkle-2 {
  animation-delay: 1.4s;
  left: 65%;
  top: 35%;
}

.sparkle-3 {
  animation-delay: 2.8s;
  left: 45%;
  top: 28%;
}

.stars {
  animation: drift 24s linear infinite;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 40% 75%, rgba(255,255,255,0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 85%, rgba(255,255,255,0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 55% 50%, rgba(255,255,255,0.4) 0 1px, transparent 1.5px);
  background-size: 280px 280px, 340px 340px, 300px 300px, 360px 360px, 420px 420px;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.story-section {
  margin-top: 28px;
}

.thatsapp-controls {
  bottom: 20px;
  display: flex;
  gap: 30px;
  justify-content: center;
  left: 0;
  padding: 0 16px;
  position: absolute;
  right: 0;
  z-index: 10;
}

.thatsapp-header {
  -webkit-backdrop-filter: blur(10px);
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  height: 88px;
  left: 0;
  padding: 16px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.timeline-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 18px;
}

.timeline-dot {
  background: linear-gradient(135deg, var(--pink), var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 179, 216, 0.22);
  display: inline-block;
  flex: 0 0 10px;
  height: 10px;
  margin-top: 4px;
  width: 10px;
}

.timeline-item {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.timeline-text {
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.45;
}

.timeline-title {
  color: var(--lavender);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.video-area {
  inset: 0;
  position: absolute;
}

.video-stage {
  min-width: 0;
  position: relative;
}

.video-stage-sticky {
  position: sticky;
  top: 28px;
  width: 100%;
}

.video-stage-sticky::before {
  background: radial-gradient(circle, rgba(255,122,182,0.22), rgba(255,216,138,0.12), transparent 68%);
  content: "";
  filter: blur(24px);
  height: 420px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  z-index: -1;
}

.video-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  cursor: pointer;
}

.video-tap-overlay.hidden {
  display: none;
}
.yt-frame,
.yt-frame iframe {
  background: #000;
  border: 0;
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes floatA {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, 18px, 0) scale(1.08);
  }
}

@keyframes floatB {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-24px, 16px, 0) scale(1.06);
  }
}

@keyframes floatC {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(16px, -20px, 0) scale(1.08);
  }
}

@keyframes floatHeart {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-120vh) scale(1.2);
  }
}

@keyframes floatRing {
  0%, 100% {
    transform: translateY(0) rotate(-6deg) scale(1);
  }
  50% {
    transform: translateY(-14px) rotate(6deg) scale(1.05);
  }
}

@keyframes sparkleFlash {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  8% {
    opacity: 1;
    transform: scale(1.5);
  }
  15% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .shell {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .video-stage-sticky {
    position: static;
    top: auto;
  }

  .video-stage-sticky::before {
    height: 320px;
    width: 320px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 14px;
  }

  .audio-hint {
    font-size: 0.8rem;
    top: 95px;
  }

  .audio-toast {
    bottom: 92px;
    font-size: 0.82rem;
  }

  .contact-info {
    padding-top: 6px;
  }

  .contact-name {
    font-size: 16px;
  }

  .contact-status {
    font-size: 12px;
  }

  .control {
    font-size: 24px;
    height: 62px;
    width: 62px;
  }

  .floating-ring {
    top: 95px;
    width: 70px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .love-panel {
    padding: 22px;
  }

  .phone-camera {
    right: 28px;
    top: 15px;
  }

  .phone-shell {
    border-radius: 28px;
    width: min(100%, 92vw);
  }

  .phone-shell::after {
    height: 9px;
    width: 78px;
  }

  .proposal-label-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .thatsapp-controls {
    bottom: 12px;
    gap: 18px;
  }

  .thatsapp-header {
    height: 78px;
    padding: 14px;
  }

  .timeline {
    flex-direction: column;
    gap: 10px;
  }

  .video-stage-sticky::before {
    height: 260px;
    width: 260px;
  }
}