/* ──────────────────────────────────────────────────────────────
   TEAM WALLET X — shared stylesheet for legal pages
   (privacy-policy.html · terms-of-service.html · data-protection.html)
   Matches the main site: Anton display type, Archivo text,
   black / volt palette, hairline rules, squared elements.
   ────────────────────────────────────────────────────────────── */

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

:root {
    --volt: #CCFF00;
    --bg: #000;
    --panel: #0C0C0C;
    --line: rgba(255,255,255,0.12);
    --line-soft: rgba(255,255,255,0.07);
    --text: #F4F4F0;
    --muted: rgba(244,244,240,0.62);
    --faint: rgba(244,244,240,0.32);
    --display: 'Anton', 'Arial Narrow', sans-serif;
    --body-font: 'Archivo', -apple-system, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--volt); color: #000; }

a { -webkit-tap-highlight-color: rgba(204,255,0,0.2); }

/* ── site header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.site-header .bar {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header img { height: 24px; display: block; }
.site-header .home-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: 9px 14px;
}
.site-header .home-link:hover { color: var(--volt); border-color: var(--volt); }

/* ── page container ── */
.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 20px 72px;
    position: relative;
}

/* pitch centre-circle motif */
body::before {
    content: '';
    position: fixed;
    top: -300px; right: -220px;
    width: 600px; height: 600px;
    border: 1px solid rgba(204,255,0,0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* legacy back-link (kept in markup on some pages) → hidden, header has it */
.back-link { display: none; }

/* ── page header ── */
.header {
    text-align: left;
    margin-bottom: 3rem;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}
.header::before {
    content: 'Legal';
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--volt);
    margin-bottom: 16px;
}
.header h1 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    line-height: 1.02;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.7rem;
}
.last-updated {
    color: var(--faint);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

/* ── sections ── */
.section {
    margin-bottom: 0;
    padding: 1.8rem 0;
    border-top: 1px solid var(--line-soft);
}
.section:first-of-type { border-top: none; }

.section h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--volt);
    margin-bottom: 0.9rem;
}
.section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.1rem 0 0.5rem;
}
.section p, .section ul, .section ol {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.section ul, .section ol { padding-left: 0; margin-left: 0; list-style: none; }
.section li {
    margin-bottom: 0.55rem;
    padding-left: 18px;
    position: relative;
}
.section li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--volt);
}
.section strong { color: rgba(244,244,240,0.92); font-weight: 600; }
.section em { color: rgba(244,244,240,0.85); }
.section a { color: var(--volt); text-decoration: none; }
.section a:hover { text-decoration: underline; }

/* ── highlight box (GDPR page) ── */
.highlight-box {
    background: var(--panel);
    border: 1px solid var(--volt);
    padding: 1.2rem 1.3rem;
    margin: 1.2rem 0;
}
.highlight-box p { margin-bottom: 0; }
.highlight-box strong { color: var(--volt); }

/* ── data table (GDPR page) ── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    white-space: normal;
}
.data-table th {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--volt);
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    white-space: nowrap;
}
.data-table td {
    padding: 10px 14px;
    border: 1px solid var(--line-soft);
    color: var(--muted);
    vertical-align: top;
    min-width: 130px;
}

/* ── contact / info card ── */
.contact-info {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 3px solid var(--volt);
    padding: 1.5rem 1.6rem;
    margin-top: 2.4rem;
}
.contact-info h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--volt);
    margin-bottom: 0.8rem;
}
.contact-info p { color: var(--muted); margin-bottom: 0.8rem; font-size: 0.92rem; }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info a { color: var(--volt); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* volt CTA link used inside content (e.g. "View GDPR Notice") */
.volt-cta {
    display: inline-block;
    background: var(--volt);
    color: #000 !important;
    border: 1px solid var(--volt);
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
}
.volt-cta:hover { background: #000; color: var(--volt) !important; }

/* ── site footer ── */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
}
.site-footer .bar {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.76rem;
    color: var(--faint);
}
.site-footer a {
    color: var(--faint);
    text-decoration: none;
    margin-left: 16px;
}
.site-footer a:hover { color: var(--volt); }

@media (max-width: 640px) {
    .container { padding-top: 40px; }
    .site-footer .bar { flex-direction: column; }
    .site-footer a { margin-left: 0; margin-right: 16px; }
}
