/* ============================================================
   G.o.o.P.Studios — dark-fantasy homepage
   Berserk / Sekiro / Bloodborne mood · blood-red on black
   ============================================================ */

:root {
  /* Surfaces — near-black, faint warm ash */
  --bg:        oklch(0.135 0.006 28);
  --bg-1:      oklch(0.168 0.008 28);
  --bg-2:      oklch(0.205 0.010 28);
  --line:      oklch(0.30 0.014 28);
  --line-soft: oklch(0.26 0.012 28 / 0.7);

  /* Text — bone / parchment */
  --fg:        oklch(0.93 0.012 70);
  --fg-dim:    oklch(0.74 0.013 60);
  --fg-mute:   oklch(0.54 0.012 50);

  /* Accent — blood (from the GooP logo & ATA sigil) */
  --goo:       oklch(0.585 0.232 27);
  --goo-deep:  oklch(0.46 0.205 26);
  --goo-ink:   oklch(0.28 0.13 26);

  --radius:    6px;
  --radius-sm: 4px;
  --maxw: 1240px;

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Spectral", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* film grain + heavy vignette wash over everything */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background:
    radial-gradient(125% 95% at 50% 28%, transparent 52%, oklch(0.05 0.01 28 / 0.55) 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 61; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--goo); color: oklch(0.97 0.01 70); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--goo);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--goo); box-shadow: 0 0 12px var(--goo); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: 0.01em; }
.section-title { font-size: clamp(32px, 4.6vw, 56px); }
.lead { color: var(--fg-dim); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; font-weight: 300; }

.label {
  font-family: var(--font-display); font-weight: 600;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s;
}
.btn-primary { background: var(--goo); color: oklch(0.97 0.01 70); box-shadow: 0 0 0 0 var(--goo); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px var(--goo); background: var(--goo-deep); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--goo); color: var(--goo); transform: translateY(-2px); }

/* ---------- ember field (replaces goo blobs) ---------- */
.goo-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.goo-stage { position: absolute; inset: -12%; filter: url(#goo); }
.blob { position: absolute; border-radius: 50%; background: var(--goo); opacity: 0.22; mix-blend-mode: screen; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(50px,30px) scale(1.14);} }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.08);} 50% { transform: translate(-44px,46px) scale(0.88);} }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(0.92);} 50% { transform: translate(40px,-38px) scale(1.16);} }
@media (prefers-reduced-motion: reduce) { .blob { animation: none !important; } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: oklch(0.135 0.006 28 / 0.78); backdrop-filter: blur(16px) saturate(1.1); border-bottom: 1px solid var(--line-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 13px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 3px 8px oklch(0.585 0.232 27 / 0.4)); }
.brand .dot { color: var(--goo); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-family: var(--font-display); font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); padding: 9px 16px; border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--goo); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 86px); letter-spacing: 0.005em; }
.hero h1 .accent { color: var(--goo); display: block; }
.hero-sub { margin-top: 28px; max-width: 40ch; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 50px; display: flex; gap: 42px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.hero-meta .stat .n { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--fg); }
.hero-meta .stat .l { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); margin-top: 6px; }

/* hero poster — framed flagship key art */
.poster-frame { position: relative; justify-self: center; max-width: 420px; width: 100%; }
.poster-frame .poster {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-1);
  box-shadow: 0 50px 100px -40px #000, 0 0 80px -30px var(--goo-ink);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  aspect-ratio: 905 / 1280;
}
.poster-frame:hover .poster { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 60px 120px -40px #000, 0 0 100px -24px var(--goo-deep); }
.poster-frame .poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  padding: 8px 13px; border-radius: var(--radius-sm); backdrop-filter: blur(8px);
  background: oklch(0.135 0.01 28 / 0.72); border: 1px solid var(--goo-ink); color: var(--goo);
}
.poster-frame .corner { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--goo); z-index: 4; }
.poster-frame .corner.tl { top: -7px; left: -7px; border-right: none; border-bottom: none; }
.poster-frame .corner.br { bottom: -7px; right: -7px; border-left: none; border-top: none; }

/* ---------- placeholder (fallback) ---------- */
.ph { background: repeating-linear-gradient(135deg, var(--ph-a, oklch(0.22 0.01 28)) 0 12px, var(--ph-b, oklch(0.19 0.01 28)) 12px 24px); display: flex; align-items: flex-end; }
.ph .ph-label { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.7 0.02 28 / 0.85); padding: 12px; }

