:root {
  --bg: #070a14;
  --panel: #101930;
  --panel-2: #14203d;
  --line: #26395f;
  --text: #e6ecf7;
  --soft: #9aaccb;
  --blue: #5ec8f2;
  --blue-deep: #2f6fed;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(47, 111, 237, 0.30), transparent 72%),
    linear-gradient(180deg, #0b1326 0%, var(--bg) 70%);
  background-attachment: fixed;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
}

/* ---------- Kopfzeile ---------- */
.top {
  padding-top: 22px;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img { height: 52px; width: auto; }

.nav { display: flex; gap: 10px; }

.nav a {
  padding: 8px 18px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(16, 25, 48, 0.8);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--blue);
  background: var(--panel-2);
}

/* Sprachumschalter */
.nav .lang { display: inline-flex; margin-left: 6px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.nav .lang a { padding: 8px 12px; border: 0; border-radius: 0; background: transparent; font-weight: 600; letter-spacing: 0.08em; color: var(--soft); }
.nav .lang a[aria-current="true"] { color: #06101f; background: linear-gradient(180deg, #7fd6f6 0%, var(--blue) 100%); }
.nav .lang a:not([aria-current="true"]):hover { color: var(--text); background: var(--panel-2); }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 70px;
  text-align: center;
}

.hero-logo {
  width: min(260px, 56vw);
  height: auto;
  margin: 0 auto 10px;
  filter: drop-shadow(0 12px 34px rgba(47, 111, 237, 0.45));
}

.kicker {
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  margin-bottom: 16px;
}

.hero p.lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--soft);
  font-size: 1.05rem;
}

/* ---------- Spiele ---------- */
.games { padding: 10px 0 100px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.game {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s, border-color 0.2s;
}

.game:hover { transform: translateY(-3px); border-color: var(--blue); }

.game-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
}

.game-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 20, 0.15) 0%, rgba(7, 10, 20, 0.6) 100%);
}

.art-abendrunde::before { background-image: url("/assets/hintergrund.webp"); }

.art-northborn::before { background-image: url("/assets/northborn-ladebild.webp"); }

.game-art img {
  position: relative;
  z-index: 1;
  width: min(72%, 380px);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.6));
}

.game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}

.game-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.game-top h3 { font-size: 1.7rem; }

.pill {
  flex: none;
  padding: 4px 13px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--blue);
  color: var(--blue);
}

.pill-soon {
  border-color: var(--line);
  color: var(--soft);
}

.game-body p {
  margin: 0 0 22px;
  color: var(--soft);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: filter 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-blue {
  color: #06101f;
  background: linear-gradient(180deg, #7fd6f6 0%, var(--blue) 100%);
}

.btn-blue:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-line {
  color: var(--text);
  border-color: var(--line);
  background: rgba(16, 25, 48, 0.6);
}

.btn-line:hover { border-color: var(--blue); }

.btn-disabled {
  color: var(--soft);
  border-color: var(--line);
  background: rgba(16, 25, 48, 0.6);
  cursor: not-allowed;
}

/* ---------- Einzelne Spielseite (Platzhalter) ---------- */
.solo { padding: 40px 0 100px; }

.back {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 0.88rem;
  color: var(--soft);
  text-decoration: none;
}

.back:hover { color: var(--blue); }

.solo-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.8);
}

.solo-card .game-art { aspect-ratio: 21 / 9; }

.solo-body { padding: 32px 36px 38px; }

.solo-body .pill { display: inline-block; margin-bottom: 14px; }

.solo-body h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 12px; }

.solo-body p { margin: 0 0 24px; color: var(--soft); }

.solo-body h2 { font-size: 1.4rem; margin: 30px 0 14px; }

.solo-body address { margin: 0 0 24px; font-style: normal; line-height: 1.85; font-size: 1.05rem; color: var(--text); }
/* ---------- Engine-Hinweis ---------- */
.engine-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -6px 0 20px;
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--soft);
  background: rgba(7, 10, 20, 0.45);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.engine-tag img { flex: none; width: auto; height: 34px; }
.engine-tag b { color: var(--text); font-weight: 600; }

.ue-credit {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* ---------- Fußzeile ---------- */
.foot {
  border-top: 1px solid rgba(38, 57, 95, 0.7);
  background: rgba(5, 8, 16, 0.6);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 32px;
  font-size: 0.78rem;
  color: var(--soft);
}

.foot-inner nav { display: flex; gap: 20px; }

.foot-inner a { text-decoration: none; }

.foot-inner a:hover { color: var(--blue); }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .game-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .top-inner { flex-direction: column; align-items: flex-start; }
  .nav { flex-wrap: wrap; }
  .hero { padding: 36px 0 50px; }
  .game-body { padding: 22px; }
  .solo-body { padding: 26px 22px 30px; }
  .foot-inner { padding: 22px 20px; }
}
