/* Studio pages (home, /games/, /apps/): black Rockstar-style canvas with a Broforce shout bar.
   Loaded after site.css. Product pages keep their own themes and don't use this file. */
:root { --bg: #000; --fg: #fff; --muted: #a3a3a3; --line: rgba(255,255,255,.1); --nav-bg: rgba(0,0,0,.72);
        --card: #161616; --red: #e5432f; --gold: #e2b14a; --mint: #3ee0b5; --violet: #9b8cff; --yellow: #f3b61f; }
body { font: 17px/1.55 "Inter Tight", system-ui, sans-serif; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }

/* Shout bar */
.shout { position: fixed; inset: 0 0 auto; z-index: 60; height: 34px; background: var(--red); color: #fff; overflow: hidden; display: flex; align-items: center; }
.shout:hover .run, .shout:focus-within .run { animation-play-state: paused; }
.shout .run { display: flex; gap: 40px; width: max-content; animation: shout 28s linear infinite; font: italic 900 13px/1 "Inter Tight"; letter-spacing: .08em; text-transform: uppercase; }
.shout .run span { display: inline-flex; gap: 40px; align-items: center; white-space: nowrap; }
.shout .run span::after { content: "★"; font-style: normal; }
.shout a { color: #fff; text-decoration: none; }
@keyframes shout { to { transform: translateX(-50%); } }

/* Jump links (#case, #features...) stop below the pinned shout bar and nav */
[id] { scroll-margin-top: 112px; }

/* Nav */
.nav { top: 34px; }
.nav .wrap { height: 72px; }
.brand { font: 900 21px/1 "Inter Tight", sans-serif; letter-spacing: -.03em; text-transform: uppercase; }
.brand i { font-weight: 500; opacity: .6; }
.nav-links a { font: 700 13px/1 "Inter Tight"; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.nav-cta { margin-left: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); border-radius: 999px; opacity: 1 !important; }
@media (max-width: 640px) { .nav-links a:not(.nav-cta):nth-child(3) { display: none; } .nav-cta { display: none; } }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.b { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 "Inter Tight"; text-decoration: none; transition: transform 160ms var(--ease-out), background-color .2s ease; }
.b:active { transform: scale(.97); }
.b-w { background: #fff; color: #000; }
.b-o { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .b-w:hover { background: #e9e9e9; }
  .b-o:hover { background: rgba(255,255,255,.12); }
}
.b svg { width: 16px; height: 16px; }

/* Page title block for /games/ and /apps/ */
.ptitle { padding: 176px 0 40px; }
.ptitle h1 { font: italic 900 clamp(64px, 11vw, 160px)/.86 "Inter Tight"; text-transform: uppercase; letter-spacing: -.04em; }
.ptitle h1 span { color: var(--red); }
.ptitle p { color: var(--muted); font-size: 19px; max-width: 560px; margin: 22px 0 0; }

/* Product logotypes, each in its own product's type */
.lg-heist-img { display: block; height: auto; max-width: 100%; filter: drop-shadow(0 3px 0 rgba(0,0,0,.55)) drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.lg-rebel { font: 700 clamp(56px, 7vw, 104px)/.84 "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: -.04em; color: #f3eee5; }
.lg-rebel i { display: inline-block; width: .26em; height: .26em; background: var(--red); margin-left: .03em; }
.lg-agni { display: flex; align-items: center; gap: 18px; font: 600 clamp(48px, 6vw, 88px)/1 "Fraunces", serif; letter-spacing: -.03em; color: #fff6e8; }
.lg-agni img { width: clamp(64px, 7vw, 96px); height: auto; border-radius: 22%; }

/* Block Rebel key art made from its own screens */
.rebel-art { position: absolute; inset: 0; background: #161514; overflow: hidden; }
.rebel-art .mond { position: absolute; inset: 0; display: grid; grid-template-columns: 3fr 1fr 2fr; grid-template-rows: 2fr 1fr; gap: 14px; opacity: .14; }
.rebel-art .mond i:nth-child(1) { background: var(--red); grid-row: span 2; } .rebel-art .mond i:nth-child(2) { background: var(--yellow); }
.rebel-art .mond i:nth-child(3) { background: #2550c8; grid-row: span 2; } .rebel-art .mond i:nth-child(4) { background: #f3eee5; }
.rebel-art .ph { position: absolute; border: 7px solid #f3eee5; border-radius: 30px; overflow: hidden; box-shadow: 16px 16px 0 rgba(0,0,0,.6); background: #222; }
.rebel-art .ph img, .rebel-art .ph video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }

/* Agnihotra dawn */
.dawn { position: absolute; inset: 0; background: linear-gradient(180deg, #0d0703 0%, #2a150a 38%, #7a3a17 66%, #e08a45 86%, #ffcf8a 100%); overflow: hidden; }
.dawn .sun { position: absolute; left: 72%; top: 52%; width: 62vmin; height: 62vmin; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, #fff6dc 0%, #ffd27a 30%, rgba(255,150,70,.55) 52%, transparent 70%); }
.dawn .hill { position: absolute; left: -10%; right: -10%; bottom: -14%; height: 34%; border-radius: 50% 50% 0 0; background: #0d0703; }
.dawn .stars { position: absolute; inset: 0 0 50%; background-image: radial-gradient(1.4px 1.4px at 12% 20%, #fff9, transparent), radial-gradient(1px 1px at 35% 10%, #fff8, transparent), radial-gradient(1.2px 1.2px at 58% 26%, #fff7, transparent), radial-gradient(1px 1px at 80% 14%, #fff8, transparent), radial-gradient(1.3px 1.3px at 92% 34%, #fff6, transparent); }

/* Per-product showcase sections */
section { padding: 90px 0; }
.sec-t { font: 700 clamp(28px, 3vw, 40px)/1 "Inter Tight"; letter-spacing: -.02em; margin-bottom: 30px; }
.feature { position: relative; padding: 0 0 80px; }
.feature .stage { position: relative; height: 78vh; min-height: 520px; max-height: 820px; overflow: hidden; }
.feature .stage > img { width: 100%; height: 100%; object-fit: cover; }
.feature .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 2%, rgba(0,0,0,.35) 40%, transparent 70%); }
.feature .info { position: relative; z-index: 2; margin-top: -170px; display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: end; }
.crumb { font: 600 17px/1 "Inter Tight"; color: #bdbdbd; } .crumb b { color: #fff; font-weight: 600; } .crumb span { margin: 0 10px; opacity: .6; }
.crumb a { color: inherit; text-decoration: none; display: inline-block; padding-block: 6px; } .crumb a:hover, .crumb a:focus-visible { color: #fff; }
.desc { font-size: 18px; color: #e3e3e3; max-width: 640px; margin: 14px 0 24px; }
.plat { display: flex; gap: 22px; margin-top: 22px; color: #e6e6e6; font: 600 15px/1 "Inter Tight"; align-items: center; flex-wrap: wrap; }
.plat span { display: inline-flex; gap: 8px; align-items: center; } .plat svg { width: 18px; height: 18px; }
.rowt { font: 700 26px/1 "Inter Tight"; letter-spacing: -.015em; margin: 60px 0 22px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiles.five { grid-template-columns: repeat(5, 1fr); }
.tiles > * { min-width: 0; overflow-wrap: anywhere; }
.tl { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; text-decoration: none; background: #111; }
.tl img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tl:hover img { transform: scale(1.04); } }
/* Neutral scrim so captions stay readable over busy screenshots */
.tl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 30%, transparent 62%); }
.tl p { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0; padding: 18px; font: 600 16px/1.3 "Inter Tight"; }
.tl p b { display: block; font-size: 15px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
@media (max-width: 900px) { .feature .info { grid-template-columns: 1fr; gap: 20px; margin-top: -120px; } .tiles, .tiles.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .tiles.five > :last-child { grid-column: span 2; aspect-ratio: 16/9; } }
@media (max-width: 640px) {
  .feature .stage { height: 58svh; min-height: 380px; } section { padding: 64px 0; }
  .stage .rebel-stage { grid-template-columns: repeat(3, 1fr); padding: 20px; transform: rotate(-6deg) scale(1.2); }
  .tiles .agni-tile { min-height: 0; padding: 20px 16px; } .tiles .agni-tile b { font-size: 21px; } .tiles .agni-tile span { font-size: 14px; }
}
.rebel-stage { position: absolute; inset: 0; background: #161514; display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; padding: 30px; transform: rotate(-6deg) scale(1.25); opacity: .55; }
.rebel-stage img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 16px; }
.rebel-stage img:nth-child(even) { translate: 0 60px; }
.agni-tile { border-radius: 14px; padding: 26px 22px 24px; display: flex; flex-direction: column; justify-content: flex-start; background: #2a150a; color: #fff6e8; min-height: 168px; }
.agni-tile b { font: 600 26px/1.1 "Fraunces", serif; letter-spacing: -.01em; } .agni-tile span { font-size: 15px; color: #e9cfb4; margin-top: 10px; }
.agni-tile:nth-child(even) { background: #3a1d0d; }

/* Locked "next up" card */
.locked { position: relative; border-radius: 18px; border: 2px dashed rgba(255,255,255,.18); display: grid; place-items: center; text-align: center; padding: 30px; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.locked:focus-visible, .locked:hover { border-color: var(--red); background: rgba(229,67,47,.06); }
.locked .q { font: italic 900 96px/1 "Inter Tight"; color: #2a5bd7; }
.locked b { display: block; font: 900 18px/1.2 "Inter Tight"; text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; }
.locked span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Contact */
.contact { padding: 110px 0; text-align: center; border-top: 1px solid var(--line); }
.contact h2 { font: italic 900 clamp(44px, 8vw, 120px)/.9 "Inter Tight"; text-transform: uppercase; letter-spacing: -.03em; }
.contact h2 span { color: var(--red); }
.contact p { color: var(--muted); margin: 22px auto 30px; max-width: 460px; }
.foot { --fg: #fff; font-family: "Inter Tight", system-ui, sans-serif; }
