/* Kobasic · Studio — portfolio igara. Tamna podloga, svaka igra nosi svoju boju (--c iz admina). */

@font-face { font-family: "DM Sans"; src: url("../../fonts/DMSans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../../fonts/Lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0c0d11;
  --bg-2: #111319;
  --surface: #161921;
  --surface-2: #1d212b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f0ea;
  --muted: #a3a8b4;
  --faint: #6f7584;
  --brand: #f3ab56;
  --c: var(--brand);
  --radius: 22px;
  --shell: 1220px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.admin-notice { background: #3a2a10; color: #ffe2b5; padding: 10px 16px; text-align: center; font-size: 15px; }
.admin-notice a { color: #fff; }

.st-shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }
.st-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); margin-bottom: 14px; }
.st-lead { font-size: clamp(18px, 1.6vw, 21px); color: #d6d3cd; line-height: 1.55; }
.st-small-title { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.st-link { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.st-link:hover { text-decoration-color: var(--c); }

/* Gumbi */
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.st-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--text); color: #101114; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.st-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c) 70%, transparent); }
.st-btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.st-btn-ghost:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.st-btn-play { background: #fff; }
.st-btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.st-play { width: 18px; height: 18px; flex: none; }
.st-round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 18px; transition: border-color .2s; }
.st-round:hover { border-color: var(--c); }

/* Zaglavlje */
.st-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s; }
.st-header.is-scrolled { border-bottom-color: var(--line); }
.st-nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.st-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.st-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #f3ab56, #e9663a); color: #1a0f05; font-size: 21px; font-weight: 800; line-height: 1; padding-bottom: 3px; box-shadow: 0 6px 20px -6px #f3ab56aa; }
.st-links { display: flex; gap: 4px; margin-left: auto; }
.st-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.st-links a:hover, .st-links a[aria-current] { color: var(--text); background: var(--surface); }
.st-menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.st-menu span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s; }
.st-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.st-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.st-mobile { display: none; }

/* Naslovnica: uvod */
.st-hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.st-hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(40% 50% at 78% 40%, #f3ab5626, transparent 70%),
  radial-gradient(30% 40% at 60% 75%, #7c3aed22, transparent 70%),
  radial-gradient(30% 40% at 95% 80%, #06b6d41f, transparent 70%); pointer-events: none; }
.st-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.st-hero h1 { font-size: clamp(44px, 6.6vw, 92px); letter-spacing: -.045em; margin-bottom: 24px; }
.st-hero .st-lead { max-width: 560px; margin-bottom: 32px; }
.st-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.st-stats div { display: flex; align-items: baseline; gap: 10px; }
.st-stats dt { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.st-stats dd { margin: 0; color: var(--muted); font-size: 15px; max-width: 130px; line-height: 1.3; }

.st-icon-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.st-icon-wall li { animation: st-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.st-icon-wall li:nth-child(3n+2) { transform: translateY(28px); animation-name: st-float-2; }
.st-icon-wall a { position: relative; display: block; text-decoration: none; border-radius: 26%; transition: transform .3s; }
.st-icon-wall a::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: var(--c); filter: blur(28px); opacity: .45; transition: opacity .3s; }
.st-icon-wall a:hover { transform: scale(1.06) rotate(-2deg); }
.st-icon-wall a:hover::before { opacity: .8; }
.st-icon-wall .st-icon { position: relative; width: 100%; height: auto; aspect-ratio: 1; border-radius: 24%; box-shadow: 0 18px 40px -16px #000, inset 0 0 0 1px var(--line); }
.st-icon-wall span:not(.st-icon) { position: absolute; left: 50%; bottom: -30px; translate: -50% 0; white-space: nowrap; font-size: 13px; color: var(--muted); opacity: 0; transition: opacity .2s; }
.st-icon-wall a:hover span:not(.st-icon), .st-icon-wall a:focus-visible span:not(.st-icon) { opacity: 1; }
@keyframes st-float { 50% { transform: translateY(-10px); } }
@keyframes st-float-2 { 0%, 100% { transform: translateY(28px); } 50% { transform: translateY(16px); } }

.st-icon { display: block; border-radius: 22%; object-fit: cover; flex: none; background: var(--surface-2); }
.st-icon-letter { display: grid; place-items: center; width: 56px; height: 56px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 40%, #000)); color: #fff; font-weight: 700; font-size: 26px; }

/* Brzi skok na igru */
.st-index-bar { position: sticky; top: 72px; z-index: 40; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.st-index-scroll { display: flex; gap: 8px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.st-index-scroll::-webkit-scrollbar { display: none; }
.st-index-scroll a { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.st-index-scroll a .st-icon { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
.st-index-scroll a:hover, .st-index-scroll a.is-active { color: var(--text); border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }

/* Poglavlja i odjeljci igara */
.st-chapter { padding: clamp(72px, 9vw, 120px) 0 clamp(32px, 4vw, 56px); }
.st-chapter-alt { background: linear-gradient(var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.st-chapter-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.st-chapter-head h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 16px; }
.st-chapter-head p { color: var(--muted); font-size: 18px; }

.st-game { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4.5vw, 72px); align-items: center; padding: clamp(28px, 3vw, 40px); margin-bottom: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 10px); background: linear-gradient(140deg, color-mix(in srgb, var(--c) 9%, var(--surface)) 0%, var(--bg-2) 60%); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 140px; }
.st-game::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: -15%; top: -35%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); pointer-events: none; }
.st-game.is-flipped { grid-template-columns: .85fr 1.15fr; }
.st-game.is-flipped .st-game-media { order: 2; }
.st-game.is-flipped::before { left: auto; right: -15%; }
.st-game-media { position: relative; display: block; border-radius: var(--radius); }
.st-game-body { position: relative; }
.st-game-body h3 { font-size: clamp(34px, 3.8vw, 52px); margin: 16px 0 10px; }
.st-game-body h3 a { text-decoration: none; }
.st-game-body h3 a:hover { color: var(--c); }
.st-game-body > p:not(.st-tagline) { color: var(--muted); }
.st-tagline { font-size: clamp(19px, 1.7vw, 22px); color: var(--text); font-weight: 500; line-height: 1.4; margin-bottom: 14px; }
.st-game-id { display: flex; align-items: center; gap: 16px; }
.st-game-id > .st-icon { width: 64px; height: 64px; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--c) 60%, #000); }
.st-index { display: block; font-size: 13px; font-weight: 600; color: var(--c); letter-spacing: .1em; }
.st-kicker { display: block; color: var(--muted); font-size: 15px; }
.st-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.st-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.st-pill.is-live { color: #b8f5cf; border-color: #3ddc8455; background: #3ddc8414; }
.st-pill.is-live::before { background: #3ddc84; box-shadow: 0 0 0 4px #3ddc8430; }
.st-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 28px; }
.st-points li { padding: 6px 12px; border-radius: 10px; background: color-mix(in srgb, var(--c) 10%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); font-size: 14px; color: #dcd8d0; }

/* Medij igre: zamućena pozadina + slika u punom omjeru */
.st-stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: 0 30px 70px -30px #000, 0 0 0 1px var(--line); isolation: isolate; }
.st-stage-fill { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(34px) saturate(1.2) brightness(.5); transform: scale(1.1); z-index: -1; }
.st-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--c) 30%, transparent), transparent), linear-gradient(rgba(8, 9, 12, .45), rgba(8, 9, 12, .6)); }
.st-stage-media { position: absolute; inset: 0; display: grid; place-items: center; }
.st-stage-media img, .st-stage-media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.st-game-media:hover .st-stage { box-shadow: 0 34px 80px -30px #000, 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent); }
.st-game-media .st-stage-media > * { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.st-game-media:hover .st-stage-media > * { transform: scale(1.03); }

/* O studiju i pomoć */
.st-about { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.st-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); }
.st-about h2 { font-size: clamp(34px, 4vw, 54px); }
.st-facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.st-facts li { background: var(--bg); padding: 18px 20px; display: grid; gap: 4px; }
.st-facts b { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.st-facts a { color: var(--text); }
.st-help { padding: 0 0 clamp(72px, 9vw, 120px); }
.st-help-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(120deg, color-mix(in srgb, var(--c) 16%, var(--surface)), var(--surface) 70%); border: 1px solid var(--line); }
.st-help-card h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 10px; }
.st-help-card p { color: var(--muted); margin: 0; max-width: 620px; }
.st-help-card p a { color: var(--text); }

/* Stranica igre */
.st-game-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.st-game-hero-bg { position: absolute; inset: 0; z-index: -1; }
.st-game-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.4) brightness(.35); transform: scale(1.2); }
.st-game-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg)), radial-gradient(60% 70% at 20% 30%, color-mix(in srgb, var(--c) 20%, transparent), transparent); }
.st-game-hero { isolation: isolate; }
.st-game-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.st-game-hero h1 { font-size: clamp(46px, 6.4vw, 88px); letter-spacing: -.045em; margin: 22px 0 16px; }
.st-sub { display: block; font-size: .36em; letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-top: 12px; font-weight: 600; }
.st-game-hero .st-tagline { font-size: clamp(20px, 2vw, 25px); margin-bottom: 30px; max-width: 520px; }
.st-game-hero .st-game-id .st-icon { width: 88px; height: 88px; box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--c) 70%, #000), inset 0 0 0 1px var(--line); }
.st-game-hero .st-pill { margin-top: 0; }
.st-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.st-crumbs a { color: var(--muted); text-decoration: none; }
.st-crumbs a:hover { color: var(--text); }

.st-section { padding: clamp(56px, 7vw, 96px) 0 0; }
.st-section:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
.st-overview { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.st-overview-copy h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 22px; }
.st-overview-copy p { color: #cfccc5; font-size: 18px; max-width: 720px; }
.st-facts-card { position: sticky; top: 96px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.st-facts-card dl { margin: 0 0 26px; display: grid; gap: 14px; }
.st-facts-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.st-facts-card dt { color: var(--muted); font-size: 15px; }
.st-facts-card dd { margin: 0; text-align: right; font-weight: 500; font-size: 15px; }
.st-doc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.st-doc-links a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); text-decoration: none; font-size: 15px; transition: background .2s; }
.st-doc-links a:hover { background: color-mix(in srgb, var(--c) 18%, var(--surface-2)); }

.st-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.st-features li { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--c); }
.st-features h3 { font-size: 22px; margin: 14px 0 10px; letter-spacing: -.015em; }
.st-features p { color: var(--muted); margin: 0; font-size: 16px; }

