/* Tygaria - Legal Pages (Terms, Privacy, Cookies) */

:root {
    --bg: #06040a;
    --surface: #0a0812;
    --text: #e4e0ec;
    --text-dim: #6a6478;
    --accent: #4ade80;
}

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

body {
    font-family: 'Press Start 2P', monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 2;
}

/* CRT scanlines */
body::after {
    content: '';
    position: fixed; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    pointer-events: none; z-index: 9999;
}

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(6, 4, 10, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}
.nav-inner {
    max-width: 960px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 1.5rem;
}
.logo { text-decoration: none; }
.btn-play {
    background: var(--accent); color: var(--bg);
    padding: 0.4rem 1rem; border-radius: 4px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.6rem; font-weight: 700;
    text-decoration: none;
}
.btn-play:hover { opacity: 0.85; }
.breadcrumb {
    font-size: 0.5rem; color: var(--text-dim);
    display: flex; align-items: center; gap: 0.4rem;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb .sep { opacity: 0.3; }

/* Content */
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

main h1 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.2);
}

.updated {
    color: var(--text-dim);
    font-size: 0.45rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 0.6rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

section p {
    font-size: 0.5rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    line-height: 2.2;
}

section p strong {
    color: var(--text);
}

/* Table (cookies page) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0;
    font-size: 0.45rem;
}

th, td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

th {
    color: var(--accent);
    font-size: 0.45rem;
    letter-spacing: 0.03em;
}

td {
    color: var(--text-dim);
}

/* Footer */
footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.45rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255,255,255,0.03);
}

footer a {
    color: var(--text-dim);
    text-decoration: none;
}

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

.sep { margin: 0 0.5rem; opacity: 0.3; }

/* Mobile */
@media (max-width: 768px) {
    main h1 { font-size: 0.9rem; }
    section h2 { font-size: 0.5rem; }
    section p { font-size: 0.45rem; }
}
