/* ============================================================
   regulamin.css — page-specific styles for regulamin.html
   ============================================================ */

/* NAV z-index override for regulamin */
nav { z-index: 9999; }

/* PAGE */
.page { padding: calc(var(--ticker-h) + 80px) 64px 96px; max-width: 1100px; margin: 0 auto; }
.page-label { font-family: var(--font-mono); font-size: 11px; color: var(--purple); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.page-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--lime); }
.page-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px); font-weight: 700; line-height: .92; letter-spacing: -.02em; margin-bottom: 56px; white-space: nowrap; }
.page-title .hl { color: var(--purple); }

/* LAYOUT */
.reg-toc { margin-bottom: 48px; }
.reg-toc-title { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.reg-toc-list { list-style: none; padding: 0; }
.reg-toc-list li { border-bottom: 1px solid var(--border); }
.reg-toc-list a { display: block; font-family: var(--font-body); font-size: 14px; color: var(--text-dim); text-decoration: none; padding: 9px 0; transition: color .2s, padding-left .2s; }
.reg-toc-list a:hover { color: var(--purple); padding-left: 6px; }
.reg-section { margin-bottom: 48px; scroll-margin-top: calc(var(--ticker-h) + 80px); }
.reg-section-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.reg-section-title span { color: var(--lime-dark); margin-right: 6px; }
.reg-body { font-family: var(--font-body); font-size: 14px; color: var(--text-dim); line-height: 1.85; }
.reg-body ol, .reg-body ul { padding-left: 22px; margin-top: 10px; }
.reg-body li { margin-bottom: 8px; }
.reg-body p { margin-bottom: 8px; }
.reg-updated { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-bottom: 48px; letter-spacing: .06em; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .page { padding: calc(var(--ticker-h) + 80px) 24px 72px; }
  .page-title { white-space: normal; word-break: break-word; }
}
