/* Octobot Studios – site styles. One file, no build step. */

@font-face{font-family:"Space Grotesk";src:url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Space Grotesk";src:url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"DM Sans";src:url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"DM Sans";src:url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"DM Sans";src:url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Silkscreen";src:url("../fonts/silkscreen-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}

:root{
  --bg:#0A0E27; --bg-band:#0D1230; --bg-foot:#080B20; --surface:#121838;
  --line:#1E2650; --line-2:#222A58; --line-3:#2A3368; --line-btn:#3A4380;
  --text:#EEF1FF; --text-2:#C9CFF0; --muted:#B4BBE3; --muted-2:#A3ABD6; --dim:#8A93C4;
  --mint:#24FFC5; --mint-hi:#8FFFE0; --gold:#FFB547; --gold-ink:#1A1200;
  --display:"Space Grotesk",system-ui,sans-serif; --body:"DM Sans",system-ui,sans-serif; --pixel:"Silkscreen",ui-monospace,monospace;
  --wrap:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--mint);text-decoration:none}
a:hover{color:var(--mint-hi)}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--display);margin:0;letter-spacing:-0.01em}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--mint);color:var(--bg);padding:10px 14px;border-radius:8px;z-index:10}
.skip:focus{left:8px}

/* Header */
.site-header{border-bottom:1px solid var(--line)}
.nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;padding-bottom:18px}
.brand{display:flex;align-items:center;gap:12px;color:var(--text)}
.brand:hover{color:var(--text)}
.brand img{width:36px;height:36px}
.wordmark{font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:.14em}
.wordmark span{color:var(--dim);font-weight:500}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:28px;font-size:15px;font-weight:500}
.nav-links a{color:var(--text-2)}
.nav-links a:hover{color:var(--text)}
.nav-links a.btn{color:var(--bg)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--mint);color:var(--bg);padding:12px 20px;border-radius:8px;font-weight:700}
.btn:hover{background:var(--mint-hi);color:var(--bg)}
.btn-lg{padding:16px 26px;border-radius:10px;font-size:17px}
.btn-ghost{display:inline-flex;align-items:center;border:1.5px solid var(--line-btn);color:var(--text);padding:16px 26px;border-radius:10px;font-weight:600;font-size:17px}
.btn-ghost:hover{border-color:var(--mint);color:var(--text)}
.btn-gold{background:var(--gold);color:var(--gold-ink);padding:14px 22px;border-radius:10px;font-size:16px}
.btn-gold:hover{background:#FFC870;color:var(--gold-ink)}
.btn-play{display:inline-flex;align-items:center;gap:12px;background:var(--text);color:var(--bg);padding:14px 24px;border-radius:12px}
.btn-play:hover{background:#fff;color:var(--bg)}
.btn-play small{display:block;font-size:12px;font-weight:500;line-height:1.15}
.btn-play strong{display:block;font-size:19px;line-height:1.15}
.row{display:flex;flex-wrap:wrap;gap:14px}

/* Type helpers */
.kicker{display:flex;align-items:center;gap:10px;font-family:var(--pixel);font-size:14px;color:var(--mint);letter-spacing:.06em}
.kicker.gold{color:var(--gold)}
.kicker .sq{width:10px;height:10px;background:currentColor;display:inline-block}
.lede{font-size:20px;line-height:1.55;color:var(--muted)}
.body-lg{font-size:18px;line-height:1.6;color:var(--muted)}
.muted{color:var(--muted-2)}
.h2{font-size:clamp(32px,4.4vw,48px);line-height:1.06}
.section{padding:104px 0}
.band{background:var(--bg-band);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* Hero */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:64px;padding-top:96px;padding-bottom:112px}
.hero-copy{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hero-copy h1{font-weight:700;font-size:clamp(44px,6vw,68px);line-height:1.02;letter-spacing:-0.02em}
.hero-copy h1 em{font-style:normal;color:var(--mint)}
.hero-art{flex:1 1 440px;min-width:0;display:flex;justify-content:center}
.fan{position:relative;width:460px;max-width:100%;height:480px}
.fan img{position:absolute;object-fit:cover;border-radius:10px;box-shadow:0 20px 40px rgba(0,0,0,.5)}
.fan .l{left:0;top:60px;width:210px;height:280px;transform:rotate(-8deg)}
.fan .r{right:0;top:70px;width:210px;height:280px;transform:rotate(8deg)}
.fan .c{left:50%;margin-left:-120px;top:0;width:240px;height:320px;border-radius:12px;box-shadow:10px 10px 0 var(--mint)}
.app-chip{position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line-3);padding:12px 20px 12px 12px;border-radius:14px;white-space:nowrap}
.app-chip img{position:static;width:52px;height:52px;border-radius:12px;box-shadow:none}
.app-chip b{font-family:var(--display);font-size:18px;display:block}
.app-chip span{font-size:13px;color:var(--muted-2)}
@media (max-width:520px){.fan{height:400px}.fan .l,.fan .r{width:160px;height:213px}.fan .c{width:200px;height:267px;margin-left:-100px}}

/* Facts */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;padding-top:36px;padding-bottom:36px}
.fact b{display:block;font-family:var(--display);font-weight:700;font-size:40px;color:var(--gold);line-height:1.2}
.fact span{font-size:15px;color:var(--muted)}

/* Section heads */
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:40px}
.section-head>div{display:flex;flex-direction:column;gap:14px;max-width:760px}

