@font-face {
  font-family: "Defusal Match";
  src: url("./fonts/Kanit-Medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  --background: #000000;
  --foreground: #ffffff;
  --font-sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  color: var(--foreground);
  font-family: var(--font-sans);
}

::selection {
  background: rgba(255, 255, 255, 0.2);
}

.landing-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
}

.landing-background,
.landing-color-grade,
.landing-weapon-shade,
.landing-vignette {
  position: absolute;
  inset: 0;
}

.landing-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  filter: brightness(0.9) contrast(0.99) saturate(0.84) blur(0.08px);
}

.landing-color-grade {
  background:
    radial-gradient(circle at 58% 40%, rgba(225, 230, 236, 0.08), transparent 22%),
    radial-gradient(circle at 27% 58%, rgba(58, 168, 255, 0.06), transparent 20%),
    radial-gradient(circle at 38% 62%, rgba(255, 72, 56, 0.03), transparent 16%),
    radial-gradient(circle at 77% 28%, rgba(128, 18, 16, 0.035), transparent 22%),
    linear-gradient(90deg, rgba(0, 15, 25, 0.16), rgba(0, 0, 0, 0.02) 45%, rgba(12, 0, 0, 0.14) 100%);
}

.landing-weapon-shade {
  background:
    radial-gradient(ellipse at 56% 83%, rgba(0, 0, 0, 0.32), transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 30%, transparent 54%);
  backdrop-filter: blur(0.7px);
  mask-image: linear-gradient(to top, #000 0%, #000 34%, transparent 62%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 34%, transparent 62%);
}

.landing-vignette {
  background:
    radial-gradient(ellipse at 64% 42%, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.18) 74%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.13), transparent 38%, rgba(0, 0, 0, 0.22) 100%);
  box-shadow: inset 0 0 145px rgba(0, 0, 0, 0.24);
}

.landing-sparks {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.landing-spark {
  animation: landing-ember-drift 7s ease-in-out infinite;
  position: absolute;
  width: 3px;
  height: 24px;
  background: #ff3a30;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 46, 36, 0.48);
  opacity: 0.62;
  transform: rotate(58deg);
}

.spark-1 {
  left: 83%;
  top: 17%;
}

.spark-2 {
  left: 91%;
  top: 30%;
  animation-delay: -1.6s;
}

.spark-3 {
  left: 78%;
  top: 67%;
  animation-delay: -3.4s;
}

.spark-4 {
  left: 88%;
  top: 77%;
  animation-delay: -5s;
}

.spark-5 {
  left: 72%;
  top: 83%;
  animation-delay: -2.5s;
}

.landing-section {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 8vh, 6rem) 1.25rem 2.5rem;
}

.landing-content {
  isolation: isolate;
  pointer-events: none;
  position: relative;
  width: 100%;
  max-width: 760px;
  text-align: center;
  transform: translateY(0);
  user-select: none;
  -webkit-user-select: none;
}

.landing-content::before,
.landing-content::after {
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  z-index: -1;
}

.landing-content::before {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.08) 38%, transparent 72%),
    radial-gradient(ellipse at 48% 63%, rgba(46, 190, 255, 0.05), transparent 40%),
    radial-gradient(ellipse at 58% 62%, rgba(255, 54, 46, 0.03), transparent 44%);
  backdrop-filter: blur(3px);
  height: calc(100% + 4.5rem);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 52%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 52%, transparent 80%);
  top: -2.2rem;
  width: min(52rem, calc(100% + 7rem));
}

.landing-content::after {
  animation: landing-focus-pulse 8s ease-in-out infinite;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04), rgba(39, 191, 255, 0.075) 24%, rgba(255, 52, 44, 0.035) 48%, transparent 72%);
  bottom: -0.5rem;
  filter: blur(16px);
  height: 10rem;
  opacity: 0.72;
  width: min(33rem, 82%);
}

.landing-logo-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  max-width: 100%;
}

