/* Abecu Studios — shared styles for the studio pages (index, privacy, terms, 404).
   Each game keeps its own look in its own folder, e.g. /outofeden/style.css. */
@font-face{font-family:"DM Sans";src:url(dmsans.woff2) format("woff2");font-weight:100 1000;font-display:swap}
/* Colours and sizes used everywhere. Change a colour here and it changes on every studio page.
   --bg page background, --panel card background, --line thin borders, --gold headings/links, --leaf green accent */
:root{
 --bg:#120c1d;--bg2:#1a1229;--panel:#211832;--line:rgba(255,226,170,.16);
 --gold:#ffd98a;--gold2:#f0a93a;--leaf:#7fd36f;--text:#f4eee4;--muted:#bdb2cf;--radius:18px
}
/* basics */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.65 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--gold)}
img{max-width:100%}
h1,h2,h3{line-height:1.12;letter-spacing:-.02em;margin:0}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;z-index:9;background:var(--gold);color:#241505;padding:8px 12px;border-radius:8px}

/* header */
header.top{position:sticky;top:0;z-index:5;background:rgba(18,12,29,.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;gap:14px;height:66px}
header.top .logo img{height:38px;width:auto;display:block}
header.top nav{margin-left:auto;display:flex;gap:22px;font-size:15px;font-weight:500}
header.top nav a{color:var(--muted);text-decoration:none;white-space:nowrap}
header.top nav a:hover,header.top nav a[aria-current]{color:var(--gold)}

/* hero */
.hero{position:relative;overflow:hidden;padding:92px 0 84px;background:
 radial-gradient(900px 420px at 85% 10%,rgba(240,169,58,.16),transparent 60%),
 radial-gradient(700px 380px at 5% 90%,rgba(127,211,111,.10),transparent 60%),var(--bg)}
.hero .eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--leaf);margin-bottom:16px}
.hero h1{font-size:clamp(38px,6vw,68px);font-weight:800;max-width:820px}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero p.lead{font-size:clamp(17px,2vw,20px);color:var(--muted);max-width:640px;margin:20px 0 30px}
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 24px;border-radius:999px;font-weight:700;text-decoration:none;font-size:16px}
.btn.gold{background:linear-gradient(#ffe39c,#f2b44a);color:#3a2208;box-shadow:0 4px 0 #a86a1c}
.btn.gold:hover{filter:brightness(1.05)}
.btn.ghost{border:1.5px solid rgba(255,217,138,.6);color:var(--gold)}
.btn.ghost:hover{background:rgba(255,217,138,.08)}

/* sections */
section{padding:72px 0;border-top:1px solid var(--line)}
section h2{font-size:clamp(28px,3.6vw,40px);font-weight:800;margin-bottom:10px}
section .sub{color:var(--muted);max-width:660px;margin:0 0 34px}

/* games */
.games{display:grid;grid-template-columns:2fr 1fr;gap:22px}
.game{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:420px;border-radius:24px;overflow:hidden;text-decoration:none;color:var(--text);border:1px solid var(--line);background:#1d1430 center/cover no-repeat}
.game:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,9,24,0) 30%,rgba(14,9,24,.92) 100%)}
.game .in{position:relative;display:flex;gap:18px;align-items:flex-end;padding:26px}
.game .icon{width:96px;height:96px;border-radius:22px;box-shadow:0 0 0 2px rgba(255,214,120,.7),0 10px 30px rgba(0,0,0,.5);flex:none}
.game h3{font-size:32px;font-weight:800}
.game p{margin:4px 0 10px;color:#e9e1d4}
.pill{display:inline-block;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;background:rgba(255,217,138,.16);color:var(--gold);border:1px solid rgba(255,217,138,.35)}
.game .more{font-weight:700;color:var(--gold)}
.game:hover{border-color:rgba(255,217,138,.55)}
.game:hover .more{text-decoration:underline}
.soon{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-height:420px;border-radius:24px;border:1.5px dashed rgba(255,217,138,.3);padding:28px;background:linear-gradient(160deg,rgba(255,255,255,.03),rgba(255,255,255,0))}
.soon .dot{width:56px;height:56px;border-radius:16px;background:rgba(127,211,111,.14);display:grid;place-items:center;font-size:28px}
.soon h3{font-size:24px}
.soon p{margin:0;color:var(--muted)}

/* promise */
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.card .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:rgba(255,217,138,.12);margin-bottom:14px}
.card .ic svg{width:24px;height:24px;stroke:var(--gold);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card h3{font-size:19px;margin-bottom:6px}
.card p{margin:0;color:var(--muted);font-size:15.5px}

/* about + contact */
.two{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.about p{color:var(--muted);margin:0 0 14px}
.contact{background:linear-gradient(160deg,#2a1c44,#1a1229);border:1px solid var(--line);border-radius:24px;padding:30px}
.contact h3{font-size:24px;margin-bottom:8px}
.contact p{color:var(--muted);margin:0 0 18px}
.contact .mail{font-size:20px;font-weight:700;color:var(--gold);text-decoration:none;word-break:break-all}
.facts{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:8px;font-size:15px;color:var(--muted)}
.facts b{color:var(--text);font-weight:600}

/* documents (privacy, terms) */
.doc{padding:52px 0 72px}
.doc .wrap{max-width:820px}
.doc h1{font-size:clamp(34px,5vw,48px);font-weight:800;color:var(--gold);margin-bottom:6px}
.doc .meta{color:var(--muted);margin:0 0 30px}
.doc h2{font-size:24px;font-weight:700;margin:36px 0 10px;color:#fff3d6}
.doc p,.doc li{color:#e7dfd2}
.doc ul,.doc ol{padding-left:22px}
.doc li{margin:5px 0}
.note{background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--gold2);border-radius:12px;padding:14px 18px;margin:18px 0;color:#e7dfd2}

/* footer */
footer{border-top:1px solid var(--line);padding:30px 0 40px;color:var(--muted);font-size:14.5px}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}
footer img{height:28px;width:auto;display:block}
footer nav{display:flex;flex-wrap:wrap;gap:18px}
footer a{color:var(--muted);text-decoration:none}
footer a:hover{color:var(--gold)}

/* ---- tablets and small laptops: one column for games and about/contact, two promise cards per row */
@media (max-width:900px){
 .games,.two{grid-template-columns:1fr}
 .grid4{grid-template-columns:1fr 1fr}
 .soon{min-height:auto}
}
/* ---- phones: smaller logo, one card per row, less padding, hide nav links marked class="hm" */
@media (max-width:560px){
 header.top nav{gap:14px;font-size:14px}
 header.top nav a.hm{display:none}
 header.top .logo img{height:32px}
 .grid4{grid-template-columns:1fr}
 .game{min-height:380px}
 .game .in{flex-direction:column;align-items:flex-start}
 .game .icon{width:76px;height:76px;border-radius:18px}
 .hero{padding:64px 0 60px}
}
