@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Alpha";
  src: url("../fonts/HMAlphaMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }

#lottie,
#seed-lottie {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

#lottie canvas,
#seed-lottie canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hidden { display: none !important; }

.header {
  position: absolute;
  top: 40px;
  left: 16px;
  right: 30px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: none;
  color: #fff;
  font: 500 14px/1 Inter, sans-serif;
  cursor: pointer;
  transition: background 150ms;
}

.btn-nav:hover { background: rgba(255, 255, 255, 0.06); }

.btn-lang {
  gap: 4px;
  color: #c3c3c3;
  cursor: pointer;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  padding: 14px 32px;
  border: none;
  border-radius: 100px;
  background: #fff;
  color: #000;
  font: 600 14px/1 Inter, sans-serif;
  cursor: pointer;
  transition: opacity 150ms;
}

.btn-main:hover { opacity: 0.9; }

.btn-main.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.btn-main.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 300ms, transform 300ms;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
