@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  color-scheme: dark;

  --white: #ffffff;
  --cyan: #20f4e4;
  --cyan-light: #a7fff6;
  --purple: #9c5cff;
  --magenta: #d946ef;
  --muted: #d5cfdf;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #020108;
}

body {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  color: var(--white);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* =========================================================
   STATINIS FONAS
   ========================================================= */

.background {
  position: fixed;
  inset: 0;
  z-index: 0;

  background-image:
    url("./deadwallet-awakening-background.webp");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  filter:
    brightness(1.09)
    saturate(1.18)
    contrast(1.07);

  transform: scale(1.002);
}

.background-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(2, 1, 8, 0) 0%,
      rgba(2, 1, 8, 0.01) 48%,
      rgba(2, 1, 8, 0.08) 72%,
      rgba(2, 1, 8, 0.28) 100%
    );
}

/* =========================================================
   PAGRINDINIS TURINYS
   ========================================================= */

main {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: flex-end;

  padding: 40px 24px 48px;
}

.hero {
  width: min(100%, 860px);

  margin: 0 auto;
  padding: 0 16px;

  text-align: center;

  background:
    radial-gradient(
      ellipse at center,
      rgba(2, 1, 8, 0.40) 0%,
      rgba(2, 1, 8, 0.15) 49%,
      transparent 76%
    );
}

/* Šio užrašo daugiau nerodome */

.kicker {
  display: none;
}

/* =========================================================
   PAGRINDINĖ ANTRAŠTĖ
   ========================================================= */

h1 {
  margin: 0;

  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;

  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 700;

  line-height: 0.91;
  letter-spacing: -0.055em;

  color: transparent;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 29%,
      #75e7ff 51%,
      #846fff 73%,
      #c255ff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  filter:
    drop-shadow(0 4px 9px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 12px rgba(62, 167, 255, 0.24));
}

h1 span {
  display: block;

  font-size: 0.88em;

  color: transparent;

  background:
    linear-gradient(
      90deg,
      #dffcff 0%,
      #52e7f4 32%,
      #7774ff 66%,
      #c05cff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  filter:
    drop-shadow(0 0 8px rgba(172, 92, 255, 0.55))
    drop-shadow(0 0 19px rgba(71, 125, 255, 0.30));
}

/* =========================================================
   SEE YOU SOON
   ========================================================= */

.living {
  margin: 14px 0 0;

  color: transparent;

  font-family:
    "Space Grotesk",
    Inter,
    sans-serif;

  font-size: clamp(19px, 2vw, 29px);
  font-weight: 600;

  background:
    linear-gradient(
      90deg,
      #c2fff9 0%,
      #51f3e3 40%,
      #62d7ff 73%,
      #bd9cff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  filter:
    drop-shadow(0 0 7px rgba(32, 244, 228, 0.42))
    drop-shadow(0 3px 9px rgba(0, 0, 0, 0.95));
}

/* =========================================================
   THE CHAIN NEVER FORGETS
   ========================================================= */

.memory {
  margin: 7px 0 0;

  color: #e0d8ec;

  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500;

  letter-spacing: 0.09em;

  text-shadow:
    0 2px 9px rgba(0, 0, 0, 1),
    0 0 14px rgba(175, 121, 255, 0.24);
}

/* =========================================================
   NUORODOS
   ========================================================= */

.links {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 13px;

  margin-top: 13px;

  color: rgba(207, 196, 222, 0.82);

  font-size: 12px;
  font-weight: 700;
}

.links a {
  color: #e1d9ea;
  text-decoration: none;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 1);

  transition:
    color 160ms ease,
    text-shadow 160ms ease;
}

.links a:hover {
  color: var(--cyan-light);

  text-shadow:
    0 0 8px rgba(32, 244, 228, 0.68),
    0 0 20px rgba(32, 244, 228, 0.32);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  position: fixed;
  left: 22px;
  bottom: 13px;
  z-index: 3;

  color: rgba(229, 220, 240, 0.68);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 1);
}

/* =========================================================
   ŽEMESNI KOMPIUTERIO EKRANAI
   ========================================================= */

@media (max-height: 850px) and (min-width: 721px) {
  main {
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(40px, 4.3vw, 64px);
  }

  .living {
    margin-top: 10px;
    font-size: clamp(18px, 1.8vw, 26px);
  }

  .memory {
    margin-top: 5px;
  }

  .links {
    margin-top: 10px;
  }
}

/* =========================================================
   MOBILUS
   ========================================================= */

@media (max-width: 720px) {
  body {
    overflow-y: auto;
  }

  .background {
    background-size: auto 100%;
    background-position: center top;

    filter:
      brightness(1.06)
      saturate(1.15)
      contrast(1.06);
  }

  .background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 1, 8, 0.01) 0%,
        rgba(2, 1, 8, 0.04) 42%,
        rgba(2, 1, 8, 0.50) 70%,
        rgba(2, 1, 8, 0.88) 100%
      );
  }

  main {
    min-height: 100svh;
    padding: 45px 13px 38px;
  }

  .hero {
    width: 100%;
    padding: 18px 2px 32px;

    background:
      radial-gradient(
        ellipse at center,
        rgba(2, 1, 8, 0.60) 0%,
        rgba(2, 1, 8, 0.32) 48%,
        transparent 78%
      );
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
    line-height: 0.93;
    letter-spacing: -0.045em;
  }

  h1 span {
    font-size: 0.86em;
  }

  .living {
    margin-top: 14px;
    font-size: clamp(18px, 5.4vw, 25px);
  }

  .memory {
    margin-top: 7px;
    font-size: 12px;
  }

  .links {
    flex-wrap: wrap;
    gap: 7px 10px;

    margin-top: 13px;
    font-size: 11px;
  }

  footer {
    left: 13px;
    bottom: 10px;
  }
}
