@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #f5efe6;
  --paper: #fffaf4;
  --ink: #1e1b18;
  --muted: #756c63;
  --line: #dfd1c1;
  --brown: #6b4f3f;
  --wine: #4b1620;
  --gold: #b28b4f;
  --dark: #161414;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(30, 27, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, sans-serif;
}

.hero {
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(110deg, rgba(22,20,20,.90), rgba(22,20,20,.54), rgba(75,22,32,.82)),
    url('../assets/hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  top: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  pointer-events: none;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  height: 66px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.logo {
  color: var(--white);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  letter-spacing: .3px;
}

.links {
  display: flex;
  gap: 24px;
}

.links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
}

.links a:hover {
  color: var(--gold);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-inner {
  width: min(1180px, 100%);
  min-height: calc(100vh - 114px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 70px 0 40px;
}

.tag {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 10vw, 132px);
  line-height: .87;
  font-weight: 600;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 560px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.8;
  margin: 30px 0;
}

.hero-date {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 34px;
}

.hero-date span {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(178,139,79,.58);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--gold);
}

.hero-date strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
}

.hero-date small {
  color: rgba(255,255,255,.62);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: .25s;
}

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

.btn.dark {
  background: var(--wine);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.btn.light {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
}

.btn.whatsapp {
  background: #1ebc5b;
  color: white;
}

.hero-card {
  background: rgba(255,250,244,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 34px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.photo-placeholder {
  min-height: 430px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(255,250,244,.16), rgba(255,250,244,.05)),
    url('../assets/couple-placeholder.svg');
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.photo-placeholder span {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255,255,255,.50);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--white);
  background: rgba(22,20,20,.22);
  backdrop-filter: blur(8px);
}

.card-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0 4px;
  color: rgba(255,255,255,.78);
}

.card-caption p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.card-caption i {
  width: 42px;
  height: 1px;
  background: rgba(178,139,79,.8);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-title {
  max-width: 730px;
  margin-bottom: 44px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3.4px;
  font-size: 12px;
  font-weight: 800;
}

.section-title h2,
.date-content h2,
.music-section h2,
.confirm h2 {
  margin: 10px 0 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  font-weight: 600;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
}

.text-block,
.identity-list,
.map-box,
.gift-grid a,
.confirm-box {
  background: rgba(255,250,244,.72);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.text-block {
  padding: 44px;
}

.text-block p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.identity-list {
  padding: 18px 34px;
}

.identity-list div {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.identity-list div:last-child {
  border-bottom: 0;
}

.identity-list small {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 2px;
}

.identity-list strong {
  display: block;
  margin: 8px 0;
  font-family: 'Playfair Display', serif;
  font-size: 31px;
}

.identity-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.date-section {
  background: var(--dark);
  color: var(--white);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.date-section::before {
  content: "EVELYN & FELIPI";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: 12vw;
  font-weight: 900;
  letter-spacing: 8px;
  color: rgba(255,255,255,.025);
  white-space: nowrap;
}

.date-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.date-content h2 {
  color: var(--white);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 150px);
  gap: 16px;
  justify-content: center;
  margin-top: 44px;
}

.countdown div {
  border: 1px solid rgba(178,139,79,.40);
  border-radius: 26px;
  padding: 28px 12px;
  background: rgba(255,255,255,.035);
}

.countdown strong {
  display: block;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
}

.map-box {
  padding: 10px;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 22px;
  display: block;
}

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

.gifts {
  width: 100%;
  max-width: none;
  background: #eee2d2;
}

.gift-grid {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gift-grid a {
  padding: 34px;
  text-decoration: none;
  transition: .25s;
}

.gift-grid a:hover {
  transform: translateY(-7px);
}

.gift-grid small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
}

.gift-grid strong {
  display: block;
  margin: 16px 0 24px;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
}

.gift-grid span {
  color: var(--muted);
  font-weight: 700;
}

.music-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.music-section p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

.line-art {
  min-height: 240px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,250,244,.76), rgba(255,250,244,.76)),
    url('../assets/detail-art.svg');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
}

.line-art span {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.line-art p {
  margin: 0;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.confirm {
  background:
    linear-gradient(rgba(22,20,20,.86), rgba(22,20,20,.86)),
    url('../assets/hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 20px;
  text-align: center;
}

.confirm-box {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 50px 28px;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}

.confirm h2 {
  color: var(--white);
}

.confirm p {
  color: rgba(255,255,255,.72);
  line-height: 1.8;
}

.confirm small {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,.48);
}

.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  background: var(--wine);
  color: white;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0,0,0,.24);
}

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 44px 20px;
}

footer p {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 38px;
}

footer span {
  color: rgba(255,255,255,.58);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    padding: 14px;
  }

  .hero::after {
    inset: 14px;
    border-radius: 26px;
  }

  .topbar {
    border-radius: 22px;
    align-items: flex-start;
    height: auto;
    min-height: 60px;
    padding: 14px 16px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 66px;
    background: rgba(22,20,20,.96);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 10px;
    flex-direction: column;
    gap: 0;
  }

  .links.open {
    display: flex;
  }

  .links a {
    padding: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 46px;
  }

  .hero-card {
    display: none;
  }

  .intro-grid,
  .music-section,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .text-block {
    padding: 30px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    width: min(430px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .countdown strong {
    font-size: 48px;
  }

  iframe {
    height: 330px;
  }

  .floating {
    left: 18px;
    right: 18px;
    text-align: center;
  }

  .line-art {
    min-height: 180px;
  }

  .line-art p {
    white-space: normal;
    text-align: center;
  }
}
