
:root {
  --rose:        #e8a0a0;
  --rose-deep:   #c9697a;
  --rose-dark:   #9e3a50;
  --rose-light:  #f5d0d0;
  --rose-pale:   #fdf0f2;
  --gold:        #c9a96e;
  --gold-light:  #f0dbb0;
  --cream:       #fdf6f2;
  --blush:       #f9eaea;
  --dark:        #1a0812;
  --dark-mid:    #2d1020;
  --text:        #5a2838;
  --text-light:  #8a5060;
  --white:       #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
  cursor: none;
}

/* ─── CURSOR ─── */
#cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--rose-deep);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
}
#cursor-ring {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(201,105,122,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  z-index: 9998;
  pointer-events: none;
  transition: width .15s, height .15s;
}
*, a, button { cursor: none; }

/* ─── PETAL CANVAS ─── */
#petal-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}

/* ─── SHARED TYPOGRAPHY ─── */
.eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .68rem; letter-spacing: .55em;
  text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .8rem;
}
.eyebrow.light-eye { color: rgba(201,169,110,.75); }
.eyebrow.center { text-align: center; }

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem,4.5vw,3.2rem);
  color: var(--dark); line-height: 1.2; margin-bottom: .8rem;
}
.sec-title em { color: var(--rose-deep); font-style: italic; }
.sec-title.light-title { color: rgba(255,255,255,.95); }
.sec-title.center { text-align: center; }

.sec-sub {
  font-size: 1.1rem; color: var(--text-light);
  font-style: italic; line-height: 1.7;
}
.sec-sub.center { text-align: center; }

/* ─── SECTION WRAPPER ─── */
section { position: relative; z-index: 1; width: 100%; overflow: hidden; }

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 24px;
  position: relative; z-index: 1;
}
.section-inner.center { text-align: center; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.reveal.v { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }

/* ─── DARK SECTION ─── */
.dark-section { color: rgba(255,255,255,.85); }

/* ─── SHARED BUTTON ─── */
.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose-dark));
  color: #fff; text-decoration: none;
  border-radius: 40px;
  padding: 1rem 2.8rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .82rem; letter-spacing: .3em; text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(201,105,122,.4);
  transition: transform .3s, box-shadow .3s;
  margin-top: 2rem;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201,105,122,.5);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 80% 70% at 15% 30%, rgba(232,160,160,.3), transparent 60%),
    radial-gradient(ellipse 70% 75% at 85% 70%, rgba(201,105,122,.2), transparent 60%),
    linear-gradient(160deg, #fdf0f2, #fdf8f2 50%, #f5eef8);
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

/* Background animated circles */
.hero-bg-circles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.circle {
  position: absolute; border-radius: 50%;
  animation: floatCircle ease-in-out infinite;
}
.c1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(232,160,160,.12), transparent 70%); top: -100px; left: -100px; animation-duration: 12s; }
.c2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,169,110,.1), transparent 70%); bottom: -80px; right: -80px; animation-duration: 15s; animation-delay: -5s; }
.c3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,105,122,.1), transparent 70%); top: 40%; left: 40%; animation-duration: 10s; animation-delay: -2s; }
@keyframes floatCircle { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }

.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-from {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .78rem; letter-spacing: .45em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  animation: fadeUp 1.2s .1s both;
}

.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem,9vw,6.5rem);
  color: var(--rose-deep);
  text-shadow: 0 4px 30px rgba(201,105,122,.22);
  animation: fadeUp 1.2s .2s both;
  line-height: 1;
}

.hero-name-wrap {
  overflow: hidden;
  animation: fadeUp 1.2s .35s both;
}
.hero-name {
  display: block;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(5.5rem,18vw,14rem);
  background: linear-gradient(135deg, var(--rose-dark), var(--rose-deep) 35%, var(--gold) 60%, var(--rose-deep));
  background-size: 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 5s linear infinite;
  line-height: 1.05;
  filter: drop-shadow(0 6px 24px rgba(201,105,122,.25));
}

.hero-divider {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  margin: 1.8rem 0;
  animation: fadeUp 1.2s .5s both;
}
.hero-divider span:not(.hero-divider-icon) {
  flex: 1; max-width: 100px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-divider-icon { font-size: 1.2rem; }

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem,2.8vw,1.5rem);
  color: var(--text-light); font-style: italic; line-height: 1.75;
  animation: fadeUp 1.2s .6s both;
}

.scroll-arrow {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; color: var(--rose-deep); opacity: .5;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ═══════════════════════════════════════════════════
   LETTER SECTION
═══════════════════════════════════════════════════ */
#letter {
  background:
    radial-gradient(ellipse 55% 45% at 5% 50%, rgba(232,160,160,.08), transparent),
    linear-gradient(160deg, var(--cream), var(--blush));
}