/* Game grid */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px}
.card{display:flex;flex-direction:column;gap:12px;color:var(--text)}
.card:hover{color:var(--text)}
.poster{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:var(--surface);border:1px solid var(--line-2)}
.poster img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.card:hover .poster img{transform:scale(1.03)}
.badge{position:absolute;top:10px;left:10px;font-family:var(--pixel);font-size:11px;padding:5px 8px;border-radius:4px;background:var(--gold);color:var(--gold-ink)}
.badge.outline{background:var(--bg);color:var(--gold);border:1px solid var(--gold)}
.card-name{font-family:var(--display);font-weight:700;font-size:18px}
.card-cap{font-size:14px;color:var(--muted-2)}

/* Forge */
.forge{background:var(--surface);border:1px solid var(--line-3);border-radius:20px;padding:48px;display:flex;flex-direction:column;gap:36px}
.forge .poster{border:1px dashed #4A5394;background:var(--bg)}
.forge .poster img{opacity:.55;filter:saturate(.6)}
@media (max-width:600px){.forge{padding:28px 20px}}

/* Studio */
.studio{display:flex;flex-wrap:wrap;align-items:center;gap:72px}
.studio-logo{flex:0 1 300px;display:flex;justify-content:center}
.studio-copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:22px}
.studio-copy h2{font-size:clamp(32px,4vw,44px);line-height:1.08}

/* Contact cards */
.cards-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.contact{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line-2);border-radius:14px;padding:28px;color:var(--text)}
.contact:hover{border-color:var(--mint);color:var(--text)}
.contact b{font-family:var(--display);font-size:20px}
.contact span{font-size:15px;line-height:1.5;color:var(--muted-2)}
.contact em{font-style:normal;font-size:15px;font-weight:600;color:var(--mint)}

