/* Content pages (rules/FAQ). Loaded after style.css, which sets the theme
   variables and fonts but also locks html/body to 100% height + no scroll —
   every rule here undoes that for a normal readable document. */

html, body {
  height: auto;
  overflow: visible;
  overflow-x: hidden;
  user-select: text;
  -webkit-user-select: text;
}

.content-page { min-height: 100%; display: flex; flex-direction: column; }

a { color: var(--gold); }

/* ===== Header / footer ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(18px, env(safe-area-inset-left));
  background: rgba(9, 21, 13, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 197, 24, .25);
}
.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 3px;
  color: var(--text); text-decoration: none;
}
.site-logo span { color: var(--gold); }
.site-nav { display: flex; gap: 18px; }
.site-nav a {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none; color: var(--text-muted);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }

/* ===== Article ===== */
.content-wrap {
  width: 100%; max-width: 820px;
  margin: 0 auto; padding: 28px 20px 48px;
  line-height: 1.65; font-size: 16px;
}
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); text-decoration: underline; }

.content-wrap h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  letter-spacing: 2px; line-height: 1.05;
  margin-bottom: 14px; color: var(--text);
}
.content-wrap h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 2px; color: var(--gold);
  margin: 38px 0 12px; scroll-margin-top: 72px;
}
.content-wrap h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 1.5px; margin-bottom: 6px; }
.content-wrap p { margin-bottom: 14px; }
.content-wrap b, .content-wrap strong { color: var(--gold); font-weight: 700; }
.lede { font-size: 17px; color: var(--text-muted); }
.lede b { color: var(--gold); }

.content-wrap ul, .content-wrap ol { margin: 0 0 16px; padding-left: 22px; }
.content-wrap li { margin-bottom: 8px; }

.rule-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; margin-bottom: 10px;
}
.rule-grid .rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 0;
}
.rule-grid .rule-card h3 { color: var(--gold); }
.rule-grid .rule-card p { font-size: 14.5px; margin-bottom: 0; }

.content-wrap .rule-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.content-wrap .rule-table th, .content-wrap .rule-table td {
  padding: 11px 14px; text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 14.5px; vertical-align: top;
}
.content-wrap .rule-table tr:last-child th,
.content-wrap .rule-table tr:last-child td { border-bottom: none; }
.content-wrap .rule-table thead th {
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 1.5px;
  color: var(--gold); font-size: 15px; font-weight: 400;
  text-transform: none; width: auto; background: rgba(245, 197, 24, .08);
}
.content-wrap .rule-table tbody th {
  width: 34%; color: var(--text); font-weight: 700;
  font-size: 14.5px; letter-spacing: .3px;
  text-transform: none; padding-right: 12px;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px; padding: 4px 16px;
}
.faq-item summary {
  cursor: pointer; padding: 13px 0;
  font-weight: 700; font-size: 16px; color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--gold); font-weight: 700; }
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { color: var(--gold); }
.faq-item p { margin: 0 0 14px; font-size: 15px; color: var(--text-muted); }

.cta {
  display: inline-block;
  padding: 13px 24px; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: #1a1405 !important; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.play-card {
  margin-top: 34px; padding: 26px;
  text-align: center;
  background: linear-gradient(165deg, rgba(9, 21, 13, .74), rgba(4, 11, 7, .86));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
}
.play-card h2 { margin-top: 0; }
.play-card p { color: var(--text-muted); }

.site-footer {
  margin-top: auto; padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
  text-align: center; font-size: 13px; color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer nav { display: flex; justify-content: center; gap: 18px; margin: 10px 0; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.fineprint { font-size: 11px; opacity: .65; max-width: 640px; margin: 0 auto; }

@media (max-width: 560px) {
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 12px; letter-spacing: 1px; }
  .content-wrap { padding: 22px 16px 40px; }
  .rule-table tbody th { width: auto; }
}
