* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #000000;
    --surface: #141414;
    --surface-border: #222;
    --border: rgba(0, 255, 65, 0.12);
    --text: #e0e0e0;
    --text-muted: #555;
    --accent: #00ff41;
    --glow: rgba(0, 255, 65, 0.4);
}

html { scroll-behavior: auto; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

#tsparticles {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.page-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── HEADER ─── */
.legal-header {
    padding: 20px 24px;
    text-align: center;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text);
    text-decoration: none;
}

.logo-zero {
    color: var(--accent);
    text-shadow: 0 0 20px var(--glow), 0 0 40px rgba(0, 255, 65, 0.2);
}

/* ─── CONTENT ─── */
.legal-content {
    flex: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    width: 100%;
}

.legal-content h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.legal-content section {
    margin-bottom: 36px;
    padding-left: 16px;
    border-left: 2px solid rgba(0, 255, 65, 0.1);
}

.legal-content h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 12px;
}

.legal-content li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
    line-height: 1.6;
}

.legal-content li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: var(--text-muted);
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.legal-content a:hover {
    text-shadow: 0 0 8px var(--glow);
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

/* ─── FOOTER ─── */
.legal-footer {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.legal-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-footer a:hover {
    color: var(--accent);
}

.legal-nav {
    display: flex;
    gap: 16px;
}

@media (max-width: 640px) {
    .legal-footer {
        justify-content: center;
        text-align: center;
    }
}
