:root {
  --black: #050408;
  --black-soft: #0a0810;
  --gold: #e6c15c;
  --gold-bright: #f6dd8a;
  --gold-deep: #b8892f;
  --amber: #f2a83f;
  --cream: #f7efdd;
  --glass-bg: rgba(255, 253, 245, 0.045);
  --glass-border: rgba(230, 193, 92, 0.25);
}

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

html, body {
  height: 100%;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ---------- Background ---------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, #14101c 0%, var(--black) 55%),
    linear-gradient(180deg, #070509 0%, #050408 60%, #030205 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform, opacity;
}

.glow-gold {
  width: 46vw;
  height: 46vw;
  top: -12%;
  left: 52%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(230, 193, 92, 0.55) 0%, rgba(230, 193, 92, 0) 70%);
  animation: pulseGlow 9s ease-in-out infinite;
}

.glow-amber {
  width: 38vw;
  height: 38vw;
  bottom: -10%;
  left: 8%;
  background: radial-gradient(circle, rgba(242, 168, 63, 0.4) 0%, rgba(242, 168, 63, 0) 70%);
  animation: pulseGlow 11s ease-in-out infinite reverse;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.28; transform: scale(1) translateX(-50%); }
  50% { opacity: 0.45; transform: scale(1.12) translateX(-50%); }
}

.glow-amber { animation-name: pulseGlowB; }
@keyframes pulseGlowB {
  0%, 100% { opacity: 0.22; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* ---------- Flower field ---------- */

.flower-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.flower {
  position: absolute;
  bottom: -60px;
  opacity: 0;
  animation-name: floatUp;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

.flower svg {
  display: block;
  filter: drop-shadow(0 0 6px rgba(230, 193, 92, 0.55));
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(var(--s, 1));
    opacity: 0;
  }
  8% { opacity: var(--o, 0.8); }
  50% {
    transform: translateY(-52vh) translateX(var(--drift, 20px)) rotate(180deg) scale(var(--s, 1));
  }
  92% { opacity: var(--o, 0.8); }
  100% {
    transform: translateY(-108vh) translateX(calc(var(--drift, 20px) * -1)) rotate(360deg) scale(var(--s, 1));
    opacity: 0;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  gap: 1.35rem;
}

.logo-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin-bottom: 0.5rem;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.logo-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 221, 138, 0.45) 0%, rgba(246, 221, 138, 0) 70%);
  filter: blur(18px);
  animation: logoGlowPulse 4s ease-in-out infinite;
}

@keyframes logoGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

.logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: radial-gradient(circle, #0d0b12 0%, #050408 100%);
  box-shadow:
    0 0 0 1px rgba(230, 193, 92, 0.35),
    0 0 40px rgba(230, 193, 92, 0.25),
    0 8px 30px rgba(0,0,0,0.6);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: 1.08;
  color: var(--cream);
  text-shadow: 0 0 40px rgba(230, 193, 92, 0.15);
  max-width: 18ch;
}

.headline-accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-bright) 45%, var(--amber) 75%, var(--gold-deep) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  to { background-position: 220% center; }
}

.subtext {
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 300;
  color: rgba(247, 239, 221, 0.78);
  line-height: 1.65;
}

/* ---------- Countdown ---------- */

.countdown-card {
  margin-top: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
  border-radius: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 20px 60px rgba(0,0,0,0.5),
    0 0 90px rgba(230, 193, 92, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.countdown {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}

.time-value {
  font-family: 'Playfair Display', serif;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(230, 193, 92, 0.35);
}

.time-label {
  margin-top: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 239, 221, 0.55);
  font-weight: 500;
}

.colon {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--gold);
  opacity: 0.6;
  transform: translateY(-8px);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.7; }
}

.countdown-caption {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(247, 239, 221, 0.6);
  font-weight: 300;
}

.tagline {
  margin-top: 0.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--gold-bright);
  opacity: 0.9;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.75rem 1.5rem 2.25rem;
  text-align: center;
}

.footer-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.32em;
  font-size: 0.85rem;
  color: var(--cream);
}

.footer-mark span {
  color: var(--gold);
  font-weight: 600;
}

.footer-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(247, 239, 221, 0.4);
  font-weight: 300;
}

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
  .hero {
    padding: 4.5rem 1.1rem 2.5rem;
    gap: 1.1rem;
  }
  .logo-wrap {
    width: 100px;
    height: 100px;
  }
  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    gap: 0.5rem;
  }
  .eyebrow-line {
    width: 20px;
  }
  .countdown-card {
    padding: 1.5rem 1.1rem;
    border-radius: 22px;
  }
  .time-block {
    min-width: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