.landing-pliers {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  filter:
    drop-shadow(-3px 0 3px rgba(34, 197, 255, 0.42))
    drop-shadow(3px 0 3px rgba(255, 45, 35, 0.3))
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.18));
  transform: translateY(0.07em);
}

.landing-title {
  color: #f8fbff;
  font-family: "Defusal Match", var(--font-sans);
  font-size: clamp(4.7rem, 10.2vw, 9.25rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
  text-shadow:
    -1.5px 0 0 rgba(34, 183, 255, 0.5),
    1.5px 0 0 rgba(255, 45, 35, 0.44),
    0 0 4px rgba(255, 255, 255, 0.14),
    0 7px 14px rgba(0, 0, 0, 0.88);
  text-transform: uppercase;
  -webkit-text-stroke: 0.65px rgba(255, 255, 255, 0.3);
}

.landing-subtitle {
  margin: 0.25rem 0 0;
  color: #ffffff;
  font-family: "Defusal Match", var(--font-sans);
  font-size: clamp(1.35rem, 2.55vw, 2.25rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.095em;
  line-height: 1.05;
  text-shadow:
    0 0 7px rgba(255, 255, 255, 0.26),
    0 8px 18px rgba(0, 0, 0, 0.85);
}

.landing-description {
  max-width: 620px;
  margin: 0.5rem auto 0;
  color: #fafafa;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 500;
  line-height: 1.75rem;
  text-wrap: balance;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.95));
}

.landing-status-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.landing-coming-soon {
  margin: 0;
  color: #ff6000;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  pointer-events: none;
  text-shadow:
    0 0 8px rgba(255, 96, 0, 0.38),
    0 5px 16px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
}

.landing-discord-block {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  text-align: right;
}

.landing-discord-link {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  filter: drop-shadow(0 5px 16px rgba(0, 0, 0, 0.9));
}

.landing-discord-link:focus-visible {
  outline: 2px solid rgba(255, 96, 0, 0.8);
  outline-offset: 0.35rem;
}

.landing-discord-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.landing-discord-block p {
  margin: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.58);
  cursor: default;
  font-size: clamp(0.58rem, 1.8vw, 0.72rem);
  font-weight: 500;
  line-height: 1.35;
  overflow: hidden;
  pointer-events: none;
  text-overflow: clip;
  white-space: nowrap;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95);
  user-select: none;
  -webkit-user-select: none;
}

@keyframes landing-ember-drift {
  0%,
  100% {
    opacity: 0.34;
    transform: translate3d(0, 0, 0) rotate(58deg);
  }

  45% {
    opacity: 0.66;
    transform: translate3d(-6px, -12px, 0) rotate(58deg);
  }
}

@keyframes landing-focus-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) scale(0.98);
  }

  50% {
    opacity: 0.58;
    transform: translateX(-50%) scale(1.02);
  }
}

@media (min-width: 640px) {
  .landing-section {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .landing-pliers {
    width: 7.5rem;
    height: 7.5rem;
  }
}

@media (min-width: 1024px) {
  .landing-section {
    padding-right: 4rem;
    padding-left: 4rem;
  }

  .landing-content {
    transform: none;
  }

  .landing-pliers {
    width: 9.25rem;
    height: 9.25rem;
  }
}

@media (min-width: 1280px) {
  .landing-section {
    padding-right: 6rem;
    padding-left: 6rem;
  }

  .landing-content {
    transform: none;
  }
}

@media (max-width: 767px) {
  .landing-content::before {
    height: calc(100% + 3rem);
    top: -1.4rem;
    width: calc(100% + 2.5rem);
  }
}

@media (max-width: 420px) {
  .landing-logo-lockup {
    gap: 0.75rem;
  }

  .landing-title {
    -webkit-text-stroke-width: 1px;
  }

  .landing-discord-block {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.85rem;
  }

  .landing-discord-link {
    width: 1.65rem;
    height: 1.65rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .landing-content::after,
  .landing-spark {
    animation: none;
  }
}
