:root {
  --night: #211633;
  --night-soft: #302143;
  --lavender: #c8afe8;
  --lavender-light: #eee5f8;
  --gold: #d9bd7d;
  --gold-light: #f2dfad;
  --ink: #382b46;
  --muted: #786d83;
  --paper: #fbf8fd;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Great Vibes', 'Brush Script MT', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); font-size: 18px; }
a { color: inherit; }
button { font: inherit; }
.intro-screen { position: fixed; inset: 0; z-index: 20; overflow: hidden; display: grid; place-items: center; color: #fff9ed; text-align: center; background: radial-gradient(ellipse at 50% 42%, #59416f 0%, #342348 46%, #1d142c 100%); transition: opacity .9s ease, visibility .9s ease; }
.intro-screen.is-closing { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-stars { position: absolute; inset: 0; opacity: .78; background-image: radial-gradient(2px 2px at 12% 18%, #fff 40%, transparent 70%), radial-gradient(1px 1px at 25% 62%, #f5dfaa 40%, transparent 70%), radial-gradient(2px 2px at 79% 24%, #fff 40%, transparent 70%), radial-gradient(1px 1px at 88% 70%, #fff 40%, transparent 70%), radial-gradient(1px 1px at 62% 13%, #f5dfaa 40%, transparent 70%), radial-gradient(2px 2px at 43% 78%, #fff 40%, transparent 70%), radial-gradient(1px 1px at 8% 83%, #fff 40%, transparent 70%); background-size: 370px 310px; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .42; } to { opacity: .95; } }
.moon { position: absolute; width: 110px; height: 110px; border-radius: 50%; top: 8%; right: 13%; background: #f8e6bb; box-shadow: 0 0 45px #efdaa9aa, 0 0 100px #efdaa955; opacity: .85; }
.moon:after { content: ''; position: absolute; width: 100px; height: 100px; border-radius: 50%; top: -12px; left: -20px; background: #3b294e; }
.intro-content { position: relative; z-index: 2; width: min(90%, 620px); padding: 24px 12px 90px; animation: rise-in 1.2s both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow, .section-kicker { margin: 0; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font: 500 22px var(--serif); margin-bottom: 30px; }
.script-title { margin: 8px 0 0; color: var(--gold-light); font: 400 clamp(58px, 10vw, 76px)/1 var(--script); }
.intro-name { margin: 9px 0 0; color: #fffaf0; font: 500 clamp(32px, 6vw, 42px)/1.05 var(--serif); letter-spacing: .04em; }
.intro-subtitle { margin: 5px 0 0; color: #eadcf7; font-size: 22px; letter-spacing: .24em; }
.ornament, .hero-divider { display: flex; align-items: center; justify-content: center; gap: 13px; color: var(--gold); margin: 25px auto 18px; }
.ornament span, .hero-divider span { display: block; width: 62px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child, .hero-divider span:last-child { transform: rotate(180deg); }
.ornament i { font-style: normal; font-size: 20px; }
.intro-date { color: #f4e7c7; letter-spacing: .25em; font-size: 18px; }
.open-button { position: relative; margin-top: 24px; padding: 15px 28px; min-width: 220px; border: 1px solid var(--gold); border-radius: 999px; color: #2b1d3b; background: linear-gradient(135deg, #f4e4b9, #d7bd80); box-shadow: 0 0 24px #e6ce8b35; cursor: pointer; transition: transform .25s, box-shadow .25s; font: 600 20px var(--serif); }
.open-button:hover { transform: translateY(-3px); box-shadow: 0 0 34px #e6ce8b70; }
.button-sparkle { margin-right: 9px; }.button-arrow { margin-left: 9px; }
.music-hint { margin: 13px 0 0; color: #cbbddc; font: 12px var(--serif); letter-spacing: .04em; }
.castle-silhouette { position: absolute; bottom: 0; left: 0; width: 100%; height: 145px; opacity: .42; background: linear-gradient(0deg, #130e20, transparent); }
.castle-base { position: absolute; bottom: 0; left: 12%; width: 76%; height: 44px; background: #100d1b; border-radius: 50% 50% 0 0; }
.tower { position: absolute; bottom: 28px; width: 58px; height: 88px; background: #100d1b; }.tower:before { content: ''; position: absolute; top: -37px; left: -10px; width: 0; height: 0; border-left: 39px solid transparent; border-right: 39px solid transparent; border-bottom: 39px solid #100d1b; }
.tower-left { left: 22%; transform: scale(.78); }.tower-center { left: calc(50% - 29px); height: 112px; }.tower-center:before { border-left-width: 44px; border-right-width: 44px; left: -15px; border-bottom-width: 48px; }.tower-right { right: 22%; transform: scale(.88); }
.intro-bottom { position: absolute; bottom: 17px; z-index: 2; color: #b9aaca; font-size: 12px; letter-spacing: .08em; }
.invitation { overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .8s ease; }.invitation.is-open { opacity: 1; visibility: visible; }
.section-shell { position: relative; padding: 84px 22px; text-align: center; }
.hero { min-height: 690px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff9ed; background: radial-gradient(ellipse at 50% 35%, #5a416f, #352449 52%, #22172f); overflow: hidden; }
.hero:before, .hero:after { content: '✧'; position: absolute; color: var(--gold); opacity: .65; font-size: 25px; }.hero:before { top: 17%; left: 12%; }.hero:after { bottom: 20%; right: 13%; font-size: 34px; }
.hero-glow { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: #d5b9ef12; box-shadow: 0 0 130px #e2caff24; }
.hero > *:not(.hero-glow) { position: relative; z-index: 1; }
.hero .script-title { font-size: clamp(62px, 12vw, 94px); }.hero-name { margin: 16px 0 0; font: 500 clamp(34px, 7vw, 58px)/1 var(--serif); letter-spacing: .035em; }.hero-surname { margin: 9px 0 0; color: #e9d9f3; font-size: 20px; letter-spacing: .28em; }
.hero-divider { margin: 30px auto 17px; }.hero-date { color: #f3e5c5; font-size: 18px; letter-spacing: .2em; }.hero-date strong { color: var(--gold-light); font-size: 21px; font-weight: 500; margin: 0 5px; }.hero-time { margin: 9px 0 0; color: #e8d9ee; font-size: 20px; }
.scroll-cue { position: absolute !important; bottom: 25px; color: #cbbbd8; text-decoration: none; font: 12px var(--serif); letter-spacing: .18em; }.scroll-cue span { display: block; width: 1px; height: 29px; background: var(--gold); margin: 0 auto 9px; animation: scroll-line 1.5s infinite; }
@keyframes scroll-line { 0%,100% { transform: scaleY(.5); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.welcome { background: var(--paper); padding-top: 86px; }.section-kicker { color: #a88a52; }.portrait-wrap { position: relative; width: min(76vw, 390px); margin: 32px auto 28px; }.portrait-frame { padding: 9px; border: 1px solid #cbb27c; border-radius: 49% 49% 20px 20px; background: linear-gradient(140deg, #fff, #e9ddf2); box-shadow: 0 18px 55px #49305e1b, inset 0 0 0 5px #fff; overflow: hidden; }.portrait { display: block; width: 100%; aspect-ratio: 1638 / 2048; object-fit: cover; border-radius: 48% 48% 14px 14px; }.portrait-star { position: absolute; color: #b99b5c; text-shadow: 0 0 15px #ddc78e; }.star-one { top: 10%; left: -12%; font-size: 36px; }.star-two { right: -12%; top: 35%; font-size: 27px; }.star-three { left: -7%; bottom: 12%; font-size: 22px; }.welcome-script { color: #9b7aa9; font-size: clamp(38px, 8vw, 58px); }.welcome-copy { max-width: 610px; margin: 18px auto 0; color: #6f6379; font-size: 22px; line-height: 1.55; }.welcome-copy-last { margin-top: 10px; }
.countdown-section { color: #fff9ed; background: linear-gradient(145deg, #38264b, #21172e); }.countdown-section .section-kicker, .family-section .section-kicker { color: var(--gold); }.section-title { margin: 13px 0 0; color: inherit; font: 500 clamp(35px, 6vw, 48px)/1.1 var(--serif); }.section-note { margin: 10px 0 30px; color: #d4c6df; font-size: 20px; }.countdown { display: flex; justify-content: center; align-items: center; gap: clamp(8px, 3vw, 22px); max-width: 590px; margin: 0 auto; }.count-unit { min-width: 62px; display: flex; flex-direction: column; gap: 5px; }.count-unit strong { color: var(--gold-light); font: 500 clamp(40px, 8vw, 54px)/1 var(--serif); font-variant-numeric: tabular-nums; }.count-unit span { color: #cbbbd8; font: 12px var(--serif); letter-spacing: .12em; }.count-separator { color: #b99dca; font-size: 28px; transform: translateY(-7px); }.countdown-message { color: var(--gold-light); margin: 24px 0 0; }
.event-section { background: #f0e9f7; }.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 720px; margin: 35px auto 25px; }.event-card { padding: 27px 18px 25px; border: 1px solid #d7c6a1; border-radius: 130px 130px 18px 18px; background: #fbf8fd; box-shadow: 0 12px 35px #4b31530b; }.event-icon { color: #a98c54; font-size: 38px; }.event-label { margin: 9px 0 7px; color: #a38c60; font: 14px var(--serif); letter-spacing: .2em; }.event-card h3 { margin: 0; color: #493957; font: 600 30px var(--serif); }.event-card p:not(.event-label) { margin: 8px 0 0; color: #887a90; font-size: 21px; }.text-link { display: inline-block; margin-top: 13px; color: #886c9d; font-size: 18px; text-decoration: none; border-bottom: 1px solid #c8b5d5; padding-bottom: 3px; }.map-button, .whatsapp-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 25px; border-radius: 999px; text-decoration: none; transition: transform .2s, box-shadow .2s; }.map-button { color: #fff; background: #59436b; box-shadow: 0 8px 20px #59436b2b; }.map-button:hover, .whatsapp-button:hover { transform: translateY(-2px); }
.family-section { color: #fff9ed; background: #2b1e3b; }.family-names { display: flex; align-items: center; justify-content: center; gap: 25px; max-width: 650px; margin: 38px auto 0; }.family-names div:not(.family-flower) { display: flex; flex-direction: column; gap: 8px; }.family-names span { color: #c8b8d5; font-size: 15px; letter-spacing: .1em; }.family-names strong { color: var(--gold-light); font: 500 clamp(23px, 5vw, 31px) var(--serif); }.family-flower { color: var(--gold); font-size: 35px; }.family-quote { max-width: 510px; margin: 35px auto 0; color: #d0c0dc; font-style: italic; font-size: 22px; line-height: 1.5; }
.rsvp-section { background: linear-gradient(145deg, #f4edf8, #fffaf2); }.rsvp-title { margin: 12px 0; color: #6b4e7d; font: 400 clamp(54px, 10vw, 76px)/1 var(--script); }.rsvp-copy { max-width: 500px; margin: 0 auto 25px; color: #796b82; font-size: 20px; line-height: 1.45; }.whatsapp-button { color: #fff; background: #78618a; box-shadow: 0 9px 22px #78618a32; font: 600 18px var(--serif); }.whatsapp-icon { font-size: 20px; }.rsvp-small { margin: 15px 0 0; color: #9c8ca5; font-size: 18px; }
.footer { padding: 60px 20px 48px; color: #f8f0fc; background: #211633; }.footer-star { color: var(--gold); font-size: 38px; }.footer .script-title { font-size: clamp(37px, 8vw, 60px); }.footer-name { margin: 18px 0 0; color: var(--gold-light); font-size: 22px; letter-spacing: 3px; }.footer-date { color: #bfaecd; font-size: 15px; letter-spacing: .2em; }.footer-thanks { margin: 23px 0 0; color: #d1c1df; font-style: italic; }
.music-toggle { position: fixed; z-index: 10; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid #e5d4ad; border-radius: 999px; color: #fff9ed; background: #302143eF; box-shadow: 0 5px 22px #160e2080; cursor: pointer; font: 14px var(--serif); }.music-toggle[hidden] { display: none; }.music-bars { height: 17px; display: flex; align-items: center; gap: 3px; }.music-bars i { display: block; width: 2px; height: 7px; background: var(--gold-light); border-radius: 3px; animation: equalize .8s infinite ease-in-out alternate; }.music-bars i:nth-child(2) { animation-delay: .2s; height: 14px; }.music-bars i:nth-child(3) { animation-delay: .4s; height: 10px; }.music-bars i:nth-child(4) { animation-delay: .1s; height: 5px; }.music-toggle.paused .music-bars i { animation-play-state: paused; height: 4px; }
@keyframes equalize { to { transform: scaleY(.45); } }.toast { position: fixed; z-index: 30; left: 50%; bottom: 78px; transform: translate(-50%, 10px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 20px; color: white; background: #302143; font: 14px var(--serif); transition: .25s; white-space: nowrap; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) {
  .section-shell { padding: 70px 18px; }.hero { min-height: 640px; }.moon { width: 76px; height: 76px; top: 6%; right: 9%; }.moon:after { width: 72px; height: 72px; }.event-grid { grid-template-columns: 1fr; max-width: 340px; }.event-card { border-radius: 100px 100px 16px 16px; padding: 24px 16px; }.family-names { gap: 12px; }.family-names strong { font-size: 23px; }.family-flower { font-size: 25px; }.countdown { gap: 7px; }.count-unit { min-width: 52px; }.count-unit span { font-size: 12px; letter-spacing: .07em; }.count-separator { font-size: 21px; }.intro-content { padding-bottom: 75px; }.intro-bottom { font-size: 18px; padding: 0 14px; }.music-toggle { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
