* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  background: url("../images/lotus-bg.jpg") center/cover no-repeat fixed;
  color: #fff;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 10, 6, 0.78);
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h1 {
  font-family: "Playfair Display";
  font-size: 56px;
}

h2 {
  font-family: "Playfair Display";
  font-size: 28px;
  color: #ffcf9f;
  margin-top: 10px;
}

.intro {
  max-width: 820px;
  margin: 30px auto;
  font-size: 16px;
  line-height: 1.8;
}

/* FLIP COUNTDOWN */
.flip-countdown {
  display: flex;
  gap: 24px;
  margin: 60px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.time-block {
  text-align: center;
}

.label {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.card {
  width: 120px;
  height: 150px;
  background: #111;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

.top,
.bottom {
  position: absolute;
  width: 100%;
  height: 50%;
  font-size: 64px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.top {
  top: 0;
  background: linear-gradient(#1f1f1f, #141414);
  /* display: hidden; */
  transform-origin: bottom;
  z-index: 2;
}

.bottom {
  bottom: 0;
  background: linear-gradient(#121212, #1f1f1f);
  transform-origin: top;
  z-index: 1;
}

.flip .top {
  animation: flipTop 0.6s forwards;
}

.flip .bottom {
  animation: flipBottom 0.6s forwards;
}

@keyframes flipTop {
  to {
    transform: rotateX(-90deg);
  }
}

@keyframes flipBottom {
  from {
    transform: rotateX(90deg);
  }
  to {
    transform: rotateX(0);
  }
}

/* SUBSCRIBE */
.subscribe {
  margin-top: 40px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 35px;
  border-radius: 18px;
}

.subscribe h3 {
  font-family: "Playfair Display";
  font-size: 24px;
  margin-bottom: 10px;
}

.subscribe p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.subscribe-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-box input {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
}

.subscribe-box button {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: #ffb366;
  color: #2b1406;
  font-weight: 600;
  cursor: pointer;
}

.subscribe-box button:hover {
  background: #ffd1a3;
}

/* ANIMATIONS */
.fade-in {
  animation: fadeIn 1.5s ease;
}

.slide-up {
  animation: slideUp 1.5s ease;
}

.zoom-in {
  animation: zoomIn 1.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

footer {
  margin-top: 60px;
  font-size: 13px;
  opacity: 0.6;
}
