@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #111;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.landing-section {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ── Blob-Hintergrund (repliziert aus src/styles.scss .login-bg / .app-bg) ── */

.landing-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.landing-bg .blob-mover {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.landing-bg .blob-mover.b1 {
  width: 55vw;
  height: 55vw;
  top: -15vh;
  left: -15vw;
  animation: blobMove1 18s ease-in-out infinite;
}

.landing-bg .blob-mover.b2 {
  width: 45vw;
  height: 45vw;
  bottom: -10vh;
  right: -10vw;
  animation: blobMove2 22s ease-in-out infinite;
}

.landing-bg .blob-mover.b3 {
  width: 35vw;
  height: 35vw;
  top: 40vh;
  left: 30vw;
  animation: blobMove3 26s ease-in-out infinite;
}

@media (pointer: coarse) {
  .landing-bg .blob-mover.b1 { width: 75vw; height: 75vw; }
  .landing-bg .blob-mover.b2 { width: 65vw; height: 65vw; }
  .landing-bg .blob-mover.b3 { width: 55vw; height: 55vw; }
}

.blob-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(80px);
  -webkit-filter: blur(80px);
}

.b1 .blob-inner { background: radial-gradient(circle, #3fbc00, #00e5a0); }
.b2 .blob-inner { background: radial-gradient(circle, #1a64ba, #961e90); }
.b3 .blob-inner { background: radial-gradient(circle, #00e5a0, #1a64ba); }

@media (pointer: coarse) {
  .blob-inner {
    filter: blur(45px);
    -webkit-filter: blur(45px);
  }
}

@keyframes blobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(8vw, -6vh) scale(1.15); }
  66%       { transform: translate(-5vw, 8vh) scale(0.9); }
}
@keyframes blobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-10vw, 5vh) scale(1.1); }
  66%       { transform: translate(7vw, -8vh) scale(0.95); }
}
@keyframes blobMove3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(5vw, 10vh) scale(0.85); }
  66%       { transform: translate(-8vw, -5vh) scale(1.2); }
}

/* ── Logo (repliziert aus src/styles.scss .app-brand) ── */

.landing-main {
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1em;
}

.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
}

.landing-brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5em, 12vw, 6em);
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #3fbc00, #00e5a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 0.6s ease both;
}

