:root {
  --pitch-deep: #07140f;
  --pitch-mid: #0d2a1c;
  --pitch-lift: #163d28;
  --turf: #1f6b45;
  --lime: #9dff4a;
  --lime-deep: #6fd12a;
  --foam: #f2f7f3;
  --mist: rgba(242, 247, 243, 0.72);
  --line: rgba(242, 247, 243, 0.14);
  --ink-soft: rgba(242, 247, 243, 0.55);
  --danger: #ff8f7a;
  --radius: 10px;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--pitch-deep);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- Atmosphere (dominant visual plane) --- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #245c3a 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 100%, #0a3a28 0%, transparent 50%),
    linear-gradient(165deg, var(--pitch-mid) 0%, var(--pitch-deep) 55%, #050d0a 100%);
}

.atmosphere__wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 40% at 30% 20%, rgba(157, 255, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 45% 35% at 78% 30%, rgba(31, 107, 69, 0.45), transparent 65%);
  animation: wash-drift 18s ease-in-out infinite alternate;
}

.atmosphere__pitch {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 140vmax;
  height: 70vmax;
  transform: translateX(-50%) perspective(900px) rotateX(62deg);
  transform-origin: center top;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 48px,
      rgba(157, 255, 74, 0.03) 48px 49px
    ),
    linear-gradient(180deg, transparent 0%, rgba(31, 107, 69, 0.35) 40%, rgba(9, 40, 26, 0.9) 100%);
  border-top: 1px solid rgba(157, 255, 74, 0.18);
  opacity: 0.85;
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 70%, transparent 100%);
}

.atmosphere__pitch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: 28%;
  height: 28%;
  transform: translateX(-50%);
  border: 1.5px solid rgba(242, 247, 243, 0.12);
  border-radius: 50%;
}

.atmosphere__pitch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(242, 247, 243, 0.1);
}

.atmosphere__beam {
  position: absolute;
  top: -10%;
  width: 38vw;
  height: 120%;
  background: linear-gradient(
    180deg,
    rgba(242, 247, 243, 0.09) 0%,
    rgba(157, 255, 74, 0.05) 35%,
    transparent 70%
  );
  filter: blur(2px);
  transform-origin: top center;
  animation: beam-sway 12s ease-in-out infinite alternate;
}

.atmosphere__beam--a {
  left: 18%;
  transform: skewX(-12deg);
  animation-delay: -2s;
}

.atmosphere__beam--b {
  right: 12%;
  width: 28vw;
  transform: skewX(10deg);
  opacity: 0.7;
  animation-duration: 15s;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes wash-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

@keyframes beam-sway {
  from { opacity: 0.45; transform: skewX(-12deg) translateX(-1.5%); }
  to { opacity: 0.85; transform: skewX(-8deg) translateX(2%); }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__wash,
  .atmosphere__beam,
  .brand,
  .headline,
  .support,
  .notify {
    animation: none !important;
  }
}

/* --- Hero composition --- */

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.15rem;
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 14vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  min-height: 100dvh;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 11vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand__net {
  color: var(--foam);
}

.brand__odds {
  color: var(--lime);
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--foam);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.support {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--mist);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Notify form (interaction container) --- */

.notify {
  width: 100%;
  max-width: 28rem;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: transparent;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.notify.is-success .notify__row,
.notify.is-success .notify__hint,
.notify.is-success .notify__label {
  display: none;
}

.notify__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.notify__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.notify__input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 13, 10, 0.55);
  color: var(--foam);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify__input::placeholder {
  color: rgba(242, 247, 243, 0.35);
}

.notify__input:focus {
  border-color: rgba(157, 255, 74, 0.55);
  background: rgba(5, 13, 10, 0.75);
}

.notify__btn {
  flex-shrink: 0;
  appearance: none;
  border: none;
  border-radius: var(--radius);
  background: var(--lime);
  color: #0a160e;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.notify__btn:hover {
  background: #b5ff6e;
}

.notify__btn:active {
  transform: translateY(1px);
}

.notify__btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.notify__hint,
.notify__error,
.notify__success {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.notify__hint {
  color: var(--ink-soft);
}

.notify__error {
  color: var(--danger);
}

.notify__success {
  color: var(--lime);
  font-weight: 600;
  font-size: 1rem;
  animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1rem 1.25rem 1.4rem;
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(242, 247, 243, 0.38);
}

@media (max-width: 560px) {
  .hero {
    width: min(100%, calc(100% - 2rem));
    gap: 1rem;
    justify-content: flex-end;
    padding-bottom: 5.5rem;
  }

  .notify__row {
    flex-direction: column;
  }

  .notify__btn {
    width: 100%;
  }

  .atmosphere__pitch {
    bottom: -8%;
    opacity: 0.7;
  }

  .atmosphere__beam {
    width: 55vw;
  }
}
