:root {
  --bg-deep: #050505;
  --fg: #f5f5f5;
  --green: #00ff66;
  --font-pixel: "Press Start 2P", system-ui, sans-serif;
  --font-mono: "VT323", "Courier New", Courier, monospace;
  --font-ui: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--fg);
  background: var(--bg-deep);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--bg-deep);
  background-image: url("BG.avif");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.55) 0%,
    rgba(5, 5, 5, 0.35) 40%,
    rgba(5, 5, 5, 0.75) 100%
  );
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  right: -18%;
  bottom: -22%;
  z-index: 0;
  width: min(110vw, 720px);
  opacity: 0.11;
  pointer-events: none;
  filter: grayscale(1) contrast(0.9);
}

.hero__watermark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(92%, 720px);
  padding: clamp(28px, 6vh, 56px) 18px clamp(40px, 8vh, 72px);
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 22px);
  margin: 0 auto 22px;
}

.brand__logo {
  width: clamp(56px, 12vw, 76px);
  height: auto;
  flex-shrink: 0;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

.brand__title {
  margin: 0;
  padding-top: 0.15em;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.8vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
}

.subtitle {
  max-width: 52rem;
  margin: 0 auto 26px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin: 0 auto 32px;
}

.socials__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--green);
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.socials__link svg {
  display: block;
}

.socials__link:hover,
.socials__link:focus-visible {
  color: #7dffae;
  transform: translateY(-1px);
  outline: none;
}

.socials__link--active {
  color: var(--green);
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.logo--mid {
  display: block;
  width: clamp(52px, 11vw, 68px);
  height: auto;
  margin: 0 auto 22px;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}

.cta {
  display: inline-block;
  min-width: min(100%, 420px);
  padding: 14px 22px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f0f0f0;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.04em;
  text-transform: none;
  background: linear-gradient(180deg, #2a2a2a 0%, #9a9a9a 48%, #4a4a4a 52%, #2f2f2f 100%);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -8px 18px rgba(0, 0, 0, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.55);
}

.cta:hover {
  filter: brightness(1.05);
}

.cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .brand {
    flex-direction: column;
    gap: 14px;
  }

  .brand__title {
    font-size: clamp(0.95rem, 5vw, 1.2rem);
  }
}
