:root {
  --paper: #f7f0e9;
  --paper-2: #efe2d8;
  --ink: #241e1a;
  --muted: #756b63;
  --peach: #f2b38e;
  --peach-deep: #d77f58;
  --rose: #e9a2a5;
  --cream: #fffaf5;
  --line: rgba(36, 30, 26, .12);
  --shadow: 0 24px 70px rgba(74, 49, 34, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(242,179,142,.18), transparent 32rem),
    radial-gradient(circle at 90% 25%, rgba(233,162,165,.17), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.ambient { position: fixed; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(90px); opacity: .18; z-index: -1; animation: drift 12s ease-in-out infinite alternate; }
.ambient-one { background: var(--peach); left: -12rem; top: 26rem; }
.ambient-two { background: var(--rose); right: -10rem; top: 8rem; animation-delay: -5s; }

.floating-stickers { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.float-sticker { position: absolute; opacity: .18; filter: grayscale(.15); animation: slowFloat 9s ease-in-out infinite; }
.fs-one { left: 3vw; top: 72vh; font-size: 30px; transform: rotate(-16deg); }
.fs-two { right: 4vw; top: 55vh; font-size: 25px; animation-delay: -2s; }
.fs-three { left: 8vw; top: 18vh; font-size: 24px; animation-delay: -4s; }
.fs-four { right: 10vw; top: 88vh; font-size: 30px; animation-delay: -6s; }

.topbar { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--peach-deep); box-shadow: 0 0 0 7px rgba(215,127,88,.10); }
.sound-toggle { border: 1px solid var(--line); background: rgba(255,255,255,.44); color: var(--ink); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: .25s ease; }
.sound-toggle span { font-size: 12px; margin-left: 5px; color: var(--muted); }
.sound-toggle:hover { transform: translateY(-2px) rotate(-2deg); background: var(--cream); }

.section-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; position: relative; z-index: 2; }
.hero { min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 5vw; padding: 52px 0 96px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--peach-deep); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(4rem, 7.3vw, 7.7rem); line-height: .88; }
h1 em, h2 em { font-weight: 600; color: var(--peach-deep); }
.lead { max-width: 650px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.75; color: var(--muted); margin: 34px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.btn { min-height: 52px; border: 0; border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--ink); color: white; box-shadow: 0 12px 30px rgba(36,30,26,.16); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(36,30,26,.22); }
.btn-primary:disabled { cursor: not-allowed; opacity: .36; transform: none; box-shadow: none; }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.40); color: var(--ink); }
.btn-dark { background: white; color: var(--ink); }
.btn-wide { width: 100%; margin-top: 26px; }

.fortune-line { min-height: 20px; margin-top: 14px; color: var(--peach-deep); font-family: Georgia, serif; font-style: italic; font-size: 14px; transition: .2s ease; }
.fortune-line.bump { transform: translateX(5px); }
.micro-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 22px; }
.tiny-face { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.45); color: var(--ink); }

