* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #2b1d1c;
  overflow-x: hidden;


body,
.page,
.detail-section,
.countdown-section {
  max-width: 425px;
  margin-left: auto;
  margin-right: auto;

}
}

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

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

button {
  font: inherit;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  background: #000;
}

.intro-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1.1);
  display: block;
}

.intro-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  background: rgba(15, 9, 10, 0.25);
  padding: 0;
  padding-bottom: 20px;
}

#revealButton {
  margin: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 12px;
  border-radius: 999px;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: 10px;
}

#revealButton:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page {
  position: relative;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
}

.page.is-visible {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: block;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  box-shadow: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  margin: 0;
  transform: scale(1.35);
}

.page.is-visible .hero-media img {
  animation: heroZoom 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
} 

.detail-section {
  background: #f7f2ef;
  width: 100%;
}

.detail-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.date-hearts-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  margin-top: -30px;
  top: -111px;
  position: relative;
  z-index: 2;
}

.date-heart {
  position: relative;
  width: 170px;
  height: 150px;
  display: grid;
  place-items: center;
}

.date-heart svg {
  width: 100%;
  height: 100%;
  fill: transparent;
  stroke: #7a4952;
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 0 rgba(122, 73, 82, 0.22));
}

.heart-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  color: #7a4952;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.countdown-section {
  background: #f7f2ef;
  padding: 0 20px 60px;
  position: relative;
    top: -60px;
}

.countdown-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.countdown-title {
  font-family: "Cormorant Garamond", serif;
  color: #5b2d32;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 30px;
  font-style: italic;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  flex-wrap: nowrap;
}

.time-box {
  width: 170px;
  min-height: 79px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(110, 74, 80, 0.45);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.time-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 600;
  color: #5b2d32;
  line-height: 1;
  margin-bottom: 8px;
}

.time-label {
  font-size: 9px; 
  color: #6a4d4d;
}

@keyframes heroZoom {
  0% {
    opacity: 0;
    transform: scale(1.35);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }
}
 