/* serkanGames v2 — site.css (elle yazildi, derleme yok) */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0c10;
  --bg-2: #101218;
  --surface: #151821;
  --surface-2: #1b1f2a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eeeae2;
  --muted: #a9adb8;
  --cream: #f3e6c8;
  --accent: #ff7a1a;
  --accent-hi: #ff9447;
  --accent-ink: #1a0c02;
  --focus: #ffb070;
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 72px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
:root:lang(ja) { --font: "Outfit", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif; }
:root:lang(zh-CN) { --font: "Outfit", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.has-modal { overflow: hidden; }
html.i18n-wait body { opacity: 0; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: opacity .18s ease;
}
:lang(ja) body, :lang(zh-CN) body { line-height: 1.8; }
:lang(ja) :is(h1, h2, h3, p, li, dd, span) { line-break: strict; word-break: auto-phrase; }
:lang(zh-CN) :is(h1, h2, h3, p, li, dd, span) { line-break: strict; }
:lang(de) :is(h1, h2, h3, .card-genre, .value-title), :lang(ru) :is(h1, h2, h3, .card-genre, .value-title) { hyphens: auto; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.ico-sm { width: .9em; height: .9em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
  text-align: center;
}
.btn--lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px rgba(255, 122, 26, .7); }
.btn--primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.text-link { display: inline-flex; align-items: center; gap: .45em; color: var(--cream); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { border-bottom-color: currentColor; }
.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(20, 22, 30, .78); color: var(--text); border: 1px solid var(--line-2); cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(40, 44, 58, .95); }
.icon-btn .ico { width: 22px; height: 22px; }

/* ---------- badges */
.badge {
  display: inline-flex; align-items: center; gap: .45em; width: fit-content; max-width: 100%;
  padding: .32em .75em; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; line-height: 1.25;
  border: 1px solid var(--line-2); color: #d6d9e0; background: rgba(255, 255, 255, .04);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8d93a1; flex: none; }
.badge--steam { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.badge--steam::before { background: var(--accent-ink); }
.badge--preparing { color: var(--accent-hi); border-color: rgba(255, 122, 26, .55); background: rgba(255, 122, 26, .08); }
.badge--preparing::before { background: var(--accent); }
.badge--dev::before { background: #6fd3a2; }

/* ---------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(11, 12, 16, .75), rgba(11, 12, 16, 0)) border-box no-repeat;
}
.site-header.is-solid, .site-header.nav-open { background: rgba(11, 12, 16, .92); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(12px); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 24px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 6px; list-style: none; }
.nav-list a { display: inline-block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #dcdfe6; transition: color .2s, background-color .2s; }
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.lang-btn:hover { background: rgba(255, 255, 255, .1); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; list-style: none; padding: 6px;
  background: #151821; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
}
.lang-menu a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #dfe2e8; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255, 255, 255, .08); }
.lang-menu a[aria-checked="true"] { color: var(--accent-hi); font-weight: 700; }
.lang-menu a[aria-checked="true"]::after { content: "●"; font-size: .6rem; }

.nav-toggle { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand img { height: 21px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--text);
  }
  /* backdrop-filter sabit konumlu menuyu basliga hapseder; menu acikken kapat */
  .site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
  .nav-toggle-bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 32px;
    background: rgba(11, 12, 16, .98); overflow-y: auto; display: none;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .js .site-nav { display: none; }
  .js .site-header.nav-open .site-nav { display: flex; }
  .no-js .site-nav { position: static; display: flex; flex-direction: row; padding: 0; background: none; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { display: block; padding: 14px 6px; font-size: 1.35rem; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .lang-btn { width: 100%; justify-content: flex-start; min-height: 48px; }
  .lang-btn .ico-sm { margin-left: auto; }
  .lang-menu { position: static; margin-top: 8px; width: 100%; box-shadow: none; display: grid; grid-template-columns: 1fr 1fr; }
  .lang-menu[hidden] { display: none !important; }
}

/* ---------- hero (home) */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 72% 40%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 16, .92) 0%, rgba(11, 12, 16, .7) 30%, rgba(11, 12, 16, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 16, 0) 38%);
}
.hero-content { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(56px, 9vh, 104px); display: grid; gap: 18px; justify-items: start; }
.hero-content > * { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); }
:lang(ja) .eyebrow, :lang(zh-CN) .eyebrow { letter-spacing: .06em; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 26, .2); }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -.025em; line-height: .95; color: #fff; text-wrap: balance; }
.hero-hook { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; color: var(--cream); line-height: 1.35; text-wrap: balance; }
.hero-genre { color: var(--muted); font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

@media (max-width: 720px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; display: block; aspect-ratio: 1 / 1; height: auto; max-height: 70vh; }
  .hero-media img { position: absolute; object-position: 50% 50%; }
  .hero-shade { inset: 0 0 auto 0; aspect-ratio: 1 / 1; max-height: 70vh; height: auto; background: linear-gradient(0deg, var(--bg) 2%, rgba(11, 12, 16, 0) 45%), linear-gradient(180deg, rgba(11, 12, 16, .6) 0%, rgba(11, 12, 16, 0) 22%); }
  .hero-content { padding-top: 0; margin-top: -72px; padding-bottom: 48px; gap: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- intro band */
.intro-band { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.intro-grid { padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 14px; justify-items: center; text-align: center; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); }
:lang(ja) .kicker, :lang(zh-CN) .kicker { letter-spacing: .06em; }
.intro-slogan { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--cream); text-wrap: balance; }
.intro-tagline { max-width: 680px; color: var(--muted); font-size: 1.12rem; text-wrap: pretty; }

/* ---------- sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(40px, 6vw, 72px); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-title { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.section-title-sm { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.section-lead { color: var(--muted); font-size: 1.12rem; text-wrap: pretty; }
:lang(ja) :is(.hero-title, .section-title, .intro-slogan, .g-title), :lang(zh-CN) :is(.hero-title, .section-title, .intro-slogan, .g-title) { letter-spacing: 0; }

/* ---------- game cards */
.card-grid { list-style: none; display: grid; gap: clamp(14px, 2vw, 26px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-item { display: flex; }
.card { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; border-radius: var(--radius); }
.card-media {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 40px -24px rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .35s; }
.card-media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .35s;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 170, 110, 0) 0%, rgba(255, 170, 110, 0) 100%);
}
.card:hover .card-media, .card:focus-visible .card-media { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(255, 122, 26, .45), 0 18px 40px -24px rgba(0, 0, 0, .9); }
.card:hover .card-media img, .card:focus-visible .card-media img { transform: scale(1.045); filter: brightness(1.08) saturate(1.06); }
.card:hover .card-media::after, .card:focus-visible .card-media::after { box-shadow: inset 0 0 0 1px rgba(255, 140, 60, .55); }
.card:focus-visible { outline-offset: 6px; }
.card-body { display: grid; gap: 6px; padding: 14px 2px 4px; align-content: start; }
.card-title { font-size: 1.12rem; font-weight: 700; color: #fff; letter-spacing: -.005em; line-height: 1.2; }
.card-genre { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.card-body .badge { margin-top: 4px; }
@media (max-width: 719px) {
  .card-title { font-size: 1rem; }
  .card-genre { font-size: .82rem; }
  .card-body .badge { font-size: .7rem; }
}

/* ---------- studio */
.studio { background: var(--bg-2); border-block: 1px solid var(--line); }
.studio-grid { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 960px) { .studio-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.studio-text { display: grid; gap: 18px; }
.studio-text p:not(.kicker) { color: #cfd2da; text-wrap: pretty; }
.studio-text .studio-lead { color: var(--cream); font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
.values-title { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.values { list-style: none; display: grid; gap: 14px; }
.value { position: relative; padding: 22px 22px 22px 70px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value-num { position: absolute; left: 22px; top: 20px; font-weight: 800; font-size: 1.05rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.value-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .98rem; }

/* ---------- community */
.community-box { display: grid; gap: 32px; }
@media (min-width: 960px) { .community-box { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.community-text { display: grid; gap: 12px; }
.social { list-style: none; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .social { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.social-card {
  display: grid; gap: 6px; align-content: start; height: 100%; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.social-card .ico { width: 30px; height: 30px; margin-bottom: 8px; }
.social-card--discord .ico { color: #8c9bff; }
.social-card--x .ico { color: #fff; }
.social-card--steam .ico { color: #9fc3ff; }
.social-name { font-weight: 800; font-size: 1.2rem; color: #fff; }
.social-label { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.social-card:hover { transform: translateY(-3px); border-color: rgba(255, 122, 26, .5); background: var(--surface-2); }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); background: #08090c; padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr auto; align-items: start; } }
.footer-brand { display: grid; gap: 10px; }
.footer-brand img { height: 24px; width: auto; }
.footer-slogan { color: var(--cream); font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: #cfd2da; text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; }
.icon-link { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: #dfe2e8; transition: background-color .2s, color .2s; }
.icon-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.footer-legal { border-top: 1px solid var(--line); padding-block: 22px 32px; display: grid; gap: 6px; color: #8c909b; font-size: .86rem; }
.build-label { letter-spacing: .1em; font-size: .75rem; color: #737885; }

/* ---------- game page */
.g-hero { position: relative; overflow: hidden; background: #050608; padding-top: var(--header-h); isolation: isolate; }
.g-hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(36px) saturate(1.2) brightness(.45); transform: scale(1.1); z-index: -1; }
.g-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--bg), rgba(11, 12, 16, 0)); z-index: -1; pointer-events: none; }
.g-hero-frame { width: min(100%, 1320px, calc((88vh - var(--header-h)) * 16 / 9)); margin-inline: auto; }
.g-hero-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
@media (min-width: 1360px) { .g-hero-frame img { border-radius: 0 0 var(--radius) var(--radius); } }

.g-head { padding-top: clamp(28px, 4vw, 48px); }
.g-head-grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .g-head-grid { grid-template-columns: 1fr auto; align-items: end; } }
.g-head-main { display: grid; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 4px 0; }
.back-link:hover { color: #fff; }
.g-title { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.025em; color: #fff; line-height: 1; text-wrap: balance; }
.working-title { font-size: .32em; font-weight: 600; letter-spacing: .02em; color: var(--muted); vertical-align: middle; white-space: nowrap; }
.g-genre { color: var(--accent-hi); font-weight: 600; }
.g-hook { font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--cream); font-weight: 600; line-height: 1.35; max-width: 820px; text-wrap: balance; }
.g-head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 960px) { .g-head-side { align-items: flex-end; } }
@media (max-width: 559px) { .g-head-side .btn { width: 100%; } }

.g-body { display: grid; gap: 40px; }
@media (min-width: 960px) { .g-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; } }
.g-main { display: grid; gap: 22px; align-content: start; }
.g-desc { font-size: 1.15rem; color: #d9dce3; max-width: 760px; text-wrap: pretty; }
.features { list-style: none; display: grid; gap: 12px; max-width: 800px; }
.features li { position: relative; padding: 16px 18px 16px 50px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: #d6d9e0; }
.features li::before { content: ""; position: absolute; left: 20px; top: 1.45em; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.g-aside { display: grid; gap: 18px; align-content: start; }
.g-poster { width: 100%; max-width: 320px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9); }
@media (max-width: 959px) { .g-aside { grid-template-columns: 160px 1fr; align-items: start; } .g-poster { max-width: 160px; } }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: #fff; font-weight: 600; }

.video-frame { margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); max-width: 1100px; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

.gallery-head { display: grid; gap: 6px; margin-bottom: 22px; }
.gallery-note { color: var(--muted); font-size: .95rem; }
.shots { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.shot { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .3s; pointer-events: none; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); filter: brightness(1.08); }
.shot:hover::after, .shot:focus-visible::after { box-shadow: inset 0 0 0 2px rgba(255, 140, 60, .7); }

.g-pager { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; padding-block: 24px clamp(56px, 8vw, 96px); }
.pager-link { position: relative; display: block; min-height: 140px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; border: 1px solid var(--line); }
.pager-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.pager-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 12, 16, .92), rgba(11, 12, 16, .55)); }
.pager-next::before { background: linear-gradient(270deg, rgba(11, 12, 16, .92), rgba(11, 12, 16, .55)); }
.pager-link:hover img { transform: scale(1.05); }
.pager-text { display: grid; gap: 6px; padding: 22px; height: 100%; align-content: center; }
.pager-next .pager-text { text-align: right; justify-items: end; }
.pager-dir { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-hi); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.pager-name { font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.5rem); line-height: 1.15; overflow-wrap: anywhere; }
@media (max-width: 559px) { .pager-text { padding: 16px; } .pager-link { min-height: 120px; } }

/* ---------- dialogs */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(4, 5, 8, .95); }
.video-dialog { width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: #050608; overflow: hidden; }
.video-dialog-inner { display: grid; }
.video-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; }
.video-dialog-title { font-size: 1rem; font-weight: 700; }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; max-height: calc(100vh - 120px); }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lightbox[open] { display: block; }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px clamp(8px, 7vw, 96px); touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); user-select: none; -webkit-user-drag: none; }
.lb-counter { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(20, 22, 30, .8); font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 600px) {
  .lb-stage { padding: 64px 0 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-counter { bottom: 22px; }
}

.notfound { min-height: 70vh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 40px); }
.notfound .container { display: grid; gap: 16px; }

/* ---------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .card:hover .card-media, .card:hover .card-media img, .shot:hover img, .pager-link:hover img, .btn--primary:hover, .social-card:hover { transform: none !important; }
}
