/* ═══════════════════════════════════════════════════
   100 SCI-FI / FANTASY THEMES
   ═══════════════════════════════════════════════════ */

/* ── STAR WARS ── */
[data-theme="tatooine"] { --crt-bg:#2a1410; --screen-bg:#1a0a08; --phosphor:#cc7744; --bright:#ff9955; --hotwhite:#ffddaa; --accent:#ff5522; --accent2:#ffcc66; --dim:#150806; --bezel:#aa8866; --bezel2:#664422; --key-face:#ddbb88; --key-shadow:#886644; --glow-color:rgba(255,153,85,0.55); }
[data-theme="deathstar"] { --crt-bg:#0a0a0a; --screen-bg:#050505; --phosphor:#444444; --bright:#888888; --hotwhite:#cccccc; --accent:#ff0000; --accent2:#ff6666; --dim:#0a0a0a; --bezel:#555555; --bezel2:#222222; --key-face:#888888; --key-shadow:#333333; --glow-color:rgba(255,0,0,0.45); }
[data-theme="jedi"] { --crt-bg:#000510; --screen-bg:#000308; --phosphor:#2266aa; --bright:#44aaff; --hotwhite:#ccffff; --accent:#ffffff; --accent2:#66ddff; --dim:#000204; --bezel:#aaaaaa; --bezel2:#555555; --key-face:#cccccc; --key-shadow:#666666; --glow-color:rgba(68,170,255,0.70); }
[data-theme="sith"] { --crt-bg:#0a0000; --screen-bg:#050000; --phosphor:#661111; --bright:#ff1122; --hotwhite:#ff6666; --accent:#ff0033; --accent2:#ffaa00; --dim:#050000; --bezel:#1a1a1a; --bezel2:#0a0a0a; --key-face:#333333; --key-shadow:#111111; --glow-color:rgba(255,17,34,0.65); }
[data-theme="hoth"] { --crt-bg:#c8e0f0; --screen-bg:#e0f0ff; --phosphor:#6699bb; --bright:#aaccee; --hotwhite:#eef6ff; --accent:#3377aa; --accent2:#88bbdd; --dim:#b0d0e8; --bezel:#aabbcc; --bezel2:#778899; --key-face:#ddeeff; --key-shadow:#99aabb; --glow-color:rgba(136,187,221,0.50); }
[data-theme="dagobah"] { --crt-bg:#0a1a08; --screen-bg:#040c02; --phosphor:#3a6e2a; --bright:#66bb44; --hotwhite:#aaeebb; --accent:#88ff55; --accent2:#aadd55; --dim:#020802; --bezel:#224422; --bezel2:#112211; --key-face:#557755; --key-shadow:#223322; --glow-color:rgba(102,187,68,0.55); }
[data-theme="cloudcity"] { --crt-bg:#1a1a2a; --screen-bg:#0a0a18; --phosphor:#5566aa; --bright:#aabbff; --hotwhite:#eeeeff; --accent:#ff8833; --accent2:#ffcc88; --dim:#060610; --bezel:#8888aa; --bezel2:#444466; --key-face:#bbbbdd; --key-shadow:#667788; --glow-color:rgba(170,187,255,0.55); }
[data-theme="endor"] { --crt-bg:#0d1a08; --screen-bg:#060f04; --phosphor:#447733; --bright:#77bb44; --hotwhite:#ccee99; --accent:#bbee33; --accent2:#eebb55; --dim:#030804; --bezel:#557733; --bezel2:#334422; --key-face:#99bb66; --key-shadow:#556633; --glow-color:rgba(187,238,51,0.50); }
[data-theme="mandalorian"] { --crt-bg:#0a0808; --screen-bg:#050505; --phosphor:#554433; --bright:#bb8855; --hotwhite:#ddaa77; --accent:#cc6611; --accent2:#ffcc55; --dim:#030303; --bezel:#443322; --bezel2:#221100; --key-face:#887766; --key-shadow:#443322; --glow-color:rgba(204,102,17,0.60); }
[data-theme="mustafar"] { --crt-bg:#150300; --screen-bg:#0a0100; --phosphor:#993311; --bright:#ff5511; --hotwhite:#ffaa44; --accent:#ffdd00; --accent2:#ff8800; --dim:#050000; --bezel:#441100; --bezel2:#220800; --key-face:#774422; --key-shadow:#331100; --glow-color:rgba(255,85,17,0.75); }

/* ── STAR TREK ── */
[data-theme="lcars"] { --crt-bg:#0a0a0a; --screen-bg:#000000; --phosphor:#cc99cc; --bright:#ff9966; --hotwhite:#ffcc99; --accent:#ffcc00; --accent2:#99ccff; --dim:#1a0a1a; --bezel:#888888; --bezel2:#444444; --key-face:#cccccc; --key-shadow:#555555; --glow-color:rgba(255,153,102,0.55); }
[data-theme="tos"] { --crt-bg:#0a0815; --screen-bg:#060818; --phosphor:#4477aa; --bright:#ffcc33; --hotwhite:#ffeeaa; --accent:#cc2233; --accent2:#66aaff; --dim:#0a0a18; --bezel:#999999; --bezel2:#555555; --key-face:#cccccc; --key-shadow:#666666; --glow-color:rgba(255,204,51,0.50); }
[data-theme="borg"] { --crt-bg:#050a05; --screen-bg:#020602; --phosphor:#225522; --bright:#44dd44; --hotwhite:#88ff88; --accent:#aaff00; --accent2:#cccccc; --dim:#010401; --bezel:#2a2a2a; --bezel2:#111111; --key-face:#444444; --key-shadow:#1a1a1a; --glow-color:rgba(68,221,68,0.65); }
[data-theme="ds9"] { --crt-bg:#100505; --screen-bg:#0a0202; --phosphor:#884422; --bright:#cc6633; --hotwhite:#ffaa66; --accent:#ffdd77; --accent2:#cc8844; --dim:#050100; --bezel:#554422; --bezel2:#331100; --key-face:#887755; --key-shadow:#443322; --glow-color:rgba(204,102,51,0.55); }
[data-theme="voyager"] { --crt-bg:#080818; --screen-bg:#040410; --phosphor:#334488; --bright:#5588cc; --hotwhite:#aaccff; --accent:#66aaff; --accent2:#88ffcc; --dim:#020210; --bezel:#445566; --bezel2:#223344; --key-face:#8899bb; --key-shadow:#445566; --glow-color:rgba(85,136,204,0.55); }
[data-theme="klingon"] { --crt-bg:#080008; --screen-bg:#040004; --phosphor:#440044; --bright:#990099; --hotwhite:#ee44ee; --accent:#ff00ff; --accent2:#aa0000; --dim:#020002; --bezel:#330033; --bezel2:#110011; --key-face:#550055; --key-shadow:#220022; --glow-color:rgba(153,0,153,0.65); }

/* ── LORD OF THE RINGS ── */
[data-theme="mordor"] { --crt-bg:#0a0000; --screen-bg:#050000; --phosphor:#882211; --bright:#ff4411; --hotwhite:#ffaa44; --accent:#ffcc00; --accent2:#ff6622; --dim:#050000; --bezel:#1a0a0a; --bezel2:#0a0000; --key-face:#2a1a1a; --key-shadow:#100505; --glow-color:rgba(255,68,17,0.70); }
[data-theme="rivendell"] { --crt-bg:#0a1818; --screen-bg:#051515; --phosphor:#338888; --bright:#66ccbb; --hotwhite:#ddffee; --accent:#ffcc66; --accent2:#aaeedd; --dim:#021010; --bezel:#aa9966; --bezel2:#776644; --key-face:#ccbb88; --key-shadow:#887755; --glow-color:rgba(102,204,187,0.55); }
[data-theme="shire"] { --crt-bg:#d0c090; --screen-bg:#e8dcb0; --phosphor:#557733; --bright:#779944; --hotwhite:#2a3318; --accent:#aa5522; --accent2:#cc8833; --dim:#c8b888; --bezel:#aa8855; --bezel2:#664422; --key-face:#ccaa77; --key-shadow:#886644; --glow-color:rgba(119,153,68,0.45); }
[data-theme="moria"] { --crt-bg:#050508; --screen-bg:#020204; --phosphor:#223366; --bright:#4466bb; --hotwhite:#aabbdd; --accent:#ff9933; --accent2:#cc7711; --dim:#010103; --bezel:#222244; --bezel2:#111122; --key-face:#445566; --key-shadow:#223344; --glow-color:rgba(255,153,51,0.55); }
[data-theme="lothlorien"] { --crt-bg:#0a1808; --screen-bg:#050f04; --phosphor:#336622; --bright:#88cc55; --hotwhite:#ccffaa; --accent:#ffee77; --accent2:#99ff66; --dim:#020802; --bezel:#446633; --bezel2:#224422; --key-face:#889966; --key-shadow:#445533; --glow-color:rgba(136,204,85,0.55); }
[data-theme="gondor"] { --crt-bg:#0a0a10; --screen-bg:#060608; --phosphor:#555566; --bright:#aaaacc; --hotwhite:#eeeeff; --accent:#ffdd55; --accent2:#ffffff; --dim:#030306; --bezel:#666677; --bezel2:#333344; --key-face:#9999bb; --key-shadow:#445566; --glow-color:rgba(255,221,85,0.55); }
[data-theme="rohan"] { --crt-bg:#180e04; --screen-bg:#0f0804; --phosphor:#886633; --bright:#ccaa55; --hotwhite:#eedd99; --accent:#ffcc33; --accent2:#cc8833; --dim:#080402; --bezel:#887755; --bezel2:#554433; --key-face:#bb9966; --key-shadow:#776644; --glow-color:rgba(204,170,85,0.55); }
[data-theme="isengard"] { --crt-bg:#080808; --screen-bg:#040404; --phosphor:#445544; --bright:#667766; --hotwhite:#99aa99; --accent:#ff4422; --accent2:#cc3311; --dim:#020202; --bezel:#334433; --bezel2:#112211; --key-face:#556655; --key-shadow:#223322; --glow-color:rgba(255,68,34,0.50); }

/* ── FINAL FANTASY ── */
[data-theme="ff7"] { --crt-bg:#0a0a0a; --screen-bg:#050505; --phosphor:#226633; --bright:#44ddaa; --hotwhite:#aaffdd; --accent:#66ff88; --accent2:#ffcc33; --dim:#020404; --bezel:#333333; --bezel2:#161616; --key-face:#555555; --key-shadow:#222222; --glow-color:rgba(68,221,170,0.60); }
[data-theme="ff6"] { --crt-bg:#050518; --screen-bg:#02020f; --phosphor:#334488; --bright:#6677cc; --hotwhite:#aabbff; --accent:#ff77aa; --accent2:#aaccff; --dim:#010108; --bezel:#334466; --bezel2:#112244; --key-face:#778899; --key-shadow:#334455; --glow-color:rgba(102,119,204,0.55); }
[data-theme="crystarium"] { --crt-bg:#050010; --screen-bg:#020008; --phosphor:#4422aa; --bright:#8855ff; --hotwhite:#ccaaff; --accent:#ffaaee; --accent2:#88eeff; --dim:#010005; --bezel:#332266; --bezel2:#110033; --key-face:#665588; --key-shadow:#332244; --glow-color:rgba(136,85,255,0.65); }
[data-theme="ivalice"] { --crt-bg:#0a0808; --screen-bg:#060404; --phosphor:#553322; --bright:#aa6644; --hotwhite:#ddaa88; --accent:#ffaa55; --accent2:#ddcc88; --dim:#030202; --bezel:#554433; --bezel2:#332211; --key-face:#887766; --key-shadow:#443322; --glow-color:rgba(255,170,85,0.55); }
[data-theme="spira"] { --crt-bg:#040818; --screen-bg:#020410; --phosphor:#224488; --bright:#4488cc; --hotwhite:#aaccff; --accent:#55ddff; --accent2:#ffaa44; --dim:#010208; --bezel:#224466; --bezel2:#112233; --key-face:#6688aa; --key-shadow:#334455; --glow-color:rgba(85,221,255,0.55); }
[data-theme="chocobo"] { --crt-bg:#4a3015; --screen-bg:#2a1a08; --phosphor:#aa7733; --bright:#ffdd44; --hotwhite:#ffeebb; --accent:#ff6611; --accent2:#88cc44; --dim:#1a1004; --bezel:#886644; --bezel2:#443322; --key-face:#ccaa66; --key-shadow:#775533; --glow-color:rgba(255,221,68,0.60); }

/* ── DUNE ── */
[data-theme="arrakis"] { --crt-bg:#1a1000; --screen-bg:#100900; --phosphor:#aa7722; --bright:#ddaa33; --hotwhite:#ffdd88; --accent:#ff9900; --accent2:#eecc66; --dim:#0a0600; --bezel:#996633; --bezel2:#664422; --key-face:#ccaa55; --key-shadow:#886633; --glow-color:rgba(221,170,51,0.65); }
[data-theme="harkonnen"] { --crt-bg:#050000; --screen-bg:#030000; --phosphor:#550011; --bright:#aa0022; --hotwhite:#ee3344; --accent:#ff0033; --accent2:#880011; --dim:#020000; --bezel:#220008; --bezel2:#110004; --key-face:#440011; --key-shadow:#220008; --glow-color:rgba(170,0,34,0.70); }
[data-theme="atreides"] { --crt-bg:#000510; --screen-bg:#000308; --phosphor:#224466; --bright:#3366aa; --hotwhite:#88aacc; --accent:#5599dd; --accent2:#aaccee; --dim:#000205; --bezel:#334455; --bezel2:#112233; --key-face:#6688aa; --key-shadow:#334455; --glow-color:rgba(85,153,221,0.55); }
[data-theme="spicemeld"] { --crt-bg:#180a00; --screen-bg:#0f0600; --phosphor:#994400; --bright:#ff7700; --hotwhite:#ffbb55; --accent:#ffee00; --accent2:#ff9933; --dim:#080300; --bezel:#774400; --bezel2:#441100; --key-face:#aa6622; --key-shadow:#663311; --glow-color:rgba(255,119,0,0.70); }

/* ── MATRIX ── */
[data-theme="matrix"] { --crt-bg:#000800; --screen-bg:#000400; --phosphor:#003300; --bright:#00cc00; --hotwhite:#00ff44; --accent:#00ff00; --accent2:#88ff55; --dim:#001100; --bezel:#003300; --bezel2:#001100; --key-face:#005500; --key-shadow:#002200; --glow-color:rgba(0,204,0,0.70); }
[data-theme="zion"] { --crt-bg:#100a00; --screen-bg:#090600; --phosphor:#664422; --bright:#cc8844; --hotwhite:#eeaa66; --accent:#ffbb55; --accent2:#cc9933; --dim:#050300; --bezel:#554422; --bezel2:#332211; --key-face:#887755; --key-shadow:#443322; --glow-color:rgba(204,136,68,0.55); }

/* ── BLADE RUNNER ── */
[data-theme="neonoir"] { --crt-bg:#080008; --screen-bg:#040004; --phosphor:#440055; --bright:#cc22ee; --hotwhite:#ff88ff; --accent:#ff3399; --accent2:#ffaa00; --dim:#020002; --bezel:#330033; --bezel2:#110011; --key-face:#550055; --key-shadow:#220022; --glow-color:rgba(204,34,238,0.65); }
[data-theme="tyrell"] { --crt-bg:#0a0800; --screen-bg:#060400; --phosphor:#554400; --bright:#ccaa00; --hotwhite:#ffdd33; --accent:#ffbb00; --accent2:#ff8833; --dim:#030200; --bezel:#443300; --bezel2:#221100; --key-face:#887722; --key-shadow:#443311; --glow-color:rgba(204,170,0,0.60); }

/* ── ALIEN / PROMETHEUS ── */
[data-theme="xenomorph"] { --crt-bg:#040808; --screen-bg:#020505; --phosphor:#1a4433; --bright:#33aa77; --hotwhite:#77ddaa; --accent:#00ffaa; --accent2:#55ddbb; --dim:#010303; --bezel:#1a3322; --bezel2:#0a1a11; --key-face:#336655; --key-shadow:#1a3322; --glow-color:rgba(51,170,119,0.65); }
[data-theme="weyland"] { --crt-bg:#080808; --screen-bg:#040404; --phosphor:#334444; --bright:#668888; --hotwhite:#aabbbb; --accent:#66cccc; --accent2:#aadddd; --dim:#020202; --bezel:#334444; --bezel2:#112222; --key-face:#556666; --key-shadow:#223333; --glow-color:rgba(102,204,204,0.55); }

/* ── TRON ── */
[data-theme="tron"] { --crt-bg:#000810; --screen-bg:#000408; --phosphor:#003355; --bright:#0088cc; --hotwhite:#55ccff; --accent:#00ffff; --accent2:#0055ff; --dim:#000205; --bezel:#003344; --bezel2:#001122; --key-face:#005566; --key-shadow:#002233; --glow-color:rgba(0,255,255,0.70); }
[data-theme="tronlegacy"] { --crt-bg:#000005; --screen-bg:#000002; --phosphor:#110033; --bright:#3322aa; --hotwhite:#6655ff; --accent:#ff6600; --accent2:#ff9933; --dim:#000001; --bezel:#110022; --bezel2:#050011; --key-face:#221144; --key-shadow:#110022; --glow-color:rgba(255,102,0,0.65); }

/* ── MASS EFFECT ── */
[data-theme="normandy"] { --crt-bg:#000508; --screen-bg:#000205; --phosphor:#002244; --bright:#0055aa; --hotwhite:#4499dd; --accent:#00aaff; --accent2:#ff6633; --dim:#000103; --bezel:#003355; --bezel2:#001122; --key-face:#224466; --key-shadow:#112233; --glow-color:rgba(0,170,255,0.65); }
[data-theme="geth"] { --crt-bg:#060800; --screen-bg:#030400; --phosphor:#334400; --bright:#88aa00; --hotwhite:#ccdd33; --accent:#aaff00; --accent2:#ffee55; --dim:#010200; --bezel:#334400; --bezel2:#112200; --key-face:#557722; --key-shadow:#334411; --glow-color:rgba(136,170,0,0.65); }
[data-theme="illusive"] { --crt-bg:#000008; --screen-bg:#000005; --phosphor:#220044; --bright:#7722bb; --hotwhite:#bb66ff; --accent:#ff2266; --accent2:#ff88aa; --dim:#000003; --bezel:#220033; --bezel2:#110022; --key-face:#441155; --key-shadow:#220033; --glow-color:rgba(119,34,187,0.65); }

/* ── HALO ── */
[data-theme="covenant"] { --crt-bg:#020008; --screen-bg:#010004; --phosphor:#220055; --bright:#6600cc; --hotwhite:#bb55ff; --accent:#aa00ff; --accent2:#ff9900; --dim:#010002; --bezel:#220044; --bezel2:#110022; --key-face:#441166; --key-shadow:#220033; --glow-color:rgba(102,0,204,0.65); }
[data-theme="unsc"] { --crt-bg:#080808; --screen-bg:#040404; --phosphor:#334444; --bright:#557788; --hotwhite:#99aaaa; --accent:#66ffcc; --accent2:#99ddbb; --dim:#020202; --bezel:#334455; --bezel2:#112233; --key-face:#557766; --key-shadow:#334455; --glow-color:rgba(102,255,204,0.50); }
[data-theme="forerunner"] { --crt-bg:#000808; --screen-bg:#000504; --phosphor:#1a5544; --bright:#44ddaa; --hotwhite:#88ffdd; --accent:#55ffee; --accent2:#ffddaa; --dim:#000302; --bezel:#1a4433; --bezel2:#0a2222; --key-face:#336655; --key-shadow:#1a3333; --glow-color:rgba(68,221,170,0.65); }

/* ── DARK SOULS / ELDEN RING ── */
[data-theme="lordran"] { --crt-bg:#050302; --screen-bg:#030200; --phosphor:#443322; --bright:#887755; --hotwhite:#ccbb99; --accent:#ddaa55; --accent2:#cc8833; --dim:#020100; --bezel:#332211; --bezel2:#221100; --key-face:#665544; --key-shadow:#332211; --glow-color:rgba(136,119,85,0.55); }
[data-theme="eldenring"] { --crt-bg:#080400; --screen-bg:#050200; --phosphor:#664411; --bright:#cc8833; --hotwhite:#ffcc66; --accent:#ffdd33; --accent2:#cc9900; --dim:#030100; --bezel:#552211; --bezel2:#330a00; --key-face:#885522; --key-shadow:#442211; --glow-color:rgba(255,221,51,0.65); }
[data-theme="farummazula"] { --crt-bg:#0a0510; --screen-bg:#060308; --phosphor:#4a2255; --bright:#9944bb; --hotwhite:#ddaaff; --accent:#cc55ff; --accent2:#ff9933; --dim:#030105; --bezel:#442255; --bezel2:#220033; --key-face:#663377; --key-shadow:#331144; --glow-color:rgba(153,68,187,0.60); }

/* ── WARCRAFT / WORLD OF WARCRAFT ── */
[data-theme="stormwind"] { --crt-bg:#040810; --screen-bg:#020408; --phosphor:#224488; --bright:#3366cc; --hotwhite:#aabbee; --accent:#ffdd33; --accent2:#ff8833; --dim:#010206; --bezel:#335588; --bezel2:#112244; --key-face:#6688bb; --key-shadow:#334466; --glow-color:rgba(255,221,51,0.55); }
[data-theme="orgrimmar"] { --crt-bg:#100300; --screen-bg:#080100; --phosphor:#772200; --bright:#cc3300; --hotwhite:#ff7744; --accent:#ff4411; --accent2:#cc6600; --dim:#050100; --bezel:#661100; --bezel2:#330800; --key-face:#993322; --key-shadow:#551100; --glow-color:rgba(204,51,0,0.60); }
[data-theme="dalaran"] { --crt-bg:#080018; --screen-bg:#040010; --phosphor:#3322aa; --bright:#7766ee; --hotwhite:#bbaaff; --accent:#aa88ff; --accent2:#ffddaa; --dim:#020008; --bezel:#443388; --bezel2:#221155; --key-face:#6655aa; --key-shadow:#332266; --glow-color:rgba(119,102,238,0.60); }
[data-theme="undercity"] { --crt-bg:#040810; --screen-bg:#020408; --phosphor:#224422; --bright:#44aa44; --hotwhite:#88ee88; --accent:#55ff55; --accent2:#aaffaa; --dim:#010204; --bezel:#223322; --bezel2:#112211; --key-face:#446644; --key-shadow:#223322; --glow-color:rgba(68,170,68,0.60); }

/* ── DIABLO ── */
[data-theme="sanctuary"] { --crt-bg:#080000; --screen-bg:#040000; --phosphor:#551100; --bright:#bb2200; --hotwhite:#ff5533; --accent:#ff2200; --accent2:#ff6600; --dim:#020000; --bezel:#330000; --bezel2:#1a0000; --key-face:#441100; --key-shadow:#220800; --glow-color:rgba(187,34,0,0.70); }
[data-theme="diablo4"] { --crt-bg:#050005; --screen-bg:#030003; --phosphor:#440033; --bright:#991155; --hotwhite:#ee4488; --accent:#cc0044; --accent2:#ff6699; --dim:#020002; --bezel:#330022; --bezel2:#110011; --key-face:#550033; --key-shadow:#220011; --glow-color:rgba(153,17,85,0.65); }

/* ── CYBERPUNK ── */
[data-theme="nightcity"] { --crt-bg:#000510; --screen-bg:#000208; --phosphor:#001144; --bright:#0033aa; --hotwhite:#55aaff; --accent:#ff00aa; --accent2:#ffee00; --dim:#000105; --bezel:#001133; --bezel2:#000511; --key-face:#002255; --key-shadow:#001122; --glow-color:rgba(255,0,170,0.65); }
[data-theme="maelstrom"] { --crt-bg:#040008; --screen-bg:#020004; --phosphor:#220044; --bright:#660099; --hotwhite:#cc44ff; --accent:#ff0099; --accent2:#00ffcc; --dim:#010002; --bezel:#220033; --bezel2:#110022; --key-face:#440066; --key-shadow:#220033; --glow-color:rgba(255,0,153,0.65); }

/* ── WITCHER ── */
[data-theme="kaermorhen"] { --crt-bg:#040810; --screen-bg:#020406; --phosphor:#223344; --bright:#445566; --hotwhite:#8899aa; --accent:#ccaa55; --accent2:#887755; --dim:#010204; --bezel:#334455; --bezel2:#112233; --key-face:#556677; --key-shadow:#334455; --glow-color:rgba(204,170,85,0.50); }
[data-theme="nilfgaard"] { --crt-bg:#050400; --screen-bg:#030200; --phosphor:#443311; --bright:#998833; --hotwhite:#ddcc55; --accent:#ffdd00; --accent2:#ccaa22; --dim:#020100; --bezel:#332200; --bezel2:#221100; --key-face:#776633; --key-shadow:#443322; --glow-color:rgba(153,136,51,0.60); }

/* ── GAME OF THRONES ── */
[data-theme="winterfell"] { --crt-bg:#080a10; --screen-bg:#040508; --phosphor:#334455; --bright:#6677aa; --hotwhite:#aabbdd; --accent:#aabbcc; --accent2:#778899; --dim:#020305; --bezel:#334455; --bezel2:#112233; --key-face:#556677; --key-shadow:#334455; --glow-color:rgba(102,119,170,0.55); }
[data-theme="dragonstone"] { --crt-bg:#050008; --screen-bg:#030004; --phosphor:#220033; --bright:#660099; --hotwhite:#aa55dd; --accent:#ff2266; --accent2:#cc0055; --dim:#010002; --bezel:#220033; --bezel2:#110022; --key-face:#440055; --key-shadow:#220033; --glow-color:rgba(102,0,153,0.65); }
[data-theme="kingslanding"] { --crt-bg:#100800; --screen-bg:#080500; --phosphor:#886611; --bright:#ddaa33; --hotwhite:#ffdd77; --accent:#ffcc00; --accent2:#ff9933; --dim:#040200; --bezel:#886622; --bezel2:#553311; --key-face:#bbaa44; --key-shadow:#776622; --glow-color:rgba(221,170,51,0.60); }

/* ── ADVENTURE TIME ── */
[data-theme="candykingdom"] { --crt-bg:#ffaadd; --screen-bg:#ffccee; --phosphor:#cc4488; --bright:#ff66bb; --hotwhite:#ffffff; --accent:#00ccdd; --accent2:#ffee66; --dim:#ee99cc; --bezel:#cccccc; --bezel2:#888888; --key-face:#eeeeee; --key-shadow:#888888; --glow-color:rgba(255,102,187,0.55); }
[data-theme="ooo"] { --crt-bg:#ffeecc; --screen-bg:#fff5dd; --phosphor:#cc6699; --bright:#ff8855; --hotwhite:#ffffff; --accent:#66cc55; --accent2:#aa66cc; --dim:#ffd8a8; --bezel:#ddccaa; --bezel2:#998866; --key-face:#f0e0c0; --key-shadow:#aa9977; --glow-color:rgba(255,136,85,0.50); }
[data-theme="nightosphere"] { --crt-bg:#000008; --screen-bg:#000004; --phosphor:#220044; --bright:#660088; --hotwhite:#cc33ff; --accent:#ff0088; --accent2:#aa00cc; --dim:#000002; --bezel:#110033; --bezel2:#050011; --key-face:#330055; --key-shadow:#110022; --glow-color:rgba(204,51,255,0.65); }

/* ── STUDIO GHIBLI ── */
[data-theme="spirited"] { --crt-bg:#000818; --screen-bg:#000410; --phosphor:#1a3366; --bright:#3366aa; --hotwhite:#88aadd; --accent:#ff4444; --accent2:#ffcc22; --dim:#000208; --bezel:#224466; --bezel2:#112233; --key-face:#6688aa; --key-shadow:#334455; --glow-color:rgba(255,68,68,0.55); }
[data-theme="nausicaa"] { --crt-bg:#080e00; --screen-bg:#040800; --phosphor:#446622; --bright:#88bb33; --hotwhite:#ccee77; --accent:#aadd33; --accent2:#ffee55; --dim:#020400; --bezel:#446622; --bezel2:#224411; --key-face:#778844; --key-shadow:#445522; --glow-color:rgba(136,187,51,0.55); }
[data-theme="howlscastle"] { --crt-bg:#080408; --screen-bg:#050205; --phosphor:#553344; --bright:#aa6688; --hotwhite:#ddaacc; --accent:#ff77bb; --accent2:#ffaa55; --dim:#030103; --bezel:#442233; --bezel2:#221122; --key-face:#775566; --key-shadow:#443344; --glow-color:rgba(255,119,187,0.55); }

/* ── ZELDA ── */
[data-theme="hyrule"] { --crt-bg:#080500; --screen-bg:#050300; --phosphor:#665500; --bright:#ccaa00; --hotwhite:#ffee44; --accent:#ffdd00; --accent2:#55cc33; --dim:#030200; --bezel:#665522; --bezel2:#332211; --key-face:#998833; --key-shadow:#554422; --glow-color:rgba(255,221,0,0.60); }
[data-theme="twilight"] { --crt-bg:#080008; --screen-bg:#040004; --phosphor:#440066; --bright:#9933cc; --hotwhite:#cc66ff; --accent:#aa00ff; --accent2:#ff9900; --dim:#020002; --bezel:#330055; --bezel2:#110022; --key-face:#552277; --key-shadow:#221133; --glow-color:rgba(153,51,204,0.65); }
[data-theme="gerudo"] { --crt-bg:#150800; --screen-bg:#0d0500; --phosphor:#aa5500; --bright:#ee8822; --hotwhite:#ffcc66; --accent:#ffaa00; --accent2:#ee4422; --dim:#080200; --bezel:#885522; --bezel2:#442211; --key-face:#bb7733; --key-shadow:#773311; --glow-color:rgba(238,136,34,0.65); }

/* ── METROID ── */
[data-theme="chozo"] { --crt-bg:#000808; --screen-bg:#000405; --phosphor:#1a4433; --bright:#33aa88; --hotwhite:#88ddcc; --accent:#00ffcc; --accent2:#ff5500; --dim:#000202; --bezel:#1a3322; --bezel2:#0a1a11; --key-face:#336655; --key-shadow:#1a3322; --glow-color:rgba(0,255,204,0.65); }
[data-theme="phazon"] { --crt-bg:#000510; --screen-bg:#000208; --phosphor:#001155; --bright:#0033cc; --hotwhite:#4488ff; --accent:#00aaff; --accent2:#00ffee; --dim:#000105; --bezel:#001144; --bezel2:#000522; --key-face:#002266; --key-shadow:#001133; --glow-color:rgba(0,170,255,0.70); }

/* ── BATTLESTAR GALACTICA ── */
[data-theme="galactica"] { --crt-bg:#080800; --screen-bg:#050500; --phosphor:#665500; --bright:#ccaa00; --hotwhite:#ffdd55; --accent:#ffbb00; --accent2:#ff6611; --dim:#030300; --bezel:#554400; --bezel2:#332200; --key-face:#998822; --key-shadow:#554411; --glow-color:rgba(204,170,0,0.60); }
[data-theme="cylon"] { --crt-bg:#050000; --screen-bg:#030000; --phosphor:#550000; --bright:#cc0000; --hotwhite:#ff3333; --accent:#ff0000; --accent2:#ff6600; --dim:#020000; --bezel:#330000; --bezel2:#1a0000; --key-face:#440000; --key-shadow:#220000; --glow-color:rgba(204,0,0,0.75); }

/* ── FIREFLY / SERENITY ── */
[data-theme="serenity"] { --crt-bg:#100800; --screen-bg:#0a0500; --phosphor:#775533; --bright:#cc8844; --hotwhite:#eeaa66; --accent:#ffaa33; --accent2:#aaccee; --dim:#060300; --bezel:#664422; --bezel2:#331100; --key-face:#996644; --key-shadow:#552233; --glow-color:rgba(204,136,68,0.55); }

/* ── DOCTOR WHO ── */
[data-theme="tardis"] { --crt-bg:#000510; --screen-bg:#000308; --phosphor:#002266; --bright:#0044cc; --hotwhite:#4488ff; --accent:#55aaff; --accent2:#ffffff; --dim:#000102; --bezel:#002244; --bezel2:#001122; --key-face:#224466; --key-shadow:#112233; --glow-color:rgba(85,170,255,0.65); }
[data-theme="dalek"] { --crt-bg:#080400; --screen-bg:#050200; --phosphor:#665511; --bright:#ddaa22; --hotwhite:#ffdd55; --accent:#ffcc00; --accent2:#cc4411; --dim:#030100; --bezel:#554411; --bezel2:#331100; --key-face:#998822; --key-shadow:#554411; --glow-color:rgba(221,170,34,0.65); }

/* ── DUNGEONS & DRAGONS ── */
[data-theme="baldursgate"] { --crt-bg:#040810; --screen-bg:#020406; --phosphor:#223355; --bright:#446699; --hotwhite:#99aacc; --accent:#ffcc55; --accent2:#cc8833; --dim:#010204; --bezel:#334466; --bezel2:#112244; --key-face:#556688; --key-shadow:#334455; --glow-color:rgba(255,204,85,0.55); }
[data-theme="neverwinter"] { --crt-bg:#050008; --screen-bg:#030004; --phosphor:#330055; --bright:#7722aa; --hotwhite:#bb66ee; --accent:#aa44dd; --accent2:#ffaa44; --dim:#010002; --bezel:#330044; --bezel2:#110022; --key-face:#551177; --key-shadow:#220044; --glow-color:rgba(119,34,170,0.65); }
[data-theme="ravenloft"] { --crt-bg:#030008; --screen-bg:#020005; --phosphor:#2a0033; --bright:#661188; --hotwhite:#aa44cc; --accent:#ee0077; --accent2:#cc3333; --dim:#010003; --bezel:#220033; --bezel2:#110022; --key-face:#440055; --key-shadow:#220033; --glow-color:rgba(238,0,119,0.65); }

/* ── MARVEL / COMICS ── */
[data-theme="asgard"] { --crt-bg:#060400; --screen-bg:#040200; --phosphor:#665522; --bright:#ccaa33; --hotwhite:#ffdd66; --accent:#ffcc00; --accent2:#cc5522; --dim:#020100; --bezel:#554422; --bezel2:#221100; --key-face:#887733; --key-shadow:#443322; --glow-color:rgba(255,204,0,0.60); }
[data-theme="hydra"] { --crt-bg:#050800; --screen-bg:#030400; --phosphor:#334400; --bright:#778800; --hotwhite:#aacc00; --accent:#88bb00; --accent2:#cc4400; --dim:#010200; --bezel:#334400; --bezel2:#112200; --key-face:#556611; --key-shadow:#223300; --glow-color:rgba(136,187,0,0.60); }

/* ── MISC SCI-FI ── */
[data-theme="iridium"] { --crt-bg:#000818; --screen-bg:#000410; --phosphor:#003366; --bright:#0066cc; --hotwhite:#55aaee; --accent:#33ddff; --accent2:#ff5533; --dim:#000205; --bezel:#002244; --bezel2:#001122; --key-face:#224466; --key-shadow:#112233; --glow-color:rgba(51,221,255,0.65); }
[data-theme="necromorph"] { --crt-bg:#000200; --screen-bg:#000100; --phosphor:#002200; --bright:#005500; --hotwhite:#33aa33; --accent:#55ff33; --accent2:#ff3300; --dim:#000100; --bezel:#002200; --bezel2:#001100; --key-face:#003300; --key-shadow:#001100; --glow-color:rgba(85,255,51,0.60); }
[data-theme="prism"] { --crt-bg:#050010; --screen-bg:#030008; --phosphor:#220055; --bright:#5533cc; --hotwhite:#aa88ff; --accent:#ff33ff; --accent2:#33ffff; --dim:#010005; --bezel:#220044; --bezel2:#110022; --key-face:#441166; --key-shadow:#220033; --glow-color:rgba(255,51,255,0.60); }
[data-theme="void"] { --crt-bg:#000000; --screen-bg:#000000; --phosphor:#1a1a2a; --bright:#333366; --hotwhite:#6666aa; --accent:#5555ff; --accent2:#aaaaff; --dim:#000000; --bezel:#111111; --bezel2:#050505; --key-face:#222233; --key-shadow:#111122; --glow-color:rgba(85,85,255,0.55); }
[data-theme="solaris"] { --crt-bg:#100800; --screen-bg:#0a0500; --phosphor:#883300; --bright:#ee7700; --hotwhite:#ffcc44; --accent:#ffaa00; --accent2:#ff5533; --dim:#050200; --bezel:#662200; --bezel2:#330000; --key-face:#994411; --key-shadow:#551100; --glow-color:rgba(238,119,0,0.65); }

/* ── MYTHOLOGY / ANCIENT ── */
[data-theme="olympus"] { --crt-bg:#080808; --screen-bg:#040404; --phosphor:#554400; --bright:#ccaa00; --hotwhite:#ffee55; --accent:#ffdd00; --accent2:#aaaaff; --dim:#020202; --bezel:#554422; --bezel2:#332211; --key-face:#887733; --key-shadow:#443322; --glow-color:rgba(255,221,0,0.60); }
[data-theme="valhalla"] { --crt-bg:#080408; --screen-bg:#040204; --phosphor:#333355; --bright:#6666bb; --hotwhite:#aaaaee; --accent:#ccccff; --accent2:#ffaa44; --dim:#020102; --bezel:#333355; --bezel2:#112233; --key-face:#556688; --key-shadow:#334455; --glow-color:rgba(102,102,187,0.60); }
[data-theme="helios"] { --crt-bg:#100800; --screen-bg:#0a0400; --phosphor:#aa6600; --bright:#ffaa00; --hotwhite:#ffee77; --accent:#ffdd00; --accent2:#ff8800; --dim:#050200; --bezel:#885522; --bezel2:#441100; --key-face:#cc9933; --key-shadow:#775522; --glow-color:rgba(255,170,0,0.70); }

/* ── MISC FANTASY ── */
[data-theme="dragonfire"] { --crt-bg:#150500; --screen-bg:#0a0200; --phosphor:#cc5511; --bright:#ff8822; --hotwhite:#ffdd66; --accent:#ffee00; --accent2:#ff3300; --dim:#050100; --bezel:#553311; --bezel2:#221100; --key-face:#886633; --key-shadow:#443322; --glow-color:rgba(255,136,34,0.70); }
[data-theme="faerun"] { --crt-bg:#050a10; --screen-bg:#030608; --phosphor:#224455; --bright:#4488aa; --hotwhite:#99ccdd; --accent:#55bbdd; --accent2:#ffdd55; --dim:#010305; --bezel:#224455; --bezel2:#112233; --key-face:#446677; --key-shadow:#223344; --glow-color:rgba(85,187,221,0.55); }
[data-theme="shadowfell"] { --crt-bg:#030308; --screen-bg:#010104; --phosphor:#221133; --bright:#553366; --hotwhite:#9966aa; --accent:#cc55ff; --accent2:#667799; --dim:#000002; --bezel:#221133; --bezel2:#110022; --key-face:#443355; --key-shadow:#221133; --glow-color:rgba(204,85,255,0.60); }
[data-theme="stasis"] { --crt-bg:#000a10; --screen-bg:#000508; --phosphor:#003344; --bright:#0077aa; --hotwhite:#55bbdd; --accent:#00ddff; --accent2:#ff8833; --dim:#000205; --bezel:#003344; --bezel2:#001122; --key-face:#225566; --key-shadow:#112233; --glow-color:rgba(0,221,255,0.65); }
[data-theme="wraithbone"] { --crt-bg:#0e0800; --screen-bg:#080500; --phosphor:#554422; --bright:#aa8855; --hotwhite:#ddc98e; --accent:#ffcc77; --accent2:#aa6633; --dim:#040200; --bezel:#554433; --bezel2:#221100; --key-face:#887755; --key-shadow:#443322; --glow-color:rgba(255,204,119,0.55); }
[data-theme="gridfall"] { --crt-bg:#000005; --screen-bg:#000003; --phosphor:#0a0033; --bright:#2211bb; --hotwhite:#6655ff; --accent:#ff3399; --accent2:#33ffcc; --dim:#000001; --bezel:#110033; --bezel2:#050011; --key-face:#220055; --key-shadow:#110022; --glow-color:rgba(255,51,153,0.65); }
[data-theme="starchart"] { --crt-bg:#000208; --screen-bg:#000105; --phosphor:#1a1a55; --bright:#4444aa; --hotwhite:#aaaaff; --accent:#7777ff; --accent2:#ffdd88; --dim:#000003; --bezel:#1a1a44; --bezel2:#050522; --key-face:#222266; --key-shadow:#111133; --glow-color:rgba(119,119,255,0.60); }

/* ═══════════════════════════════════════════════════
   GLOBAL LAYOUT & COMPONENT STYLES (UNCHANGED)
   ═══════════════════════════════════════════════════ */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
    body { font-family: 'Share Tech Mono', monospace; display: block; background: var(--screen-bg); position: relative; transition: background 0.5s; }

    #monitor { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: stretch; background: linear-gradient(160deg, color-mix(in srgb, var(--bezel) 90%, white) 0%, var(--bezel) 40%, var(--bezel2) 100%); padding: 0; transition: background 0.5s; }
    #monitor-brand { font-family: 'Share Tech Mono', monospace; font-size: 8px; letter-spacing: 5px; color: var(--bezel2); text-transform: uppercase; text-align: center; padding: 5px 0 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--bezel) 95%, white) 0%, var(--bezel2) 100%); border-bottom: 2px solid var(--bezel2); text-shadow: 0 1px 0 rgba(255,255,255,0.2); user-select: none; flex-shrink: 0; }

    #screen { position: relative; width: 100%; flex: 1; min-height: 0; background: var(--screen-bg); border-radius: 0; overflow: hidden; box-shadow: inset 0 0 70px rgba(0,0,0,0.6), inset 0 0 130px rgba(0,0,0,0.3); transition: background 0.5s; }
    #screen::before { content: ''; position: absolute; inset: 0; background: linear-gradient(130deg, rgba(255,255,255,0.05) 0%, transparent 35%, transparent 65%, rgba(255,255,255,0.02) 100%); pointer-events: none; z-index: 100; }
    #vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.70) 100%); pointer-events: none; z-index: 98; }

    #bezel-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; background: linear-gradient(0deg, var(--bezel2) 0%, color-mix(in srgb, var(--bezel) 90%, white) 100%); border-top: 2px solid var(--bezel2); padding: 7px 120px; flex-shrink: 0; position: relative; }
    .power-led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent), 0 0 16px var(--glow-color); animation: led-pulse 2.4s ease-in-out infinite; }
    @keyframes led-pulse { 0%,100%{opacity:1;} 50%{opacity:0.45;} }
    .bezel-label { font-family: 'Share Tech Mono', monospace; font-size: 8px; letter-spacing: 4px; color: var(--bezel2); text-transform: uppercase; text-shadow: 0 1px 0 rgba(255,255,255,0.18); user-select: none; }

    /* ── Theme button ── */
    #theme-toggle { position: absolute; bottom: 6px; left: 14px; z-index: 300; font-family: 'Share Tech Mono', monospace; font-size: 9px; background: var(--accent); color: #fff; border: none; border-bottom: 4px solid color-mix(in srgb, var(--accent) 55%, #000); border-right: 2px solid color-mix(in srgb, var(--accent) 55%, #000); padding: 6px 14px 8px; cursor: pointer; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; box-shadow: 0 0 10px var(--accent), 0 0 22px color-mix(in srgb, var(--accent) 50%, transparent); transition: background 0.15s, box-shadow 0.15s, transform 0.1s; line-height: 1.5; white-space: nowrap; animation: btn-breathe 2.5s ease-in-out infinite alternate; }
    @keyframes btn-breathe { from{box-shadow:0 0 8px var(--accent),0 0 18px color-mix(in srgb,var(--accent) 45%,transparent);} to{box-shadow:0 0 16px var(--accent),0 0 36px color-mix(in srgb,var(--accent) 65%,transparent);} }
    #theme-toggle:hover { background: color-mix(in srgb, var(--accent) 80%, white); }
    #theme-toggle:active { transform: translateY(2px); border-bottom-width: 2px; }
    #theme-readout { display: block; font-size: 7px; color: rgba(255,255,255,0.75); margin-top: 2px; text-align: center; letter-spacing: 1px; }

    /* ── Theme popup ── */
    #theme-popup { position: absolute; bottom: 56px; left: 14px; z-index: 400; width: 230px; background: color-mix(in srgb, var(--screen-bg) 94%, var(--dim)); border: 1px solid var(--phosphor); border-radius: 6px; box-shadow: 0 0 22px var(--glow-color), 0 8px 28px rgba(0,0,0,0.55), inset 0 0 14px color-mix(in srgb, var(--glow-color) 22%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 10px; transform-origin: bottom left; animation: theme-pop-in 0.18s ease-out; }
    #theme-popup[hidden] { display: none; }
    @keyframes theme-pop-in { from{opacity:0;transform:translateY(8px) scale(0.95);} to{opacity:1;transform:translateY(0) scale(1);} }
    #theme-popup::after { content: ''; position: absolute; bottom: -7px; left: 28px; width: 12px; height: 12px; background: color-mix(in srgb, var(--screen-bg) 94%, var(--dim)); border-right: 1px solid var(--phosphor); border-bottom: 1px solid var(--phosphor); transform: rotate(45deg); }
    .theme-popup-title { font-family: 'Share Tech Mono', monospace; font-size: 9px; letter-spacing: 3px; color: var(--accent2); text-transform: uppercase; padding: 4px 6px 8px; border-bottom: 1px dashed color-mix(in srgb, var(--phosphor) 60%, transparent); margin-bottom: 6px; text-align: center; user-select: none; }
    #theme-list { list-style: none; margin: 0; padding: 0; max-height: min(420px, 60vh); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--phosphor) transparent; }
    #theme-list::-webkit-scrollbar { width: 6px; }
    #theme-list::-webkit-scrollbar-thumb { background: var(--phosphor); border-radius: 3px; }
    #theme-list::-webkit-scrollbar-track { background: transparent; }
    .theme-group { font-family: 'Share Tech Mono', monospace; font-size: 8px; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; padding: 8px 8px 4px; margin-top: 4px; border-bottom: 1px dashed color-mix(in srgb, var(--phosphor) 50%, transparent); user-select: none; pointer-events: none; }
    .theme-group:first-child { margin-top: 0; }
    .theme-option { display: flex; align-items: center; gap: 8px; font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--bright); padding: 6px 8px; cursor: pointer; letter-spacing: 1px; text-transform: uppercase; border-radius: 3px; transition: background 0.12s, color 0.12s; user-select: none; }
    .theme-option:hover { background: color-mix(in srgb, var(--bright) 18%, transparent); color: var(--hotwhite); }
    .theme-option.active { background: var(--bright); color: var(--screen-bg); }
    .theme-swatch { width: 10px; height: 10px; border: 1px solid rgba(255,255,255,0.3); flex-shrink: 0; }
    .theme-option.active .theme-swatch { border-color: var(--screen-bg); }
    .theme-option-label { flex: 1; }
    .theme-option-check { font-size: 11px; opacity: 0; color: var(--screen-bg); }
    .theme-option.active .theme-option-check { opacity: 1; }

    /* ── Sticky links ── */
    #sticky-links { position: absolute; bottom: 6px; right: 14px; z-index: 300; display: flex; gap: 10px; }
    #sticky-links a { font-family: 'Share Tech Mono', monospace; font-size: 9px; color: #fff; text-decoration: none; border: none; border-radius: 4px; padding: 6px 14px 8px; cursor: pointer; letter-spacing: 1px; text-transform: uppercase; transition: filter 0.15s, transform 0.1s, box-shadow 0.15s; white-space: nowrap; }
    #sticky-links a.btn-linkedin { background: #0077b5; border-bottom: 4px solid #004e78; border-right: 2px solid #004e78; box-shadow: 0 0 10px rgba(0,119,181,0.7), 0 0 24px rgba(0,119,181,0.4); }
    #sticky-links a.btn-linkedin:hover { filter: brightness(1.25); box-shadow: 0 0 18px rgba(0,119,181,0.9), 0 0 40px rgba(0,119,181,0.6); }
    #sticky-links a.btn-resume { background: var(--accent2); color: #111; border-bottom: 4px solid color-mix(in srgb, var(--accent2) 55%, #000); border-right: 2px solid color-mix(in srgb, var(--accent2) 55%, #000); box-shadow: 0 0 10px color-mix(in srgb, var(--accent2) 70%, transparent), 0 0 24px color-mix(in srgb, var(--accent2) 40%, transparent); animation: btn-breathe-resume 2.5s ease-in-out 1.2s infinite alternate; }
    @keyframes btn-breathe-resume { from{box-shadow:0 0 8px color-mix(in srgb,var(--accent2) 60%,transparent),0 0 18px color-mix(in srgb,var(--accent2) 35%,transparent);} to{box-shadow:0 0 16px color-mix(in srgb,var(--accent2) 80%,transparent),0 0 38px color-mix(in srgb,var(--accent2) 55%,transparent);} }
    #sticky-links a.btn-resume:hover { filter: brightness(1.15); box-shadow: 0 0 22px var(--accent2), 0 0 50px var(--accent2); }
    #sticky-links a:active { transform: translateY(2px); border-bottom-width: 2px; }

    /* ── Floating nav ── */
    #floating-nav { position: absolute; top: 14px; left: 18px; right: 18px; z-index: 200; height: 34px; display: flex; align-items: stretch; background: color-mix(in srgb, var(--screen-bg) 70%, transparent); border: 1px solid var(--phosphor); border-radius: 6px; box-shadow: 0 0 18px color-mix(in srgb, var(--glow-color) 80%, transparent), 0 6px 22px rgba(0,0,0,0.45), inset 0 0 12px color-mix(in srgb, var(--glow-color) 25%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; transition: background 0.5s, border-color 0.5s, box-shadow 0.5s; }
    #nav-sysname { font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--accent2); padding: 0 14px; display: flex; align-items: center; border-right: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent); letter-spacing: 1px; white-space: nowrap; user-select: none; }
    #floating-nav .nav-links { display: flex; align-items: stretch; }
    #floating-nav a { font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--bright); text-decoration: none; padding: 0 16px; display: flex; align-items: center; border-right: 1px solid color-mix(in srgb, var(--phosphor) 35%, transparent); transition: background 0.15s, color 0.15s; text-transform: uppercase; letter-spacing: 1px; }
    #floating-nav .nav-links a:last-child { border-right: none; }
    #floating-nav a:hover, #floating-nav a.active { background: var(--bright); color: var(--screen-bg); }
    #nav-clock { margin-left: auto; font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--phosphor); padding: 0 14px; display: flex; align-items: center; border-left: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent); gap: 8px; user-select: none; }

    /* ── Mobile menu btn ── */
    #mobile-menu-btn { display: none; background: var(--accent); color: #fff; border: none; border-right: 1px solid var(--phosphor); font-family: 'Share Tech Mono', monospace; font-size: 14px; font-weight: bold; width: 44px; cursor: pointer; align-items: center; justify-content: center; letter-spacing: 1px; text-transform: uppercase; padding: 0; transition: background 0.15s; }
    #mobile-menu-btn:active { background: var(--hotwhite); color: var(--screen-bg); }

    /* ── Scroll container + pages ── */
    #scroll-container { position: relative; z-index: 1; display: flex; flex-direction: row; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    #scroll-container::-webkit-scrollbar { display: none; }
    .screen-page { scroll-snap-align: start; min-width: 100%; height: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 64px 38px 28px; position: relative; overflow: hidden; }

    /* ── Progress dots ── */
    #scroll-progress { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 200; }
    .prog-dot { width: 6px; height: 6px; background: var(--dim); border: 1px solid var(--phosphor); cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
    .prog-dot.active { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

    /* ── Mobile arrow nav ── */
    .mobile-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 250; background: color-mix(in srgb, var(--screen-bg) 80%, transparent); border: 1px solid var(--phosphor); color: var(--bright); font-family: 'Share Tech Mono', monospace; font-size: 18px; line-height: 1; width: 36px; height: 56px; cursor: pointer; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s, box-shadow 0.15s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 0 0 12px color-mix(in srgb, var(--glow-color) 60%, transparent); user-select: none; -webkit-tap-highlight-color: transparent; }
    .mobile-arrow:active { background: var(--bright); color: var(--screen-bg); }
    #arrow-prev { left: 0; border-left: none; border-radius: 0 4px 4px 0; }
    #arrow-next { right: 0; border-right: none; border-radius: 4px 0 0 4px; }
    .mobile-arrow.hidden { opacity: 0.15; pointer-events: none; }

    /* ── Misc ── */
    .cursor { display: inline-block; width: 0.55em; height: 1em; background: var(--accent); vertical-align: text-bottom; animation: cur-blink 1s steps(1) infinite; margin-left: 1px; }
    @keyframes cur-blink { 0%,49%{opacity:1;} 50%,100%{opacity:0;} }
    .term-hr { border: none; border-top: 1px dashed var(--phosphor); width: 100%; margin: 12px 0; opacity: 0.5; }
    .dim-text { color: var(--phosphor); }

    /* ── Boot splash ── */
    #boot-splash { position: absolute; inset: 0; background: var(--screen-bg); z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--bright); animation: splash-out 0.3s ease 2.4s forwards; }
    @keyframes splash-out { to{opacity:0;pointer-events:none;visibility:hidden;} }
    .boot-logo { font-family: 'VT323', monospace; font-size: clamp(30px, 5.5vw, 60px); color: var(--hotwhite); text-shadow: 0 0 20px var(--glow-color); letter-spacing: 5px; margin-bottom: 6px; }
    .boot-bar-track { width: 260px; height: 10px; background: var(--dim); border: 1px solid var(--phosphor); margin-top: 14px; }
    .boot-bar-fill { height: 100%; background: var(--bright); box-shadow: 0 0 8px var(--glow-color); animation: bfill 2.1s linear forwards; }
    @keyframes bfill { from{width:0;} to{width:100%;} }
    .boot-msg { font-size: 10px; color: var(--phosphor); letter-spacing: 2px; margin-top: 6px; }

    /* ── Intro page ── */
    #intro { align-items: flex-start; padding-top: 70px; }
    .intro-wrap { width: 100%; max-width: 720px; font-family: 'Share Tech Mono', monospace; color: var(--bright); font-size: clamp(11px, 1.3vw, 14px); line-height: 1.9; }
    .boot-line { display: block; color: var(--phosphor); font-size: 10px; animation: fadein 0.1s ease both; }
    .boot-line.d1{animation-delay:0.1s;} .boot-line.d2{animation-delay:0.4s;} .boot-line.d3{animation-delay:0.8s;}
    @keyframes fadein{from{opacity:0;}to{opacity:1;}}
    .studio-title { font-family: 'VT323', monospace; font-size: clamp(38px, 6.5vw, 78px); color: var(--hotwhite); line-height: 1; letter-spacing: 4px; margin: 10px 0 3px; text-shadow: 0 0 6px var(--hotwhite), 0 0 22px var(--glow-color), 0 0 55px var(--glow-color); animation: crt-power 1.2s ease both; }
    @keyframes crt-power { 0%{opacity:0;transform:scaleY(0.04);filter:brightness(4);} 30%{opacity:1;transform:scaleY(1.05);} 65%{transform:scaleY(0.97);} 100%{transform:scaleY(1);filter:brightness(1);} }
    .studio-sub { font-size: 10px; color: var(--phosphor); letter-spacing: 3px; margin-bottom: 16px; text-transform: uppercase; }
    .intro-tagline { font-size: clamp(12px, 1.4vw, 15px); color: var(--bright); max-width: 560px; margin: 10px 0; line-height: 1.8; }
    .intro-tagline::before { content: '> '; color: var(--accent); }
    .tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
    .spec-tag { font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--accent2); background: color-mix(in srgb, var(--screen-bg) 50%, var(--dim)); border: 1px solid var(--phosphor); padding: 2px 8px; letter-spacing: 1px; text-transform: uppercase; }
    .lbar-wrap { margin: 4px 0; }
    .lbar-label { font-size: 10px; color: var(--phosphor); letter-spacing: 1px; margin-bottom: 3px; display: block; }
    .lbar-track { height: 8px; width: 300px; max-width: 100%; background: var(--dim); border: 1px solid var(--phosphor); }
    .lbar-fill { height: 100%; background: var(--bright); box-shadow: 0 0 8px var(--glow-color); width: 0; animation: lfill 2s ease-out forwards; animation-delay: var(--ld, 0s); }
    @keyframes lfill { to{width:var(--lw, 90%);} }
    .term-btn { font-family: 'Share Tech Mono', monospace; font-size: 12px; color: var(--screen-bg); background: var(--bright); border: none; padding: 8px 18px; cursor: pointer; text-transform: uppercase; letter-spacing: 2px; text-decoration: none; display: inline-block; margin-top: 12px; box-shadow: 0 0 12px var(--glow-color); transition: background 0.15s, box-shadow 0.15s; }
    .term-btn:hover { background: var(--hotwhite); box-shadow: 0 0 28px var(--glow-color); }

    /* ── Gallery ── */
    #gallery-1, #gallery-2 { align-items: stretch; justify-content: stretch; padding: 0; }
    .gallery-wrap { width: 100%; height: 100%; display: flex; flex-direction: column; padding: 60px 36px 28px; box-sizing: border-box; overflow: hidden; }
    .section-cmd { font-family: 'Share Tech Mono', monospace; font-size: 11px; color: var(--accent2); letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase; flex-shrink: 0; }
    .section-cmd::before { content: '$ ls -la ./portfolio/  '; color: var(--accent); }
    .duo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; flex: 1; min-height: 0; }
    .g-card { display: block; background: var(--dim); border: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent); cursor: pointer; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; height: 100%; position: relative; }
    .g-card:hover { border-color: var(--bright); box-shadow: 0 0 18px var(--glow-color), inset 0 0 10px color-mix(in srgb, var(--bright) 7%, transparent); }
    .g-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(28px, 4vw, 56px); color: var(--bright); background: repeating-linear-gradient(45deg, transparent, transparent 4px, color-mix(in srgb, var(--phosphor) 10%, transparent) 4px, color-mix(in srgb, var(--phosphor) 10%, transparent) 5px), var(--dim); overflow: hidden; }
    .g-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
    .g-img::before { content: attr(data-index); position: absolute; top: 6px; left: 8px; font-family: 'Share Tech Mono', monospace; font-size: 9px; color: var(--phosphor); opacity: 0.6; z-index: 1; }
    .g-img .g-hover { position: absolute; inset: 0; background: color-mix(in srgb, var(--screen-bg) 88%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px; opacity: 0; transition: opacity 0.2s ease; z-index: 2; text-align: center; gap: 6px; }
    .g-card:hover .g-hover { opacity: 1; }
    .g-hover-title { font-family: 'Share Tech Mono', monospace; font-size: clamp(8px, 1vw, 11px); color: var(--accent2); letter-spacing: 2px; text-transform: uppercase; }
    .g-hover-desc { font-family: 'Share Tech Mono', monospace; font-size: clamp(7px, 0.9vw, 10px); color: var(--bright); letter-spacing: 0.5px; line-height: 1.5; }

    /* ── Hire ── */
    .hire-terminal { width: 100%; max-width: 680px; background: color-mix(in srgb, var(--screen-bg) 88%, var(--dim)); border: 1px solid var(--phosphor); box-shadow: 0 0 30px var(--glow-color); }
    .term-bar { background: var(--bright); color: var(--screen-bg); font-family: 'Share Tech Mono', monospace; font-size: 11px; padding: 5px 10px; letter-spacing: 1px; text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; }
    .term-dots { display: flex; gap: 5px; }
    .term-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--screen-bg); opacity: 0.35; }
    .term-body { padding: 18px 22px; font-family: 'Share Tech Mono', monospace; font-size: clamp(11px, 1.3vw, 13px); line-height: 1.9; color: var(--bright); }
    .hire-body { font-size: clamp(12px, 1.4vw, 14px); color: var(--bright); margin: 10px 0; line-height: 1.85; }
    .tools-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
    .tool-tag { font-family: 'Share Tech Mono', monospace; font-size: 9px; color: var(--accent); border: 1px solid var(--accent); padding: 2px 7px; letter-spacing: 1px; text-transform: uppercase; transition: background 0.15s, color 0.15s; }
    .tool-tag:hover { background: var(--accent); color: var(--screen-bg); cursor: default; }

    /* ── Contact ── */
    #contact::-webkit-scrollbar { width: 6px; }
    #contact::-webkit-scrollbar-thumb { background: var(--phosphor); border-radius: 3px; }

    .swipe-hint { position: absolute; bottom: 32px; right: 14px; font-family: 'Share Tech Mono', monospace; font-size: 8px; color: var(--phosphor); letter-spacing: 2px; opacity: 0; animation: swipe-hint-anim 5s ease 3s forwards; pointer-events: none; z-index: 200; }
    @keyframes swipe-hint-anim { 0%{opacity:0;} 20%{opacity:1;} 80%{opacity:1;} 100%{opacity:0;} }

    /* ── Title screen ── */
    #titlescreen { flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; }
    #title-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
    #title-horizon { position: absolute; bottom: 0; left: 0; right: 0; height: 35%; z-index: 1; pointer-events: none; }
    .t-mountain { position: absolute; bottom: 0; background: var(--dim); border-top: 2px solid var(--phosphor); }
    .tm1{left:-2%;width:28%;height:80%;clip-path:polygon(50% 0%,100% 100%,0% 100%);}
    .tm2{left:16%;width:24%;height:60%;clip-path:polygon(50% 0%,100% 100%,0% 100%);}
    .tm3{left:34%;width:34%;height:95%;clip-path:polygon(50% 0%,100% 100%,0% 100%);}
    .tm4{left:58%;width:26%;height:65%;clip-path:polygon(50% 0%,100% 100%,0% 100%);}
    .tm5{left:74%;width:30%;height:78%;clip-path:polygon(50% 0%,100% 100%,0% 100%);}
    #title-ground { position: absolute; bottom: 0; left: 0; right: 0; height: 12%; z-index: 2; background: var(--dim); border-top: 3px solid var(--phosphor); background-image: linear-gradient(var(--phosphor) 1px, transparent 1px), linear-gradient(90deg, var(--phosphor) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.55; }
    #title-moon { position: absolute; top: 7%; right: 7%; width: clamp(50px, 7vw, 90px); height: clamp(50px, 7vw, 90px); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--hotwhite) 0%, var(--bright) 50%, var(--phosphor) 100%); box-shadow: 0 0 20px var(--glow-color), 0 0 55px var(--glow-color); z-index: 3; animation: tmoon 8s ease-in-out infinite alternate; }
    @keyframes tmoon{from{transform:translateY(0);}to{transform:translateY(-10px);}}
    #title-sprite { position: absolute; bottom: 12%; left: 5%; font-size: clamp(40px, 6vw, 72px); z-index: 4; filter: drop-shadow(0 0 10px var(--accent)); animation: tsprite 0.55s steps(2) infinite; }
    @keyframes tsprite { 0%{transform:translateY(0);} 50%{transform:translateY(-7px);} 100%{transform:translateY(0);} }
    #title-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 0 20px; }
    .title-eyebrow { font-family: 'Share Tech Mono', monospace; font-size: clamp(8px, 1vw, 11px); color: var(--phosphor); letter-spacing: 5px; text-transform: uppercase; margin-bottom: 18px; animation: fadein 0.5s ease both 0.3s; }
    .title-game-name { font-family: 'Press Start 2P', monospace; font-size: clamp(26px, 5.5vw, 68px); line-height: 1.3; letter-spacing: 3px; text-transform: uppercase; text-align: center; animation: title-rainbow 4s linear infinite, crt-power 1.2s ease both 0.5s; margin-bottom: 16px; }
    @keyframes title-rainbow { 0%{color:var(--hotwhite);text-shadow:4px 4px 0 var(--accent),0 0 30px var(--glow-color),0 0 60px var(--glow-color);} 25%{color:var(--accent2);text-shadow:4px 4px 0 var(--accent),0 0 25px var(--glow-color);} 50%{color:var(--hotwhite);text-shadow:4px 4px 0 var(--phosphor),0 0 40px var(--glow-color),0 0 80px var(--glow-color);} 75%{color:var(--accent2);text-shadow:4px 4px 0 var(--dim),0 0 25px var(--glow-color);} 100%{color:var(--hotwhite);text-shadow:4px 4px 0 var(--accent),0 0 30px var(--glow-color),0 0 60px var(--glow-color);} }
    .title-tagline { font-family: 'VT323', monospace; font-size: clamp(18px, 3vw, 34px); color: var(--bright); letter-spacing: 2px; text-shadow: 0 0 12px var(--glow-color); margin-bottom: 36px; animation: fadein 0.5s ease both 1s; font-style: italic; }
    .title-pips { display: flex; gap: 10px; margin-bottom: 32px; animation: fadein 0.5s ease both 1.2s; }
    .title-pips span { font-size: clamp(10px, 1.4vw, 16px); color: var(--accent); animation: pip-blink 1.2s steps(1) infinite; }
    .title-pips span:nth-child(2n) { animation-delay: 0.6s; color: var(--accent2); }
    @keyframes pip-blink{0%,49%{opacity:1;}50%,100%{opacity:0.25;}}
    #press-start-btn { font-family: 'Press Start 2P', monospace; font-size: clamp(9px, 1.4vw, 14px); color: var(--screen-bg); background: var(--bright); border: none; cursor: pointer; padding: 14px 28px; letter-spacing: 3px; text-transform: uppercase; box-shadow: 4px 4px 0 var(--dim), 0 0 20px var(--glow-color); animation: press-blink 1.1s steps(1) infinite, fadein 0.3s ease both 1.6s; transition: background 0.1s, transform 0.1s, box-shadow 0.1s; margin-bottom: 20px; }
    @keyframes press-blink{0%,55%{opacity:1;}56%,100%{opacity:0;}}
    #press-start-btn:hover { background: var(--hotwhite); animation: fadein 0s both; }
    #press-start-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--dim); }
    #screen-flash { position: absolute; inset: 0; z-index: 95; background: var(--hotwhite); opacity: 0; pointer-events: none; transition: opacity 0.05s; }
    .title-copyright { font-family: 'Share Tech Mono', monospace; font-size: clamp(7px, 0.9vw, 10px); color: var(--phosphor); letter-spacing: 3px; text-transform: uppercase; opacity: 0.7; animation: fadein 0.5s ease both 1.8s; }

/* ═══════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════ */
    @media (max-width: 768px) {
      #scroll-container { flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; }
      #floating-nav { top: 0; left: 0; right: 0; height: 40px; border-radius: 0; border: none; border-bottom: 1px solid var(--phosphor); box-shadow: 0 2px 12px rgba(0,0,0,0.4); background: color-mix(in srgb, var(--screen-bg) 92%, var(--dim)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); flex-wrap: nowrap; overflow: visible; }
      #mobile-menu-btn { display: flex; }
      #nav-sysname, #nav-clock { display: none; }
      #floating-nav .nav-links { position: absolute; top: 40px; left: 0; right: 0; background: color-mix(in srgb, var(--screen-bg) 96%, var(--dim)); border-bottom: 1px solid var(--phosphor); flex-direction: column; align-items: stretch; max-height: 0; overflow: hidden; transition: max-height 0.28s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
      #floating-nav .nav-links.open { max-height: 80vh; }
      #floating-nav .nav-links a { height: 44px; padding: 0 18px; border-right: none; border-bottom: 1px solid color-mix(in srgb, var(--phosphor) 35%, transparent); font-size: 12px; letter-spacing: 2px; }
      #floating-nav .nav-links a:last-child { border-bottom: none; }

      /* Show mobile arrows */
      .mobile-arrow { display: flex; }

      .screen-page { min-width: 100vw; height: 100%; padding: 56px 52px 78px; }
      .gallery-wrap { padding: 56px 52px 78px; }
      .duo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); gap: 10px; }
      .g-hover-title { font-size: 9px; }
      .g-hover-desc { font-size: 8px; }
      .studio-title { font-size: 34px; }

      #bezel-bottom { flex-direction: column; gap: 8px; padding: 8px 8px 10px; min-height: 70px; }
      #bezel-bottom .bezel-label { font-size: 7px; letter-spacing: 2px; }
      #theme-toggle { position: static; }
      #sticky-links { position: static; gap: 8px; }
      #bezel-controls { display: flex !important; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
      #theme-toggle, #sticky-links a { font-size: 10px; padding: 8px 12px 10px; min-height: 36px; flex: 1 1 auto; max-width: 110px; text-align: center; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
      #theme-readout { display: none; }
      #theme-popup { left: 50%; right: auto; bottom: 78px; transform: translateX(-50%); transform-origin: bottom center; width: min(280px, calc(100vw - 24px)); }
      #theme-popup::after { left: 50%; margin-left: -6px; }
      #scroll-progress { bottom: auto; top: 46px; }
      .swipe-hint { display: none; }
    }

    @media (max-width: 480px) {
      .gallery-wrap { padding: 56px 44px 78px; }
      .screen-page { padding: 56px 44px 78px; }
      .duo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; }
      .studio-title { font-size: 26px; }
      #theme-toggle, #sticky-links a { font-size: 9px; padding: 7px 8px 9px; max-width: none; }
      #monitor-brand { font-size: 7px; letter-spacing: 3px; padding: 4px 0 3px; }
      #bezel-controls { gap: 6px; }
      .mobile-arrow { width: 28px; }
    }
  
    /* ── CONTACT PAGE — business card ── */
    #contact {
      align-items: center;
      justify-content: center;
      padding: 60px 20px 20px;
      overflow-y: auto;
    }

    /* Outer wrapper centers card + footer */
    .bcard-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }

    /* The card itself */
    .bcard {
      width: clamp(280px, 80vw, 420px);
      aspect-ratio: 1.75 / 1;
      position: relative;
      border-radius: 10px;
      /* Layered border: inner glow + raised edge shadow */
      border: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent);
      box-shadow:
        0 0 0 1px color-mix(in srgb, var(--dim) 80%, transparent),
        0 0 28px var(--glow-color),
        0 6px 32px rgba(0,0,0,0.65),
        inset 0 0 22px color-mix(in srgb, var(--glow-color) 18%, transparent);
      background:
        /* subtle cross-hatch texture */
        repeating-linear-gradient(
          45deg,
          transparent,
          transparent 6px,
          color-mix(in srgb, var(--phosphor) 4%, transparent) 6px,
          color-mix(in srgb, var(--phosphor) 4%, transparent) 7px
        ),
        /* radial vignette */
        radial-gradient(ellipse at 70% 40%,
          color-mix(in srgb, var(--screen-bg) 60%, var(--dim)) 0%,
          var(--dim) 100%
        );
      overflow: hidden;
      transition: box-shadow 0.4s, border-color 0.4s;
      cursor: default;
      flex-shrink: 0;
    }

    .bcard:hover {
      box-shadow:
        0 0 0 1px color-mix(in srgb, var(--bright) 40%, transparent),
        0 0 44px var(--glow-color),
        0 10px 44px rgba(0,0,0,0.75),
        inset 0 0 30px color-mix(in srgb, var(--glow-color) 26%, transparent);
      border-color: color-mix(in srgb, var(--bright) 70%, transparent);
    }

    /* Decorative corner bracket TL */
    .bcard::before {
      content: '';
      position: absolute;
      top: 10px; left: 10px;
      width: 22px; height: 22px;
      border-top: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent);
      border-left: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent);
      pointer-events: none;
    }
    /* Decorative corner bracket BR */
    .bcard::after {
      content: '';
      position: absolute;
      bottom: 10px; right: 10px;
      width: 22px; height: 22px;
      border-bottom: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent);
      border-right: 1px solid color-mix(in srgb, var(--phosphor) 60%, transparent);
      pointer-events: none;
    }

    /* Scanline overlay */
    .bcard-scanlines {
      position: absolute; inset: 0;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.06) 3px,
        rgba(0,0,0,0.06) 4px
      );
      border-radius: inherit;
      pointer-events: none;
      z-index: 5;
    }

    /* Glare streak top-left */
    .bcard-glare {
      position: absolute;
      top: -30%; left: -10%;
      width: 55%; height: 70%;
      background: linear-gradient(135deg,
        color-mix(in srgb, var(--hotwhite) 5%, transparent) 0%,
        transparent 60%
      );
      transform: rotate(-10deg);
      pointer-events: none;
      z-index: 4;
      border-radius: inherit;
    }

    /* Card content layout */
    .bcard-inner {
      position: absolute; inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: clamp(14px, 3vw, 22px) clamp(16px, 3.5vw, 26px);
      z-index: 3;
    }

    /* Top row: logo mark left, studio badge right */
    .bcard-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .bcard-logomark {
      font-family: 'VT323', monospace;
      font-size: clamp(22px, 3.5vw, 32px);
      color: var(--hotwhite);
      line-height: 1;
      letter-spacing: 2px;
      text-shadow: 0 0 12px var(--glow-color);
    }

    .bcard-studio-tag {
      font-family: 'Share Tech Mono', monospace;
      font-size: clamp(6px, 0.9vw, 8px);
      color: var(--phosphor);
      letter-spacing: 3px;
      text-transform: uppercase;
      text-align: right;
      line-height: 1.6;
      padding-top: 3px;
    }

    /* Middle: name + title */
    .bcard-mid {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .bcard-name {
      font-family: 'VT323', monospace;
      font-size: clamp(26px, 4.5vw, 44px);
      color: var(--hotwhite);
      letter-spacing: 3px;
      line-height: 1;
      text-shadow:
        0 0 6px var(--hotwhite),
        0 0 20px var(--glow-color);
    }

    .bcard-title {
      font-family: 'Share Tech Mono', monospace;
      font-size: clamp(7px, 1vw, 10px);
      color: var(--accent2);
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    /* Divider line */
    .bcard-rule {
      width: 100%;
      border: none;
      border-top: 1px solid color-mix(in srgb, var(--phosphor) 35%, transparent);
      margin: 2px 0;
    }

    /* Bottom row: contact links */
    .bcard-bottom {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 8px;
    }

    .bcard-contacts {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .bcard-contact-line {
      font-family: 'Share Tech Mono', monospace;
      font-size: clamp(7px, 0.95vw, 9px);
      color: var(--bright);
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
      transition: color 0.15s;
    }
    .bcard-contact-line:hover { color: var(--hotwhite); }

    .bcard-contact-label {
      color: var(--phosphor);
      font-size: clamp(6px, 0.8vw, 8px);
      letter-spacing: 2px;
      width: 2.4em;
      flex-shrink: 0;
    }

    /* Small pixel goblin emoji bottom-right */
    .bcard-sprite {
      font-size: clamp(18px, 3vw, 28px);
      line-height: 1;
      opacity: 0.55;
      flex-shrink: 0;
      filter: drop-shadow(0 0 6px var(--glow-color));
    }

    /* Card footer (outside card) */
    .bcard-footer {
      font-family: 'Share Tech Mono', monospace;
      font-size: 8px;
      color: var(--phosphor);
      letter-spacing: 2px;
      opacity: 0.5;
      text-align: center;
    }

    @media (max-width: 768px) {
      #contact { padding: 56px 10px 80px; }
      .bcard { width: min(92vw, 380px); }
    }
    @media (max-width: 480px) {
      .bcard { border-radius: 8px; }
      .bcard::before, .bcard::after { width: 16px; height: 16px; }
    }