:root {
  --font-ui: 'Manrope', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

body.rules-body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-ui);
  color: #c8d4cc;
  line-height: 1.65;
  background: #060a08 radial-gradient(ellipse at 50% 0%, #1a2f24 0%, #060a08 70%);
}

.rules-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.rules-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.rules-nav a {
  color: #f0d878;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.rules-nav a:hover {
  text-decoration: underline;
}

.rules-nav .nav-play {
  margin-right: auto;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.rules-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #f0d878;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.rules-lead {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.rules-page h2 {
  font-size: 1.15rem;
  color: #e8dcc0;
  margin: 1.75rem 0 0.6rem;
}

.rules-page h3 {
  font-size: 1rem;
  color: #d4c4a0;
  margin: 1.25rem 0 0.4rem;
}

.rules-page p,
.rules-page li {
  margin-bottom: 0.6rem;
}

.rules-page ul,
.rules-page ol {
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
}

.rules-page strong {
  color: #e8dcc0;
}

.combos-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.combos-table th,
.combos-table td {
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.combos-table th {
  background: rgba(0, 0, 0, 0.35);
  color: #f0d878;
}

.combos-table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.2);
}

.rules-cards {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.rules-card-link {
  display: block;
  padding: 1rem 1.15rem;
  background: rgba(12, 22, 18, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  color: #c8d4cc;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.rules-card-link:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.rules-card-link h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #f0d878;
}

.rules-card-link p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

.rules-cta {
  margin-top: 2rem;
  text-align: center;
}

.rules-cta .btn-play {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(180deg, #f0d878, #d4af37);
  color: #1a1408;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.rules-cta .btn-play:hover {
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}

.note-box {
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid #d4af37;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(200, 212, 204, 0.85);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 1rem;
}

.site-footer-links a {
  color: #f0d878;
  text-decoration: none;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

.site-footer-sep {
  opacity: 0.45;
}

.site-footer-disclaimer {
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  font-size: 0.82rem;
  opacity: 0.78;
  text-align: left;
}

.site-footer-disclaimer a {
  color: #f0d878;
}

.site-footer-copy {
  margin: 0;
  opacity: 0.75;
}

.site-footer-copy a {
  color: #f0d878;
}

.site-footer-about {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: left;
  line-height: 1.65;
}

.site-footer-about p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: rgba(245, 240, 230, 0.88);
}

.site-footer-about a {
  color: #f0d878;
  text-decoration: none;
}

.site-footer-about a:hover {
  text-decoration: underline;
}
