:root {
  --primary-gold: #c5a059;
  --accent-rose: #e6b89c;
  --bg-dark: #0f0f0f;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  background-image: radial-gradient(circle at top right, #2a1b1b, transparent),
                    radial-gradient(circle at bottom left, #1b1b2a, transparent);
  background-attachment: fixed;
  color: var(--text-main);
  text-align: center;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 🎧 MUSIC CONTROL */
.music-control {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-control:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.1);
}

/* 🏛️ HERO SECTION */
.hero {
  padding: clamp(100px, 15vh, 180px) 20px 60px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #ffffff, #c5a059);
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text; /* Fixed compatibility warning */
  -webkit-text-fill-color: transparent;
}

/* 🏛️ SPLASH OVERLAY */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

.splash-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary-gold);
}

.start-btn {
  padding: 20px 50px;
  background: var(--primary-gold);
  color: var(--bg-dark);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(197, 160, 89, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.start-btn:hover {
  transform: scale(1.1);
}

.splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.hero p {
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* 💌 LOVE LETTER - Elegant Minimalism */
.love-letter {
  max-width: 850px;
  margin: 40px auto;
  padding: clamp(30px, 8vw, 80px);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 40px;
  width: 92%;
  text-align: left;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.love-letter p {
  margin-bottom: 25px;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 300;
  color: #e0e0e0;
}

/* 🎞️ GALLERY */
.section-title {
  margin: 80px 0 40px;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 6vw, 3rem);
  letter-spacing: 1px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 40vw, 300px), 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  filter: grayscale(20%);
  opacity: 0;
  transform: translateY(30px);
}

.gallery img.loaded {
  opacity: 1;
  transform: translateY(0);
}

.gallery img:hover {
  transform: scale(1.02);
  filter: grayscale(0%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 🎁 SURPRISE SECTION */
.surprise {
  margin: 100px 20px;
}

button {
  padding: 18px 45px;
  border-radius: 60px;
  border: 1px solid var(--primary-gold);
  background: transparent;
  color: var(--primary-gold);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
}

button:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.3);
}

#surpriseText {
  margin-top: 40px;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 2.2rem);
  font-style: italic;
  color: var(--accent-rose);
  line-height: 1.4;
}

/* 💖 SUBTLE FLOATING HEARTS */
.hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hearts span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary-gold);
  mask: url('https://cdn-icons-png.flaticon.com/512/833/833472.png') no-repeat center;
  -webkit-mask: url('https://cdn-icons-png.flaticon.com/512/833/833472.png') no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  animation: float 12s linear infinite;
  opacity: 0.15;
}

/* 👣 FOOTER */
footer {
  margin-top: 80px;
  padding: 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  border-top: 1px solid var(--card-border);
}

/* ✨ SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATIONS */
@keyframes float {
  0% { transform: translateY(110vh) rotate(0deg); }
  100% { transform: translateY(-10vh) rotate(360deg); }
}

.hidden {
  display: none !important;
}