.hero-art { position: relative; min-height: 590px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(36,30,26,.10); border-radius: 50%; }
.orbit-a { width: 470px; height: 470px; animation: spin 26s linear infinite; }
.orbit-a::after { content:"✦"; position: absolute; right: 42px; top: 37px; color: var(--peach-deep); font-size: 26px; }
.orbit-b { width: 350px; height: 350px; border-style: dashed; animation: spinReverse 34s linear infinite; }
.polaroid { width: min(390px, 76vw); padding: 15px 15px 25px; background: #fffdf9; box-shadow: var(--shadow); transform: rotate(4deg); position: relative; z-index: 2; animation: floatCard 5.5s ease-in-out infinite; }
.polaroid p { margin: 17px 8px 0; text-align: center; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 16px; }
.illustration { height: 370px; position: relative; overflow: hidden; background: linear-gradient(#efc9af 0 52%, #c8a88e 52% 100%); }
.sun { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #fbe3a2; top: 58px; left: 50%; transform: translateX(-50%); box-shadow: 0 0 45px rgba(251,227,162,.55); }
.hill { position:absolute; bottom:-80px; border-radius:50% 50% 0 0; }
.hill-one { width: 440px; height: 210px; left:-110px; background:#8c7d69; transform:rotate(4deg); }
.hill-two { width: 390px; height: 180px; right:-130px; background:#6e665a; transform:rotate(-5deg); }
.person { position:absolute; bottom:72px; width:25px; height:76px; background:#342d29; border-radius:16px 16px 5px 5px; z-index:3; }
.person::before { content:""; position:absolute; width:25px; height:25px; border-radius:50%; background:#342d29; top:-17px; }
.person-one { left:45%; transform:rotate(-2deg); }
.person-two { left:55%; height:70px; transform:rotate(3deg); }
.sticker { position:absolute; z-index:5; width:70px; height:70px; display:grid; place-items:center; border-radius:50%; background:#fffaf5; box-shadow:0 14px 34px rgba(66,42,28,.14); font-size:28px; animation:bob 4s ease-in-out infinite; }
.sticker-coffee { left:2%; top:22%; transform:rotate(-11deg); }
.sticker-star { right:4%; top:15%; animation-delay:-1.5s; }
.sticker-heart { right:8%; bottom:14%; animation-delay:-3s; }
.scribble { position:absolute; left:2%; bottom:12%; font-family:Georgia, serif; font-style:italic; transform:rotate(-8deg); color:var(--peach-deep); font-size:22px; }

.why { padding: 120px 0 90px; }
.section-heading { max-width: 810px; }
h2 { font-size: clamp(2.65rem, 5.6vw, 5rem); line-height: 1; }
.section-copy { margin-top: 24px; max-width: 640px; color: var(--muted); line-height:1.75; }
.reason-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:56px; }
.reason-card { padding:32px; min-height:250px; border:1px solid var(--line); border-radius:28px; background:rgba(255,255,255,.34); backdrop-filter:blur(12px); transition:.3s ease; }
.reason-card:hover { transform:translateY(-7px) rotate(-.4deg); background:rgba(255,255,255,.63); box-shadow:0 24px 50px rgba(70,47,34,.09); }
.reason-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:var(--paper-2); color:var(--peach-deep); font-weight:800; font-size:12px; }
.reason-card h3 { font-size:22px; margin:42px 0 12px; }
.reason-card p { color:var(--muted); line-height:1.65; margin:0; }

.photo-booth { padding: 30px 0 80px; display: grid; grid-template-columns: .42fr 1fr; gap: 40px; align-items: center; }
.booth-note { font-family: Georgia, serif; font-style: italic; color: var(--peach-deep); font-size: clamp(1.3rem,2.4vw,2rem); transform: rotate(-4deg); text-align: right; }
.photo-strip { background: #fffdf9; padding: 12px; border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(1.2deg); }
.mini-photo { min-height: 190px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; padding: 18px; text-align: center; }
.mini-photo::after { content:""; position:absolute; inset:auto 10% 17px; height:1px; background:rgba(36,30,26,.12); }
.mini-photo span { font-size: 46px; filter: drop-shadow(0 12px 18px rgba(36,30,26,.12)); animation: bob 4s ease-in-out infinite; }
.mini-photo small { margin-top: 24px; font-family: Georgia, serif; font-style: italic; line-height: 1.35; }
.coffee-photo { background: linear-gradient(145deg,#f3d6c6,#f9ece4); }
.walk-photo { background: linear-gradient(145deg,#b8b4c9,#e2d7d8); }
.laugh-photo { background: linear-gradient(145deg,#f1d7af,#f8ead1); }
.walk-photo span { animation-delay:-1.2s; }.laugh-photo span { animation-delay:-2.4s; }

.choice-section { padding: 120px 0; }
.choice-layout { display:grid; grid-template-columns:.78fr 1.22fr; gap:7vw; align-items:start; }
.choice-panel { background:rgba(255,250,245,.86); border:1px solid rgba(255,255,255,.72); box-shadow:var(--shadow); border-radius:34px; padding:30px; backdrop-filter: blur(16px); }
.choice-label { display:flex; align-items:center; gap:9px; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.13em; margin:0 0 16px; color:var(--muted); }
.choice-label b { width:25px; height:25px; display:grid; place-items:center; border-radius:50%; background:var(--ink); color:white; font-size:10px; }
.second-label { margin-top:32px; }
.option-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.option-card { text-align:left; min-height:168px; border:1px solid var(--line); background:rgba(255,255,255,.42); border-radius:22px; padding:20px; cursor:pointer; color:var(--ink); transition:.22s ease; }
.option-card:hover { transform:translateY(-3px) rotate(-.25deg); background:white; }
.option-card.selected { border-color:rgba(215,127,88,.55); background:#fff7f0; box-shadow:inset 0 0 0 1px rgba(215,127,88,.18), 0 14px 30px rgba(215,127,88,.08); transform:translateY(-2px); }
.option-emoji { display:block; font-size:27px; margin-bottom:18px; }
.option-title { display:block; font-size:16px; font-weight:800; margin-bottom:6px; }
.option-desc { display:block; color:var(--muted); font-size:12px; line-height:1.55; }

.date-carousel { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.date-card { border:1px solid var(--line); background:white; color:var(--ink); border-radius:18px; padding:12px 6px; min-height:88px; cursor:pointer; transition:.2s ease; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.date-card:hover { transform:translateY(-3px); }
.date-card span { text-transform:uppercase; font-size:9px; letter-spacing:.12em; color:var(--muted); font-weight:800; }
.date-card strong { font-family:Georgia,serif; font-size:28px; line-height:1; margin:5px 0 2px; }
.date-card small { font-size:10px; color:var(--muted); }
.date-card.selected { background:var(--ink); color:white; border-color:var(--ink); transform:translateY(-3px) rotate(-1deg); }
.date-card.selected span,.date-card.selected small { color:rgba(255,255,255,.64); }
.date-card.weekend:not(.selected) strong { color:var(--peach-deep); }
.date-input-wrap,.custom-time-wrap { margin-top:10px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 14px; border:1px dashed rgba(36,30,26,.18); border-radius:16px; color:var(--muted); font-size:11px; background:rgba(255,255,255,.35); }
.date-input-wrap input,.custom-time-wrap input { border:0; outline:0; background:white; border-radius:10px; color:var(--ink); padding:8px 10px; min-height:36px; }

.time-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.time-chip { border:1px solid var(--line); background:white; color:var(--ink); border-radius:16px; min-height:62px; padding:9px 10px; font-size:16px; font-weight:800; cursor:pointer; transition:.2s ease; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.time-chip small { display:block; color:var(--muted); font-size:9px; font-weight:600; margin-top:3px; }
.time-chip:hover { transform:translateY(-2px); }
.time-chip.selected { background:var(--peach-deep); color:white; border-color:var(--peach-deep); transform:translateY(-2px); }
.time-chip.selected small { color:rgba(255,255,255,.72); }

.rule-box { margin-top:24px; padding:15px 16px; border-radius:18px; background:#f1e2d9; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.rule-box div { min-width:0; }
.rule-kicker { display:block; color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.12em; margin-bottom:5px; }
.rule-box strong { display:block; font-family:Georgia,serif; font-style:italic; font-size:14px; line-height:1.4; }
.rule-box button { flex:0 0 38px; width:38px; height:38px; border:0; border-radius:50%; background:white; color:var(--ink); cursor:pointer; font-size:19px; transition:.2s ease; }
.rule-box button:hover { transform:rotate(90deg) scale(1.06); }

.vibe-meter { margin-top:24px; }
.vibe-head { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:11px; color:var(--muted); }
.vibe-head strong { font-size:15px; color:var(--ink); }
.vibe-track { margin-top:8px; height:9px; background:var(--paper-2); border-radius:999px; overflow:hidden; }
.vibe-track span { display:block; height:100%; width:42%; border-radius:inherit; background:linear-gradient(90deg,var(--peach),var(--peach-deep)); transition:width .55s cubic-bezier(.2,.8,.2,1); }
.vibe-meter p { margin:8px 0 0; color:var(--muted); font-size:10px; }
.selection-hint { text-align:center; color:var(--muted); font-size:11px; margin:10px 0 0; }

.live-ticket { margin-top:42px; background:var(--ink); color:white; border-radius:22px; padding:26px; position:relative; overflow:hidden; box-shadow:0 22px 45px rgba(36,30,26,.16); transform:rotate(-1deg); }
.live-ticket::before { content:""; position:absolute; left:0; right:0; top:59px; border-top:1px dashed rgba(255,255,255,.18); }
.live-ticket p { margin:0 0 28px; font-size:9px; text-transform:uppercase; letter-spacing:.18em; color:rgba(255,255,255,.5); }
.live-ticket strong { display:block; font-family:Georgia,serif; font-size:22px; line-height:1.2; color:var(--peach); }
.live-ticket span:not(.ticket-hole) { display:block; margin-top:10px; color:rgba(255,255,255,.72); font-size:13px; }
.live-ticket em { display:block; margin-top:20px; padding-top:16px; border-top:1px solid rgba(255,255,255,.09); color:rgba(255,255,255,.52); font-size:11px; line-height:1.5; }
.ticket-hole { position:absolute; width:24px; height:24px; border-radius:50%; background:var(--paper); top:48px; }
.ticket-hole-left { left:-12px; }.ticket-hole-right { right:-12px; }

.memory-strip { overflow:hidden; padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); transform:rotate(-1deg); background:rgba(255,255,255,.26); }
.marquee-track { width:max-content; display:flex; gap:28px; align-items:center; animation:marquee 30s linear infinite; font-family:Georgia,serif; font-style:italic; font-size:clamp(1.5rem, 3vw, 2.5rem); }
.marquee-track i { color:var(--peach-deep); font-style:normal; font-size:.7em; }

.final-section { padding:140px 0 110px; }
.final-card { position:relative; overflow:hidden; text-align:center; border-radius:42px; background:var(--ink); color:white; padding:90px 28px; box-shadow:0 35px 80px rgba(36,30,26,.18); }
.final-card .eyebrow { color:var(--peach); }
.final-card h2 em { color:var(--peach); }
.final-card p:not(.eyebrow) { color:rgba(255,255,255,.67); max-width:600px; margin:24px auto 30px; line-height:1.7; }
.final-doodle { position:absolute; inset:0; pointer-events:none; }
.final-doodle span { position:absolute; font-size:28px; color:var(--peach); opacity:.7; animation:bob 4s ease-in-out infinite; }
.final-doodle span:nth-child(1){left:12%;top:24%;}.final-doodle span:nth-child(2){right:13%;top:19%;animation-delay:-1.3s}.final-doodle span:nth-child(3){right:19%;bottom:16%;animation-delay:-2.2s}.final-doodle span:nth-child(4){left:16%;bottom:18%;animation-delay:-3s}
footer { width:min(1180px,calc(100% - 36px)); margin:0 auto; padding:0 0 40px; display:flex; justify-content:space-between; color:var(--muted); font-size:11px; }

.answer-modal { position:fixed; inset:0; z-index:80; display:grid; place-items:center; visibility:hidden; opacity:0; transition:.25s ease; padding:18px; }
.answer-modal.open { visibility:visible; opacity:1; }
.modal-backdrop { position:absolute; inset:0; background:rgba(24,19,16,.62); backdrop-filter:blur(10px); }
.modal-card { position:relative; width:min(540px,100%); border-radius:32px; padding:40px; background:var(--cream); box-shadow:0 40px 100px rgba(0,0,0,.22); transform:translateY(18px) scale(.97); transition:.3s ease; max-height:calc(100vh - 36px); overflow:auto; }
.answer-modal.open .modal-card { transform:none; }
.modal-close { position:absolute; top:16px; right:16px; width:36px; height:36px; border:0; border-radius:50%; background:var(--paper-2); cursor:pointer; font-size:23px; color:var(--ink); }
.modal-icon { width:60px; height:60px; display:grid; place-items:center; background:#f4d7c6; border-radius:50%; font-size:30px; margin-bottom:22px; animation:heartBeat 1.8s ease-in-out infinite; }
.modal-card h2 { font-size:clamp(2.4rem,7vw,3.8rem); }
.final-plan-card { margin-top:22px; padding:18px; border-radius:20px; background:var(--ink); color:white; transform:rotate(-.6deg); }
.final-plan-card span { display:block; color:var(--peach); font-weight:800; font-size:12px; letter-spacing:.04em; }
.final-plan-card strong { display:block; font-family:Georgia,serif; font-size:21px; margin-top:8px; }
.final-plan-card em { display:block; color:rgba(255,255,255,.56); font-size:11px; margin-top:12px; }
.answer-preview { margin:16px 0 0; padding:16px; border-radius:18px; background:white; border:1px solid var(--line); color:var(--muted); line-height:1.65; font-size:13px; }
.copy-status { text-align:center; font-size:11px; color:var(--muted); margin-bottom:0; }

.toast { position:fixed; left:50%; bottom:22px; transform:translate(-50%,30px); z-index:120; background:var(--ink); color:white; padding:12px 16px; border-radius:999px; font-size:12px; opacity:0; pointer-events:none; transition:.25s ease; box-shadow:0 15px 40px rgba(36,30,26,.2); }
.toast.show { opacity:1; transform:translate(-50%,0); }
.sparkle-particle { position:fixed; z-index:100; pointer-events:none; font-size:18px; animation:popSparkle 1s ease-out forwards; }
.confetti-piece { position:fixed; top:-30px; z-index:110; pointer-events:none; font-size:18px; animation:confettiFall var(--fall) cubic-bezier(.15,.75,.3,1) forwards; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.12s; }.reveal-delay-2 { transition-delay:.22s; }

@keyframes drift { to { transform:translate3d(70px,-50px,0) scale(1.08); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes spinReverse { to { transform:rotate(-360deg); } }
@keyframes floatCard { 50% { transform:rotate(2.5deg) translateY(-13px); } }
@keyframes bob { 50% { transform:translateY(-10px) rotate(5deg); } }
@keyframes slowFloat { 50% { translate:0 -18px; rotate:8deg; } }
@keyframes marquee { to { transform:translateX(-50%); } }
@keyframes heartBeat { 50% { transform:scale(1.08); } }
@keyframes popSparkle { 0% { opacity:0; transform:translate(-50%,-50%) scale(.2) rotate(0); } 25% { opacity:1; } 100% { opacity:0; transform:translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.4) rotate(120deg); } }
@keyframes confettiFall { to { transform:translate3d(var(--wind),110vh,0) rotate(var(--spin)); opacity:.1; } }

@media (max-width: 900px) {
  .hero { grid-template-columns:1fr; padding-top:48px; }
  .hero-art { min-height:500px; margin-top:20px; }
  .reason-grid { grid-template-columns:1fr; }
  .reason-card { min-height:auto; }.reason-card h3 { margin-top:28px; }
  .photo-booth { grid-template-columns:1fr; }.booth-note { text-align:left; }
  .choice-layout { grid-template-columns:1fr; gap:48px; }
  .live-ticket { max-width:520px; }
}

@media (max-width: 620px) {
  .topbar { padding-top:18px; }.sound-toggle span { display:none; }
  .hero { min-height:auto; padding:50px 0 70px; }
  h1 { font-size:clamp(3.3rem,17vw,5.1rem); }
  .lead { font-size:15px; line-height:1.7; }
  .hero-actions { flex-direction:column; }.hero-actions .btn { width:100%; }
  .hero-art { min-height:430px; }.orbit-a { width:360px; height:360px; }.orbit-b { width:270px; height:270px; }
  .polaroid { width:285px; padding:11px 11px 20px; }.illustration { height:285px; }
  .sticker { width:55px; height:55px; font-size:22px; }.scribble { font-size:17px; bottom:4%; }
  .why, .choice-section { padding:90px 0; }
  .photo-booth { padding-bottom:40px; }.photo-strip { grid-template-columns:1fr; transform:none; }.mini-photo { min-height:140px; }
  .option-grid { grid-template-columns:1fr; }.option-card { min-height:135px; }
  .choice-panel { padding:18px; border-radius:26px; }
  .date-carousel { grid-template-columns:repeat(5,minmax(62px,1fr)); overflow-x:auto; padding-bottom:5px; }.date-card { min-width:62px; }
  .time-grid { grid-template-columns:repeat(2,1fr); }
  .date-input-wrap,.custom-time-wrap { align-items:flex-start; flex-direction:column; }.date-input-wrap input,.custom-time-wrap input { width:100%; }
  .final-section { padding:100px 0 70px; }.final-card { border-radius:28px; padding:70px 18px; }
  footer { flex-direction:column; gap:8px; }.modal-card { padding:34px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; }
  .reveal { opacity:1; transform:none; }
}

/* v3 — envelope intro + reactions */
body.intro-locked { overflow: hidden; }
.intro-screen { position:fixed; inset:0; z-index:300; display:grid; place-items:center; background:radial-gradient(circle at 50% 30%, #fff9f3 0, #f7eee7 44%, #ead9ce 100%); transition:opacity .75s ease, visibility .75s ease; overflow:hidden; }
.intro-screen.leaving { opacity:0; visibility:hidden; pointer-events:none; }
.intro-screen::before,.intro-screen::after { content:""; position:absolute; width:34rem; height:34rem; border-radius:50%; filter:blur(100px); opacity:.22; }
.intro-screen::before { background:var(--peach); left:-14rem; top:-12rem; }
.intro-screen::after { background:var(--rose); right:-14rem; bottom:-16rem; }
.intro-inner { position:relative; z-index:2; width:min(680px,calc(100% - 32px)); text-align:center; }
.intro-kicker { margin:0 0 36px; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; transition:.35s ease; }
.intro-stars span { position:absolute; color:var(--peach-deep); opacity:.25; animation:slowFloat 6s ease-in-out infinite; }
.intro-stars span:nth-child(1){left:12%;top:18%;font-size:34px}.intro-stars span:nth-child(2){right:14%;top:26%;font-size:27px;animation-delay:-2s}.intro-stars span:nth-child(3){left:18%;bottom:15%;font-size:24px;animation-delay:-4s}.intro-stars span:nth-child(4){right:20%;bottom:19%;font-size:48px;animation-delay:-1s}
.envelope-scene { position:relative; width:min(460px,88vw); height:330px; border:0; padding:0; background:transparent; cursor:pointer; perspective:1100px; }
.envelope-shadow { position:absolute; left:12%; right:12%; bottom:15px; height:44px; border-radius:50%; background:rgba(60,39,28,.15); filter:blur(18px); transition:.8s ease; }
.envelope { position:absolute; left:50%; bottom:36px; width:390px; max-width:86vw; height:235px; transform:translateX(-50%); transform-style:preserve-3d; transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.envelope-back { position:absolute; inset:0; border-radius:18px; background:#e6bca5; box-shadow:0 28px 60px rgba(72,45,31,.18); }
.envelope-front { position:absolute; inset:0; z-index:5; overflow:hidden; border-radius:18px; background:linear-gradient(145deg,#edc8b3,#dca98c); clip-path:polygon(0 22%,50% 66%,100% 22%,100% 100%,0 100%); }
.envelope-front::after { content:""; position:absolute; inset:0; background:linear-gradient(145deg,rgba(255,255,255,.25),transparent 45%); }
.envelope-flap { position:absolute; left:0; right:0; top:0; height:58%; z-index:7; transform-origin:50% 0; transform:rotateX(0deg); background:#efc7b0; clip-path:polygon(0 0,100% 0,50% 100%); transition:transform .72s cubic-bezier(.45,.05,.3,1), z-index 0s .36s; }
.wax-seal { position:absolute; z-index:9; left:50%; top:83px; width:54px; height:54px; margin-left:-27px; display:grid; place-items:center; border-radius:50%; background:#bc604e; color:#f9ded2; font-family:Georgia,serif; font-size:25px; box-shadow:0 8px 16px rgba(105,45,37,.24), inset 0 0 0 5px rgba(255,255,255,.08); transition:transform .4s ease, opacity .35s ease; }
.letter { position:absolute; z-index:3; left:7%; right:7%; bottom:22px; min-height:205px; padding:29px 24px; border-radius:12px 12px 8px 8px; background:#fffdf9; box-shadow:0 12px 30px rgba(63,39,27,.10); display:flex; flex-direction:column; align-items:center; justify-content:center; transform:translateY(22px); transition:transform .9s cubic-bezier(.2,.8,.2,1) .35s; }
.letter small { color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.15em; }
.letter strong { margin-top:13px; font-family:Georgia,serif; font-size:clamp(1.8rem,5vw,2.6rem); line-height:1.03; font-weight:600; }
.letter em { margin-top:15px; color:var(--peach-deep); font-family:Georgia,serif; font-size:12px; }
.intro-hint { margin:12px 0 0; color:var(--muted); font-family:Georgia,serif; font-style:italic; font-size:14px; transition:.35s ease; }
.intro-skip { margin-top:18px; border:0; background:transparent; color:rgba(36,30,26,.43); font-size:10px; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.intro-screen.opening .envelope-flap { transform:rotateX(178deg); z-index:2; }
.intro-screen.opening .wax-seal { transform:scale(.6) rotate(18deg); opacity:0; }
.intro-screen.opening .letter { transform:translateY(-112px) rotate(-1deg); }
.intro-screen.opening .envelope { transform:translateX(-50%) translateY(18px) scale(.98); }
.intro-screen.opening .envelope-shadow { transform:scaleX(.82); opacity:.65; }
.intro-screen.opened .letter { transform:translateY(-132px) rotate(-1deg) scale(1.025); }
.intro-screen.opened .intro-hint { opacity:0; transform:translateY(5px); }
.intro-screen.opened .intro-kicker { color:var(--peach-deep); }

.micro-secret { border:0; padding:0; background:transparent; color:inherit; cursor:pointer; text-align:left; }
.micro-secret:hover { color:var(--peach-deep); }
.choice-reaction { margin-top:22px; display:flex; align-items:center; gap:13px; padding:13px 14px; border:1px dashed rgba(36,30,26,.16); border-radius:18px; background:rgba(255,255,255,.33); transition:transform .25s ease, background .25s ease; }
.choice-reaction.pop { transform:scale(1.015) rotate(-.25deg); background:#fffaf4; }
.reaction-face { flex:0 0 50px; width:50px; height:50px; border-radius:47% 53% 50% 50%; background:#f3c5aa; display:flex; flex-direction:column; align-items:center; justify-content:center; transform:rotate(-4deg); box-shadow:inset -5px -5px 0 rgba(215,127,88,.08); transition:.25s ease; }
.reaction-eyes { font-size:12px; font-weight:900; letter-spacing:5px; margin-left:5px; line-height:1; }
.reaction-mouth { font-family:Georgia,serif; font-size:16px; line-height:1; margin-top:2px; }
.choice-reaction small { display:block; color:var(--peach-deep); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.13em; }
.choice-reaction p { margin:3px 0 0; color:var(--muted); font-size:11px; line-height:1.45; }
.ticket-stamp { position:absolute !important; right:20px; top:18px; margin:0 !important; padding:7px 9px; border:1px solid rgba(242,179,142,.48); border-radius:5px; color:var(--peach) !important; font-size:8px !important; font-weight:900; letter-spacing:.12em; text-transform:uppercase; transform:rotate(6deg) scale(.82); opacity:.5; transition:.3s ease; }
.live-ticket.ready .ticket-stamp { opacity:1; transform:rotate(6deg) scale(1); box-shadow:inset 0 0 0 2px rgba(242,179,142,.10); }
.live-ticket.ticket-pop { animation:ticketPop .42s ease; }
.final-actions { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }
.btn-final-ghost { color:white; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06); }
.postscript { max-width:570px; margin:20px auto 0; padding:0 18px; color:rgba(255,255,255,.70); font-family:Georgia,serif; font-style:italic; font-size:14px; line-height:1.6; opacity:0; max-height:0; overflow:hidden; transform:translateY(8px); transition:.35s ease; }
.postscript.show { opacity:1; max-height:120px; transform:none; }
.postscript span { color:var(--peach); font-weight:700; }
.modal-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:18px; }
.modal-actions .btn { width:100%; padding-left:14px; padding-right:14px; }
.btn-calendar { background:#f1e2d9; color:var(--ink); }
.modal-soft-note { margin:12px 4px 0; text-align:center; color:var(--muted); font-size:9px; line-height:1.45; }

@keyframes ticketPop { 50% { transform:rotate(-.2deg) scale(1.018); } }

@media (max-width:620px) {
  .envelope-scene { height:290px; }
  .envelope { height:205px; }
  .letter { min-height:180px; padding:22px 15px; }
  .wax-seal { top:72px; width:48px; height:48px; margin-left:-24px; }
  .intro-screen.opening .letter { transform:translateY(-92px) rotate(-1deg); }
  .intro-screen.opened .letter { transform:translateY(-106px) rotate(-1deg) scale(1.02); }
  .modal-actions { grid-template-columns:1fr; }
  .choice-reaction { align-items:flex-start; }
}

/* v4 — confirmation + Telegram notification */
.reply-note-wrap { display:block; margin-top:16px; position:relative; }
.reply-note-wrap > span { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:8px; font-size:12px; font-weight:700; }
.reply-note-wrap > span small { color:var(--muted); font-weight:500; }
.reply-note-wrap textarea { width:100%; min-height:92px; resize:vertical; border:1px solid var(--line); border-radius:18px; background:#fff; padding:14px 46px 14px 14px; color:var(--ink); font:inherit; line-height:1.5; outline:none; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.reply-note-wrap textarea:focus { border-color:rgba(215,127,88,.65); box-shadow:0 0 0 4px rgba(215,127,88,.10); }
.reply-note-wrap em { position:absolute; right:12px; bottom:10px; color:var(--muted); font-size:10px; font-style:normal; }
.btn-confirm { width:100%; margin-top:14px; justify-content:center; }
.btn-confirm.sending { pointer-events:none; opacity:.72; }
.notify-status { display:none; margin-top:12px; padding:12px 14px; border-radius:15px; font-size:12px; line-height:1.5; text-align:center; }
.notify-status.show { display:block; }
.notify-status.ok { background:rgba(92,154,103,.11); color:#335d3b; border:1px solid rgba(92,154,103,.22); }
.notify-status.error { background:rgba(190,85,70,.09); color:#8b3f35; border:1px solid rgba(190,85,70,.20); }
.after-confirm[hidden] { display:none !important; }
.confirmed-badge { animation:confirmedPulse .7s ease; }
@keyframes confirmedPulse { 0%{transform:scale(.98)} 45%{transform:scale(1.03)} 100%{transform:scale(1)} }
