@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  --bg: #190f1b;
  --bg-soft: #211421;
  --card: #281a29;
  --card-light: #332234;
  --pink: #f29ab4;
  --pink-hot: #f4b4c6;
  --cream: #f8eee8;
  --muted: #bda9b8;
  --line: rgba(248, 238, 232, .13);
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--cream); background: var(--bg); font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--pink); color: var(--bg); }

.ambient { position: fixed; z-index: -2; border-radius: 50%; filter: blur(90px); opacity: .17; pointer-events: none; }
.ambient-one { width: 520px; height: 520px; top: 2%; left: -240px; background: #9a355e; }
.ambient-two { width: 520px; height: 520px; top: 44%; right: -270px; background: #70427d; }
.grain { position: fixed; z-index: 10; inset: 0; pointer-events: none; opacity: .035; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.section-wrap { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.site-header { height: 78px; width: min(1240px, calc(100% - 56px)); margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: flex; gap: 10px; align-items: center; font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; color: var(--bg); background: var(--pink); border-radius: 50%; font: 14px var(--sans); }
.main-nav { display: flex; align-items: center; gap: 34px; color: #d6c5d1; font-size: 12px; letter-spacing: .04em; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .text-link:hover { color: var(--pink); }
.header-heart { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; color: var(--pink); }
.menu-toggle { display: none; color: var(--cream); background: transparent; border: 0; font-size: 22px; cursor: pointer; }

.hero { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; min-height: 660px; padding-top: 52px; padding-bottom: 60px; gap: 40px; }
.eyebrow, .section-eyebrow { color: var(--pink); font: 10px var(--mono); letter-spacing: .2em; }
.eyebrow { margin-bottom: 28px; }
.sparkle { color: #eac2d0; padding-inline: 4px; }
.hero-kicker { color: var(--muted); font-size: 12px; letter-spacing: .04em; margin: 0 0 13px; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 500; }
.hero h1 { font-size: clamp(55px, 6.6vw, 88px); line-height: .99; letter-spacing: -.055em; margin: 0; }
.hero h1 em, .section-heading h2 em, .game-copy h2 em, .closing-section h2 em { color: var(--pink); font-weight: 500; }
.couple-names { font-family: var(--serif); font-size: 17px; margin: 27px 0 12px; color: #f3dfe7; }
.couple-names span { color: var(--pink); margin: 0 3px; font-size: 15px; }
.hero-description { max-width: 425px; color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; border: 0; cursor: pointer; padding: 14px 19px; font-size: 11px; font-weight: 700; letter-spacing: .02em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #251520; background: var(--pink); box-shadow: 0 10px 35px rgba(242,154,180,.12); }
.button-primary:hover { background: #ffc0d2; }
.button-primary span { font-size: 16px; }
.text-link { color: #d8c4d0; font-size: 11px; transition: color .2s; }
.text-link span { color: var(--pink); margin-left: 8px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 45px; color: #9f8a9a; font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.note-heart { color: var(--pink); font-size: 15px; }
.hero-art { min-height: 470px; position: relative; display: grid; place-items: center; }
.polaroid-stack { position: relative; width: 100%; max-width: 520px; height: 455px; }
.polaroid { position: absolute; width: 252px; height: 398px; margin: 0; padding: 10px 10px 49px; background: linear-gradient(145deg, #fffaf2, #e8ddd1); box-shadow: 0 28px 65px rgba(0,0,0,.38), 0 5px 14px rgba(0,0,0,.16); transform-origin: center center; }
.polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; background: #d9cbc0; filter: saturate(.88) contrast(.98); }
.polaroid figcaption { position: absolute; left: 13px; right: 13px; bottom: 15px; display: flex; align-items: center; justify-content: space-between; color: #63534d; font: 7px var(--mono); letter-spacing: .13em; }
.polaroid figcaption b { color: #b77d87; font: 17px var(--sans); }
.polaroid-back { z-index: 1; top: 38px; right: 8%; transform: rotate(8deg); animation: polaroid-float-back 8.5s ease-in-out infinite; }
.polaroid-back img { object-position: center 28%; }
.polaroid-front { z-index: 2; top: 8px; left: 6%; transform: rotate(-6deg); animation: polaroid-float-front 7.2s ease-in-out infinite; }
.polaroid-front img { object-position: center 38%; }
@keyframes polaroid-float-front { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); } 50% { transform: translate3d(-5px, -13px, 0) rotate(-3.5deg); } }
@keyframes polaroid-float-back { 0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); } 50% { transform: translate3d(5px, 12px, 0) rotate(10deg); } }
.orbit { position: absolute; border: 1px solid rgba(242,154,180,.23); border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { width: 430px; height: 280px; }
.orbit-two { width: 500px; height: 350px; transform: rotate(36deg); border-color: rgba(248,238,232,.1); }
.floating-sticker { position: absolute; z-index: 3; padding: 11px 14px; color: #2b1925; background: #f5c4d2; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-family: var(--serif); font-size: 13px; }
.sticker-top { top: 50px; right: 8px; transform: rotate(8deg); }
.sticker-bottom { left: -1px; bottom: 34px; background: #e9dfd2; transform: rotate(-7deg); font-size: 11px; }
.sticker-bottom span { color: #bd4d78; margin-left: 8px; }
.hero-spark { position: absolute; color: var(--pink); }
.hero-spark-a { top: 44px; left: 14%; font-size: 25px; }
.hero-spark-b { right: 8%; bottom: 55px; font-size: 20px; }

.stats-section { padding-top: 48px; padding-bottom: 100px; }
.section-eyebrow span { color: #8b7387; padding: 0 7px; }
.stats-card { position: relative; overflow: hidden; margin-top: 18px; padding: 38px 46px 29px; background: linear-gradient(115deg, #302031 0%, #261726 60%, #3a2032 100%); border: 1px solid rgba(242,154,180,.18); }
.stats-heading { display: flex; align-items: flex-start; justify-content: space-between; position: relative; z-index: 1; }
.small-label { color: #b995aa; font: 9px var(--mono); letter-spacing: .16em; margin: 0 0 10px; }
.stats-heading h2 { font-size: 34px; line-height: 1.16; margin: 0; letter-spacing: -.03em; }
.since-badge { padding: 8px 11px; border: 1px solid rgba(242,154,180,.25); color: #d6b9c8; font: 9px var(--mono); letter-spacing: .05em; }
.badge-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-right: 7px; box-shadow: 0 0 12px var(--pink); }
.timer-grid { display: flex; align-items: center; gap: clamp(12px, 3vw, 36px); margin-top: 38px; position: relative; z-index: 1; }
.timer-unit { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.timer-unit strong { color: var(--cream); font: 500 clamp(34px, 5.3vw, 60px) var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.timer-unit span { color: #bd9bac; font: 9px var(--mono); letter-spacing: .2em; }
.timer-separator { align-self: flex-start; padding-top: 8px; color: #a66f8c; font: 30px var(--serif); opacity: .65; }
.stats-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 29px; padding-top: 17px; color: #c0aebb; font-size: 11px; }
.stats-footer span { color: var(--pink); margin-right: 8px; }
.stats-decoration { position: absolute; right: 38px; top: 65px; font: 200px var(--serif); line-height: 1; color: rgba(242,154,180,.045); transform: rotate(-15deg); }

.story-section { padding-bottom: 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 33px; }
.section-heading h2 { font-size: clamp(43px, 5vw, 60px); line-height: 1.05; letter-spacing: -.045em; margin: 14px 0 0; }
.section-heading > p { max-width: 300px; color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 5px; }
.story-card { position: relative; overflow: hidden; min-height: 320px; padding: 35px 48px 37px; background: linear-gradient(120deg, #302132, #241724); border: 1px solid var(--line); }
.story-index { position: relative; z-index: 1; color: #c59ab1; font: 9px var(--mono); letter-spacing: .17em; }
.story-index span { color: var(--pink); padding: 0 7px; }
.story-quote-mark { position: absolute; left: 43px; top: 58px; color: rgba(242,154,180,.25); font: 100px var(--serif); line-height: 1; }
.story-card blockquote { position: relative; z-index: 1; font-size: clamp(27px, 3.8vw, 42px); color: #f7e9e9; margin: 30px 0 16px; letter-spacing: -.025em; }
.story-message { position: relative; z-index: 1; max-width: 680px; color: #c9b6c4; font-size: 13px; line-height: 1.9; margin: 0; }
.story-signature { display: flex; align-items: center; gap: 13px; color: #f3dce6; margin-top: 26px; font-family: var(--serif); font-size: 14px; }
.story-signature b { color: var(--pink); }
.signature-line { width: 32px; height: 1px; background: var(--pink); }
.story-watermark { position: absolute; right: 24px; bottom: -45px; color: rgba(255,255,255,.025); font: 150px var(--serif); letter-spacing: -.1em; }

.memories-section { padding-bottom: 115px; }
.memories-heading { margin-bottom: 29px; }
.memories-heading h2 { font-size: clamp(43px, 5vw, 58px); }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 17px; align-items: stretch; }
.memory-card { display: block; position: relative; overflow: hidden; padding: 0; height: 290px; border: 1px solid rgba(255,255,255,.13); background: #342334; text-align: left; cursor: zoom-in; }
.memory-large { height: 390px; grid-row: span 1; }
.memory-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease, filter .4s; filter: saturate(.82); }
.memory-card:hover img { transform: scale(1.045); filter: saturate(1); }
.memory-overlay { position: absolute; inset: auto 0 0; padding: 45px 19px 18px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(transparent, rgba(20,10,19,.9)); color: #fff0f2; }
.memory-overlay span { font: 8px var(--mono); letter-spacing: .18em; color: var(--pink); }
.memory-overlay b { font: 17px var(--serif); font-weight: 500; }
.memory-overlay i { color: var(--pink); font-style: normal; font-family: var(--sans); font-size: 13px; margin-left: 8px; }
.gallery-hint { text-align: right; color: #9f8a9a; font: 9px var(--mono); letter-spacing: .08em; margin-top: 15px; }
.gallery-hint span { color: var(--pink); margin-left: 5px; }

.letter-section { position: relative; padding-bottom: 125px; }
.letter-card { width: min(760px, 100%); margin-inline: auto; position: relative; padding: 33px 55px 30px; color: #4a2e42; background: #f0dfdc; box-shadow: 0 25px 80px rgba(0,0,0,.25); transform: rotate(-.5deg); }
.letter-topline, .letter-bottom { display: flex; justify-content: space-between; color: #a17a8d; font: 8px var(--mono); letter-spacing: .17em; }
.letter-stamp { position: absolute; top: 66px; right: 52px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #c78c9e; border-radius: 50%; color: #bf718d; font-size: 19px; transform: rotate(12deg); }
.letter-to { font: 9px var(--mono); letter-spacing: .15em; color: #9f6c81; margin: 48px 0 11px; }
.letter-card h2 { font-size: 39px; letter-spacing: -.04em; margin: 0 0 23px; }
.letter-card h2 span { color: #c66f8e; font: 19px var(--sans); }
.letter-main { max-width: 580px; color: #634456; font: 19px/1.8 var(--serif); margin: 0 0 16px; }
.letter-secondary { max-width: 590px; color: #806173; font-size: 12px; line-height: 2; margin: 0; }
.letter-signoff { margin-top: 30px; color: #98758b; font: italic 13px var(--serif); }
.letter-name { color: #58364d; font: italic 30px var(--serif); margin-top: 2px; }
.letter-name span { color: #c66f8e; font: 13px var(--sans); margin-left: 8px; }
.letter-bottom { border-top: 1px solid rgba(114,75,97,.2); padding-top: 16px; margin-top: 30px; }
.letter-decoration { position: absolute; top: -40px; left: 4%; color: rgba(242,154,180,.13); font: 220px var(--serif); transform: rotate(-18deg); }

.game-section { padding-bottom: 125px; }
.game-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 50px; padding-top: 25px; }
.game-copy .small-label { color: var(--pink); }
.game-copy h2 { font-size: clamp(48px, 5.5vw, 67px); line-height: 1; letter-spacing: -.05em; margin: 0 0 18px; }
.game-copy > p:not(.small-label):not(.game-status) { max-width: 350px; color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0 0 23px; }
.game-status { color: #bd9bab; font: 9px var(--mono); letter-spacing: .04em; margin-top: 14px; min-height: 14px; }
.console-wrap { display: flex; justify-content: center; }
.console { width: min(370px, 100%); padding: 22px 24px 19px; border-radius: 22px 22px 46px 22px; background: linear-gradient(140deg, #d6a3b6, #b97996); box-shadow: 13px 21px 40px rgba(0,0,0,.32), inset 3px 3px 5px rgba(255,255,255,.35); }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: 0 5px 11px; color: #6e3b59; font: 8px var(--mono); letter-spacing: .16em; }
.console-led { width: 6px; height: 6px; border-radius: 50%; background: #6c9b6d; box-shadow: 0 0 7px #6c9b6d; }
.console-screen { padding: 11px 13px 9px; background: #201d2b; border: 5px solid #493447; box-shadow: inset 0 0 15px rgba(0,0,0,.7); }
.screen-top, .screen-bottom { display: flex; justify-content: space-between; color: #edb6ca; font: 8px var(--mono); letter-spacing: .1em; }
.screen-top b, .screen-bottom b { color: #fff1f4; }
.game-playfield { height: 184px; position: relative; overflow: hidden; margin: 10px 0; border: 1px dashed rgba(242,154,180,.18); background: radial-gradient(circle at center, #34243c, #1b1b2c); }
.game-welcome { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #f6b5c9; }
.game-welcome span { font-size: 38px; }
.game-welcome b { font: 12px var(--mono); letter-spacing: .2em; }
.game-welcome small { color: #a88da5; font: 7px var(--mono); letter-spacing: .18em; }
.game-heart { position: absolute; border: 0; padding: 0; background: transparent; color: #ff9fbd; cursor: pointer; font-size: 29px; line-height: 1; filter: drop-shadow(0 0 7px rgba(255,134,177,.55)); animation: heartbeat .8s infinite alternate; }
@keyframes heartbeat { to { transform: scale(1.19); } }
.console-controls { display: flex; align-items: center; justify-content: space-between; padding: 19px 12px 10px; }
.dpad { width: 86px; height: 75px; position: relative; color: #70465e; }
.dpad span { position: absolute; display: grid; place-items: center; background: #70465e; color: #d9a6b9; font-size: 10px; }
.dpad-up, .dpad-down { width: 24px; height: 25px; left: 31px; }
.dpad-up { top: 0; border-radius: 4px 4px 0 0; }
.dpad-down { bottom: 0; border-radius: 0 0 4px 4px; }
.dpad-left, .dpad-right { width: 31px; height: 24px; top: 25px; }
.dpad-left { left: 0; border-radius: 4px 0 0 4px; }
.dpad-right { right: 0; border-radius: 0 4px 4px 0; }
.dpad-center { width: 24px; height: 24px; left: 31px; top: 25px; }
.action-buttons { display: flex; gap: 12px; transform: rotate(-22deg); }
.action-buttons span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #784660; color: #f1c2d1; box-shadow: inset 1px 2px 4px rgba(0,0,0,.3); font: 11px var(--mono); }
.console-bottom { display: flex; justify-content: space-between; color: #77465f; font: 8px var(--mono); letter-spacing: .16em; padding: 0 4px; }
.console-bottom span { letter-spacing: 3px; }

.closing-section { text-align: center; padding-top: 16px; padding-bottom: 100px; }
.closing-heart { color: var(--pink); font-size: 25px; margin-bottom: 13px; }
.closing-section > p { color: #aa8299; font: 9px var(--mono); letter-spacing: .22em; }
.closing-section h2 { font-size: clamp(40px, 5vw, 57px); line-height: 1.12; margin: 17px 0 24px; letter-spacing: -.04em; }
.back-top { display: inline-block; padding: 10px 15px; color: #d8b5c5; border: 1px solid var(--line); font: 9px var(--mono); letter-spacing: .08em; transition: all .2s; }
.back-top:hover { border-color: var(--pink); color: var(--pink); }
.site-footer { border-top: 1px solid var(--line); padding: 26px 28px 23px; text-align: center; }
.footer-brand { font: 15px var(--serif); }
.footer-brand span { color: var(--pink); }
.site-footer p { color: #9c8798; font-size: 10px; margin: 7px 0 16px; }
.footer-copy { color: #755f73; font: 8px var(--mono); letter-spacing: .16em; }

.lightbox { position: fixed; z-index: 50; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 35px; background: rgba(12,7,14,.93); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(900px, 90vw); max-height: 78vh; object-fit: contain; box-shadow: 0 25px 80px #000; }
.lightbox p { color: #dfc2d1; font: 12px var(--mono); letter-spacing: .08em; margin-top: 17px; text-align: center; }
.lightbox-close { position: absolute; right: 28px; top: 19px; border: 0; background: transparent; color: #fff0f4; font-size: 37px; cursor: pointer; }

@media (max-width: 820px) {
  .section-wrap, .site-header { width: min(100% - 38px, 660px); }
  .hero { grid-template-columns: 1fr 1fr; gap: 15px; min-height: 590px; }
  .hero h1 { font-size: clamp(53px, 8vw, 72px); }
  .hero-art { min-height: 380px; }
  .hero-photo-frame { height: 340px; width: 85%; }
  .sticker-top { right: -5px; }
  .sticker-bottom { left: -12px; }
  .orbit-one { width: 340px; height: 245px; }
  .orbit-two { width: 385px; height: 295px; }
  .stats-card { padding: 30px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .memory-large { height: 340px; grid-column: span 2; }
  .memory-card:not(.memory-large) { height: 240px; }
  .game-layout { gap: 24px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 70px; }
  .section-wrap, .site-header { width: calc(100% - 36px); }
  .site-header { height: 66px; }
  .brand { font-size: 18px; }
  .menu-toggle { display: block; margin-left: auto; margin-right: 16px; }
  .header-heart { width: 32px; height: 32px; }
  .main-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 15px; background: #261827; border: 1px solid var(--line); box-shadow: 0 15px 25px rgba(0,0,0,.25); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border: 0; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 53px; padding-bottom: 40px; gap: 20px; }
  .eyebrow { margin-bottom: 21px; }
  .hero h1 { font-size: clamp(57px, 15vw, 76px); }
  .couple-names { font-size: 16px; line-height: 1.5; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 18px; margin-top: 24px; }
  .hero-note { margin-top: 26px; }
  .hero-art { min-height: 400px; margin-top: 5px; }
  .hero-photo-frame { width: min(300px, 77%); height: 370px; }
  .sticker-top { right: 2%; top: 34px; }
  .sticker-bottom { left: 1%; bottom: 26px; }
  .orbit-one { width: 350px; max-width: 100%; height: 250px; }
  .orbit-two { width: 390px; max-width: 110%; height: 300px; }
  .stats-section { padding-top: 35px; padding-bottom: 80px; }
  .stats-card { padding: 25px 20px 20px; }
  .stats-heading { display: block; }
  .stats-heading h2 { font-size: 29px; }
  .since-badge { display: inline-block; margin-top: 17px; }
  .timer-grid { gap: clamp(6px, 2.3vw, 13px); margin-top: 29px; justify-content: space-between; }
  .timer-unit strong { font-size: clamp(28px, 8vw, 43px); }
  .timer-unit span { font-size: 7px; letter-spacing: .12em; }
  .timer-separator { font-size: 22px; padding-top: 4px; }
  .stats-footer { line-height: 1.7; font-size: 10px; }
  .stats-decoration { font-size: 130px; right: 0; top: 105px; }
  .story-section, .memories-section, .game-section { padding-bottom: 84px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { font-size: 47px; }
  .section-heading > p { margin-top: 15px; max-width: 360px; }
  .story-card { padding: 28px 23px 30px; min-height: 350px; }
  .story-quote-mark { left: 19px; top: 57px; font-size: 80px; }
  .story-card blockquote { font-size: 31px; margin-top: 31px; line-height: 1.14; }
  .story-message { font-size: 12px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .memory-large { height: 300px; }
  .memory-card:not(.memory-large) { height: 200px; }
  .memory-overlay { padding: 35px 12px 13px; }
  .memory-overlay b { font-size: 14px; }
  .gallery-hint { text-align: left; font-size: 8px; }
  .letter-section { padding-bottom: 90px; }
  .letter-card { padding: 26px 24px 23px; }
  .letter-topline, .letter-bottom { font-size: 6px; letter-spacing: .1em; }
  .letter-stamp { top: 59px; right: 22px; width: 37px; height: 37px; font-size: 15px; }
  .letter-to { margin-top: 43px; }
  .letter-card h2 { font-size: 31px; }
  .letter-main { font-size: 17px; }
  .letter-secondary { font-size: 11px; }
  .letter-bottom { margin-top: 25px; }
  .letter-decoration { font-size: 130px; left: -20px; }
  .game-layout { grid-template-columns: 1fr; gap: 32px; }
  .game-copy h2 { font-size: 56px; }
  .console { width: min(360px, 100%); }
  .closing-section { padding-bottom: 75px; }
  .closing-section h2 { font-size: 43px; }
  .site-footer { padding-inline: 18px; }
  .footer-brand { font-size: 13px; }
}


/* ===== AESTHETIC UPDATE: warm espresso, muted rose, and floating Polaroids ===== */
:root {
  --bg: #171519;
  --bg-soft: #211e22;
  --card: #29242a;
  --card-light: #393036;
  --pink: #d6a3ad;
  --pink-hot: #e8bdc1;
  --cream: #f1e9df;
  --muted: #c2b6ad;
  --line: rgba(241,233,223,.14);
}
body {
  color: var(--cream);
  background:
    radial-gradient(ellipse at 12% 5%, rgba(150,103,111,.19), transparent 33%),
    radial-gradient(ellipse at 88% 28%, rgba(111,92,91,.16), transparent 36%),
    radial-gradient(ellipse at 45% 78%, rgba(109,82,92,.12), transparent 42%),
    linear-gradient(145deg, #171519 0%, #211c21 48%, #171619 100%);
  background-attachment: fixed;
}
.ambient-one { background: #986b72; opacity: .13; }
.ambient-two { background: #81706b; opacity: .12; }
.site-header { border-bottom-color: rgba(231,215,204,.16); }
.main-nav { color: #d5c9c0; }
.main-nav a:hover, .text-link:hover { color: #e5b9bd; }
.header-heart { color: #dfb0b5; border-color: rgba(231,215,204,.22); }
.hero h1, .stats-heading h2, .section-heading h2, .game-copy h2, .closing-section h2 { color: #f1e9df; }
.hero h1 em, .section-heading h2 em, .game-copy h2 em, .closing-section h2 em { color: #dcaeb4; }
.eyebrow, .section-eyebrow { color: #d9aeb2; }
.sparkle { color: #ead2c9; }
.hero-kicker, .hero-description, .section-heading > p, .game-copy > p:not(.small-label):not(.game-status) { color: #c7bbb3; }
.couple-names { color: #eee0d8; }
.couple-names span, .note-heart, .photo-label b { color: #d9aab1; }
.hero-note { color: #b7a6a4; }
.button-primary { color: #2a2022; background: #d9adb2; box-shadow: 0 10px 35px rgba(196,143,151,.13); }
.button-primary:hover { background: #ecc5c5; }
.text-link { color: #ddd0c8; }
.stats-card { background: linear-gradient(118deg, rgba(57,46,49,.96), rgba(38,33,37,.98) 58%, rgba(62,48,52,.96)); border-color: rgba(217,174,178,.21); }
.small-label { color: #cfabb0; }
.since-badge { border-color: rgba(217,174,178,.25); color: #ddc9c5; }
.timer-unit strong { color: #f3eae0; }
.timer-unit span { color: #c8aaa9; }
.timer-separator { color: #bd9298; }
.stats-footer { color: #d0c1b9; border-top-color: rgba(241,233,223,.14); }
.stats-decoration { color: rgba(217,174,178,.055); }
.story-card { background: linear-gradient(125deg, rgba(56,46,49,.97), rgba(34,30,34,.98)); border-color: rgba(241,233,223,.13); box-shadow: 0 22px 55px rgba(0,0,0,.13); }
.story-index { color: #d0b3b0; }
.story-quote-mark { color: rgba(217,174,178,.24); }
.story-card blockquote { color: #f1e9df; }
.story-message { color: #cbbeb6; }
.story-signature { color: #ebded6; }
.story-watermark { color: rgba(255,255,255,.025); }
.memory-card { background: #302a2d; border-color: rgba(241,233,223,.18); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.memory-overlay { color: #fbf4eb; background: linear-gradient(transparent, rgba(24,20,22,.92)); }
.memory-overlay span, .memory-overlay i, .gallery-hint span { color: #e0b2b4; }
.gallery-hint { color: #b9aaa4; }
.letter-card { background: linear-gradient(145deg, #f1e7dc, #e7d8ce); color: #51413c; box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.letter-topline, .letter-bottom { color: #90777a; }
.letter-stamp { border-color: #c89a9c; color: #b77c83; }
.letter-to { color: #9d7378; }
.letter-main { color: #5f4d48; }
.letter-secondary { color: #7d6961; }
.letter-signoff { color: #92777a; }
.letter-name { color: #584640; }
.letter-card h2 span, .letter-name span { color: #b77c83; }
.letter-bottom { border-top-color: rgba(93,69,65,.2); }
.letter-decoration { color: rgba(217,174,178,.12); }
.game-copy .small-label { color: #d9aeb2; }
.game-status { color: #c9b4b0; }
.console { background: linear-gradient(145deg, #d9b7b1, #b98d8d); box-shadow: 13px 21px 40px rgba(0,0,0,.32), inset 3px 3px 5px rgba(255,255,255,.4); }
.console-top, .console-bottom { color: #684d4c; }
.console-screen { background: #211d22; border-color: #554047; }
.screen-top, .screen-bottom { color: #dcb2b5; }
.screen-top b, .screen-bottom b { color: #f5eae3; }
.game-playfield { border-color: rgba(217,174,178,.22); background: radial-gradient(circle at center, #45343d, #211d22); }
.game-welcome { color: #e4b6bb; }
.game-welcome small { color: #c0a8a7; }
.game-heart { color: #e9aeb5; }
.dpad span { background: #76565a; color: #ead0c9; }
.action-buttons span { background: #79575b; color: #f3d9d2; }
.closing-section > p { color: #c4a6a5; }
.back-top { color: #e0c6c1; border-color: rgba(241,233,223,.18); }
.back-top:hover { border-color: #d9aeb2; color: #e4b9bc; }
.site-footer { border-top-color: rgba(241,233,223,.14); background: rgba(17,15,18,.18); }
.site-footer p { color: #b6a6a1; }
.footer-copy { color: #948382; }
.lightbox { background: rgba(17,14,17,.96); }
.lightbox p { color: #e4c8c5; }
.lightbox-close { color: #f4e9e1; }

@media (max-width: 820px) {
  .polaroid-stack { height: 385px; }
  .polaroid { width: 218px; height: 342px; padding: 9px 9px 44px; }
  .polaroid figcaption { left: 11px; right: 11px; bottom: 13px; font-size: 6px; }
}
@media (max-width: 620px) {
  .main-nav { background: rgba(37,31,34,.98); border-color: rgba(241,233,223,.15); }
  .hero-art { min-height: 420px; }
  .polaroid-stack { height: 405px; max-width: 420px; margin-inline: auto; }
  .polaroid { width: min(218px, 55vw); height: 348px; padding: 9px 9px 44px; }
  .polaroid-front { left: 5%; top: 15px; }
  .polaroid-back { right: 4%; top: 48px; }
  .sticker-top { right: 0; top: 18px; }
  .sticker-bottom { left: 0; bottom: 18px; }
  .hero-spark-a { top: 2px; left: 8%; }
  .hero-spark-b { right: 7%; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===== FERDI & NISA · PIXEL LOVE QUEST ===== */
.game-layout { grid-template-columns: .82fr 1.18fr; gap: 38px; align-items: center; }
.quest-howto { display: grid; gap: 10px; margin: 22px 0 24px; color: #d6c6bd; font-size: 11px; }
.quest-howto > div { display: flex; align-items: center; gap: 8px; }
.key-cap { display: inline-grid; min-width: 25px; height: 23px; place-items: center; padding: 0 6px; border: 1px solid rgba(235,203,194,.34); border-bottom-width: 3px; border-radius: 5px; color: #f0dcd4; background: rgba(255,255,255,.055); font: 9px var(--mono); }
.key-cap + .key-cap { margin-left: -4px; }
.quest-heart { color: #e7a7b4; font-size: 17px; }
.console { width: min(630px, 100%); padding: 21px 23px 17px; border-radius: 24px 24px 43px 24px; background: linear-gradient(145deg, #e0c6b8, #b58c8b 75%, #98777c); border: 1px solid rgba(255,241,228,.45); box-shadow: 14px 24px 44px rgba(0,0,0,.34), inset 3px 3px 7px rgba(255,255,255,.42), inset -3px -4px 9px rgba(78,46,55,.15); }
.console-top { color: #684d4c; padding: 0 5px 12px; font: 8px var(--mono); }
.console-led { width: 7px; height: 7px; background: #819a76; box-shadow: 0 0 8px #819a76; }
.console-screen { padding: 10px 12px 9px; background: #292231; border: 5px solid #66505a; border-radius: 8px; box-shadow: inset 0 0 16px rgba(0,0,0,.72), 0 2px 0 rgba(255,255,255,.1); }
.screen-top, .screen-bottom { color: #e4c4c4; font-size: 8px; }
.screen-top b, .screen-bottom b { color: #fff0e7; }
.game-canvas { display: block; width: 100%; height: auto; aspect-ratio: 9 / 4; margin: 9px 0; border: 1px solid rgba(241,207,202,.25); border-radius: 3px; background: #34283c; image-rendering: pixelated; touch-action: none; }
.game-touch-controls { display: flex; justify-content: space-between; align-items: center; padding: 17px 12px 12px; }
.touch-move { display: flex; gap: 9px; }
.touch-control { min-width: 49px; height: 43px; padding: 0 12px; border: 0; border-radius: 12px; color: #f2ded7; background: linear-gradient(145deg, #74535a, #543d4b); box-shadow: 0 4px 0 #3c2c37, inset 1px 1px 3px rgba(255,255,255,.2); font: 14px var(--mono); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.touch-control:active { transform: translateY(3px); box-shadow: 0 1px 0 #3c2c37, inset 1px 1px 3px rgba(0,0,0,.2); }
.touch-jump { min-width: 88px; height: 48px; border-radius: 24px; background: linear-gradient(145deg, #a66d7a, #80525f); font-size: 10px; letter-spacing: .12em; }
.touch-jump span { color: #ffdce1; margin-left: 4px; font-size: 14px; }
.console-bottom { color: #684d4c; font-size: 8px; }
.game-status { max-width: 420px; min-height: 32px; line-height: 1.7; }
@media (max-width: 820px) {
  .game-layout { grid-template-columns: 1fr; gap: 28px; }
  .console { width: min(630px, 100%); }
  .game-copy > p:not(.small-label):not(.game-status) { max-width: 560px; }
}
@media (max-width: 620px) {
  .game-layout { gap: 23px; }
  .console { padding: 15px 14px 14px; border-radius: 18px 18px 32px 18px; }
  .console-screen { padding: 8px 8px 7px; border-width: 4px; }
  .screen-top, .screen-bottom { font-size: 7px; }
  .game-touch-controls { padding: 14px 6px 11px; }
  .touch-control { min-width: 45px; height: 40px; }
  .touch-jump { min-width: 82px; height: 44px; }
  .quest-howto { margin: 18px 0 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .polaroid-front, .polaroid-back { animation: none !important; }
  html { scroll-behavior: auto; }
}
