:root {
  color-scheme: dark;
  --bg: #080a12;
  --panel: #111827;
  --panel-strong: #172033;
  --text: #f7fbff;
  --muted: #a9b7ce;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #2ee6ff;
  --yellow: #ffd84d;
  --pink: #ff4ecb;
  --green: #66f2a2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(46, 230, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 4%, rgba(255, 78, 203, 0.16), transparent 30rem),
    linear-gradient(180deg, #0b1020 0%, var(--bg) 44%, #070910 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(8, 10, 18, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.brand span {
  white-space: nowrap;
}

.top-nav,
.site-footer nav,
.source-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
}

.language-switcher select {
  width: 118px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  color-scheme: light;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher select option {
  color: #111827 !important;
  background-color: #f8fafc !important;
}

.language-switcher select option:checked {
  color: #111827 !important;
  background-color: #cbd5e1 !important;
}

.top-nav a,
.site-footer nav a,
.source-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.top-nav a:hover,
.site-footer nav a:hover,
.source-links a:hover {
  color: var(--text);
}

main > section {
  padding: clamp(3.2rem, 6vw, 6rem) clamp(1rem, 4vw, 3.5rem);
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 10, 18, 0.94), rgba(8, 10, 18, 0.7)),
    linear-gradient(135deg, rgba(46, 230, 255, 0.16), rgba(255, 216, 77, 0.09), rgba(255, 78, 203, 0.12));
  border-bottom: 1px solid var(--line);
}

.hero-copy,
.section-heading,
.guide-section,
.source-section,
.faq-section,
.intent-band,
.tracker-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.hero-copy {
  width: 100%;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.05rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  margin: 0;
}

.hero-lede {
  max-width: 820px;
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.fact-strip,
.status-grid,
.intent-layout,
.copy-grid {
  display: grid;
  gap: 1rem;
}

.fact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin: 2.4rem 0 0;
}

.fact-strip div,
.status-card,
.intent-layout article,
.copy-grid article,
.source-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.78);
  box-shadow: var(--shadow);
}

.fact-strip div {
  padding: 1rem;
}

dt,
.status-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading p:not(.eyebrow) {
  max-width: 860px;
  margin-top: 0.75rem;
}

.tracker-shell {
  background: rgba(8, 10, 18, 0.28);
}

.status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.status-card {
  padding: 1rem;
}

.status-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0.9rem;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a1020;
  color: var(--text);
  font: inherit;
  padding: 0 0.8rem;
}

.source-note {
  margin: 1rem 0;
  color: #d9e6fa;
}

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

.shop-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.shop-card figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  margin: 0;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.18), rgba(255, 78, 203, 0.12));
}

.shop-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.55rem;
}

.rarity {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  max-width: calc(100% - 1.2rem);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #061018;
  background: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
}

.shop-card-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
}

.shop-card h3 {
  font-size: 1rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.price {
  color: var(--green);
  font-weight: 900;
}

.intent-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intent-layout article,
.copy-grid article {
  padding: 1.25rem;
}

.guide-section {
  display: grid;
  gap: 1.8rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

caption {
  padding: 1rem;
  text-align: left;
  color: var(--text);
  font-weight: 900;
}

th,
td {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--yellow);
  font-size: 0.82rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.copy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.copy-grid article p,
.intent-layout article p {
  margin-top: 0.65rem;
}

.source-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.source-links a {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

summary {
  cursor: pointer;
  padding: 1rem;
  font-weight: 900;
}

details p {
  padding: 0 1rem 1rem;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: #05070d;
}

.site-footer p {
  max-width: 780px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switcher {
    width: auto;
    margin-left: 0;
  }

  .fact-strip,
  .status-grid,
  .intent-layout,
  .copy-grid,
  .source-section,
  .filters {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand span {
    white-space: normal;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-actions .button {
    width: 100%;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}