/* ---------- section frame ---------- */
.section { padding: 116px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.section-head .lead { max-width: 44ch; margin-top: 18px; }

/* ---------- games (portrait poster cards) ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.game-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-1); cursor: pointer; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease); display: flex; flex-direction: column; }
.game-card:hover { transform: translateY(-8px); border-color: var(--goo-deep); box-shadow: 0 50px 90px -50px #000, 0 0 60px -34px var(--goo); }
.gc-art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.gc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.game-card:hover .gc-art img { transform: scale(1.05); }
.gc-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, oklch(0.13 0.01 28 / 0.55) 78%, var(--bg-1) 100%); }
.gc-status { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 6px 11px; border-radius: var(--radius-sm); backdrop-filter: blur(8px); border: 1px solid var(--line); background: oklch(0.135 0.01 28 / 0.7); color: var(--fg-dim); }
.gc-status.live { color: var(--goo); border-color: var(--goo-ink); }
.gc-status.soon { color: oklch(0.78 0.13 75); }
.gc-body { padding: 22px 24px 26px; position: relative; z-index: 2; margin-top: -34px; display: flex; flex-direction: column; flex: 1; }
.gc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { font-family: var(--font-display); font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.gc-body h3 { font-size: 23px; line-height: 1.15; }
.gc-body p { color: var(--fg-dim); font-size: 14.5px; margin-top: 11px; font-weight: 300; flex: 1; }
.gc-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--goo); }
.gc-link .arr { transition: transform 0.3s var(--ease); }
.game-card:hover .gc-link .arr { transform: translateX(6px); }

/* ---------- studio / about ---------- */
.studio { position: relative; }
.studio::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, oklch(0.16 0.008 28) 22%, oklch(0.16 0.008 28) 78%, transparent); z-index: 0; }
.studio-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.studio-copy h2 { font-size: clamp(30px, 4vw, 48px); }
.studio-copy p { margin-top: 24px; }
.manifesto { margin-top: 34px; display: grid; gap: 18px; }
.manifesto li { list-style: none; display: flex; gap: 18px; align-items: flex-start; color: var(--fg-dim); font-weight: 300; }
.manifesto li .mk { font-family: var(--font-display); color: var(--goo); flex: none; font-size: 14px; font-weight: 700; margin-top: 2px; letter-spacing: 0.06em; }
.studio-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.studio-stats .cell { background: var(--bg-1); padding: 36px 30px; }
.studio-stats .cell .n { font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; }
.studio-stats .cell .n em { color: var(--goo); font-style: normal; }
.studio-stats .cell .l { color: var(--fg-mute); font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 10px; }

/* ---------- devlog ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 30px; align-items: center; padding: 28px 14px; border-bottom: 1px solid var(--line); transition: background 0.3s, padding 0.4s var(--ease); }
.news-row:hover { background: oklch(0.99 0 0 / 0.025); padding-left: 26px; }
.news-row .date { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.news-row .nt { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.news-row .nt .cat { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--goo); margin-right: 16px; }
.news-row .narr { color: var(--fg-mute); transition: transform 0.3s var(--ease), color 0.3s; }
.news-row:hover .narr { transform: translateX(7px); color: var(--goo); }

/* ---------- community / cta ---------- */
.community { position: relative; overflow: hidden; }
.cta-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-1); padding: 64px 60px; }

