/* ==========================================================
   NoneVerse Landing Page
   Ergänzung zu: noneverse-base.css
   ========================================================== */

.landing-page {
  --landing-safe-x: clamp(16px, 3vw, 48px);
  background:
    radial-gradient(circle at 10% 48%, rgba(45, 142, 255, 0.22), transparent 30%),
    radial-gradient(circle at 88% 58%, rgba(61, 115, 255, 0.22), transparent 31%),
    radial-gradient(circle at 50% 10%, rgba(65, 207, 255, 0.16), transparent 42%),
    linear-gradient(180deg, #020713 0%, #061426 48%, #020713 100%);
}

.landing-space-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(circle at 4% 53%, rgba(81, 167, 255, 0.28) 0 10%, transparent 27%),
    radial-gradient(circle at 88% 58%, rgba(74, 139, 255, 0.26) 0 10%, transparent 26%),
    radial-gradient(circle at 97% 26%, rgba(115, 96, 255, 0.18), transparent 17%),
    radial-gradient(circle at 30% 38%, rgba(65, 207, 255, 0.11), transparent 19%);
}

.landing-space-bg::before,
.landing-space-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.landing-space-bg::before {
  left: -190px;
  top: 42%;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(circle at 70% 42%, rgba(91, 181, 255, 0.72), transparent 2%),
    radial-gradient(circle at 62% 44%, rgba(53, 120, 220, 0.55), transparent 18%),
    radial-gradient(circle at 50% 50%, #101f39 0 48%, transparent 49%);
  box-shadow: 0 0 120px rgba(65, 207, 255, 0.18);
  opacity: 0.78;
}

.landing-space-bg::after {
  right: -260px;
  bottom: -60px;
  width: 620px;
  height: 620px;
  background:
    radial-gradient(circle at 34% 25%, rgba(115, 96, 255, 0.42), transparent 2%),
    radial-gradient(circle at 37% 32%, rgba(55, 130, 225, 0.48), transparent 24%),
    radial-gradient(circle at 50% 50%, #0b1a30 0 50%, transparent 51%);
  box-shadow: 0 0 140px rgba(65, 207, 255, 0.16);
  opacity: 0.78;
}

/* Header */

.landing-topbar {
  height: 86px;
}

.landing-brand__mark {
  object-fit: cover;
  object-position: center;
}

/* Hero */

.landing-hero {
  position: relative;
  padding-top: 34px;
}

.landing-title {
  font-size: clamp(2.25rem, 4.6vw, 4.9rem);
  letter-spacing: 0.035em;
}

.landing-orientation-hint {
  position: absolute;
  left: var(--landing-safe-x);
  top: 145px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #9ddcff;
  font-weight: 600;
  text-align: left;
  text-shadow: 0 0 12px rgba(65, 207, 255, 0.35);
}

.landing-orientation-hint__icon {
  width: 48px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 203, 255, 0.72);
  border-radius: 7px;
  color: rgba(220, 246, 255, 0.9);
  box-shadow: inset 0 0 12px rgba(65, 207, 255, 0.08), 0 0 16px rgba(65, 207, 255, 0.18);
}

.landing-tablet-wrap {
  margin-top: clamp(18px, 2vw, 30px);
}

.landing-tablet {
  width: min(74vw, 1420px);
  height: min(57vh, 660px);
  min-height: 520px;
  transform: rotateX(2deg) rotateY(-4deg) rotateZ(-0.6deg);
}

.landing-screen {
  display: grid;
  grid-template-columns: 190px 1fr 245px;
  grid-template-rows: 54px 1fr 70px;
  gap: 12px;
  padding: 16px;
}

/* Fake game top */

.landing-game-top {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid rgba(65, 207, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(5, 17, 33, 0.72), rgba(6, 22, 44, 0.42), rgba(5, 17, 33, 0.72));
}

.landing-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  text-align: left;
}

.landing-player__avatar {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(65, 207, 255, 0.35);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(65, 207, 255, 0.24);
}

.landing-player strong,
.landing-player span {
  display: block;
}

.landing-player strong {
  font-family: var(--nv-font-display);
  font-size: 0.72rem;
  color: #e9f8ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-player span {
  font-size: 0.74rem;
  color: #79a1c1;
  line-height: 1.2;
}

.landing-resources {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 20px);
  min-width: 0;
}

.landing-resources span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #d9efff;
  white-space: nowrap;
}

.res {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 4px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px currentColor;
}