.letter-card {
  background: var(--white);
  border-radius: 32px;
  padding: 4rem 3.5rem;
  border: 1px solid rgba(201,105,122,.12);
  box-shadow: 0 12px 60px rgba(201,105,122,.1), 0 2px 8px rgba(0,0,0,.04);
  position: relative;
  max-width: 760px; margin: 3rem auto 0;
}

.letter-deco-top {
  position: absolute; top: -1.2rem; left: 50%; transform: translateX(-50%);
  font-size: 2.4rem;
  background: var(--white); padding: 0 .5rem; border-radius: 50%;
}

.letter-body {
  font-size: clamp(1.1rem,2.3vw,1.35rem);
  line-height: 2; font-style: italic;
  color: var(--text);
}
.letter-body strong { color: var(--rose-deep); font-style: normal; font-weight: 600; }

.letter-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,105,122,.12);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.letter-sig {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem; color: var(--rose-deep);
}

.letter-heart {
  font-size: 2rem;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   TIMER SECTION
═══════════════════════════════════════════════════ */
#timer-section {
  padding: 0;
}
.timer-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a0812, #2d1020 50%, #150610);
}
#timer-section .section-inner { padding: 100px 24px; }

.timer-sub {
  font-style: italic; color: rgba(255,255,255,.4);
  font-size: 1rem; margin-bottom: 3rem; display: block;
}

.timer-grid {
  display: flex; align-items: center; justify-content: center;
  gap: .8rem; flex-wrap: wrap;
}

.timer-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(232,160,160,.18);
  border-radius: 24px;
  padding: 2rem 2.2rem 1.8rem;
  min-width: 130px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .3s;
}
.timer-box:hover { transform: translateY(-4px); }

.timer-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem,7vw,5rem);
  font-weight: 700; color: var(--rose-light);
  display: block; line-height: 1;
  text-shadow: 0 0 30px rgba(232,160,160,.4);
}
.timer-num.pop { animation: numPop .3s ease; }
@keyframes numPop { 0%{transform:scale(1.3);opacity:.5} 100%{transform:scale(1);opacity:1} }

.timer-lbl {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .58rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); display: block; margin-top: .8rem;
}

.timer-sep {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem,5vw,3.5rem);
  color: rgba(201,105,122,.35);
  margin-bottom: 2rem;
  animation: sepBlink 1s ease-in-out infinite;
}
@keyframes sepBlink { 0%,100%{opacity:.25} 50%{opacity:.8} }

.timer-bday-msg {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem,5vw,3.5rem);
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-top: 2rem;
  animation: fadeUp 1s ease both;
}

/* ═══════════════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════════════ */
#timeline {
  background: linear-gradient(180deg, var(--cream), var(--blush));
}

.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 0 0 2rem;
}

/* vertical line */
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--rose-light), var(--gold-light), var(--rose-light), transparent);
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}
.tl-left  { justify-content: flex-end;   padding-right: calc(50% + 2.5rem); }
.tl-right { justify-content: flex-start; padding-left:  calc(50% + 2.5rem); }

.tl-dot {
  position: absolute;
  left: 50%; top: 1.2rem;
  transform: translateX(-50%);
  width: 3rem; height: 3rem;
  background: var(--white);
  border: 2px solid var(--rose-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(201,105,122,.15);
  z-index: 2;
  transition: transform .3s, border-color .3s;
}
.tl-item:hover .tl-dot {
  transform: translateX(-50%) scale(1.15);
  border-color: var(--rose-deep);
}

.tl-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.8rem 2rem;
  border: 1px solid rgba(201,105,122,.1);
  box-shadow: 0 4px 28px rgba(201,105,122,.08);
  max-width: 340px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,105,122,.15);
}

.tl-date {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .5rem;
}
.tl-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--dark); margin-bottom: .6rem;
}
.tl-text {
  font-size: 1.02rem; line-height: 1.75;
  color: var(--text-light); font-style: italic;
}

/* ═══════════════════════════════════════════════════
   GALLERY SECTION
═══════════════════════════════════════════════════ */
#gallery { padding: 0; }
.gallery-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a0812, #2a1020 50%, #150610);
}
#gallery .section-inner { padding: 100px 24px; }

.gal-sub {
  color: rgba(255,255,255,.3); font-style: italic;
  font-size: 1rem; display: block; margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 900px; margin: 0 auto;
}

.gal-card {
  cursor: pointer;
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(232,160,160,.1);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.gal-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(232,160,160,.2);
}