/* Telegram + QR layout */
.tg-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr auto; gap: 60px; align-items: center; }
.tg-copy h2 { font-size: clamp(30px, 4.4vw, 54px); }
.tg-copy .lead { max-width: 46ch; }
.tg-actions { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tg-handle { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.08em; color: var(--fg-dim); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color 0.25s, border-color 0.25s; }
.tg-handle:hover { color: var(--goo); border-color: var(--goo); }
.qr-card { justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 22px 18px; background: oklch(0.95 0.012 70); border-radius: var(--radius); box-shadow: 0 30px 70px -40px #000, 0 0 60px -36px var(--goo); }
.qr-box { width: 196px; height: 196px; display: grid; place-items: center; }
.qr-box img, .qr-box canvas { display: block; border-radius: 3px; }
.qr-cap { color: oklch(0.32 0.02 28); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 64px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-col h4 { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 18px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col a { display: block; color: var(--fg-dim); font-size: 14.5px; padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--goo); }
.footer-bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--fg-mute); font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   AUTH MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: oklch(0.06 0.008 28 / 0.78); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; width: 100%; max-width: 440px;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 38px 34px;
  box-shadow: 0 60px 120px -40px #000, 0 0 80px -40px var(--goo-deep);
  transform: translateY(20px) scale(0.98); transition: transform 0.4s var(--ease);
}
.modal-backdrop.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--fg-mute);
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--goo); background: oklch(0.99 0 0 / 0.04); }
.modal h2 { font-size: 26px; }
.modal .lead { font-size: 14.5px; margin-top: 6px; }
.modal-tabs { display: flex; gap: 2px; margin: 24px 0 22px; border-bottom: 1px solid var(--line); }
.modal-tabs button {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 12px 18px; color: var(--fg-mute);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.modal-tabs button.on { color: var(--goo); border-bottom-color: var(--goo); }

.field { display: block; margin-bottom: 14px; }
.field-label {
  display: block;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-mute); margin-bottom: 8px;
}
.field input {
  width: 100%; background: var(--bg); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus { border-color: var(--goo); box-shadow: 0 0 0 4px oklch(0.585 0.232 27 / 0.14); }
.field input.err { border-color: var(--goo); box-shadow: 0 0 0 4px oklch(0.585 0.232 27 / 0.2); }
.field-hint { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--goo); margin-top: 7px; min-height: 14px; }
.field-hint.ok { color: oklch(0.7 0.13 142); }
.modal .btn { width: 100%; justify-content: center; margin-top: 8px; }
.modal-foot { margin-top: 18px; text-align: center; color: var(--fg-mute); font-size: 13px; }
.modal-foot a { color: var(--goo); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.modal-foot a:hover { border-bottom-color: var(--goo); }

/* nav user widget */
.nav-user { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; transition: border-color 0.25s, background 0.25s; }
.nav-user:hover { border-color: var(--goo); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--goo); color: oklch(0.97 0.01 70);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.04em; flex: none;
  background-size: cover; background-position: center;
}
.avatar.lg { width: 84px; height: 84px; font-size: 32px; }
.avatar.xl { width: 124px; height: 124px; font-size: 48px; }
.nav-user .nick { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; }

/* dropdown */
.nav-pop { position: relative; }
.pop-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 200px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px; box-shadow: 0 30px 70px -30px #000;
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.pop-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.pop-menu a, .pop-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em;
  color: var(--fg-dim); text-align: left;
}
.pop-menu a:hover, .pop-menu button:hover { background: oklch(0.99 0 0 / 0.04); color: var(--goo); }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-hero { padding: 70px 0 50px; position: relative; overflow: hidden; }
.profile-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: 36px; border: 1px solid var(--line); background: var(--bg-1); border-radius: var(--radius);
  box-shadow: 0 40px 90px -50px #000;
}
.profile-card .avatar-wrap { position: relative; }
.profile-card .avatar-edit {
  position: absolute; right: -4px; bottom: -4px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--goo); color: oklch(0.97 0.01 70);
  display: grid; place-items: center; font-size: 14px;
  border: 2px solid var(--bg-1); cursor: pointer;
}
.profile-meta h1 { font-size: clamp(28px, 3.6vw, 40px); }
.profile-meta .uid { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); margin-top: 8px; }
.profile-meta .row { display: flex; gap: 24px; margin-top: 14px; flex-wrap: wrap; color: var(--fg-dim); font-size: 14px; }
.profile-meta .row span b { color: var(--fg); font-weight: 600; margin-right: 6px; font-family: var(--font-display); letter-spacing: 0.06em; font-size: 13px; }

.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.profile-stat {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.profile-stat .game { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); }
.profile-stat .v { font-family: var(--font-display); font-weight: 700; font-size: 36px; margin-top: 10px; }
.profile-stat .v em { color: var(--goo); font-style: normal; }
.profile-stat .l { font-size: 13px; color: var(--fg-dim); margin-top: 4px; }

.profile-empty {
  text-align: center; padding: 80px 24px; border: 1px dashed var(--line);
  border-radius: var(--radius); background: var(--bg-1);
}
.profile-empty h2 { font-size: 26px; }
.profile-empty p { color: var(--fg-dim); margin-top: 12px; }
.profile-empty .btn { margin-top: 22px; }

/* ============================================================
   GAME PAGE
   ============================================================ */
