:root {
  /* --bg: #1f2024; */
  /* --card-bg: #141518; */
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #e89517;
  /* --overlay: rgba(19, 18, 17, 0.34); */
}

@font-face {
  font-family: "Novaklasse";
  src: url("assets/fonts/novaklasse-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

body {
  min-height: 100vh;
  /* background: #000; */
  color: var(--text);
  font-family: "Manrope", sans-serif;
  display: block;
  padding: 0;
}

.page {
  position: relative;
  width: 100vw;
}

.site-label {
  position: absolute;
  top: clamp(1rem, 2.2vh, 2rem);
  left: clamp(1rem, 2.5vw, 3rem);
  z-index: 5;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.3vw, 1.9rem);
  margin-bottom: 0;
  letter-spacing: 0.2px;
}

.hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--card-bg);
  box-shadow: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(193, 216, 233, 0.24) 0%, rgba(19, 18, 17, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.logo-banner {
  position: absolute;
  top: clamp(1.5rem, 5vh, 3.7rem);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(140px, 22vw, 340px);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  animation: drop-in 700ms ease-out;
  z-index: 2;
}

.logo-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.play-btn {
  position: absolute;
  top: 31%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(78px, 5.7vw, 96px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease;
  animation: pulse 2.8s infinite;
  z-index: 2;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(255, 255, 255, 0.11);
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid rgba(255, 255, 255, 0.92);
  margin-left: 5px;
}

.announcement {
  position: absolute;
  left: 50%;
  top: 61%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.45rem, 1.3vh, 1.2rem);
  text-align: center;
  animation: rise 900ms ease-out;
  z-index: 2;
}

.tools {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  margin-bottom: 0;
  line-height: 1;
}

h1 {
  font-family: "Novaklasse", "Sora", sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 5.3rem);
  line-height: 1.03;
  max-width: 18ch;
  text-wrap: balance;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.33);
}

.scroll-indicator {
  position: absolute;
  right: clamp(0.9rem, 1.7vw, 1.8rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 3px;
  height: clamp(160px, 34vh, 400px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0.2) 100%);
}

.socials {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 4vh, 2.2rem);
  transform: translateX(-50%);
  display: flex;
  gap: clamp(0.9rem, 1.1vw, 1.3rem);
  align-items: center;
  z-index: 2;
}

.socials a {
  color: rgba(255, 255, 255, 0.93);
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}

.socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    border-radius: 0;
  }

  .logo-banner {
    top: clamp(1rem, 3.4vh, 2rem);
  }

  .play-btn {
    top: 40%;
  }

  .announcement {
    top: 60%;
    width: 90%;
    gap: 0.45rem;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-label {
    font-size: 1rem;
  }

  .logo-banner {
    width: min(58vw, 260px);
  }

  .play-btn {
    top: 41%;
  }

  .announcement {
    top: 61%;
    gap: 0.35rem;
  }

  h1 {
    font-size: clamp(1.8rem, 10.5vw, 2.8rem);
    line-height: 1.02;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate(-50%, -42%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  60% {
    box-shadow: 0 0 0 17px rgba(255, 255, 255, 0);
  }
}