.st-shots-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.st-shots-head h2 { font-size: clamp(30px, 3.4vw, 46px); }
.st-shots-nav { display: flex; gap: 8px; }
.st-shots-nav[hidden] { display: none; }
.st-shots-row { display: flex; justify-content: safe center; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 20px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.st-shots-row figure { margin: 0; flex: none; scroll-snap-align: start; }
.st-shots-row button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.st-shots-row img { height: clamp(380px, 56vh, 560px); width: auto; max-width: 82vw; object-fit: contain; background: var(--surface); transition: transform .4s; }
.st-shots-row button:hover img { transform: scale(1.02); }
.st-shots-row figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.4; width: 0; min-width: 100%; }
.st-lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.st-lightbox::backdrop { background: rgba(5, 6, 8, .88); backdrop-filter: blur(6px); }
.st-lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 14px; }
.st-lightbox [data-close] { position: fixed; top: 16px; right: 16px; }
.st-video { margin-top: 8px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.st-video video { width: 100%; }

.st-more { padding-bottom: clamp(56px, 7vw, 96px); }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.st-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.st-card:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); transform: translateY(-2px); }
.st-card b { display: block; font-size: 16px; }
.st-card small { color: var(--muted); font-size: 13px; }
.st-card-go { margin-left: auto; color: var(--faint); transition: color .2s, transform .2s; }
.st-card:hover .st-card-go { color: var(--c); transform: translateX(3px); }

