.subpage-hero-strip {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--bg) 100%);
  padding: 56px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.subpage-hero-strip h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text);
  max-width: 800px;
  margin: 0 auto;
}

.subpage-hero-strip p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.topic-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.topic-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 36px 0 14px;
  color: var(--text);
}

.topic-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--accent);
}

.topic-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.topic-content ul {
  margin: 0 0 16px 20px;
  color: var(--muted);
}

.topic-content li {
  margin-bottom: 8px;
}

.topic-pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(180, 83, 9, 0.08);
}

.roulette-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.roulette-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 8px;
  position: sticky;
  top: 80px;
}

.roulette-sidebar h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 16px;
}

.roulette-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roulette-sidebar li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.roulette-img-band {
  margin: 32px 0;
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.roulette-img-band img {
  width: 100%;
  object-fit: cover;
  max-height: 320px;
}

.bonus-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bonus-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.bonus-stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.bonus-stat span {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
}

.bonus-stat small {
  font-size: 12px;
  color: var(--muted);
}

.bonus-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

.bonus-img-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
}

.bonus-img-wrap img {
  width: 100%;
  object-fit: cover;
  max-height: 320px;
}

.bonus-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

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

.bonus-table th,
.bonus-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.bonus-table th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
}

.bonus-table td {
  color: var(--muted);
}

.license-hero {
  background: var(--surface);
  padding: 48px 20px;
  border-bottom: 3px solid var(--primary);
}

.license-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}

.license-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.license-hero-img {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.license-hero-img img {
  width: 100%;
  object-fit: cover;
  max-height: 320px;
}

.license-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.license-check-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.license-check-item strong {
  color: var(--accent);
  flex-shrink: 0;
}

.license-check-item p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .roulette-layout,
  .bonus-split,
  .license-hero-inner,
  .bonus-stat-row,
  .license-checklist {
    grid-template-columns: 1fr;
  }

  .roulette-sidebar {
    position: static;
  }

  .roulette-img-band,
  .bonus-img-wrap,
  .license-hero-img {
    max-width: 100%;
    width: 100%;
  }

  .roulette-img-band img,
  .bonus-img-wrap img,
  .license-hero-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 240px;
  }
}