.landing-claim {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(0.9em, 2.5vw, 1.3em);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(90deg, #3fbc00, #00e5a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: search-intro 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-status {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9em;
  color: #ccc;
  animation: search-intro 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.beta-badge {
  display: inline-block;
  margin: 0.2em 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 4px;
  background: linear-gradient(135deg, #3fbc00, #00e5a0);
  color: #0a0a0a;
  -webkit-text-fill-color: #0a0a0a;
  line-height: 1.4;
  animation: beta-pulse 4s ease-in-out infinite;
}

@keyframes beta-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(63, 188, 0, 0.3), 0 0 0 0 rgba(0, 229, 160, 0.2);
  }
  50% {
    box-shadow: 0 0 8px 2px rgba(63, 188, 0, 0.35), 0 0 14px 5px rgba(0, 229, 160, 0.22);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes search-intro {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scroll-Down-Indikator ── */

.scroll-down-wrap {
  display: flex;
  justify-content: center;
  padding-bottom: 2.5em;
}

.scroll-down {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  color: #ccc;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
  animation: fadeIn 0.6s ease 0.3s both;
}

.scroll-down-arrow {
  display: block;
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Feature-Infobereich ── */

.landing-features {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3em 1.5em;
}

.features-inner {
  position: relative;
  z-index: 1;
  max-width: 60em;
  width: 100%;
  text-align: center;
}

.features-title {
  margin: 0 0 1.2em;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4em, 4vw, 2em);
  letter-spacing: 0.08em;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
}

.feature-card {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1em;
  padding: 1.8em 1.4em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.features-grid.pre-reveal .feature-card {
  opacity: 0;
  transform: translateY(-28px);
}

.features-grid.is-visible .feature-card {
  animation: card-slide-in 0.7s ease both;
}

.features-grid.is-visible .feature-card:nth-child(1) { animation-delay: 0s; }
.features-grid.is-visible .feature-card:nth-child(2) { animation-delay: 0.18s; }
.features-grid.is-visible .feature-card:nth-child(3) { animation-delay: 0.36s; }
.features-grid.is-visible .feature-card:nth-child(4) { animation-delay: 0.54s; }
.features-grid.is-visible .feature-card:nth-child(5) { animation-delay: 0.72s; }
.features-grid.is-visible .feature-card:nth-child(6) { animation-delay: 0.9s; }
.features-grid.is-visible .feature-card:nth-child(7) { animation-delay: 1.08s; }

@keyframes card-slide-in {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-graphic {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2em;
}

.feature-card.has-graphic {
  display: flex;
  align-items: center;
  gap: 1.5em;
  text-align: left;
}

.feature-card.has-graphic .feature-graphic {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 150px;
}

.feature-text {
  flex: 1;
}

.feature-card.has-graphic.stack-always {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25em;
}

.feature-card.has-graphic.stack-always .feature-text {
  order: -1;
}

.feature-card.has-graphic.stack-always .feature-graphic {
  margin-bottom: 0;
  margin-top: 0;
}

@media (max-width: 768px) {
  .feature-card.has-graphic {
    flex-direction: column;
    text-align: center;
  }

  .feature-card.has-graphic .feature-graphic {
    margin-bottom: 0;
  }

  .feature-text .beta-badge {
    font-size: 0.9em;
  }
}

.mock-card-svg {
  display: block;
}

.card-outline,
.marketplace-graphic-icon,
.deck-graphic-icon,
.checkbox-graphic-icon,
.community-graphic-icon {
  animation: card-glow-pulse 4s ease-in-out infinite;
}

.marketplace-graphic-icon,
.deck-graphic-icon,
.checkbox-graphic-icon,
.community-graphic-icon {
  display: block;
}

.features-grid.is-visible .heart-fill-rect {
  animation: heart-fill-loop 3.5s ease-in-out infinite;
}

@keyframes heart-fill-loop {
  0%   { y: 24; height: 0; }
  30%  { y: 0; height: 24; }
  70%  { y: 0; height: 24; }
  100% { y: 24; height: 0; }
}

.checkbox-check {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
}

.features-grid.is-visible .checkbox-check {
  animation: checkbox-check-loop 3s ease-in-out infinite;
}

@keyframes checkbox-check-loop {
  0%   { stroke-dashoffset: 16; }
  20%  { stroke-dashoffset: 0; }
  70%  { stroke-dashoffset: 0; }
  85%  { stroke-dashoffset: 16; }
  100% { stroke-dashoffset: 16; }
}

.tcg-logos {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.8em;
  flex-wrap: nowrap;
}

.tcg-logo-img {
  height: auto;
  width: auto;
  max-width: 60px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.tcg-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
}

.tcg-phase-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2em 0.6em;
  border-radius: 3px;
  white-space: nowrap;
}

@keyframes card-glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(63, 188, 0, 0)) drop-shadow(0 0 0 rgba(0, 229, 160, 0));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(63, 188, 0, 0.55)) drop-shadow(0 0 18px rgba(0, 229, 160, 0.4));
  }
}

.card-scan-frame {
  position: relative;
  width: 94px;
  height: 132px;
}

.mock-progress {
  width: 150px;
  position: relative;
  padding-top: 1.6em;
}

.mock-progress-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 0.4em;
}

.mock-progress-count {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  color: #fff;
}

.mock-progress-total {
  font-weight: 400;
  color: #666;
}

.mock-levelup {
  position: absolute;
  left: 50%;
  top: 1.6em;
  z-index: 0;
  transform: translate(-50%, 4px);
  opacity: 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(90deg, #3fbc00, #00e5a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid.is-visible .mock-levelup {
  animation: levelup-loop 3.5s ease-in-out infinite;
}

@keyframes levelup-loop {
  0%   { opacity: 0; transform: translate(-50%, 4px); }
  15%  { opacity: 1; transform: translate(-50%, -1.6em); }
  70%  { opacity: 1; transform: translate(-50%, -1.6em); }
  85%  { opacity: 0; transform: translate(-50%, 4px); }
  100% { opacity: 0; transform: translate(-50%, 4px); }
}

.mock-progress-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 12px;
  background: #1a1a1a;
  border-radius: 5px;
  overflow: hidden;
  animation: progress-bar-pulse 4s ease-in-out infinite;
}

@keyframes progress-bar-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(63, 188, 0, 0), 0 0 0 0 rgba(0, 229, 160, 0);
  }
  50% {
    box-shadow: 0 0 10px 2px rgba(63, 188, 0, 0.5), 0 0 16px 4px rgba(0, 229, 160, 0.35);
  }
}

.mock-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3fbc00, #00e5a0);
  border-radius: 3px;
  transition: width 1.2s ease;
}

.features-grid.is-visible .mock-progress-fill {
  width: 68%;
}

