:root {
  color-scheme: dark;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  background: #06143e;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

.landing {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(0, 9, 45, 0.16), rgba(1, 5, 33, 0.72)), url("./digital-background.jpg") center / cover no-repeat;
}

.landing::before,
.landing::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.landing::before { background: radial-gradient(circle at 50% 43%, rgba(0, 110, 255, 0.16), transparent 43%); }
.landing::after { background: linear-gradient(90deg, rgba(0, 6, 30, 0.28), transparent 42%, rgba(0, 6, 30, 0.28)); box-shadow: inset 0 0 140px rgba(0, 3, 25, 0.72); }

.landing__content { width: min(100%, 760px); text-align: center; animation: hacker-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }

.landing__logo-wrap {
  width: clamp(165px, 27vw, 245px);
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.48));
  transform: translateZ(0);
  animation: logo-float 4.2s ease-in-out infinite, logo-fade 3.2s ease-in-out infinite;
  transition: transform 220ms ease, filter 220ms ease;
}

.landing__logo-wrap:hover {
  filter: drop-shadow(0 14px 24px rgba(42, 255, 96, 0.3));
  transform: translateY(-6px) rotate(-2deg) scale(1.04);
}

.landing__logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

h1 {
  margin: 0;
  color: #8cf04d;
  font-size: clamp(34px, 7vw, 82px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(180deg, #f2fff0 0%, #a7f765 27%, #4d9e25 61%, #c6ff89 84%, #396c1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 0 #d7e5d2, 0 5px 0 #263b20, 0 9px 0 #132211, 0 13px 22px rgba(0, 0, 0, 0.72), 0 0 26px rgba(104, 255, 57, 0.34);
}

.landing__answers { display: flex; justify-content: center; gap: 12px; margin-top: 42px; }

.landing__answers a {
  position: relative;
  min-width: 132px;
  padding: 14px 28px 16px;
  border: 1px solid #c7ff99;
  border-radius: 8px;
  background: linear-gradient(180deg, #b9ff78 0%, #5bb932 43%, #2c681a 100%);
  box-shadow: 0 7px 0 #183c12, 0 12px 24px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.74), inset 0 -5px 9px rgba(14, 51, 6, 0.45);
  color: #102308;
  font-size: 23px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  animation: button-float 3.4s ease-in-out infinite;
}

.landing__answers a:nth-child(2) { animation-delay: 180ms; }
.landing__answers a::before { position: absolute; top: 4px; right: 8px; left: 8px; height: 18%; border-radius: 999px; background: rgba(255, 255, 255, 0.28); content: ""; pointer-events: none; }

.landing__answers a:hover,
.landing__answers a:focus-visible {
  outline: none;
  filter: brightness(1.12) saturate(1.12);
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 12px 0 #183c12, 0 20px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.82), inset 0 -5px 9px rgba(14, 51, 6, 0.42);
}

.landing__answers a:active { transform: translateY(4px) scale(0.99); box-shadow: 0 3px 0 #183c12, 0 7px 14px rgba(0, 0, 0, 0.42), inset 0 2px 5px rgba(14, 51, 6, 0.5); }

@keyframes hacker-enter { from { opacity: 0; transform: translateY(22px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes button-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes logo-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes logo-fade { 0%, 100% { opacity: 0.42; } 50% { opacity: 1; } }

@media (max-width: 560px) {
  .landing { padding-inline: 16px; }
  .landing__content { width: 100%; display: grid; justify-items: center; margin-top: -145px; }
  .landing__logo-wrap,
  h1,
  .landing__answers { justify-self: center; }
  .landing__answers { width: 100%; justify-content: center; }
  h1 { font-size: clamp(30px, 12vw, 62px); }
  .landing__answers { gap: 10px; margin-top: 34px; }
  .landing__answers a { min-width: 118px; padding-inline: 18px; font-size: 20px; }
  .landing__logo-wrap { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing__content,
  .landing__answers a,
  .landing__logo-wrap { animation: none; }
}
