/* Startseite im Cinematic-Poster-Look. Nur body.landing. */
body.landing {
  overflow-x: hidden;
  background: #050308;
  color: #f4ead8;
}
body.landing::before {
  opacity: 0.28;
  background-size: 420px 420px;
}
body.landing::after { opacity: 0.25; animation: none; }

.land-bg {
  position: fixed;
  inset: -4%;
  background:
    linear-gradient(90deg, rgba(5, 3, 8, 0.55) 0%, rgba(5, 3, 8, 0.18) 42%, rgba(5, 3, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 3, 8, 0.35) 0%, transparent 28%, rgba(5, 3, 8, 0.82) 100%),
    url("../assets/landing/hero.png") 46% 26% / cover no-repeat;
  z-index: 0;
  animation: landDrift 42s ease-in-out infinite alternate;
}
@keyframes landDrift {
  from { transform: scale(1.04) translate3d(-1.4%, -0.6%, 0); }
  to   { transform: scale(1.10) translate3d(1.6%, 1.1%, 0); }
}
.land-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.land-embers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    radial-gradient(2px 2px at 12% 30%, rgba(255, 180, 70, 0.7), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 220, 140, 0.55), transparent),
    radial-gradient(2px 2px at 71% 22%, rgba(255, 140, 40, 0.5), transparent),
    radial-gradient(1px 1px at 84% 70%, rgba(80, 255, 190, 0.35), transparent),
    radial-gradient(1px 1px at 46% 80%, rgba(255, 200, 90, 0.4), transparent);
  animation: landSpark 7s ease-in-out infinite;
}
@keyframes landSpark {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.land-nav,
.land-main,
.land-foot {
  position: relative;
  z-index: 3;
}

.land-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 36px 10px;
  z-index: 45;
}
.land-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 3px;
}
.land-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 204, 68, 0.55));
}
.land-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.land-links a {
  color: #f3eadc;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  opacity: 0.82;
}
.land-links a:hover { opacity: 1; color: #ffe08a; }
.land-links a.land-nav-cta {
  color: #6dffc2;
  border: 1px solid rgba(80, 255, 190, 0.55);
  padding: 7px 12px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 0 16px rgba(40, 255, 180, 0.2);
}

.land-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 460px);
  gap: 36px;
  align-items: end;
  min-height: calc(100vh - 150px);
  padding: 12px 36px 20px;
}

