/* legal.css — shared chrome for /terms, /privacy, /responsible-gaming.
   Palette mirrors public/sixstar_gateway.html :root exactly (this site themes
   per-page with inline vars; there is no injected stylesheet). Every component
   colour below is sourced from these vars — no hex in component rules. */
:root {
    --gold: #e7c582;
    --gold-mid: #b9935a;
    --gold-dim: #8a6a3a;
    --teal: #4aedd4;
    --pink: #ff69b4;
    --bg-deep: #050505;
    --panel-bg: rgba(8, 8, 8, 0.92);
    --panel-border: var(--gold);
    /* derived tints (gold/teal at low alpha; no new hues) */
    --gold-glow: rgba(231, 197, 130, 0.35);
    --gold-faint: rgba(231, 197, 130, 0.08);
    --teal-faint: rgba(74, 237, 212, 0.06);
    --teal-line: rgba(74, 237, 212, 0.25);
    --line: rgba(255, 255, 255, 0.09);
    --muted: #9b9b9b;
    --text: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background:
        radial-gradient(120% 80% at 50% -10%, var(--gold-faint), transparent 55%),
        radial-gradient(90% 60% at 90% 110%, var(--teal-faint), transparent 60%),
        var(--bg-deep);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.site { max-width: 880px; margin: 0 auto; padding: 52px 20px 80px; }

.masthead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.brand { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
    font-size: 30px; line-height: 1; margin: 0 0 6px; text-shadow: 0 0 18px var(--gold-glow); }
.brand .star { color: var(--gold); }
.masthead .brand { font-size: 26px; margin: 0; }
.masthead .tag { color: var(--teal); font-size: 10px; letter-spacing: .30em; text-transform: uppercase; font-weight: 700; }

.legal-nav { display: flex; gap: 4px; flex-wrap: wrap; position: sticky; top: 0; z-index: 20;
    padding: 14px 0 12px; margin-bottom: 22px;
    background: linear-gradient(var(--bg-deep), var(--panel-bg)); backdrop-filter: blur(8px); }
.legal-nav a {
    font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px;
    color: var(--muted); padding: 10px 16px; border: 1px solid transparent; transition: all .2s ease;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.legal-nav a:hover { color: var(--text); }
.legal-nav a.active { color: var(--text); background: var(--panel-bg); border-color: var(--line);
    border-bottom: 2px solid var(--gold); }

.doc {
    background: var(--panel-bg); border: 1px solid var(--line); border-top: 2px solid var(--gold);
    padding: 34px 30px; backdrop-filter: blur(6px);
}
.doc h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .06em;
    text-transform: uppercase; margin: 0 0 4px; text-shadow: 0 0 14px var(--gold-glow); }
.doc .updated { color: var(--muted); font-size: 12px; margin: 0 0 22px; letter-spacing: .04em; }
.doc h2 { font-size: 15px; letter-spacing: .02em; margin: 26px 0 8px; color: var(--text); }
.doc h2 .n { color: var(--gold); margin-right: 8px; font-weight: 900; }
.doc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin: 18px 0 6px; }
.doc p, .doc li { color: var(--text); opacity: .92; line-height: 1.62; font-size: 14.5px; }
.doc ul { margin: 6px 0 6px; padding-left: 20px; }
.doc li { margin: 5px 0; }
.doc strong { color: var(--text); }
.lead { border-left: 2px solid var(--gold); padding-left: 14px; color: var(--text); opacity: .95; }

.todo {
    background: var(--gold-faint); color: var(--gold); border: 1px dashed var(--gold-dim);
    padding: 1px 6px; font-size: 12.5px; font-weight: 700; border-radius: 2px; white-space: normal;
}
.disc {
    margin: 0 0 24px; padding: 14px 16px; font-size: 13px; line-height: 1.55; color: var(--muted);
    background: var(--gold-faint); border: 1px solid var(--gold-dim);
}
.disc b { color: var(--gold); }

table.procs { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
table.procs th, table.procs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.procs th { color: var(--teal); text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
table.procs td strong { color: var(--text); }

.rg-resources { margin: 14px 0; padding: 18px; background: var(--teal-faint); border: 1px solid var(--teal-line); }
.rg-resources .r { margin: 10px 0; }
.rg-resources .r b { color: var(--teal); }
.hot { color: var(--gold); font-weight: 800; }

footer { max-width: 880px; margin: 30px auto 0; padding: 22px 20px 0; border-top: 1px solid var(--line);
    color: var(--muted); font-size: 12.5px; line-height: 1.7; text-align: center; }
footer a { font-weight: 700; }
footer .draft { color: var(--gold); }
