:root {
  --bg: #0d0d0f;
  --bg-soft: #16161b;
  --gold: #d4af37;
  --gold-soft: #f3d98b;
  --text: #f7f2e9;
  --muted: #c7bea9;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(212, 175, 55, 0.2);
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(212,175,55,0.08), transparent 30%),
    linear-gradient(180deg, #080809, #111214 45%, #0b0b0c 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2,
.opening-box h2,
.rsvp-box h2,
.footer h3 {
  font-family: "Cormorant Garamond", serif;
}

.section-title h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #c89b2c, #f1d17a);
  color: #111;
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold-soft);
}

.btn:hover {
  transform: translateY(-2px);
}

.center {
  text-align: center;
  margin-top: 28px;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  background: url("../images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.eyebrow {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  margin-bottom: 14px;
}

.hero-date {
  display: inline-block;
  padding: 10px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold-soft);
  margin-bottom: 18px;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #e5dcc9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Opening */
.opening-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
}

.opening-box h2 {
  font-size: 2.2rem;
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.opening-box p {
  color: var(--muted);
}

.opening-box h3 {
  margin-top: 18px;
  color: var(--gold);
}

/* Couple */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 24px;
  align-items: center;
}

.person-card {
  text-align: center;
  padding: 30px;
}

.person-card img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 2px solid rgba(212,175,55,0.45);
}

.person-card h3,
.ampersand,
.event-card h3,
.story-card h3,
.gift-card h3,
.time-box h3 {
  font-family: "Cormorant Garamond", serif;
}

.person-card h3 {
  font-size: 2.2rem;
  color: #fff2cf;
  margin-bottom: 8px;
}

.person-card p,
.person-card span {
  color: var(--muted);
}

.ampersand {
  text-align: center;
  font-size: 4rem;
  color: var(--gold);
}

/* Quote */
.quote-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 28px;
}

.quote-box p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #f6e9bf;
}

/* Countdown */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.time-box {
  text-align: center;
  padding: 28px 16px;
}

.time-box h3 {
  font-size: 2.8rem;
  color: var(--gold);
}

.time-box span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Event / Story / Gift */
.event-grid,
.story-grid,
.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

.event-card,
.story-card,
.gift-card {
  padding: 28px;
}

.event-card h3,
.story-card h3,
.gift-card h3 {
  font-size: 2rem;
  color: #fff1c1;
  margin-bottom: 10px;
}

.event-card p,
.story-card p,
.gift-card p {
  color: var(--muted);
  margin-bottom: 8px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

/* RSVP */
.rsvp-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
}

.rsvp-box h2 {
  font-size: 3rem;
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.rsvp-box p {
  color: var(--muted);
  margin-bottom: 18px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px 40px;
  border-top: 1px solid var(--line);
  color: #b8ab90;
}

.footer h3 {
  font-size: 2rem;
  color: var(--gold-soft);
}

/* Music button */
.music-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #c89b2c, #f1d17a);
  color: #111;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

@media (max-width: 992px) {
  .couple-grid,
  .event-grid,
  .story-grid,
  .gift-grid,
  .gallery-grid,
  .countdown-grid {
    grid-template-columns: 1fr 1fr;
  }

  .couple-grid {
    grid-template-columns: 1fr;
  }

  .ampersand {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }

  .event-grid,
  .story-grid,
  .gift-grid,
  .gallery-grid,
  .countdown-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .section-title h2,
  .rsvp-box h2 {
    font-size: 2.4rem;
  }
}