.land-kicker {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 6px;
  color: #c9b48a;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.land-title {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 6px;
  font-size: clamp(40px, 6vw, 78px);
  color: #f7f1e6;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
}
.land-edition {
  margin: 14px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(16px, 2.1vw, 26px);
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #e8c15a;
  text-shadow: 0 0 18px rgba(232, 193, 90, 0.45);
}
.land-lead {
  max-width: 460px;
  color: #d8c8ae;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 22px;
}
.land-cta {
  display: inline-block;
  padding: 14px 42px;
  border: none;
  text-decoration: none;
  color: #04150f;
  background: linear-gradient(180deg, #62ffb4 0%, #14b87a 55%, #0b8f5e 100%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 3px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 0 28px rgba(40, 255, 170, 0.45), 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: 0.18s;
}
.land-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

.land-right { display: flex; flex-direction: column; gap: 14px; }
.land-quote {
  font-family: Georgia, serif;
  font-style: italic;
  color: #e8c15a;
  font-size: 20px;
  letter-spacing: 0.4px;
}
.land-quote span { font-style: normal; font-family: var(--font-head); font-size: 11px; letter-spacing: 2px; color: #c9b48a; }
.land-screen {
  border: 1px solid rgba(255, 200, 90, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 16px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background: #09070a;
}
.land-screen img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.land-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.land-thumbs button {
  padding: 0;
  border: 1px solid rgba(255, 180, 70, 0.2);
  background: #0b090c;
  cursor: pointer;
  overflow: hidden;
}
.land-thumbs button.active,
.land-thumbs button:hover {
  border-color: #6dffc2;
  box-shadow: 0 0 12px rgba(80, 255, 190, 0.25);
}
.land-thumbs img {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: cover;
  opacity: 0.85;
}

.land-dock {
  background: rgba(8, 6, 10, 0.78);
  border: 1px solid rgba(255, 180, 70, 0.22);
  backdrop-filter: blur(16px);
  padding: 16px 16px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.land-dock .tabs { margin-bottom: 8px; }
.land-dock .subtitle { margin: 0 0 10px; font-size: 14px; }
.land-dock .btn {
  margin-top: 14px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  border-radius: 0;
}
.land-dock input { border-radius: 4px; }
.land-dock label { margin-top: 10px; }

.land-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 36px 18px;
  color: #8d8070;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.land-foot b { color: #d8c8ae; font-weight: 600; }

@media (max-width: 980px) {
  .land-main { grid-template-columns: 1fr; min-height: auto; padding: 10px 18px 24px; }
  .land-nav { padding: 14px 18px; }
  .land-screen img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .land-bg { animation: none; }
}

.login-warp {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #020104;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.login-warp.on {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s ease;
}
.login-warp canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.login-warp img {
  position: absolute;
  left: -18%;
  top: 42%;
  width: min(38vw, 280px);
  transform: rotate(90deg);
  filter: drop-shadow(-18px 0 16px rgba(255, 140, 40, 0.75));
}
.login-warp.on img {
  animation: warpFly 2.15s cubic-bezier(0.22, 0.7, 0.28, 1) forwards;
}
@keyframes warpFly {
  0%   { left: -18%; top: 46%; transform: rotate(90deg) scale(0.72); }
  35%  { left: 28%;  top: 40%; transform: rotate(90deg) scale(1); }
  100% { left: 118%; top: 36%; transform: rotate(90deg) scale(0.85); }
}

.land-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.land-modal[hidden] { display: none !important; }
.land-modal-back {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 8, 0.78);
  backdrop-filter: blur(8px);
}
.land-modal-box {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 0 0 22px;
  background: rgba(10, 7, 10, 0.94);
  border: 1px solid rgba(255, 200, 90, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}
.land-modal-box.land-modal-wide,
.land-modal-box.land-modal-war { width: min(920px, 100%); }
.land-modal-hero {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 200, 90, 0.2);
}
.land-modal-box h2 {
  margin: 18px 22px 10px;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e8c15a;
}
.land-modal-box p {
  margin: 0 22px 12px;
  color: #d8c8ae;
  font-size: 16px;
  line-height: 1.5;
}
.land-modal-lead { color: #c9b48a !important; }
.land-modal-x {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 200, 90, 0.35);
  background: rgba(8, 6, 8, 0.72);
  color: #f3eadc;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 7px 10px;
  cursor: pointer;
}
.land-modal-x:hover { color: #ffe08a; border-color: #6dffc2; }

.land-fleet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 22px 6px;
}
.land-ship {
  background: #0b090c;
  border: 1px solid rgba(255, 180, 70, 0.2);
  overflow: hidden;
}
.land-ship img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
}
.land-ship h3 {
  margin: 8px 10px 0;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: #f3eadc;
}
.land-ship span {
  display: block;
  margin: 2px 10px 10px;
  font-size: 13px;
  color: #8d8070;
}

.land-war {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 4px 22px 8px;
}
.land-war-side {
  border: 1px solid rgba(255, 180, 70, 0.18);
  background: rgba(8, 6, 10, 0.7);
  padding: 14px 14px 12px;
  text-align: center;
}
.land-war-side.is-helion { border-color: rgba(80, 220, 255, 0.35); }
.land-war-side.is-umbra { border-color: rgba(255, 90, 70, 0.35); }
.land-war-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: screen;
}
.land-war-ship {
  display: block;
  width: min(220px, 100%);
  height: 88px;
  margin: 8px auto 10px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 12px rgba(255, 180, 70, 0.25));
}
.land-war-side h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 1.6px;
  color: #f3eadc;
}
.land-war-lead {
  margin: 0 0 8px !important;
  font-size: 13px !important;
  color: #e8c15a !important;
}
.land-war-side p { margin: 0; font-size: 14px; }
.land-war-vs {
  align-self: center;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 2px;
  color: #ff8a1a;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 720px) {
  .land-fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .land-war { grid-template-columns: 1fr; }
  .land-war-vs {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    padding: 4px 0;
  }
  .land-modal-hero { height: 150px; }
}
