/* PsyberCore Digital brand system. Loads after style.css and home.css on EVERY page, so the whole site shares one look.
   Display face: Chakra Petch (angular, matches the wordmark). Text face: Inter. Both are self-hosted (SIL Open Font License). */
@font-face { font-family: "Chakra Petch"; src: url(/fonts/chakra-petch-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url(/fonts/chakra-petch-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
  --gold-1: #fff2bf; --gold-2: #f7c95f; --gold-3: #d99a2d; --gold-4: #a9691a;
  --metal: linear-gradient(180deg, #fff2bf 0%, #f7c95f 34%, #d99a2d 68%, #b37420 100%);
  --steel: linear-gradient(180deg, #f2f6fc 0%, #9aa8c0 100%);
  --cyan: #4fd2ff;
  --edge: linear-gradient(160deg, rgba(255, 226, 154, .34), rgba(255, 255, 255, .07) 38%, rgba(79, 210, 255, .2));
  --accent: #e3b24d; --accent-2: #f1c978;
}
body { font-family: var(--font-body); font-feature-settings: "cv11", "ss03"; }

/* ---------- type ---------- */
h1, h2, h3, h4, .eyebrow, .badge, .btn, .foot-h, .navlinks a, .brand .bt, .tabs button, .tab { font-family: var(--font-display); }
body h1, body h2 { font-weight: 700; letter-spacing: .004em; line-height: 1.1; }
body h3 { font-weight: 700; letter-spacing: .01em; }
body .section h2 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); letter-spacing: .004em; }
body .hero h1, body .hero.game h1 { letter-spacing: .004em; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold-2); font-weight: 700; letter-spacing: .2em; font-size: .72rem; }
.eyebrow::before { content: ""; width: .9rem; height: .9rem; flex: none; background: linear-gradient(180deg, var(--gold-2), var(--gold-4)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.section-head.center .eyebrow { justify-content: center; }
.lead, .section-head .lead { font-family: var(--font-body); }

/* ---------- header ---------- */
.topbar { background: rgba(6, 10, 19, .8); -webkit-backdrop-filter: blur(14px) saturate(1.35); backdrop-filter: blur(14px) saturate(1.35); border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(227, 178, 77, .5) 22%, rgba(79, 210, 255, .4) 78%, transparent) 1; }
.brand { gap: .65rem; }
.brand .mark { width: 36px; height: 36px; filter: drop-shadow(0 2px 10px rgba(227, 178, 77, .3)); }
.brand .bt { display: inline-flex; align-items: baseline; gap: .5rem; font-weight: 700; font-size: 1.08rem; letter-spacing: .1em; text-transform: uppercase; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .bt em { font-style: normal; font-weight: 600; font-size: .6em; letter-spacing: .38em; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav .brand { font-size: 1rem; }
.navlinks a { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #aebbd4; }
.navlinks a:hover, .navlinks a[aria-current="page"], .navlinks a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .06); }
.navlinks a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-2); }

/* ---------- buttons ---------- */
.btn { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .84rem; }
.btn-lg { font-size: .92rem; }
.btn-sm { font-size: .78rem; }
.btn-primary { background: var(--metal); color: #1d1403; border: 1px solid rgba(255, 233, 168, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(120, 70, 10, .35), 0 10px 28px -10px rgba(227, 178, 77, .7); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { background: linear-gradient(180deg, #fff8d6, #ffd36a 36%, #e5a636 70%, #c0802a); color: #1d1403; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .18); }
.btn-ghost:hover { border-color: rgba(227, 178, 77, .6); background: rgba(227, 178, 77, .08); }

/* ---------- surfaces ---------- */
.card { border: 1px solid transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)) padding-box, linear-gradient(#0d1426, #0d1426) padding-box, var(--edge) border-box; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -30px rgba(0, 0, 0, .9); }
.badge { font-weight: 700; letter-spacing: .12em; font-size: .7rem; text-transform: uppercase; }
.section.alt { background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0) 70%), radial-gradient(60% 80% at 100% 0%, rgba(79, 210, 255, .05), transparent 60%); }

/* ---------- screenshots / key art: one shared treatment ---------- */
.shot, .shots a, .gallery a { position: relative; border-color: rgba(227, 178, 77, .22) !important; }
.shot::after, .shots a::after, .gallery a::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(5, 8, 15, 0) 55%, rgba(5, 8, 15, .55)), linear-gradient(135deg, rgba(79, 210, 255, .06), rgba(227, 178, 77, .06)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), inset 0 0 40px rgba(0, 0, 0, .35); }

/* ---------- footer ---------- */
.foot { position: relative; border-top: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .5)); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227, 178, 77, .55) 25%, rgba(79, 210, 255, .45) 75%, transparent); }
.foot .brand { font-size: 1.1rem; }
.foot .foot-h { color: var(--gold-2); letter-spacing: .2em; font-size: .7rem; }
.foot a:hover { color: var(--gold-2); }
.site-foot { position: relative; border-top: 0; }
.site-foot::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227, 178, 77, .5), rgba(79, 210, 255, .4), transparent); }

/* ---------- account page brand panel ---------- */
.pcd-emblem { width: clamp(150px, 16vw, 210px); height: auto; border-radius: 0 !important; box-shadow: none !important; background: none !important; filter: drop-shadow(0 18px 40px rgba(227, 178, 77, .28)); }

@media (max-width: 860px) { .brand .mark { width: 32px; height: 32px; } }
