
:root {
  --bg-dark:   #060d1a; /* Deep Navy */
  --bg-light:  #0a162b;
  --accent1:   #8ab4f8; /* Ice Blue */
  --accent2:   #c5a880; /* Elegant Gold */
  --text-main: #f0f4f8;
  --text-mut:  #9ba3af;
  --glass:     rgba(16, 30, 56, 0.65);
  --glass-brd: rgba(138, 180, 248, 0.15);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ── GLOBAL BACKGROUND & PARTICLES ── */
.global-bg {
  position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(circle at top left, #112240, var(--bg-dark));
}
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent1);
  box-shadow: 0 0 10px var(--accent1), 0 0 20px var(--accent1);
  opacity: 0; animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  50% { opacity: 0.4; }
  100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* ── GLASSMORPHISM UTILITY ── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-brd);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ── PARALLAX UTILITY ── */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* ── COVER ── */
#cover {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
  z-index: 1000; position: fixed; inset: 0;
}
.cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,13,26,0.3), var(--bg-dark));
}
.cover-content { position: relative; z-index: 2; padding: 20px; width: 100%; max-width: 500px; }
.cover-badge { font-size: 11px; letter-spacing: 4px; color: var(--accent2); margin-bottom: 20px; }
.cover-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 10vw, 70px);
  color: #fff; font-weight: 300; line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.cover-amp { color: var(--accent1); font-style: italic; display: block; font-size: 0.7em; margin: 10px 0; }
.cover-divider {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0;
}
.cover-divider span { width: 50px; height: 1px; background: var(--accent2); opacity: 0.5; }
.cover-divider i { color: var(--accent2); font-size: 12px; }
.cover-guest-box { padding: 24px; margin-top: 20px; }
.cover-guest-box .to { font-size: 11px; letter-spacing: 2px; color: var(--text-mut); margin-bottom: 10px; }
.cover-guest-box .gname { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #fff; font-style: italic; margin-bottom: 20px; }

/* ── BUTTONS ── */
.btn-open, .ebtn-solid {
  background: var(--accent2); color: var(--bg-dark);
  border: none; padding: 12px 30px; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 30px; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.4); text-decoration: none; display: inline-block;
}
.btn-open:hover, .ebtn-solid:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(197, 168, 128, 0.6); }
.ebtn-outline {
  background: transparent; color: var(--accent1);
  border: 1px solid var(--accent1); padding: 11px 25px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  border-radius: 30px; cursor: pointer; text-decoration: none; transition: all 0.3s; display: inline-block;
}
.ebtn-outline:hover { background: rgba(138, 180, 248, 0.1); }

/* ── MAIN & NAVIGATION ── */
#main { display: none; padding-bottom: 80px; }
.snav {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 20px; padding: 12px 24px; border-radius: 50px; z-index: 99;
}
.snav a { font-size: 18px; text-decoration: none; transition: transform 0.3s; }
.snav a:hover { transform: translateY(-4px) scale(1.1); }

/* ── MUSIC BTN ── */
.mbtn {
  position: fixed; top: 20px; right: 20px; width: 45px; height: 45px;
  border-radius: 50%; border: 1px solid var(--glass-brd); cursor: pointer; z-index: 99;
  display: flex; align-items: center; justify-content: center; color: white;
}
.music-icon { font-size: 16px; transition: transform 0.3s; }
.mbtn.playing .music-icon { animation: spin 4s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ── SECTIONS ── */
section { padding: 80px 20px; max-width: 600px; margin: 0 auto; text-align: center; }
.slabel { font-size: 11px; letter-spacing: 4px; color: var(--accent1); text-transform: uppercase; margin-bottom: 10px; }
.stitle { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; color: #fff; line-height: 1.2; }
.stitle em { font-style: italic; color: var(--accent2); }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 40px; }
.divider::before, .divider::after { content: ''; width: 40px; height: 1px; background: var(--accent1); opacity: 0.3; }
.divider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); }

