@font-face {
  font-family: 'Aspekta';
  src: url('fonts/Aspekta-450.otf') format('opentype');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

:root {
  --fg: #ffffff;
  --muted: rgba(255,255,255,0.62);
  --line: rgba(255,255,255,0.28);
  --line-strong: rgba(255,255,255,0.85);
}

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

html, body { height: 100%; }

body {
  background: #060604;
  color: var(--fg);
  font-family: 'Aspekta', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(0.92) brightness(0.86);
  transition: opacity 2.6s ease;
  animation: slowZoom 22s ease-in-out infinite;
}

.bg-slide.active {
  opacity: 1;
}

@keyframes slowZoom {
  0%   { transform: scale(1.0); }
  50%  { transform: scale(1.07); }
  100% { transform: scale(1.0); }
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,4,3,0.55) 0%, rgba(4,4,3,0.35) 30%, rgba(4,4,3,0.55) 70%, rgba(4,4,3,0.78) 100%);
}

.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Top bar ---------- */

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 36px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.top .mark {
  font-weight: 450;
  font-size: 15px;
}

.top .kicker {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* ---------- Main ---------- */

.wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 0 24px;
  animation: fadeUp 1.3s ease forwards;
  opacity: 0;
}

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

.logo {
  font-weight: 450;
  font-size: clamp(52px, 12vw, 160px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  white-space: nowrap;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}

.dot { color: var(--fg); }

.tag {
  margin-top: 24px;
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--muted);
  letter-spacing: 0.01em;
  max-width: 420px;
}

.notify {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.notify input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify input::placeholder { color: var(--muted); }

.notify input:focus {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.1);
}

.notify button {
  border: 1px solid var(--fg);
  background: var(--fg);
  color: #0a0a0a;
  font-family: inherit;
  font-weight: 450;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.notify button:hover { opacity: 0.85; }
.notify button:active { transform: scale(0.97); }

.notify.hidden { display: none; }

.confirm {
  margin-top: 48px;
  font-size: 14px;
  color: var(--fg);
  display: none;
}

.confirm.show {
  display: block;
  animation: fadeUp 0.5s ease forwards;
}

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

.foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 26px 36px;
}

.foot span,
.foot a {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.foot a:hover { color: var(--fg); }

@media (max-width: 480px) {
  .top { padding: 22px 20px; }
  .foot { padding: 20px; flex-direction: column; gap: 6px; align-items: center; }
  .notify { flex-direction: column; }
  .notify button { width: 100%; }
}