.gal-img-wrap {
  width: 100%; aspect-ratio: 1;
  position: relative; overflow: hidden;
}
.gal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gal-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a1020, #1a0812);
  display: flex; align-items: center; justify-content: center;
}
.gal-ph-icon { font-size: 2.5rem; opacity: .5; }
.gal-card img[src=""] + .gal-placeholder,
.gal-card img:not([src]) + .gal-placeholder { display: flex; }
.gal-card img[src]:not([src=""]) { display: block; }
.gal-card img[src]:not([src=""]) ~ .gal-placeholder,
.gal-card img[src=""]:not(:empty) + .gal-placeholder { display:none; }

.gal-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: .9rem; color: rgba(255,255,255,.45);
  font-style: italic; padding: .75rem 1rem;
  text-align: center;
}

/* Lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 75vh;
  object-fit: contain; border-radius: 12px;
}
#lightbox p {
  color: rgba(255,255,255,.6); font-style: italic; font-size: 1rem;
}
#lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 1.1rem; cursor: none; transition: background .2s;
}
#lb-close:hover { background: rgba(255,255,255,.2); }
#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.5rem; cursor: none; transition: background .2s;
}
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }
#lb-prev:hover, #lb-next:hover { background: rgba(201,105,122,.4); }

/* ═══════════════════════════════════════════════════
   GAMES TEASER SECTION
═══════════════════════════════════════════════════ */
#games-teaser {
  background: linear-gradient(160deg, var(--blush), var(--cream));
}

.games-preview {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap; margin-top: 3rem;
}

.gp-card {
  background: var(--white);
  border-radius: 20px; padding: 2rem 1.5rem;
  width: 200px; text-align: center;
  border: 1px solid rgba(201,105,122,.1);
  box-shadow: 0 4px 24px rgba(201,105,122,.08);
  transition: transform .3s, box-shadow .3s;
}
.gp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201,105,122,.15);
}
.gp-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.gp-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--dark); margin-bottom: .4rem;
}
.gp-card p { font-size: .95rem; color: var(--text-light); font-style: italic; line-height: 1.5; }

.games-btn { background: linear-gradient(135deg, #9b4dca, #7b2d8b) !important; }

/* ═══════════════════════════════════════════════════
   REASONS SECTION
═══════════════════════════════════════════════════ */
#reasons {
  background: linear-gradient(160deg, var(--cream), var(--blush));
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1.2rem;
  max-width: 920px; margin: 3rem auto 0;
  text-align: left;
}

.reason-card {
  background: var(--white);
  border-radius: 18px; padding: 1.8rem 1.6rem;
  border: 1px solid rgba(201,105,122,.1);
  box-shadow: 0 3px 20px rgba(201,105,122,.07);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.reason-card:hover {
  transform: translateY(-6px) rotate(.3deg);
  box-shadow: 0 12px 36px rgba(201,105,122,.14);
}
.reason-icon { font-size: 2rem; margin-bottom: .8rem; display: block; }
.reason-num {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: .4rem;
}
.reason-text {
  font-size: 1.05rem; line-height: 1.75;
  color: var(--text); font-style: italic;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer {
  background: linear-gradient(160deg, #150610, #2a1020 50%, #150610);
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.3), transparent);
}
.footer-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 160px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,105,122,.06), transparent);
}
.footer-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.5rem,9vw,7rem);
  background: linear-gradient(135deg, var(--rose-light), var(--gold-light), var(--rose-light));
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 5s linear infinite;
  display: block; margin-bottom: 1.2rem;
  position: relative; z-index: 1;
}
.footer-hearts { font-size: 1.4rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.footer-from {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic;
  color: rgba(255,255,255,.5); margin-bottom: .5rem;
  position: relative; z-index: 1;
}
.footer-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .6rem; letter-spacing: .45em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  position: relative; z-index: 1;
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes shimmer    { to { background-position: 200% center; } }
@keyframes fadeUp     { from { opacity:0; transform:translateY(36px); } to { opacity:1; transform:none; } }
@keyframes heartbeat  { 0%,100%{transform:scale(1)} 14%{transform:scale(1.35)} 28%{transform:scale(1)} 42%{transform:scale(1.18)} }

/* ─── RESPONSIVE ─── */
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .timeline-wrap::before { left: 1.5rem; }
  .tl-left, .tl-right { justify-content: flex-start; padding-left: 4rem; padding-right: 0; }
  .tl-dot { left: 1.5rem; }
  .letter-card { padding: 2.5rem 1.8rem; }
  .timer-box { min-width: 90px; padding: 1.5rem 1rem 1.2rem; }
  .timer-num { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .games-preview { flex-direction: column; align-items: center; }
}
