:root {
  --ink: #f8f6f1;
  --muted: #ddd8ce;
  --accent: #f2bf27;
  --accent-2: #e85a2a;
  --glass: rgba(7, 15, 23, 0.62);
  --line: rgba(248, 246, 241, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(8, 18, 28, 0.82) 0%, rgba(8, 18, 28, 0.48) 45%, rgba(8, 18, 28, 0.9) 100%),
    url("./assets/hero.png") center center / cover no-repeat fixed;
  display: grid;
  place-items: center;
  padding: 2rem;
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.22), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(242, 191, 39, 0.2), transparent 32%),
    linear-gradient(transparent 49%, rgba(255, 255, 255, 0.04) 50%, transparent 51%);
  background-size: auto, auto, 5px 5px;
}

.hero {
  width: min(820px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.4rem, 4vw, 3.2rem);
  background: var(--glass);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
  animation: card-in 850ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.kicker,
h1,
.subtitle,
.chip-row,
.cta {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 700ms ease forwards;
}

.kicker {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  animation-delay: 120ms;
}

h1 {
  margin: 0.3rem 0 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
  animation-delay: 220ms;
}

.subtitle {
  max-width: 56ch;
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(0.95rem, 2.6vw, 1.16rem);
  animation-delay: 360ms;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
  animation-delay: 470ms;
}

.chip {
  border: 1px solid rgba(242, 191, 39, 0.45);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  background: rgba(242, 191, 39, 0.08);
}

.cta {
  margin-top: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  text-decoration: none;
  color: #101922;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.86rem 1.1rem;
  background: linear-gradient(90deg, var(--accent), #ffd765 50%, var(--accent-2));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  animation-delay: 590ms;
}

@keyframes card-in {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  body {
    padding: 1rem;
    background-attachment: scroll;
  }

  .hero {
    border-radius: 22px;
    padding: 1.2rem;
  }

  .subtitle {
    margin-top: 0.7rem;
  }

  .cta {
    width: 100%;
  }
}
