/* 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;
}

/* ── 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: 1;
  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);
  }
}
