:root {
    --color-bg: #0f172a;
    --color-surface: #1e293b;
    --color-border: #334155;
    --color-text: #e2e8f0;
    --color-muted: #94a3b8;
    --color-accent: #facc15;
    --color-ball: #1e293b;
    --color-lucky: #b91c1c;
    --radius: 10px;
    --wrap: 880px;
}

* { box-sizing: border-box; }

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

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

h1, h2, h3 { line-height: 1.2; }

.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.site-header .brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--color-text); }
.site-header nav a { margin-left: 1.25rem; text-decoration: none; font-size: .9rem; }
.site-header nav a:first-child { margin-left: 0; }

main.wrap { padding-top: 2rem; padding-bottom: 3rem; min-height: 60vh; }

.lede { font-size: 1.1rem; color: var(--color-text); }

.balls { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.ball {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: var(--color-surface); border: 1px solid var(--color-border);
    font-weight: 700;
}
.ball--lucky { background: var(--color-lucky); border-color: var(--color-lucky); color: #fff; }
.ball a { color: inherit; text-decoration: none; display: block; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; }
caption { text-align: left; color: var(--color-muted); margin-bottom: .4rem; font-size: .85rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--color-border); }
th { color: var(--color-muted); font-weight: 600; }

.draw-nav { display: flex; justify-content: space-between; margin: 1.5rem 0; font-size: .9rem; }

.disclaimer-box {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0;
    font-size: .9rem; color: var(--color-muted);
}

.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0 2.5rem;
    font-size: .82rem;
    color: var(--color-muted);
}
.site-footer .legal-prevention { color: var(--color-text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; margin: .75rem 0; }
.footer-links a { text-decoration: none; }

.age-gate {
    position: fixed; inset: 0; background: rgba(15, 23, 42, .96);
    display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1.25rem;
}
.age-gate[hidden] { display: none; }
.age-gate__box {
    max-width: 420px; background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.age-gate__title { font-weight: 700; font-size: 1.1rem; }
.age-gate__box button {
    margin-top: 1rem; padding: .6rem 1.4rem; border-radius: 999px; border: none;
    background: var(--color-accent); color: #1e293b; font-weight: 700; cursor: pointer;
}
