/* Öffentliche SEO-Seiten (Karten, Sets, Produkte) – erzeugt von scripts/web/seo-pages.ts. Farben wie die App (dunkel). */
@font-face {
  font-family: 'Unbounded';
  src: url('/seo/unbounded-800.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --tile: #1f1f20;
  --line: #373839;
  --text: #dbdbdb;
  --muted: #999999;
  --holo: linear-gradient(100deg, #ffd666 0%, #ff7773 22%, #d875ff 45%, #7894ff 65%, #83fff7 85%, #ffd666 100%);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(127, 90, 240, 0.18), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(44, 177, 188, 0.12), transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

h1,
h2 {
  font-family: 'Unbounded', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  margin: 40px 0 16px;
}

.code {
  display: inline-block;
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(16px, calc((100% - 1120px) / 2));
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.top nav a {
  text-decoration: none;
  color: var(--muted);
}

.top nav a:hover {
  color: var(--text);
}

main,
footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.crumbs {
  margin: 24px 0;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-page {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 48px;
  align-items: start;
}

.hero {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tile);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 400ms var(--ease);
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

.hero.product {
  aspect-ratio: 1;
  background: #e9e9ea;
  display: grid;
  place-items: center;
}

.hero.product img {
  object-fit: contain;
  height: 100%;
}

.hero.empty span {
  color: #5f6062;
}

.hero figcaption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 12px;
}

/* Holo-Schimmer auf seltenen Drucken: Regenbogen + Lichtkante, wandert beim Darüberfahren. */
.holo {
  position: relative;
}

.holo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(110deg, #ff7773 0%, #ffed5f 6%, #a8ff5f 12%, #83fff7 18%, #7894ff 24%, #d875ff 30%, #ff7773 36%);
  background-size: 300% 300%;
  background-position: 0% 50%;
  mix-blend-mode: color-dodge;
  opacity: 0.12;
  transition: opacity 300ms ease, background-position 900ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .hero:hover {
    transform: perspective(900px) rotateY(-6deg) rotateX(4deg) scale(1.02);
  }

  .holo:hover::after,
  .tile:hover .holo::after {
    opacity: 0.32;
    background-position: 100% 50%;
  }

  .tile:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 117, 255, 0.45);
  }
}

.facts {
  width: 100%;
  border-collapse: collapse;
}

.facts th,
.facts td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.facts th {
  width: 40%;
  color: var(--muted);
  font-weight: 500;
}

.effect {
  white-space: pre-line;
  color: var(--text);
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--tile);
  text-decoration: none;
  transition: transform 220ms var(--ease), border-color 220ms ease;
}

.tile .art {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}

.tile img,
.tile .noimg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 63 / 88;
  background: #2a2a2c;
}

.tile .noimg {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.tile strong {
  font-size: 14px;
  line-height: 1.3;
}

.tile small {
  color: var(--muted);
  font-size: 12px;
}

.page-head p {
  color: var(--muted);
  max-width: 720px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stats b {
  font-family: 'Unbounded', sans-serif;
  color: var(--text);
  font-size: 22px;
}

.list {
  columns: 2 320px;
  column-gap: 32px;
  padding: 0;
  list-style: none;
}

.list li {
  break-inside: avoid;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.list a {
  text-decoration: none;
}

.list a:hover {
  text-decoration: underline;
}

.list small {
  color: var(--muted);
}

.cta {
  margin: 48px 0;
  padding: 40px 24px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #1f1f20 0%, #2c2c2f 40%, #18181a 100%);
}

.cta h2 {
  margin-top: 0;
}

.cta p {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, #f2f2f2 0%, #bdbdbd 35%, #f7f7f7 55%, #a9a9a9 100%);
  color: #0a0a0a;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms var(--ease);
}

.button:active {
  transform: scale(0.97);
}

.button.small {
  padding: 8px 16px;
  color: #0a0a0a !important;
}

.button.ghost {
  background: var(--tile);
  color: var(--text);
  border: 1px solid var(--line);
}

footer {
  padding-top: 32px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 720px) {
  .card-page {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero:not(.product) {
    max-width: 320px;
    margin: 0 auto;
  }

  .top nav {
    gap: 12px;
  }

  .top nav .secondary {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .tile,
  .holo::after {
    transition: none;
  }

  .hero:hover,
  .tile:hover {
    transform: none;
  }
}
