.topic-hero {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(146, 64, 14, 0.08) 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.topic-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 55% 45%;
  background: rgba(212, 175, 55, 0.06);
  top: -100px;
  right: -100px;
  filter: blur(60px);
}

.topic-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 200;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.topic-hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
}

.topic-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.topic-body h2 {
  font-size: 22px;
  font-weight: 400;
  margin: 36px 0 14px;
  color: var(--text);
}

.topic-body h3 {
  font-size: 17px;
  font-weight: 400;
  margin: 24px 0 10px;
  color: var(--text);
}

.topic-body p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.75;
}

.topic-body ul,
.topic-body ol {
  margin: 12px 0 16px 20px;
  color: var(--muted);
  font-size: 15px;
}

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

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

.rtp-sidebar {
  position: sticky;
  top: 80px;
}

.rtp-sidebar img {
  border-radius: 24px;
  margin-bottom: 16px;
  max-width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.rtp-callout {
  padding: 20px 24px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin: 24px 0;
  font-size: 14px;
  color: var(--text);
}

.rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

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

.rtp-table th {
  background: rgba(15, 23, 42, 0.04);
  font-weight: 400;
  color: var(--text);
}

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

.rtp-visual-band {
  height: 180px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  margin: 32px 0;
}

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

.poker-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.poker-card h3 {
  margin-top: 0;
}

.poker-hero-img {
  width: 100%;
  max-width: 500px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 24px;
  margin: 0 auto 32px;
  display: block;
}

.poker-pullquote {
  padding: 28px 32px;
  margin: 32px 0;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

.slots-rail-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.slots-rail {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
}

.slots-rail img {
  border-radius: 16px;
  margin-bottom: 20px;
  max-width: 100%;
  max-height: 200px;
  object-fit: cover;
}

.slots-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.slots-feature {
  padding: 20px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.slots-feature strong {
  display: block;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 6px;
}

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

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-page h1 {
  font-size: 72px;
  font-weight: 200;
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
}

.topic-hero,
.topic-body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {
  .rtp-layout,
  .poker-split,
  .slots-rail-layout {
    grid-template-columns: 1fr;
  }

  .rtp-sidebar {
    position: static;
  }

  .slots-feature-grid {
    grid-template-columns: 1fr;
  }

  .poker-hero-img,
  .rtp-sidebar img,
  .slots-rail img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .rtp-visual-band {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 375px) {
  .poker-hero-img,
  .rtp-sidebar img,
  .slots-rail img {
    max-height: 180px;
  }

  .rtp-visual-band {
    max-height: 140px;
  }
}
