/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: #000000;
  color: #e8e8e8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* ---------- Background atmosphere ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1400px 900px at 20% 10%, rgba(200, 210, 225, 0.06), transparent 60%),
    radial-gradient(1000px 800px at 85% 90%, rgba(180, 190, 210, 0.05), transparent 60%),
    #000000;
  z-index: -3;
}

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.06;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(10) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* Floating orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: -2;
  pointer-events: none;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #b8c4d4 0%, transparent 70%);
  top: -10%; left: -8%;
  animation: drift1 22s ease-in-out infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #8a96a8 0%, transparent 70%);
  bottom: -15%; right: -10%;
  animation: drift2 28s ease-in-out infinite;
}
.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #d8dde6 0%, transparent 70%);
  top: 45%; left: 55%;
  opacity: 0.08;
  animation: drift3 30s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-100px, -80px) scale(1.15); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px, 90px) scale(0.9); }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
}
.preloader-text {
  font-family: 'Italiana', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.4em;
  background: linear-gradient(180deg, #ffffff 0%, #c8ced8 50%, #8a92a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preloader-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: charIn 0.6s ease forwards;
}
.preloader-text span:nth-child(1) { animation-delay: 0.05s; }
.preloader-text span:nth-child(2) { animation-delay: 0.10s; }
.preloader-text span:nth-child(3) { animation-delay: 0.15s; }
.preloader-text span:nth-child(4) { animation-delay: 0.20s; }
.preloader-text span:nth-child(5) { animation-delay: 0.25s; }
.preloader-text span:nth-child(6) { animation-delay: 0.30s; }
.preloader-text span:nth-child(7) { animation-delay: 0.35s; }
.preloader-text span:nth-child(8) { animation-delay: 0.40s; }
.preloader-text span:nth-child(9) { animation-delay: 0.45s; }
@keyframes charIn {
  to { opacity: 1; transform: translateY(0); }
}
.preloader-bar {
  width: 220px;
  height: 1px;
  background: rgba(220, 225, 235, 0.15);
  overflow: hidden;
}
.preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: fill 1.6s ease forwards;
  animation-delay: 0.4s;
}
@keyframes fill {
  to { width: 100%; }
}

/* ---------- Container ---------- */
.container {
  position: relative;
  min-height: 100vh;
  padding: 32px 48px 48px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* ---------- Top bar ---------- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(232, 234, 240, 0.65);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2.4s;
}
.mark {
  font-family: 'Italiana', serif;
  font-size: 22px;
  letter-spacing: 0.25em;
  background: linear-gradient(180deg, #ffffff 0%, #c8ced8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse {
  width: 7px; height: 7px;
  background: #e8ecf2;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232, 236, 242, 0.8);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 236, 242, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(232, 236, 242, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 236, 242, 0); }
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 10px;
  position: relative;
}

.video-wrap {
  position: relative;
  width: clamp(320px, 46vw, 620px);
  height: clamp(320px, 46vw, 620px);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  animation: heroIn 1.8s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 2.1s;
}
.video-wrap video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(220, 228, 240, 0.35)) drop-shadow(0 0 120px rgba(180, 190, 210, 0.18));
}
.video-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at center, rgba(220, 228, 240, 0.25) 0%, rgba(160, 175, 200, 0.10) 30%, transparent 65%);
  filter: blur(30px);
  z-index: 1;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.video-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(220, 225, 235, 0.18);
  z-index: 0;
  pointer-events: none;
}
.ring-1 {
  inset: 4%;
  animation: spin 40s linear infinite;
  border-style: dashed;
  border-color: rgba(220, 225, 235, 0.10);
}
.ring-2 {
  inset: -8%;
  animation: spin 70s linear infinite reverse;
  border-color: rgba(180, 190, 210, 0.12);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.video-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 3;
}
@keyframes heroIn {
  to { opacity: 1; transform: scale(1); }
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(220, 225, 235, 0.75);
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 3.0s;
  margin-top: 20px;
}
.eyebrow .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8ced8, transparent);
}

.title {
  font-family: 'Italiana', serif;
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 10rem);
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #f5e7c8 0%, #c49a5e 50%, #8a5e36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.title .word { display: inline-block; }
.title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%) rotateX(-40deg);
  animation: charReveal 1s cubic-bezier(.22,1,.36,1) forwards;
}
.title .char:nth-child(1) { animation-delay: 2.7s; }
.title .char:nth-child(2) { animation-delay: 2.78s; }
.title .char:nth-child(3) { animation-delay: 2.86s; }
.title .char:nth-child(4) { animation-delay: 2.94s; }
.title .char:nth-child(5) { animation-delay: 3.02s; }
.title .char:nth-child(6) { animation-delay: 3.10s; }
.title .char:nth-child(7) { animation-delay: 3.18s; }
.title .char:nth-child(8) { animation-delay: 3.26s; }
.title .char:nth-child(9) { animation-delay: 3.34s; }
@keyframes charReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(232, 234, 240, 0.85);
  margin-top: 14px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 3.3s;
}
.tagline em {
  font-style: italic;
  color: #f0f3f8;
  font-weight: 400;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ---------- Countdown ---------- */
.countdown {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 3.5s;
}
.countdown-label {
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(232, 234, 240, 0.55);
}
.counter {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 2vw, 24px);
}
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(70px, 10vw, 130px);
}
.digits {
  font-family: 'Italiana', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #c8ced8 55%, #7a8290 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.digits.tick { animation: tick 0.6s cubic-bezier(.22,1,.36,1); }
@keyframes tick {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-20%); opacity: 0; filter: blur(4px); }
  60% { transform: translateY(20%); opacity: 0; filter: blur(4px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
.unit-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(232, 234, 240, 0.55);
  margin-top: 12px;
}
.sep {
  font-family: 'Italiana', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: rgba(220, 225, 235, 0.4);
  line-height: 1;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/* ---------- Notify ---------- */
.notify {
  margin: 60px auto 0;
  max-width: 460px;
  width: 100%;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 3.8s;
}
.notify-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(232, 234, 240, 0.7);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.notify-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(220, 225, 235, 0.3);
  padding-bottom: 10px;
  gap: 12px;
  transition: border-color 0.35s ease;
}
.notify-form:focus-within {
  border-color: #e8ecf2;
}
.notify-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #e8e8e8;
  padding: 10px 4px;
}
.notify-form input::placeholder {
  color: rgba(232, 234, 240, 0.35);
  letter-spacing: 0.08em;
}
.notify-form button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8ecf2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  transition: gap 0.35s ease, color 0.35s ease;
}
.notify-form button:hover {
  gap: 16px;
  color: #ffffff;
}
.notify-form button .btn-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}
.notify-form button:hover .btn-arrow {
  transform: translateX(4px);
}
.notify-success {
  margin-top: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #e8ecf2;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.notify-success.show { opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  padding-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(232, 234, 240, 0.4);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 4.4s;
}
.footer a {
  position: relative;
  transition: color 0.35s ease;
}
.footer a:hover { color: #ffffff; }
.footer a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: #e8ecf2;
  transition: width 0.35s ease;
}
.footer a:hover::after { width: 100%; }
.footer .dot { margin: 0 14px; opacity: 0.5; }
.footer-right { display: flex; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .container { padding: 24px 22px 32px; }
  .top-bar { font-size: 9px; }
  .hero { margin-top: 24px; }
  .countdown { margin-top: 40px; gap: 18px; }
  .unit { min-width: 60px; }
  .sep { font-size: 2.4rem; }
  .footer { flex-direction: column; gap: 14px; padding-top: 40px; text-align: center; }
}
