body.landing-page {
  --landing-bg: #02070b;
  --landing-panel: rgba(5, 14, 20, 0.88);
  --landing-line: rgba(75, 220, 255, 0.2);
  --landing-cyan: #4bdcff;
  --landing-green: #59f2a3;
  --landing-gold: #ffc95b;
  --landing-red: #ff7568;
  --landing-copy: #c7d4db;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--landing-copy);
  background:
    radial-gradient(circle at 15% 18%, rgba(75, 220, 255, 0.13), transparent 29rem),
    radial-gradient(circle at 86% 72%, rgba(89, 242, 163, 0.1), transparent 32rem),
    linear-gradient(145deg, #02070a 0%, #06131b 50%, #030910 100%);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

#coin-canvas {
  position: fixed;
  inset: 72px 0 0;
  z-index: 0;
  width: 100%;
  height: calc(100% - 72px);
  pointer-events: none;
}

body.landing-page::before {
  position: fixed;
  inset: 72px 0 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(75, 220, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 220, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
  pointer-events: none;
}

.landing-main,
.landing-footer {
  position: relative;
  z-index: 1;
}

.landing-main {
  display: grid;
  min-height: calc(100vh - 112px);
  place-items: center;
  padding: 14px 22px 10px;
}

.landing-deck {
  position: relative;
  width: min(1240px, 100%);
  overflow: hidden;
  border: 1px solid rgba(75, 220, 255, 0.25);
  border-radius: 25px;
  background:
    linear-gradient(rgba(75, 220, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 220, 255, 0.023) 1px, transparent 1px),
    rgba(2, 9, 14, 0.91);
  background-size: 54px 54px;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 255, 255, 0.04);
  animation: landing-arrive 620ms ease-out both;
}

.landing-deck::before {
  position: absolute;
  top: -360px;
  right: -220px;
  width: 680px;
  height: 680px;
  content: "";
  border: 1px solid rgba(75, 220, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(75, 220, 255, 0.018), 0 0 0 144px rgba(89, 242, 163, 0.01);
  pointer-events: none;
}

.landing-deck__status {
  display: grid;
  position: relative;
  z-index: 2;
  min-height: 40px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 18px;
  color: #7f99a7;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(75, 220, 255, 0.16);
  background: rgba(2, 8, 12, 0.72);
}

.landing-deck__lights {
  display: flex;
  gap: 6px;
  justify-self: start;
}

.landing-deck__lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #537589;
}

.landing-deck__lights i:nth-child(2) {
  background: var(--landing-gold);
  box-shadow: 0 0 9px rgba(255, 201, 91, 0.75);
}

.landing-deck__lights i:nth-child(3) {
  background: var(--landing-cyan);
  box-shadow: 0 0 9px rgba(75, 220, 255, 0.75);
}

.landing-deck__message {
  justify-self: center;
  color: var(--landing-cyan);
}

.landing-hero {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.5vw, 46px) clamp(26px, 4.5vw, 58px) clamp(24px, 3vw, 34px);
}

.landing-hero__copy {
  max-width: 920px;
}

.landing-hero h1 {
  max-width: 840px;
  margin: 0;
  color: #f5fafc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-align: left;
}

.landing-hero h1 em {
  display: block;
  color: var(--landing-green);
  font-style: normal;
  text-shadow: 0 0 34px rgba(89, 242, 163, 0.2);
}

.landing-hero__copy > p {
  max-width: 820px;
  margin: 18px 0 0;
  color: #b8c8d0;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.58;
}

.landing-hero__copy > p strong {
  color: #f0f7f9;
}

.landing-project-stage {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 3.5vw, 42px) clamp(20px, 3.5vw, 34px);
}

.landing-project-focus {
  display: grid;
  position: relative;
  min-height: 170px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: 24px 68px 24px 28px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 201, 91, 0.35);
  border-radius: 19px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 201, 91, 0.16), transparent 37%),
    linear-gradient(145deg, rgba(31, 26, 12, 0.91), rgba(4, 13, 18, 0.95));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.landing-project-focus::before {
  position: absolute;
  top: -110px;
  right: -95px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(255, 201, 91, 0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 201, 91, 0.018);
}

.landing-project-focus:hover,
.landing-project-focus:focus-visible {
  outline: none;
  transform: translateY(-4px);
  border-color: rgba(255, 201, 91, 0.7);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32), 0 0 28px rgba(255, 201, 91, 0.1);
}

.landing-project-focus__index {
  display: block;
  color: var(--landing-gold);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.landing-project-focus__title {
  display: block;
  margin-top: 10px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 2.65vw, 2.65rem);
  font-weight: 700;
  line-height: 1;
}

.landing-project-focus__body {
  display: block;
  color: #bfc9ca;
  font-size: 1.05rem;
  line-height: 1.52;
}

.landing-project-focus__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.landing-project-focus__tags i {
  padding: 6px 8px;
  color: #f1d487;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 201, 91, 0.2);
  border-radius: 999px;
  background: rgba(255, 201, 91, 0.055);
}

.landing-project-focus__arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--landing-gold);
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.landing-project-focus:hover .landing-project-focus__arrow {
  transform: translateX(4px);
}

.landing-routes {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 0 clamp(20px, 3.5vw, 42px) 10px;
}

