:root {
  --bg-deep: #0a0b0f;
  --bg-panel: rgba(18, 19, 24, 0.82);
  --bg-card: rgba(22, 24, 32, 0.72);
  --gold-primary: #c9a227;
  --gold-light: #e8c547;
  --gold-border: rgba(201, 162, 39, 0.45);
  --bronze: #8b6914;
  --emerald: #2ecc71;
  --ruby: #e74c3c;
  --sapphire: #3498db;
  --amethyst: #9b59b6;
  --text-primary: #f2ece4;
  --text-muted: #b8b0a6;
  --text-soft: #8a8278;
  --shadow-glow: 0 0 40px rgba(46, 204, 113, 0.08);
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.45);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-height: 64px;
  --font-ui: "Manrope", system-ui, sans-serif;
  --font-display: "Cinzel", "Marcellus", Georgia, serif;
  --max-width: 1120px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--gold-light);
}

a:hover {
  color: var(--gold-primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--bg-panel);
  color: var(--text-primary);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 11, 15, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 11, 15, 0.92);
  border-bottom-color: rgba(201, 162, 39, 0.22);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand span {
  color: var(--gold-light);
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  background: rgba(22, 24, 32, 0.8);
  color: var(--text-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--gold-light);
  outline: none;
}

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  padding: 0.5rem 1.25rem 1rem;
  background: rgba(10, 11, 15, 0.98);
  border-bottom: 1px solid var(--gold-border);
}

.primary-nav.is-open {
  display: flex;
}

.primary-nav a {
  padding: 0.7rem 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.primary-nav a.is-active,
.primary-nav a:hover {
  color: var(--gold-light);
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-primary), var(--bronze));
  color: #121318;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  filter: brightness(1.08);
  color: #121318;
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-height) + 2rem) 0 3rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

@media (max-width: 767px) {
  .hero__media picture,
  .hero__media img {
    object-position: center 68%;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 15, 0.35) 0%, rgba(10, 11, 15, 0.55) 45%, rgba(10, 11, 15, 0.94) 100%),
    radial-gradient(circle at 50% 70%, rgba(46, 204, 113, 0.12), transparent 55%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero__chips li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  background: rgba(22, 24, 32, 0.65);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero__disclosure {
  margin: 0 0 1rem;
  max-width: 38rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--bronze));
  color: #121318;
}

.btn--primary:hover {
  filter: brightness(1.08);
  color: #121318;
}

.btn--ghost {
  background: rgba(22, 24, 32, 0.55);
  border-color: var(--gold-border);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section__header {
  margin-bottom: 1.75rem;
}

.section__header h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.2;
}

.section__lead {
  margin: 0;
  max-width: 46rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.glass-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(201, 162, 39, 0.12);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--text-soft);
  font-weight: 600;
}

.spec-table td {
  color: var(--text-primary);
  font-weight: 600;
}

.spec-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(201, 162, 39, 0.08);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.demo-panel {
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.demo-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 40%, rgba(46, 204, 113, 0.12), transparent 60%),
    #121318;
}

.demo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.25rem;
  text-align: center;
  background: rgba(10, 11, 15, 0.55);
}

.demo-overlay p {
  margin: 0;
  max-width: 34rem;
  color: var(--text-muted);
}

.demo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.demo-toolbar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose h3 {
  margin: 1.5rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1rem 1rem 3.25rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--bronze));
  color: #121318;
  font-weight: 800;
  font-size: 0.85rem;
}

.steps strong {
  color: var(--text-primary);
}

.steps span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modifier-grid {
  display: grid;
  gap: 1rem;
}

.modifier-card {
  padding: 1.15rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.modifier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.modifier-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.modifier-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modifier-card--nuclear { border-color: rgba(52, 152, 219, 0.55); box-shadow: inset 0 0 24px rgba(52, 152, 219, 0.08); }
.modifier-card--wild { border-color: rgba(155, 89, 182, 0.55); box-shadow: inset 0 0 24px rgba(155, 89, 182, 0.08); }
.modifier-card--squares { border-color: rgba(139, 105, 20, 0.55); box-shadow: inset 0 0 24px rgba(139, 105, 20, 0.08); }
.modifier-card--colossal { border-color: rgba(231, 76, 60, 0.55); box-shadow: inset 0 0 24px rgba(231, 76, 60, 0.08); }
.modifier-card--lucky { border-color: rgba(46, 204, 113, 0.55); box-shadow: inset 0 0 24px rgba(46, 204, 113, 0.1); }

.modifier-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modifier-card--nuclear .modifier-tag { background: rgba(52, 152, 219, 0.18); color: #7ec8ff; }
.modifier-card--wild .modifier-tag { background: rgba(155, 89, 182, 0.18); color: #d7a8ff; }
.modifier-card--squares .modifier-tag { background: rgba(139, 105, 20, 0.22); color: #e8c547; }
.modifier-card--colossal .modifier-tag { background: rgba(231, 76, 60, 0.18); color: #ff9b8f; }
.modifier-card--lucky .modifier-tag { background: rgba(46, 204, 113, 0.18); color: #8ef0b0; }

.pros-cons {
  display: grid;
  gap: 1rem;
}

.pros-cons h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.pros-cons ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.pros-cons li + li {
  margin-top: 0.4rem;
}

.pros-cons__col--pros {
  border-color: rgba(46, 204, 113, 0.35);
}

.pros-cons__col--cons {
  border-color: rgba(231, 76, 60, 0.35);
}

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

.faq-list details {
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
  color: var(--gold-light);
  outline: none;
}

.faq-list p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--text-muted);
}

.meta-line {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  font-size: 0.88rem;
  color: var(--text-soft);
}

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  background: rgba(8, 9, 12, 0.95);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  font-weight: 800;
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-note {
  margin: 0;
  max-width: 52rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 0.7s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    background: transparent;
    border: 0;
    margin-left: auto;
  }

  .primary-nav a {
    padding: 0.45rem 0.65rem;
    border: 0;
    font-size: 0.84rem;
  }

  .header-cta {
    display: inline-flex;
  }

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

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

@media (min-width: 1024px) {
  .modifier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modifier-card--lucky {
    grid-column: span 1;
  }
}
