/* ============================================================
   zoxz — Live TCG Shop
   90s trading-card energy, built with modern CSS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;900&family=Space+Grotesk:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg: #130821;
  --bg-soft: #1c0f33;
  --panel: #fff7e8;
  --ink: #150826;
  --pink: #ff2f8f;
  --cyan: #17e6d0;
  --yellow: #ffcd1f;
  --line: #0c0414;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --radius-card: 20px;
  --border: 3px solid var(--line);
  --shadow-hard: 6px 6px 0 var(--line);
  --shadow-hard-sm: 4px 4px 0 var(--line);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--panel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--panel);
  color: var(--ink);
  border: var(--border);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  box-shadow: var(--shadow-hard-sm);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 47, 143, 0.7);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 47, 143, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 47, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 47, 143, 0); }
}

/* -------------------- buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 12px;
  border: var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-hard);
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--line); }
.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--line); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.btn-primary { background: var(--pink); color: var(--panel); }
.btn-secondary { background: var(--panel); color: var(--ink); }
.btn-ghost { background: var(--cyan); color: var(--ink); }

/* -------------------- nav -------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 8, 33, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  color: var(--panel);
  letter-spacing: 0.02em;
}
.logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--panel);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }

.nav-cta { display: none; }
@media (min-width: 760px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 2px solid var(--panel);
  border-radius: 8px;
  color: var(--panel);
  padding: 8px 10px;
  font-family: var(--font-mono);
}
@media (min-width: 760px) { .nav-toggle { display: none; } }

.nav-links { display: none; }
@media (min-width: 760px) { .nav-links { display: flex; } }

.nav-links.open {
  display: flex;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--bg-soft);
  border-bottom: 3px solid var(--line);
  padding: 8px 24px 16px;
}
.nav-links.open a { padding: 12px 0; width: 100%; opacity: 1; }

/* -------------------- hero -------------------- */

.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 47, 143, 0.25), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(23, 230, 208, 0.2), transparent 40%),
    var(--bg);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; }
}

.hero-copy .eyebrow { margin-bottom: 20px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  margin: 0 0 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--line);
}

.hero p {
  font-size: 17px;
  max-width: 46ch;
  color: #efe7fb;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* fanned card visual */

.hero-cards {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-visual {
  position: relative;
  aspect-ratio: 5 / 7;
  width: 168px;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft), var(--ink));
}

.hero-cards .card-visual {
  position: absolute;
  transition: transform 0.25s ease;
}
.hero-cards .card-visual:nth-child(1) { transform: rotate(-11deg) translate(-64px, 12px); z-index: 1; }
.hero-cards .card-visual:nth-child(2) { transform: rotate(2deg) translateY(-10px); z-index: 3; }
.hero-cards .card-visual:nth-child(3) { transform: rotate(13deg) translate(64px, 12px); z-index: 2; }

.hero-cards:hover .card-visual:nth-child(1) { transform: rotate(-16deg) translate(-78px, 4px); }
.hero-cards:hover .card-visual:nth-child(2) { transform: rotate(0deg) translateY(-22px); }
.hero-cards:hover .card-visual:nth-child(3) { transform: rotate(18deg) translate(78px, 4px); }

.card-holo {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 205, 31, 0.35) 35%,
    rgba(23, 230, 208, 0.4) 48%,
    rgba(255, 47, 143, 0.35) 60%,
    transparent 75%
  );
  background-size: 260% 260%;
  animation: holo-sweep 5s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes holo-sweep {
  0%, 100% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
}

.card-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--panel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--panel);
  opacity: 0.7;
}

/* -------------------- about -------------------- */

.about {
  padding: 88px 0;
  border-bottom: 3px solid var(--line);
}

.about .wrap {
  display: grid;
  gap: 40px;
}
@media (min-width: 760px) {
  .about .wrap { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 8px;
  line-height: 1.15;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin: 0 0 12px;
}

.about p {
  font-size: 16px;
  color: #ded3f2;
  margin: 0 0 16px;
}
.about p:last-child { margin-bottom: 0; }

/* -------------------- sortiment -------------------- */

.sortiment {
  padding: 88px 0 96px;
  border-bottom: 3px solid var(--line);
}

.sortiment-head {
  max-width: 60ch;
  margin-bottom: 48px;
}

.card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.spec-card {
  background: var(--bg-soft);
  border: var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.spec-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--line); }

.spec-card .card-visual {
  width: 100%;
  margin-bottom: 18px;
}

.spec-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 6px;
}

.spec-card p {
  font-size: 14.5px;
  color: #cfc2e6;
  margin: 0 0 12px;
}

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.sortiment-note {
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--cyan);
}

/* -------------------- whatnot CTA -------------------- */

.whatnot-cta {
  padding: 84px 0;
  background: linear-gradient(120deg, var(--pink), #b6178f 65%, var(--bg-soft));
  border-bottom: 3px solid var(--line);
  position: relative;
}

.whatnot-cta .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.whatnot-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
  color: var(--panel);
  max-width: 18ch;
}

.whatnot-cta p {
  font-size: 16px;
  max-width: 50ch;
  margin: 0;
  color: #fff0f7;
}

.whatnot-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.whatnot-cta .domain-note {
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0.85;
}

/* -------------------- footer -------------------- */

.site-footer {
  padding: 48px 0 36px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.footer-links a { text-decoration: none; opacity: 0.8; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  opacity: 0.6;
}

/* -------------------- reveal on scroll -------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------- impressum page -------------------- */

.legal {
  padding: 64px 0 96px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 32px 0 10px;
}
.legal p, .legal address {
  font-size: 15px;
  color: #ded3f2;
  line-height: 1.7;
  font-style: normal;
  margin: 0 0 8px;
}
.legal .legal-block {
  background: var(--bg-soft);
  border: var(--border);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-hard-sm);
}
.legal a.inline-link { color: var(--cyan); text-decoration: underline; }