.res-ore { color: #ff9b3d; background: #ff9b3d; }
.res-essence { color: #3fbfff; background: #3fbfff; }
.res-bio { color: #42f383; background: #42f383; }
.res-crystal { color: #9c73ff; background: #9c73ff; }
.res-gold { color: #ffd36a; background: #ffd36a; }

/* Fake game menu */

.landing-game-menu {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(65, 207, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(7, 24, 45, 0.72), rgba(2, 9, 20, 0.56));
  box-shadow: inset 0 0 22px rgba(65, 207, 255, 0.05);
}

.landing-game-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #9bc8e7;
  font-family: var(--nv-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.landing-game-menu a:hover,
.landing-game-menu a.is-active {
  color: #e7f8ff;
  border-color: rgba(65, 207, 255, 0.28);
  background: linear-gradient(90deg, rgba(65, 207, 255, 0.2), rgba(65, 207, 255, 0.03));
  box-shadow: inset 0 0 16px rgba(65, 207, 255, 0.06), 0 0 18px rgba(65, 207, 255, 0.12);
}

/* Universe map preview */

.landing-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(65, 207, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(65, 207, 255, 0.2), transparent 27%),
    radial-gradient(circle at 30% 32%, rgba(255, 122, 26, 0.13), transparent 18%),
    radial-gradient(circle at 70% 28%, rgba(168, 85, 255, 0.14), transparent 20%),
    radial-gradient(circle at 35% 72%, rgba(57, 232, 120, 0.1), transparent 18%),
    rgba(1, 7, 17, 0.86);
}

.landing-map::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(65,207,255,0.78) 0 1px, transparent 1.4px);
  background-size: 80px 80px, 130px 130px;
  opacity: 0.22;
}

.landing-map__rings,
.landing-map__rings::before,
.landing-map__rings::after {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(65, 207, 255, 0.18);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
}

.landing-map__rings {
  width: 520px;
  height: 220px;
}

.landing-map__rings::before,
.landing-map__rings::after {
  content: "";
}

.landing-map__rings::before {
  width: 690px;
  height: 292px;
}

.landing-map__rings::after {
  width: 350px;
  height: 150px;
}

.landing-map__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 150px;
  text-align: center;
  color: #eefbff;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(65, 207, 255, 0.55);
}

.landing-core-star {
  width: 70px;
  height: 70px;
  margin-bottom: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 8%, #85ecff 9% 16%, rgba(65,207,255,0.25) 17% 36%, transparent 37%);
  box-shadow: 0 0 26px rgba(65, 207, 255, 0.8), 0 0 80px rgba(65, 207, 255, 0.36);
}

.landing-map__core strong {
  font-family: var(--nv-font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.landing-map__core small {
  color: #84b8dc;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.landing-planet {
  --planet-size: 124px;
  position: absolute;
  z-index: 6;
  width: var(--planet-size);
  filter: drop-shadow(0 0 18px var(--theme-glow, rgba(65, 207, 255, 0.28)));
}

.landing-planet img {
  width: var(--planet-size);
  height: var(--planet-size);
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--theme-color, var(--nv-primary)) 44%, transparent);
  box-shadow: 0 0 24px var(--theme-glow, rgba(65, 207, 255, 0.35));
}

.landing-planet__label {
  position: absolute;
  left: 74%;
  top: 50%;
  min-width: 120px;
  transform: translateY(-50%);
  text-align: left;
  padding: 7px 10px;
  border-left: 1px solid color-mix(in srgb, var(--theme-color, var(--nv-primary)) 55%, transparent);
  background: linear-gradient(90deg, rgba(2, 7, 19, 0.72), transparent);
}

.landing-planet__label strong,
.landing-planet__label span {
  display: block;
}

.landing-planet__label strong {
  font-family: var(--nv-font-display);
  font-size: 0.72rem;
  color: #ecf9ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-planet__label span {
  color: #80a8c6;
  font-size: 0.72rem;
  font-weight: 700;
}

.planet-vulkaris { left: 26%; top: 21%; }
.planet-elyndra { right: 20%; top: 23%; }
.planet-noctyra { left: 12%; top: 47%; --planet-size: 116px; }
.planet-gaia { left: 36%; bottom: 13%; --planet-size: 118px; }
.planet-mercurion { right: 13%; bottom: 19%; --planet-size: 122px; }

/* Side panels */

.landing-game-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.landing-mini-panel {
  padding: 12px;
  border: 1px solid rgba(65, 207, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7, 24, 45, 0.74), rgba(2, 9, 20, 0.58));
  box-shadow: inset 0 0 22px rgba(65, 207, 255, 0.05);
  text-align: left;
}

.landing-mini-panel h3 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  color: #d9efff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-mini-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-mini-panel li,
.landing-rank {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #86aac7;
  font-size: 0.76rem;
}

.landing-mini-panel b,
.landing-rank b {
  color: #cfefff;
  font-weight: 700;
  white-space: nowrap;
}

.landing-event {
  display: flex;
  gap: 10px;
  align-items: center;
}

.landing-event > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(141, 93, 255, 0.45);
  border-radius: 50%;
  color: var(--nv-secondary);
  box-shadow: 0 0 18px rgba(141, 93, 255, 0.25);
}

