:root {
  --jw8-bg: #f7f8fb;
  --jw8-surface: #ffffff;
  --jw8-text: #1b1f2a;
  --jw8-muted: #5b6475;
  --jw8-border: #e6e9ef;
  --jw8-accent: #f97316;
  --jw8-accent-dark: #ea580c;
  --jw8-accent-soft: #fff7ed;
  --jw8-shadow: 0 10px 30px rgba(27, 31, 42, 0.06);
  --jw8-radius: 16px;
  --jw8-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.jw8-body {
  margin: 0;
  font-family: var(--jw8-font);
  color: var(--jw8-text);
  background: var(--jw8-bg);
  line-height: 1.7;
  font-size: 1rem;
  padding-bottom: 76px;
}

@media (min-width: 992px) {
  body.jw8-body {
    padding-bottom: 0;
  }
}

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

a:hover {
  color: var(--jw8-accent);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--jw8-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 9999;
}

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

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}

.site-header .navbar {
  box-shadow: 0 1px 0 rgba(27, 31, 42, 0.04);
}

.navbar-brand {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.nav-link {
  font-weight: 600;
  color: var(--jw8-muted) !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--jw8-text) !important;
  background: var(--jw8-bg);
}

.btn {
  font-weight: 700;
  border-radius: 999px;
}

.btn-accent {
  background: var(--jw8-accent);
  border-color: var(--jw8-accent);
  color: #fff;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--jw8-accent-dark);
  border-color: var(--jw8-accent-dark);
  color: #fff;
}

.hero {
  padding: 2.5rem 0 1.5rem;
}

.hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  border: 1px solid var(--jw8-border);
  border-radius: 24px;
  box-shadow: var(--jw8-shadow);
  padding: 2rem;
}

.hero-visual {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--jw8-border);
  background: #fff;
  box-shadow: var(--jw8-shadow);
}

.hero-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 1774 / 887;
  object-fit: cover;
  object-position: center;
}

.article-banner {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--jw8-border);
  background: #fff;
  box-shadow: var(--jw8-shadow);
}

.article-banner a {
  display: block;
}

.article-banner img {
  width: 100%;
  display: block;
  height: auto;
}

.article-banner--wide img {
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.split-promo {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--jw8-surface);
  border: 1px solid var(--jw8-border);
  border-radius: 18px;
  box-shadow: var(--jw8-shadow);
  padding: 1rem;
}

@media (min-width: 768px) {
  .split-promo {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    padding: 1.25rem;
    gap: 1.5rem;
  }
}

.split-promo__media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--jw8-border);
  background: #0b1220;
}

.split-promo__media img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.split-promo__body h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.split-promo__body ul {
  margin-bottom: 1rem;
}

.split-promo__body li {
  font-size: 0.95rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jw8-accent);
  margin-bottom: 0.75rem;
}

.hero-kicker {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jw8-muted);
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--jw8-muted);
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--jw8-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

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

@media (min-width: 992px) {
  .game-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.game-tile {
  display: block;
  background: var(--jw8-surface);
  border: 1px solid var(--jw8-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.game-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--jw8-shadow);
  color: inherit;
}

.game-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 271 / 153;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0b1220;
}

.game-tile-label {
  display: block;
  padding: 0.55rem 0.65rem 0.7rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--jw8-text);
  background: var(--jw8-surface);
}

.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--jw8-muted);
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.content-card {
  background: var(--jw8-surface);
  border: 1px solid var(--jw8-border);
  border-radius: var(--jw8-radius);
  box-shadow: var(--jw8-shadow);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .content-card {
    padding: 2rem;
  }
}

.toc {
  background: var(--jw8-surface);
  border: 1px solid var(--jw8-border);
  border-radius: var(--jw8-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.toc .toc-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.toc li {
  margin-bottom: 0.35rem;
}

.toc a {
  color: var(--jw8-text);
  font-weight: 600;
}

.toc a:hover {
  color: var(--jw8-accent);
}

.toc .toc-sub {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  list-style: none;
}

.toc .toc-sub li {
  margin-bottom: 0.2rem;
}

.toc .toc-sub a {
  font-weight: 500;
  color: var(--jw8-muted);
  font-size: 0.95rem;
}

.prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  scroll-margin-top: 96px;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 750;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  scroll-margin-top: 96px;
}

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

.prose ul,
.prose ol {
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose strong {
  font-weight: 700;
}

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

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--jw8-surface);
  border: 1px solid var(--jw8-border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--jw8-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--jw8-accent-soft);
  color: var(--jw8-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

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

.table-wrap table {
  margin-bottom: 0;
  min-width: 640px;
}

.table-wrap th {
  background: #f3f5f9;
  font-weight: 700;
  white-space: nowrap;
}

.table-wrap th,
.table-wrap td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-color: var(--jw8-border);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--jw8-surface);
  border: 1px solid var(--jw8-border);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--jw8-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--jw8-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.faq-item {
  border: 1px solid var(--jw8-border);
  border-radius: 14px;
  background: var(--jw8-surface);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 750;
  margin: 0 0 0.5rem;
}

.faq-item p {
  margin: 0;
  color: var(--jw8-muted);
  font-size: 0.95rem;
}

.cta-banner {
  background: linear-gradient(135deg, #1b1f2a 0%, #2a3142 100%);
  color: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}

.img-placeholder {
  background: #eef1f6;
  border: 1px dashed #c9d0dc;
  border-radius: 14px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jw8-muted);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.media-row {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (min-width: 768px) {
  .media-row {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .media-row--one {
    grid-template-columns: 1fr;
  }
}

.media-row a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--jw8-border);
  background: var(--jw8-surface);
}

.media-row img {
  width: 100%;
  display: block;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.site-footer {
  background: var(--jw8-surface);
  border-top: 1px solid var(--jw8-border);
  margin-top: 2rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

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

.footer-links a {
  color: var(--jw8-muted);
  font-weight: 600;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a:hover {
  color: var(--jw8-accent);
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--jw8-border);
  backdrop-filter: blur(8px);
}

.breadcrumb-nav {
  font-size: 0.9rem;
  color: var(--jw8-muted);
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: var(--jw8-muted);
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  color: var(--jw8-accent);
}
