:root {
  --gold: #d4af37;
  --gold-hover: #e6c65a;
  --ink: #f6f3ea;
  --muted: #c4bba8;
  --overlay: rgba(8, 8, 10, 0.5);
  --card: rgba(12, 12, 14, 0.55);
  --card-border: rgba(255, 255, 255, 0.14);
  --focus: #f0d78c;
  --danger: #ffb4b4;
  --success: #b8e6c5;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #0b0b0d;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  background: var(--gold);
  color: #1a1404;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.hero-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, #3a2a18 0%, #121214 55%, #070708 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05);
}

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--overlay);
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1.25rem 1.25rem;
}

.site-header {
  width: min(100%, 920px);
  display: flex;
  justify-content: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  height: clamp(1.75rem, 7vw, 2.75rem);
  max-width: min(100%, 17rem);
  object-fit: contain;
  mix-blend-mode: screen;
}

.site-main {
  flex: 1;
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 0 1.5rem;
  gap: 2rem;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.countdown {
  width: 100%;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  width: min(100%, 720px);
  margin: 0 auto;
}

.countdown.is-live .countdown-grid {
  display: none;
}

.count-box {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  min-height: 118px;
  padding: 1.15rem 0.6rem 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.count-value {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.count-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-message {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
}

.notify {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 420px);
}

.notify-copy {
  margin: 0;
  width: max-content;
  max-width: 100%;
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
  color: #efe8d8;
}

.notify-form {
  display: flex;
  justify-content: center;
}

.notify-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 40px;
  padding: 0 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.1) 48%,
    rgba(212, 175, 55, 0.12) 100%
  );
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  isolation: isolate;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -10px 16px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.notify-form button:hover {
  border-color: rgba(240, 215, 140, 0.55);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(212, 175, 55, 0.16) 100%
  );
}

.notify-form button:active {
  transform: translateY(1px);
}

.mail-icon {
  flex-shrink: 0;
}

.notify-form button:focus-visible,
.social a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.social {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.7rem;
  width: min(100%, 320px);
}

.social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(212, 175, 55, 0.1) 100%
  );
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.social a:hover {
  transform: translateY(-2px) scale(1.06);
  color: #1a1404;
  border-color: rgba(240, 215, 140, 0.7);
}

.social-mail:hover {
  background: #ea4335;
  color: #fff;
}

.social-ig:hover {
  background: linear-gradient(145deg, #f9ce34, #ee2a7b 50%, #6228d7);
  color: #fff;
}

.social-wa:hover {
  background: #25d366;
  color: #fff;
}

.social-snap:hover {
  background: #fffc00;
}

.site-footer {
  width: min(100%, 920px);
  padding: 0.4rem 0 0.2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.58rem, 2.7vw, 0.78rem);
  letter-spacing: 0;
  white-space: nowrap;
  color: #b8b0a0;
}

@media (max-width: 1023px) {
  .site-main {
    gap: 1.7rem;
    padding: 1rem 0;
  }

  .count-box {
    min-height: 104px;
  }
}

@media (max-width: 767px) {
  .page {
    padding: 1.5rem 0.75rem 1rem;
  }

  .site-main {
    justify-content: center;
    padding: 0.75rem 0;
    gap: 1.25rem;
  }

  .headline {
    font-size: clamp(1.05rem, 5.5vw, 1.45rem);
    letter-spacing: 0;
  }

  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
    width: 100%;
    max-width: 100%;
  }

  .count-box {
    min-width: 0;
    min-height: 68px;
    padding: 0.5rem 0.1rem 0.4rem;
    border-radius: 8px;
    overflow: hidden;
  }

  .count-value {
    font-size: clamp(1.05rem, 5.8vw, 1.4rem);
  }

  .count-label {
    margin-top: 0.32rem;
    font-size: 0.5rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
  }

  .social {
    display: flex;
    width: auto;
    gap: 0.6rem;
  }

  .hero-overlay {
    background: rgba(8, 8, 10, 0.56);
  }
}

@media (min-width: 1440px) {
  .site-main {
    gap: 2.4rem;
  }

  .countdown-grid {
    width: 780px;
    gap: 1.35rem;
  }
}