/* ── REVEAL ANIMATIONS (Smooth) ── */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0, 0); }

/* ── COUPLE ── */
.couple-wrap { display: flex; flex-direction: column; gap: 30px; }
.ccard { padding: 30px 20px; }
.cphoto-wrap img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent2); padding: 4px; margin-bottom: 20px; }
.cname { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--accent2); margin-bottom: 5px; }
.ctitle { font-size: 11px; letter-spacing: 1px; color: var(--text-mut); margin-bottom: 15px; }
.cparents { font-size: 13px; line-height: 1.6; color: var(--text-main); }
.and-sym { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-style: italic; color: var(--accent1); }

/* ── COUNTDOWN & EVENTS ── */
.cbox { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.citem { padding: 15px; min-width: 75px; border-radius: 8px; }
.cnum { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--accent2); display: block; }
.clbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mut); margin-top: 5px; display: block; }
.event-grid { display: flex; flex-direction: column; gap: 20px; }
.ecard { padding: 30px 20px; text-align: center; }
.ename { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--accent2); margin-bottom: 15px; }
.edetail { font-size: 14px; line-height: 1.8; color: var(--text-main); margin-bottom: 20px; }
.ebtns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── HERO QUOTE (PARALLAX) ── */
.hero-quote { padding: 100px 20px; text-align: center; position: relative; }
.quote-overlay { position: absolute; inset: 0; background: rgba(6,13,26,0.85); }
.hero-quote .inner { position: relative; z-index: 2; max-width: 500px; margin: 0 auto; }
.qmark { font-family: 'Cormorant Garamond', serif; font-size: 60px; color: var(--accent2); line-height: 0.5; opacity: 0.5; }
.qtext { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; line-height: 1.6; margin: 20px 0; }
.qsource { font-size: 12px; letter-spacing: 3px; color: var(--accent1); text-transform: uppercase; }

/* ── GALLERY ── */
.ggrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ggrid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; padding: 4px; }
.ggrid img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transition: transform 0.5s; }
.ggrid a:hover img { transform: scale(1.1); }

/* ── WISHES & GIFT ── */
.bcards { display: flex; flex-direction: column; gap: 15px; margin-bottom: 40px; }
.bcard { padding: 20px; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.bbank { font-size: 11px; color: var(--accent1); font-weight: bold; letter-spacing: 1px; }
.bholder { font-size: 16px; font-weight: bold; margin: 5px 0; }
.bnumber { font-size: 14px; color: var(--text-mut); }

.wform { padding: 25px; margin-bottom: 30px; }
.wform input, .wform select, .wform textarea {
  width: 100%; padding: 12px; margin-bottom: 15px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-brd); border-radius: 6px; color: white;
  font-family: 'Montserrat', sans-serif;
}
.wform textarea { min-height: 80px; resize: vertical; }
.wlist { display: flex; flex-direction: column; gap: 15px; text-align: left; }
.witem { padding: 20px; border-left: 3px solid var(--accent2); }
.wsender { font-weight: bold; color: var(--accent1); margin-bottom: 5px; }
.wattend { font-size: 11px; font-weight: normal; color: var(--text-mut); }
.wmsg { font-size: 13px; font-style: italic; line-height: 1.5; color: var(--text-main); }

/* ── FOOTER & TOAST ── */
footer { padding: 40px 20px; text-align: center; border-top: 1px solid var(--glass-brd); }
.fthanks { font-size: 12px; letter-spacing: 2px; color: var(--text-mut); margin-bottom: 10px; }
.fnames { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--accent2); font-style: italic; }

.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 20px);
  background: var(--accent2); color: var(--bg-dark); padding: 10px 20px;
  border-radius: 30px; font-size: 12px; font-weight: bold; opacity: 0;
  transition: all 0.3s; z-index: 9999; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* RESPONSIVE DESKTOP */
@media(min-width: 768px) {
  .couple-wrap { flex-direction: row; }
  .event-grid { flex-direction: row; }
  .ccard, .ecard { flex: 1; }
}