/* RetroForged page */
.rf-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:26px;padding-top:88px;padding-bottom:72px}
.rf-hero .icon{width:120px;height:120px;border-radius:28px;box-shadow:4px 4px 0 var(--mint)}
.rf-hero h1{font-weight:700;font-size:clamp(52px,8vw,76px);line-height:1;letter-spacing:-0.02em}
.rf-hero .lede{max-width:640px;font-size:22px}
.rf-hero .row{justify-content:center}
.fine{font-size:13px;color:var(--dim)}
.ribbon{overflow:hidden;padding:8px 0 72px}
.ribbon-track{display:flex;justify-content:center;gap:18px}
.ribbon-track img{flex:0 0 auto;width:168px;height:224px;object-fit:cover;border-radius:10px;border:1px solid var(--line-2)}
.why{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px;padding-top:72px;padding-bottom:72px}
.why div{display:flex;flex-direction:column;gap:10px}
.why .tag{font-family:var(--pixel);font-size:14px;color:var(--gold)}
.why b{font-family:var(--display);font-size:22px}
.why p{font-size:16px;line-height:1.55;color:var(--muted)}
.cat{display:flex;flex-direction:column;gap:32px;margin-bottom:88px}
.cat-head{display:flex;flex-direction:column;gap:12px;max-width:760px}
.cat-head h2{font-size:clamp(30px,4vw,42px);line-height:1.08}
.games-2{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,520px),1fr));gap:24px}
.game{display:flex;flex-wrap:wrap;gap:22px;background:var(--surface);border:1px solid var(--line-2);border-radius:16px;padding:20px}
.game img{flex:0 0 150px;width:150px;height:200px;object-fit:cover;border-radius:10px}
.game-body{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:10px;padding-top:4px}
.game-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.game h3{font-weight:700;font-size:24px}
.game .badge{position:static}
.game .cap{font-size:15px;font-weight:600;color:var(--mint)}
.game p{font-size:15px;line-height:1.6;color:var(--muted)}

/* FAQ */
.faq{max-width:880px}
.faq details{border-bottom:1px solid var(--line-2);padding:22px 0}
.faq details:first-of-type{border-top:1px solid var(--line-2)}
.faq summary{cursor:pointer;font-family:var(--display);font-weight:700;font-size:20px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--mint);font-size:24px;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{margin-top:10px;font-size:16px;line-height:1.6;color:var(--muted)}

/* Long-form pages (privacy, terms…) */
.page-head{padding-top:80px;padding-bottom:40px;display:flex;flex-direction:column;gap:14px}
.page-head h1{font-size:clamp(38px,5vw,56px);line-height:1.05}
.prose{max-width:760px;padding-bottom:104px;font-size:17px;line-height:1.7;color:var(--text-2)}
.prose h2{font-size:26px;margin:44px 0 12px;color:var(--text)}
.prose h3{font-size:20px;margin:28px 0 8px;color:var(--text)}
.prose p{margin:0 0 14px}
.prose ul,.prose ol{margin:0 0 16px;padding-left:22px}
.prose li{margin-bottom:6px}
.prose strong{color:var(--text)}
.prose table{width:100%;border-collapse:collapse;margin:8px 0 20px;font-size:15px}
.prose pre.licence{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:14px 16px;margin:0 0 20px}
.prose th,.prose td{border-bottom:1px solid var(--line-2);padding:10px 8px;text-align:left;vertical-align:top}
.prose th{color:var(--text);font-family:var(--display)}
.table-scroll{overflow-x:auto}
.note{background:var(--surface);border:1px solid var(--line-3);border-radius:12px;padding:18px 20px;margin:0 0 24px;font-size:15px}
.dl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:12px 0 28px}
.dl{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line-2);border-radius:12px;padding:16px;color:var(--text)}
.dl img{height:120px;width:100%;object-fit:contain}

/* 404 */
.nf{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:80px 24px}
.nf .big{font-family:var(--pixel);font-size:72px;color:var(--gold)}

/* Footer */
.site-footer{border-top:1px solid var(--line);background:var(--bg-foot)}
.foot{padding-top:64px;padding-bottom:28px;display:flex;flex-direction:column;gap:48px}
.foot-top{display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between}
.foot-brand{flex:1 1 280px;max-width:340px;display:flex;flex-direction:column;gap:16px}
.foot-brand .brand img{width:32px;height:32px}
.foot-brand .wordmark{font-size:16px}
.foot-brand p{font-size:15px;line-height:1.6;color:var(--muted-2)}
.foot-cols{flex:1 1 520px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:32px}
.foot-cols div{display:flex;flex-direction:column;gap:12px;font-size:15px}
.foot-cols h2{font-family:var(--pixel);font-size:13px;color:var(--dim);font-weight:400;letter-spacing:0}
.foot-cols a{color:var(--text-2)}
.foot-cols a:hover{color:var(--text)}
.legal{border-top:1px solid var(--line);padding-top:24px;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.6;color:var(--dim)}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card:hover .poster img{transform:none}}
