:root {
  --bg: #0c1926;
  --bg-alt: #112233;
  --surface: rgba(20, 38, 56, 0.86);
  --surface-strong: rgba(24, 47, 70, 0.96);
  --border: rgba(148, 210, 235, 0.18);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #2dd4bf;
  --gold: #fbbf24;
  --pink: #f472b6;
  --purple: #c084fc;
  --red: #f87171;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 20% 0%, #16324d 0%, #0c1926 52%, #08111b 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 22, 34, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: #38bdf8;
  text-decoration: none;
}

.btn-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #2dd4bf);
  color: #062030 !important;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-play-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.5);
  text-decoration: none;
}

.page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  padding: 30px 32px;
  margin-bottom: 28px;
}

.hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 820px;
  margin-bottom: 18px;
}

.quick-answer {
  background: rgba(15, 34, 52, 0.85);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 18px;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

section {
  margin-top: 38px;
}

h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.section-intro {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 18px;
  max-width: 840px;
}

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

.card-grid.two-col {
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.info-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.badge-common { background: rgba(45, 212, 191, 0.2); color: #5eead4; border: 1px solid rgba(45, 212, 191, 0.4); }
.badge-uncommon { background: rgba(56, 189, 248, 0.2); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.4); }
.badge-rare { background: rgba(129, 140, 248, 0.22); color: #c7d2fe; border: 1px solid rgba(129, 140, 248, 0.45); }
.badge-legendary { background: rgba(245, 158, 11, 0.22); color: #fde68a; border: 1px solid rgba(245, 158, 11, 0.5); }

.meta-line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: -1px;
  margin-right: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-chip {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}

.filter-input,
.filter-select {
  background: rgba(15, 28, 42, 0.9);
  border: 1px solid var(--border);
  color: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.filter-input {
  min-width: 240px;
}

.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 210, 235, 0.1);
}

th {
  background: rgba(10, 22, 34, 0.72);
  color: #93c5fd;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

tr:last-child td {
  border-bottom: none;
}

.step-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.step-item strong {
  color: #7dd3fc;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq-item h3 {
  font-size: 16px;
  color: #e0f2fe;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 14px;
  color: #cbd5e1;
}

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

.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  text-decoration: none;
}

.related-card strong {
  display: block;
  color: #7dd3fc;
  font-size: 15px;
  margin-bottom: 4px;
}

.related-card span {
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

.kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