.gp-hero { padding: 72px 0 50px; position: relative; overflow: hidden; }
.gp-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; position: relative; z-index: 1; }
.gp-hero h1 { font-size: clamp(40px, 5.4vw, 72px); }
.gp-hero .lead { margin-top: 22px; max-width: 50ch; }
.gp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.gp-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.gp-poster { width: 100%; aspect-ratio: 905 / 1280; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px #000, 0 0 80px -36px var(--goo-deep); }
.gp-poster img { width: 100%; height: 100%; object-fit: cover; }

/* trailer */
.trailer {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--bg-2);
}
.trailer iframe, .trailer video { width: 100%; height: 100%; display: block; border: 0; }
.trailer-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 50% 50%, oklch(0.22 0.04 28 / 0.55), transparent 70%),
    repeating-linear-gradient(135deg, oklch(0.18 0.01 28) 0 14px, oklch(0.16 0.01 28) 14px 28px);
  color: var(--fg-dim);
}
.trailer-placeholder .play {
  width: 78px; height: 78px; border-radius: 50%;
  border: 1.5px solid var(--goo); display: grid; place-items: center;
  color: var(--goo); font-size: 26px; padding-left: 6px;
  box-shadow: 0 0 40px -10px var(--goo);
}
.trailer-placeholder .cap { position: absolute; bottom: 18px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); background:
    repeating-linear-gradient(135deg, oklch(0.20 0.01 28) 0 12px, oklch(0.17 0.01 28) 12px 24px);
  cursor: pointer; transition: transform 0.4s var(--ease), border-color 0.3s;
}
.shot:hover { transform: translateY(-3px); border-color: var(--goo-deep); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .cap { position: absolute; bottom: 8px; left: 10px; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.7 0.02 28 / 0.85); }

/* description */
.gp-desc { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.gp-desc .body p { color: var(--fg-dim); font-size: 16px; line-height: 1.75; margin-top: 14px; }
.gp-desc .body p:first-child { margin-top: 0; }
.gp-side { display: grid; gap: 14px; align-content: start; }
.gp-side .row {
  display: flex; justify-content: space-between; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.gp-side .row:last-child { border-bottom: none; }
.gp-side .k { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }
.gp-side .v { font-family: var(--font-body); font-size: 15px; color: var(--fg); text-align: right; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments { display: grid; gap: 16px; }
.comment-form { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.comment-form textarea {
  flex: 1; background: var(--bg); border: 1px solid var(--line); color: var(--fg);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  padding: 12px 14px; border-radius: var(--radius-sm); resize: vertical; min-height: 70px; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.comment-form textarea:focus { border-color: var(--goo); box-shadow: 0 0 0 4px oklch(0.585 0.232 27 / 0.14); }
.comment-form .btn { padding: 12px 18px; }
.comment-locked {
  text-align: center; padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--fg-dim);
}
.comment-locked .btn { margin-top: 16px; }
.comment {
  display: grid; grid-template-columns: auto 1fr; gap: 16px;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1);
}
.comment .meta { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.comment .nick { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--fg); }
.comment .when { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }
.comment .body { color: var(--fg-dim); font-size: 15.5px; line-height: 1.65; white-space: pre-wrap; }
.comment .del { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); margin-top: 6px; }
.comment .del:hover { color: var(--goo); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .poster-frame { max-width: 340px; }
  .studio-grid { grid-template-columns: 1fr; gap: 44px; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .gp-hero-grid { grid-template-columns: 1fr; }
  .gp-poster { max-width: 320px; }
  .gp-desc { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .profile-card { grid-template-columns: auto 1fr; }
  .profile-card .actions { grid-column: 1 / -1; }
  .profile-stats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell { padding: 0 20px; }
  .games-grid { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .news-row { grid-template-columns: 1fr auto; }
  .news-row .date { grid-column: 1 / -1; }
  .cta-card { padding: 44px 24px; }
  .tg-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; justify-items: center; }
  .tg-copy .lead { margin-left: auto; margin-right: auto; }
  .tg-actions { justify-content: center; }
  .qr-card { justify-self: center; }
  .subscribe { flex-direction: column; }
  .hero-meta { gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .profile-card { padding: 24px; gap: 18px; }
  .profile-card .avatar.lg { width: 64px; height: 64px; font-size: 22px; }
  .gp-hero { padding: 50px 0 32px; }
  .comment-form { flex-direction: column; }
}