.scan-bar {
  position: absolute;
  left: -4px;
  right: -4px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(135deg, #3fbc00, #00e5a0);
  box-shadow: 0 0 8px 2px rgba(0, 229, 160, 0.6), 0 0 14px 4px rgba(63, 188, 0, 0.4);
  opacity: 0;
  animation: scan-move 2.6s ease-in-out infinite;
}

@keyframes scan-move {
  0%   { top: 6px;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 121px; opacity: 0; }
}

.feature-card h3 {
  margin: 0 0 0.5em;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05em;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #3fbc00, #00e5a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card p {
  margin: 0;
  font-size: 0.9em;
  color: #aaa;
}

/* ── Stay Tuned / Instagram ── */

.stay-tuned {
  margin-top: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
}

.stay-tuned-text {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.6;
  color: #ccc;
}

.qr-wrap {
  display: inline-flex;
  /* padding: 0.7em; */
  border-radius: 0.9em;
  line-height: 0;
  
}

.qr-wrap:hover {
  transform: scale(1.04);
}

.qr-svg {
  display: block;
  width: 140px;
  height: 140px;
  /* animation: beta-pulse 4s ease-in-out infinite; */
  transition: transform 0.2s ease;
  border-radius: 0.5em;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #ccc;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  animation: beta-pulse 4s ease-in-out infinite;
  font-size: 0.9em;
  letter-spacing: 0.06em;
  padding: 0.5em 1em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.instagram-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Warteliste-Formular ── */

.waitlist-form {
  margin-top: 6em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  width: 100%;
  max-width: 26em;
  animation: search-intro 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.waitlist-input-row {
  display: flex;
  width: 100%;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 0.7em 1em;
  font-size: 0.95em;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2em 0 0 2em;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.waitlist-input::placeholder {
  color: #888;
}

.waitlist-input:focus {
  border-color: #3fbc00;
  background: rgba(255, 255, 255, 0.1);
}

.waitlist-input.is-invalid {
  border-color: rgba(220, 60, 60, 0.7);
}

.waitlist-submit {
  position: relative;
  padding: 0.7em 1.4em;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, #3fbc00, #00e5a0);
  border: none;
  border-radius: 0 2em 2em 0;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.waitlist-submit:hover {
  transform: scale(1.03);
}

.waitlist-submit:disabled {
  cursor: default;
  opacity: 0.7;
  transform: none;
}

.waitlist-submit-label {
  display: block;
  transition: opacity 0.15s ease;
  font-size: 0.7em;
}

.waitlist-spinner {
  display: none;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(10, 10, 10, 0.35);
  border-top-color: #0a0a0a;
  border-radius: 50%;
}

.waitlist-form.is-submitting .waitlist-submit-label {
  opacity: 0;
}

.waitlist-form.is-submitting .waitlist-spinner {
  display: block;
  animation: waitlist-spin 0.7s linear infinite;
}

@keyframes waitlist-spin {
  to { transform: rotate(360deg); }
}

.waitlist-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.waitlist-hint {
  margin: 0;
  font-size: 0.72em;
  color: #777;
  text-align: center;
  line-height: 1.5;
}

.waitlist-hint a {
  color: #9fd88a;
}

@media (max-width: 480px) {
  .waitlist-input-row {
    flex-direction: column;
  }

  .waitlist-input {
    border-radius: 2em 2em 0 0;
  }

  .waitlist-submit {
    border-radius: 0 0 2em 2em;
  }
}

/* ── Toast ── */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2em;
  z-index: 10;
  transform: translate(-50%, 1em);
  padding: 0.8em 1.4em;
  max-width: calc(100vw - 2em);
  font-size: 0.9em;
  text-align: center;
  color: #fff;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.8em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-success {
  border-color: rgba(63, 188, 0, 0.4);
}

.toast-error {
  border-color: rgba(220, 60, 60, 0.5);
}

/* ── Footer ── */

.landing-footer {
  margin-top: 3em;
  text-align: center;
}

.landing-footer a {
  color: #777;
  font-size: 0.8em;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.landing-footer a:hover {
  color: #ccc;
  text-decoration: underline;
}

.landing-footer-sep {
  margin: 0 0.6em;
  color: #444;
  font-size: 0.8em;
}

/* ── Rechtstexte (Impressum/Datenschutz) ── */

.legal-page {
  position: relative;
  z-index: 1;
  max-width: 42em;
  margin: 0 auto;
  padding: 4em 1.5em 5em;
  color: #ccc;
  line-height: 1.7;
}

.legal-back {
  display: inline-block;
  margin-bottom: 2em;
  color: #9fd88a;
  text-decoration: none;
  font-size: 0.9em;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-page h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6em;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.8em;
}

.legal-page h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05em;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 1.8em 0 0.5em;
}

.legal-page p {
  margin: 0 0 1em;
}

.legal-page a {
  color: #9fd88a;
}

.legal-page ul {
  margin: 0 0 1em;
  padding-left: 1.4em;
}
