/* asterix.fan video directory — styles (moved out of the generated .cfm so they're editable and the
   generator template carries no CSS braces). Rendered client-side by site.js from window.__SITE__. */
:root { --blue:#184ea6; --gold:#ffd23f; --ink:#0b1f47; --red:#ff0033; }
* { box-sizing:border-box; }
html, body { height:100%; }
body { margin:0; min-height:100vh; font-family:'Comic Neue',system-ui,-apple-system,sans-serif; background:var(--blue); color:#fff; }
.bg { position:fixed; inset:0; z-index:-1; background:var(--blue) url(inset.jpg) center center / contain no-repeat; }
@media (max-aspect-ratio:1/1){ .bg{ background-size:cover; } }
.wrap { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:44px 16px; }

/* language switcher */
.switch { display:flex; gap:6px; justify-content:center; }
.switch button { padding:6px 16px; border-radius:999px; border:2px solid var(--gold); background:transparent; color:var(--gold); font-weight:800; cursor:pointer; font-family:inherit; font-size:14px; }
.switch button.active { background:var(--gold); color:var(--ink); }

/* hero */
.brand { text-align:center; }
.brand h1 { margin:0; font-size:clamp(30px,6vw,52px); color:var(--gold); letter-spacing:.02em; text-shadow:3px 3px 0 rgba(0,0,0,.35),0 2px 14px rgba(8,20,55,.6); }
.brand p { margin:8px 0 0; font-size:clamp(14px,2.6vw,18px); color:#eef3ff; text-shadow:0 2px 10px rgba(8,20,55,.8); }
.cta-row { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:16px; }
.cta { display:inline-flex; align-items:center; gap:8px; padding:12px 26px; border-radius:999px; text-decoration:none; font-weight:800; font-size:clamp(14px,2.2vw,16px); border:0; cursor:pointer; box-shadow:0 4px 18px rgba(0,0,0,.4); font-family:inherit; }
.cta--yt { background:var(--red); color:#fff; }
.cta--yt:hover { background:#e60030; transform:translateY(-1px); }
.cta--member { background:var(--gold); color:var(--ink); }
.cta--member:hover { filter:brightness(1.05); transform:translateY(-1px); }
.cta[hidden] { display:none; }
.member-note { margin:12px 0 0; font-size:13px; color:#dbe4ff; text-shadow:0 2px 8px rgba(8,20,55,.8); }

/* watch (YouTube) section */
.watch { display:flex; flex-direction:column; align-items:center; gap:18px; width:100%; }
.sec { margin:8px 0 0; font-size:clamp(18px,3vw,24px); color:var(--gold); text-shadow:2px 2px 0 rgba(0,0,0,.3); }
.pls { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.pl { background:var(--gold); color:var(--ink); padding:9px 18px; border-radius:999px; text-decoration:none; font-weight:800; box-shadow:0 3px 12px rgba(0,0,0,.3); }
.pl:hover { filter:brightness(1.05); }
.grid { display:grid; gap:22px; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); width:100%; max-width:980px; }
.card { background:#fff; color:var(--ink); border-radius:16px; overflow:hidden; border:3px solid var(--ink); box-shadow:0 10px 28px rgba(8,20,55,.55); transition:transform .12s,box-shadow .12s; }
.card:hover { transform:translateY(-4px); box-shadow:0 12px 0 var(--gold),0 16px 30px rgba(8,20,55,.5); }
.hero { display:block; aspect-ratio:16/9; background:#0b1f47; }
.hero img { width:100%; height:100%; object-fit:cover; display:block; }
.hero.ph { display:flex; align-items:center; justify-content:center; color:#9fb0d0; font-weight:700; letter-spacing:.04em; }
.card h2 { margin:13px 16px 10px; font-size:20px; }
.chips { display:flex; gap:8px; flex-wrap:wrap; padding:0 16px 16px; }
.chip { display:inline-block; padding:7px 16px; border-radius:999px; background:var(--blue); color:#fff; text-decoration:none; font-weight:800; }
.chip:hover { background:#13408f; }
.chip.soon { background:#c9d2e6; color:#5a6b8c; pointer-events:none; }
.chip.dl { background:var(--gold); color:var(--ink); }
.chip.dl.locked { background:#e6e9f2; color:#8a97b4; }

footer { text-align:center; padding:18px 16px; color:#eef3ff; font-size:13px; line-height:1.6; text-shadow:0 2px 8px rgba(8,20,55,.8); }
footer a { color:var(--gold); }

/* account widget (top-right) — auth handled by account.js */
.acct { position:fixed; top:14px; right:16px; z-index:50; }
.acct__ava { width:42px; height:42px; border-radius:50%; border:2px solid var(--ink); cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.35); display:block; background:#fff; object-fit:cover; }
.acct__menu { position:absolute; top:54px; right:0; min-width:236px; background:#fff; color:var(--ink); border:2px solid var(--ink); border-radius:14px; box-shadow:0 12px 30px rgba(8,20,55,.5); padding:12px; display:none; }
.acct__menu.open { display:block; }
.acct__name { font-weight:800; font-size:14px; margin:0 0 2px; word-break:break-word; }
.acct__email { font-size:12px; color:#5a6b8c; margin:0 0 10px; word-break:break-word; }
.acct__sep { border:0; border-top:1px solid #e2e8f5; margin:8px 0; }
.acct__row { display:block; width:100%; text-align:left; background:none; border:0; padding:9px 6px; border-radius:8px; font:inherit; font-size:14px; color:var(--ink); cursor:pointer; }
.acct__row:hover { background:#eef3ff; }