/* Dokumenti i podrška */
.st-doc { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); background: radial-gradient(50% 300px at 15% 0, color-mix(in srgb, var(--c) 12%, transparent), transparent); }
.st-doc-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 24px 64px; justify-content: center; }
.st-doc-head { grid-column: 1 / -1; padding-bottom: 32px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.st-doc-head h1 { font-size: clamp(36px, 4.6vw, 60px); }
.st-doc-head > h1 { margin-bottom: 14px; }
.st-doc-title { display: flex; align-items: center; gap: 18px; }
.st-doc-title .st-eyebrow { margin-bottom: 6px; }
.st-doc-meta { color: var(--muted); margin: 18px 0 0; font-size: 15px; }
.st-doc-head .st-actions { margin-top: 24px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.st-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14px; color: var(--muted); }
.st-chips a:hover { color: var(--text); }
.st-chips a[aria-current] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.st-toc { position: sticky; top: 96px; align-self: start; }
.st-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.st-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--muted); font-size: 14px; line-height: 1.4; }
.st-toc a:hover { color: var(--text); border-left-color: var(--c); }
.st-prose { font-size: 17px; line-height: 1.7; color: #d9d6cf; min-width: 0; }
.st-prose h2 { font-size: 26px; margin: 44px 0 14px; color: var(--text); scroll-margin-top: 96px; }
.st-prose h3 { font-size: 20px; margin: 30px 0 10px; color: var(--text); }
.st-prose a { color: var(--text); text-decoration-color: var(--c); text-underline-offset: 3px; overflow-wrap: anywhere; }
.st-prose ul, .st-prose ol { padding-left: 1.3em; }
.st-prose li { margin-bottom: 6px; }
.st-prose strong { color: var(--text); }
.st-prose .table-wrap { margin: 20px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.st-prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.st-prose thead th { background: var(--surface-2); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.st-prose tr:last-child td { border-bottom: 0; }
.st-prose th, .st-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.st-prose th { color: var(--text); }
.st-prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.st-prose blockquote { margin: 20px 0; padding: 4px 20px; border-left: 3px solid var(--c); color: var(--muted); }
.st-prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.st-prose > :first-child { margin-top: 0; }
.st-prose .st-actions { margin-top: 32px; }
.st-doc-games { display: grid; gap: 10px; }
.st-doc-game { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.st-doc-game .st-icon { width: 44px; height: 44px; font-size: 20px; }
.st-doc-game-name { display: block; font-weight: 600; text-decoration: none !important; }
.st-doc-game small { color: var(--muted); font-size: 14px; }
.st-doc-game small a { color: var(--muted); }

.st-lost { padding: clamp(80px, 14vw, 180px) 0; text-align: center; }
.st-lost-code { display: block; font-size: clamp(110px, 20vw, 220px); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(135deg, #f3ab56, #e9663a 50%, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-lost h1 { font-size: clamp(32px, 4vw, 48px); margin: 16px 0 12px; }
.st-lost p { color: var(--muted); }
.st-lost .st-actions { justify-content: center; margin-top: 28px; }

/* Podnožje */
.st-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg-2); }
.st-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.st-footer-top p { color: var(--muted); max-width: 360px; margin: 18px 0 10px; font-size: 15px; }
.st-footer nav { display: grid; align-content: start; gap: 8px; }
.st-footer nav h2 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.st-footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.st-footer nav a:hover { color: var(--text); }
.st-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

/* Ulazak odjeljaka */
[data-reveal].st-hide { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].st-hide.is-in { opacity: 1; transform: none; }

/* Tablet i mobitel */
@media (max-width: 980px) {
  .st-links, .st-header-cta { display: none; }
  .st-menu { display: flex; }
  .st-mobile { display: grid; gap: 2px; max-height: 0; overflow: hidden; padding: 0 20px; transition: max-height .35s ease, padding .35s; }
  .st-mobile.is-open { max-height: 420px; padding: 8px 20px 20px; }
  .st-mobile a { padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; font-weight: 500; }
  .st-hero-grid, .st-game, .st-game.is-flipped, .st-game-hero-grid, .st-overview, .st-about-grid { grid-template-columns: 1fr; }
  .st-game.is-flipped .st-game-media { order: 0; }
  .st-icon-wall { grid-template-columns: repeat(5, 1fr); max-width: 560px; }
  .st-icon-wall li:nth-child(3n+2) { transform: none; animation-name: st-float; }
  .st-icon-wall li:nth-child(even) { transform: translateY(14px); animation-name: st-float-3; }
  .st-facts-card { position: static; }
  .st-doc-grid { grid-template-columns: minmax(0, 1fr); }
  .st-toc { position: static; }
  .st-footer-top { grid-template-columns: 1fr 1fr; }
  .st-footer-top > div { grid-column: 1 / -1; }
}
@keyframes st-float-3 { 0%, 100% { transform: translateY(14px); } 50% { transform: translateY(4px); } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .st-shell { width: calc(100% - 32px); }
  .st-nav { height: 64px; }
  .st-index-bar { top: 64px; }
  .st-icon-wall { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .st-stats { gap: 18px 28px; }
  .st-stats dt { font-size: 32px; }
  .st-game { padding: 14px 14px 26px; border-radius: 24px; }
  .st-game-body { padding: 0 6px; }
  .st-stage { aspect-ratio: 4 / 3; border-radius: 16px; }
  .st-btn { min-height: 48px; padding: 0 18px; }
  .st-actions .st-btn { flex: 1 1 auto; justify-content: center; }
  .st-facts { grid-template-columns: 1fr; }
  .st-shots-row img { height: 420px; }
  .st-shots-head .st-shots-nav { display: none; }
  .st-game-hero .st-game-id .st-icon { width: 72px; height: 72px; }
  .st-footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].st-hide { opacity: 1; transform: none; }
}

/* Stranica igre: kratki uvod, oznake, kartice sa slikom i dodatni tekst (novosti, FAQ) */
.st-hero-lead { color: #cfccc5; max-width: 520px; margin: -14px 0 22px; }
.st-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.st-badges li { padding: 5px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent); font-size: 13px; font-weight: 600; color: #dfe6ef; }
.st-cards-media { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.st-cards-media li { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 22px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.st-card-media { border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); }
.st-card-media img, .st-card-media video { width: 100%; height: auto; }
.st-cards-media h3 { font-size: 21px; margin: 10px 0 8px; letter-spacing: -.015em; }
.st-cards-media p { color: var(--muted); margin: 0; font-size: 16px; }
.st-game-more { max-width: 820px; }
.st-game-more h2:first-child { margin-top: 0; }
.st-game-more h3 { font-size: 18px; }
@media (max-width: 860px) {
  .st-cards-media { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .st-cards-media li { grid-template-columns: 110px 1fr; gap: 16px; padding: 12px; }
}
