/* Content Pages */

.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.7;
}

/* ── Hero ── */
.game-hero {
  text-align: center;
  padding: 40px 24px 32px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.7) 100%);
  border: 1px solid #334155;
  border-radius: 16px;
}

.game-hero h1 {
  font-size: 28px;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.game-hero > p {
  color: #94a3b8;
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 24px;
}

.game-hero .cta-button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1e293b;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.game-hero .cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  color: #1e293b;
  text-decoration: none;
}

.game-hero-image {
  margin: 0 auto 16px;
  max-width: 300px;
}
.game-hero-image img {
  width: 100%;
  border-radius: 8px;
}

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
}

/* ── Content Sections ── */
.content-section {
  margin-bottom: 32px;
}

.content-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #334155;
}

.content-section p {
  color: #cbd5e1;
  margin: 0 0 12px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section a {
  color: #f59e0b;
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: underline;
}

.content-section ul,
.content-section ol {
  color: #cbd5e1;
  padding-left: 20px;
  margin: 0 0 12px;
}

.content-section li {
  margin-bottom: 6px;
}

/* ── Info Cards (for paytables, side bets, features) ── */
.info-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 12px;
}

/* ── Paytables ── */
.paytable {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}

.paytable th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  padding: 8px 12px;
  border-bottom: 1px solid #334155;
}

.paytable td {
  padding: 8px 12px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.paytable tr:last-child td {
  border-bottom: none;
}

.paytable .payout {
  font-weight: 700;
  color: #f59e0b;
  text-align: right;
}

.paytable .jackpot {
  color: #22c55e;
  font-weight: 800;
  font-size: 15px;
}

/* ── Feature Grid (for game lists, feature highlights) ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.feature-item {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #cbd5e1;
}

/* ── Side Bet Cards ── */
.side-bets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.side-bet-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px;
}

.side-bet-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px;
}

.side-bet-card .side-bet-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 10px;
}

.side-bet-card .paytable {
  margin: 0;
}

/* ── Highlight Box (for Millionaire Mode callout) ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(234, 179, 8, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.highlight-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fbbf24;
  margin: 0 0 10px;
}

.highlight-box p {
  color: #cbd5e1;
  margin: 0 0 8px;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* ── Freshness Timestamp ── */
.content-page-freshness {
  text-align: right;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 12px;
}

.content-page-freshness time {
  color: #94a3b8;
}

/* ── FAQ Section ── */
.faq-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #334155;
}

.faq-section > h2 {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 20px;
}

.faq-item {
  margin-bottom: 16px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px 20px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .content-page {
    padding: 16px 14px 32px;
  }

  .game-hero {
    padding: 28px 16px 24px;
    margin-bottom: 24px;
  }

  .game-hero h1 {
    font-size: 22px;
  }

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

  .stat-value {
    font-size: 16px;
  }

  .content-section h2 {
    font-size: 18px;
  }

  .side-bets-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 479px) {
  .game-hero h1 {
    font-size: 19px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

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

/* Related Games Section */
.related-games {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.related-games h2 {
  margin-bottom: 15px;
}
.related-games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.related-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}
.related-game-card:hover {
  transform: scale(1.05);
}
.related-game-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}
.related-game-card span {
  font-size: 12px;
  text-align: center;
  padding: 6px 4px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .related-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Originals info-page base layout ===== */

.seo-hero {
  text-align: center;
  margin-bottom: 30px;
}
.seo-hero h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 18px;
}
.seo-hero-image {
  display: block;
  width: 300px;
  height: 200px;
  max-width: 100%;
  margin: 0 auto 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.seo-stats-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.seo-stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 120px;
  text-align: center;
}
.seo-stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 4px;
}
.seo-stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
}
.seo-cta {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.seo-cta:hover { opacity: 0.9; color: #fff; text-decoration: none; }
.seo-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}
.seo-feature-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #4caf50;
}

.seo-section { margin-bottom: 30px; }
.seo-section h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.seo-section p,
.seo-section li {
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 10px;
}
.seo-section ol,
.seo-section ul {
  padding-left: 24px;
  margin-bottom: 15px;
}
/* Re-enable list markers - global `* { list-style: none }` strips them
   on every affiliate stylesheet, so we restore them on the content body
   here rather than touching each per-site stylesheet. */
.content-page .seo-section ol {
  list-style: decimal outside;
}
.content-page .seo-section ul {
  list-style: disc outside;
}
.content-page .seo-section li {
  list-style: inherit;
  margin-left: 4px;
}

@media (max-width: 767px) {
  .seo-hero h1 { font-size: 1.5rem; }
  .seo-stats-table { gap: 8px; }
  .seo-stat-item { min-width: 100px; padding: 8px 12px; }
  .seo-section h2 { font-size: 1.2rem; }
}
@media (max-width: 479px) {
  .seo-stats-table { flex-direction: column; align-items: center; }
  .seo-stat-item { width: 100%; max-width: 250px; }
}

/* ===== Originals info-page extensions ===== */

/* Bets and payouts tables */
.seo-bets-section .seo-bet-group + .seo-bet-group {
  margin-top: 22px;
}
.seo-bets-section .seo-bet-group h3,
.seo-controls-section h3,
.seo-modes-section h3,
.seo-replays-section h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #e9d7a8;
  letter-spacing: 0.02em;
}
.seo-bet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.seo-bet-table th,
.seo-bet-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.seo-bet-table th {
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  color: #d5c089;
}
.seo-bet-table tr:last-child td { border-bottom: none; }
.seo-bet-name   { width: 22%; font-weight: 600; }
.seo-bet-payout { width: 14%; font-family: 'SF Mono','Menlo',monospace; color: #e9d7a8; }
.seo-bet-desc   { width: 64%; color: rgba(255,255,255,0.72); }
.seo-bet-details { display: block; }
.seo-bet-limit  { display: block; font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* Controls / settings / keyboard */
.seo-controls-section .seo-controls-settings + .seo-controls-keyboard { margin-top: 24px; }
.seo-controls-section ul { padding-left: 18px; }
.seo-controls-section strong { color: #e9d7a8; }
.seo-keyboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.seo-keyboard-table th,
.seo-keyboard-table td {
  padding: 7px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.seo-keyboard-table th {
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  color: #d5c089;
  width: 120px;
}
.seo-keyboard-table tr:last-child td { border-bottom: none; }
.seo-section kbd {
  display: inline-block;
  padding: 2px 7px;
  font-family: 'SF Mono','Menlo',monospace;
  font-size: 12px;
  color: #e9d7a8;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom-width: 2px;
  border-radius: 4px;
  line-height: 1.3;
}

/* Modes section */
.seo-modes-section h3 { margin-top: 18px; }
.seo-modes-section h3:first-of-type { margin-top: 0; }
.seo-modes-section ul { padding-left: 20px; }
.seo-modes-section ul li { margin-bottom: 4px; }

/* Replays */
.seo-replays-section h3 { margin-top: 18px; }
.seo-replays-section h3:first-of-type { margin-top: 0; }

/* Desktop-only: keyboard table hidden on mobile */
@media (max-width: 767px) {
  .seo-desktop-only { display: none !important; }
  .seo-bet-table th,
  .seo-bet-table td {
    padding: 6px 8px;
    font-size: 12px;
  }
  .seo-bet-name   { width: 32%; }
  .seo-bet-payout { width: 22%; }
  .seo-bet-desc   { width: 46%; }
}