.landing-event strong,
.landing-event small {
  display: block;
}

.landing-event strong {
  color: #e7f8ff;
  font-size: 0.78rem;
}

.landing-event small {
  color: #7fa3c0;
}

/* Bottom dock */

.landing-bottom-dock {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(65, 207, 255, 0.16);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(7, 24, 45, 0.74), rgba(2, 9, 20, 0.62));
}

.landing-bottom-dock a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #7ca7c9;
  font-family: var(--nv-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.landing-bottom-dock a:hover,
.landing-bottom-dock a.is-active {
  color: #e8f8ff;
  border-color: rgba(65, 207, 255, 0.32);
  background: rgba(65, 207, 255, 0.08);
  box-shadow: inset 0 0 14px rgba(65, 207, 255, 0.08);
}

/* Hero CTA + features */

.landing-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
}

.landing-feature-strip {
  margin-top: 36px;
}

/* Sections */

.landing-section {
  scroll-margin-top: 110px;
}

.landing-section-head {
  width: min(860px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.landing-section-head h2 {
  margin: 12px 0 14px;
}

.landing-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.landing-loop article span {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--nv-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--nv-primary);
  letter-spacing: 0.12em;
}

.landing-professions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.landing-profession {
  padding: 16px;
  text-align: center;
}

.landing-profession img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--theme-color, var(--nv-primary)) 38%, transparent);
  box-shadow: 0 0 22px var(--theme-glow, rgba(65, 207, 255, 0.22));
}

.landing-profession h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.landing-profession p {
  margin: 0;
  font-size: 0.94rem;
}

.landing-world-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.landing-world-card {
  overflow: hidden;
  padding: 0;
}

.landing-world-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-color, var(--nv-primary)) 28%, transparent);
}

.landing-world-card > div {
  padding: 16px;
}

.landing-world-card h3 {
  margin: 12px 0 8px;
}

.landing-world-card p {
  margin: 0;
}

/* Register */

.landing-register__inner,
.landing-community__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}

.landing-register-form {
  text-align: left;
}

.landing-community__inner {
  grid-template-columns: 1fr auto;
}

.landing-footer-copy {
  margin: 0;
  color: var(--nv-text-muted);
}

/* Responsive */

@media (max-width: 1420px) {
  .landing-tablet {
    width: 80vw;
    height: 58vh;
  }

  .landing-screen {
    grid-template-columns: 170px 1fr 220px;
  }

  .landing-planet {
    --planet-size: 108px;
  }

  .planet-noctyra,
  .planet-gaia,
  .planet-mercurion {
    --planet-size: 104px;
  }

  .landing-professions,
  .landing-world-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .landing-topbar {
    height: var(--nv-header-height);
  }

  .landing-orientation-hint {
    display: none;
  }

  .landing-tablet {
    width: 92vw;
    min-height: 500px;
    transform: none;
  }

  .landing-screen {
    grid-template-columns: 155px 1fr;
  }

  .landing-game-side {
    display: none;
  }

  .landing-loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-register__inner,
  .landing-community__inner {
    grid-template-columns: 1fr;
  }

  .landing-community__inner {
    text-align: center;
  }
}

@media (max-width: 860px) {
  .landing-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .landing-tablet {
    height: 65vh;
    min-height: 460px;
  }

  .landing-screen {
    grid-template-columns: 1fr;
    grid-template-rows: 50px 1fr 62px;
    padding: 12px;
  }

  .landing-game-menu {
    display: none;
  }

  .landing-resources {
    display: none;
  }

  .landing-map__rings {
    width: 420px;
    height: 178px;
  }

  .landing-planet {
    --planet-size: 88px;
  }

  .planet-noctyra,
  .planet-gaia,
  .planet-mercurion {
    --planet-size: 84px;
  }

  .landing-planet__label {
    min-width: 96px;
  }

  .landing-bottom-dock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-loop,
  .landing-professions,
  .landing-world-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-actions {
    gap: 14px;
  }

  .landing-hero-actions .nv-btn {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .landing-tablet {
    width: 90vw;
    height: 82vh;
  }

  .landing-screen {
    grid-template-columns: 150px 1fr 200px;
    grid-template-rows: 44px 1fr 54px;
    gap: 8px;
    padding: 10px;
  }

  .landing-game-side {
    display: grid;
  }

  .landing-mini-panel {
    padding: 8px;
  }

  .landing-mini-panel:nth-child(3) {
    display: none;
  }
}
