:root {
  color-scheme: dark;
  --bg: #080b12;
  --panel: rgba(17, 24, 39, 0.78);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #fbbf24;
  --accent-strong: #f59e0b;
  --blue: #38bdf8;
  --pink: #f472b6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.22), transparent 30rem),
    radial-gradient(circle at 85% 15%, rgba(244, 114, 182, 0.24), transparent 26rem),
    linear-gradient(135deg, #080b12 0%, #111827 52%, #0f172a 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  align-content: center;
  gap: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: center;
  min-height: 640px;
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--panel-border);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.48));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  content: "";
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.16);
  filter: blur(8px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(251, 191, 36, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.intro {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #111827;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.28);
}

.button-secondary {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.07);
}

.card-stack {
  position: relative;
  z-index: 1;
  min-height: 460px;
}

.tcg-card {
  position: absolute;
  width: min(280px, 52vw);
  aspect-ratio: 0.7;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
    linear-gradient(160deg, rgba(56, 189, 248, 0.8), rgba(244, 114, 182, 0.7));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.tcg-card::before {
  display: block;
  height: 72%;
  content: "";
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.52), transparent 30%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.82));
}

.tcg-card span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-one {
  top: 28px;
  left: 50%;
  transform: translateX(-52%) rotate(-10deg);
}

.card-two {
  top: 88px;
  left: 38%;
  transform: translateX(-50%) rotate(8deg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05)),
    linear-gradient(160deg, rgba(251, 191, 36, 0.82), rgba(239, 68, 68, 0.62));
}

.card-three {
  top: 142px;
  left: 60%;
  transform: translateX(-50%) rotate(17deg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05)),
    linear-gradient(160deg, rgba(34, 197, 94, 0.78), rgba(56, 189, 248, 0.68));
}

.status-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.status-panel h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.status-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.text-link {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .page-shell {
    padding: 24px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .card-stack {
    min-height: 360px;
    order: -1;
  }

  .tcg-card {
    width: min(220px, 58vw);
  }

  .status-panel {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    padding: 24px;
    border-radius: 28px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .card-stack {
    min-height: 300px;
  }
}