.landing-route {
  --route-accent: var(--landing-cyan);
  display: grid;
  position: relative;
  min-width: 0;
  min-height: 126px;
  align-content: center;
  padding: 20px 54px 20px 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--route-accent) 42%, transparent);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--route-accent) 12%, transparent), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--route-accent) 10%, rgba(4, 12, 17, 0.96)), rgba(3, 10, 15, 0.97));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 12px 26px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
  animation: landing-route-in 500ms ease-out both;
}

.landing-route::after {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  content: "";
  border-radius: 0 999px 999px 0;
  background: var(--route-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--route-accent) 72%, transparent);
  transition: width 190ms ease, box-shadow 190ms ease;
}

.landing-route:nth-child(2) { animation-delay: 70ms; }
.landing-route:nth-child(3) { animation-delay: 140ms; }
.landing-route:nth-child(4) { animation-delay: 210ms; }
.landing-route--why { --route-accent: var(--landing-gold); }
.landing-route--started { --route-accent: var(--landing-cyan); }
.landing-route--risks { --route-accent: var(--landing-red); }
.landing-route--earning { --route-accent: var(--landing-green); }

.landing-route--earning {
  border-color: color-mix(in srgb, var(--landing-green) 72%, transparent);
  background:
    radial-gradient(circle at 92% 4%, rgba(89, 242, 163, 0.24), transparent 48%),
    linear-gradient(145deg, rgba(13, 57, 43, 0.96), rgba(3, 18, 17, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 15px 34px rgba(0, 0, 0, 0.24), 0 0 25px rgba(89, 242, 163, 0.1);
}

.landing-route--earning::before {
  position: absolute;
  top: 11px;
  right: 12px;
  content: "START EARNING";
  padding: 5px 7px;
  color: #03150e;
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: var(--landing-green);
  box-shadow: 0 0 16px rgba(89, 242, 163, 0.28);
}

.landing-route small {
  color: var(--route-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-shadow: 0 0 12px color-mix(in srgb, var(--route-accent) 28%, transparent);
}

.landing-route strong {
  margin-top: 7px;
  color: #f3f8fa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1;
  transition: color 190ms ease, transform 190ms ease;
}

.landing-route--earning strong {
  font-size: 1.12rem;
  white-space: nowrap;
}

.landing-route span {
  margin-top: 6px;
  color: #b5c4cb;
  font-size: 0.9rem;
  line-height: 1.35;
}

.landing-route > b {
  display: inline-flex;
  position: absolute;
  top: 50%;
  right: 13px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--route-accent);
  font-size: 1.05rem;
  border: 1px solid color-mix(in srgb, var(--route-accent) 38%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--route-accent) 8%, rgba(2, 9, 14, 0.92));
  box-shadow: 0 0 16px color-mix(in srgb, var(--route-accent) 8%, transparent);
  transform: translateY(-50%);
  transition: transform 190ms ease, background 190ms ease, box-shadow 190ms ease;
}

.landing-route:hover,
.landing-route:focus-visible {
  outline: none;
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--route-accent) 78%, transparent);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--route-accent) 22%, transparent), transparent 50%),
    linear-gradient(145deg, color-mix(in srgb, var(--route-accent) 14%, rgba(4, 12, 17, 0.97)), rgba(3, 10, 15, 0.98));
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3), 0 0 28px color-mix(in srgb, var(--route-accent) 16%, transparent);
}

.landing-route:hover > b {
  background: color-mix(in srgb, var(--route-accent) 18%, rgba(2, 9, 14, 0.9));
  box-shadow: 0 0 20px color-mix(in srgb, var(--route-accent) 20%, transparent);
  transform: translate(3px, -50%);
}

.landing-route:hover::after,
.landing-route:focus-visible::after {
  width: 5px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--route-accent) 88%, transparent);
}

.landing-route:hover strong,
.landing-route:focus-visible strong {
  color: #ffffff;
  transform: translateX(2px);
}

.landing-footer {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 0 4px 8px;
  color: #627984;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(75, 220, 255, 0.1);
  background: transparent;
  text-align: left;
}

.landing-footer a {
  color: #8fa6b0;
  text-decoration: none;
}

.landing-footer a:hover {
  color: var(--landing-gold);
}

@keyframes landing-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes landing-route-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .landing-main { place-items: start center; }
  .landing-project-focus {
    min-height: 220px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .landing-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  #coin-canvas,
  body.landing-page::before {
    inset: 68px 0 0;
  }

  .landing-main {
    min-height: calc(100vh - 108px);
    padding: 9px 7px 7px;
  }

  .landing-deck { border-radius: 18px; }

  .landing-deck__status {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.53rem;
    letter-spacing: 0.12em;
  }

  .landing-hero { padding: 24px 16px 20px; }
  .landing-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.25rem); line-height: 0.94; }
  .landing-hero h1 em { display: inline; }
  .landing-hero__copy > p { margin-top: 17px; font-size: 0.94rem; }
  .landing-project-stage { padding: 0 12px 14px; }
  .landing-project-focus { min-height: 280px; padding: 22px 52px 22px 22px; }
  .landing-project-focus__title { font-size: 2.05rem; }
  .landing-routes { grid-template-columns: 1fr; gap: 7px; padding: 0 12px 10px; }
  .landing-route { min-height: 118px; }
  .landing-route--earning::before { top: 9px; right: 10px; }
  .landing-footer { width: calc(100% - 24px); min-height: 34px; font-size: 0.56rem; }
  .landing-footer span { display: none; }
  .landing-footer a { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-deck,
  .landing-route {
    animation: none;
  }
}
