/* legal.css */
/* Shared legal / rules page styling */

:root {
    --bg: #000000;
    --panel: #0b0b0b;
    --text: #ffffff;
    --muted: #aaaaaa;
    --accent: #f5c84c;
    --border: #222222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}

main {
    max-width: 900px;
    margin: 60px auto;
    padding: 50px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: left; /* Changed from center */
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 600;
    font-size: 2rem;
    text-align: center; /* Title centered only */
}

h2 {
    margin-top: 40px;
    margin-bottom: 14px;
    color: #e5e5e5;
    font-weight: 500;
    font-size: 1.25rem;
}

p {
    margin: 16px 0;
    font-size: 1rem;
    max-width: 100%;
}

strong {
    font-weight: 600;
}

.meta {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 28px;
    text-align: center;
}

ul {
    list-style-position: inside;
    padding: 0;
    margin: 16px 0;
}

li {
    margin: 8px 0;
}

.if-highlight {
    color: #d4af37;
    font-weight: 700;
}

/* Section Navigation */
.rule-nav {
    background: #111111;
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 30px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.rule-nav strong {
    color: var(--accent);
}

.rule-nav a {
    color: var(--accent);
    text-decoration: none;
    margin-right: 12px;
}

.rule-nav a:hover {
    text-decoration: underline;
}

/* Optional back-to-top links */
.back-to-top {
    margin-top: 20px;
    font-size: 0.85rem;
}

.back-to-top a {
    color: var(--accent);
    text-decoration: none;
}

.back-to-top a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}