/*
Theme Name: GTA6NEWS Cinematic
Theme URI: https://gta6news.win/
Author: GTA6NEWS
Description: A cinematic, editorial WordPress theme for GTA6NEWS.
Version: 0.4.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: gta6news-cinematic
*/

:root {
  --g6-bg: #070711;
  --g6-bg-soft: #10101d;
  --g6-panel: #171525;
  --g6-ink: #f8f7fb;
  --g6-muted: #aaa7b7;
  --g6-pink: #ff4ea3;
  --g6-orange: #ff9c54;
  --g6-cyan: #62e7ff;
  --g6-purple: #7d4cff;
  --g6-line: rgba(255,255,255,.13);
  --g6-radius: 1.4rem;
  --g6-max: 1320px;
  --g6-display: "Arial Black", "Segoe UI Black", Inter, ui-sans-serif, system-ui, sans-serif;
  --g6-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--g6-bg); overflow-x: hidden; }
body {
  margin: 0;
  color: var(--g6-ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(98,231,255,.08), transparent 30rem),
    radial-gradient(circle at 12% 30%, rgba(255,78,163,.08), transparent 32rem),
    var(--g6-bg);
  font-family: var(--g6-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { color: #080710; background: var(--g6-cyan); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.g6-container { width: min(calc(100% - 40px), var(--g6-max)); margin-inline: auto; }
.g6-section { padding: clamp(4.8rem, 9vw, 9rem) 0; position: relative; }
.g6-section--tight { padding-top: 2rem; }

.g6-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1rem 0;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}

.admin-bar .g6-site-header { top: 32px; }

.g6-site-header.is-scrolled {
  background: rgba(7,7,17,.82);
  border-color: var(--g6-line);
  backdrop-filter: blur(18px);
}

.g6-header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.g6-brand { display: inline-flex; align-items: center; gap: .8rem; position: relative; z-index: 4; }
.g6-brand .custom-logo { width: auto; max-height: 46px; }
.g6-wordmark {
  font-family: var(--g6-display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.g6-wordmark em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, var(--g6-pink), var(--g6-orange));
  background-clip: text;
  -webkit-background-clip: text;
}

.g6-primary-nav { justify-self: center; }
.g6-primary-nav ul { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.g6-primary-nav a { color: rgba(255,255,255,.82); font-weight: 750; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.g6-primary-nav a:hover, .g6-primary-nav .current-menu-item > a { color: #fff; }

.g6-header-actions { display: flex; align-items: center; gap: .75rem; position: relative; z-index: 4; }
.g6-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--g6-line);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}
.g6-menu-toggle span, .g6-menu-toggle::before, .g6-menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.g6-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border: 1px solid var(--g6-line);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 850;
  font-size: .82rem;
  letter-spacing: .04em;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.g6-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.13); }
.g6-button--hot {
  color: #15101a;
  border-color: transparent;
  background: linear-gradient(100deg, #ffbddb, #ffc08d);
  box-shadow: 0 12px 36px rgba(255,78,163,.22);
}
.g6-button--hot:hover { background: linear-gradient(100deg, #ffd0e5, #ffd0aa); }

.g6-hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #0b0a16;
}
.g6-hero-media, .g6-hero::before, .g6-hero::after { position: absolute; inset: 0; }
.g6-hero-media {
  z-index: -3;
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: g6HeroIn 1.3s cubic-bezier(.2,.75,.2,1) both;
}
.g6-hero::before {
  content: "";
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,5,14,.95) 0%, rgba(5,5,14,.44) 52%, rgba(5,5,14,.12) 75%),
    linear-gradient(0deg, #070711 0%, transparent 42%, rgba(5,5,14,.2) 100%);
}
.g6-hero::after {
  content: "";
  z-index: -1;
  opacity: .45;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,78,163,.25), transparent 25rem),
    radial-gradient(circle at 35% 65%, rgba(98,231,255,.14), transparent 30rem);
  mix-blend-mode: screen;
}
.g6-hero-inner { padding-top: 9rem; padding-bottom: clamp(4rem, 8vw, 7.5rem); }
.g6-hero-copy { max-width: 880px; }
.g6-eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; color: var(--g6-cyan); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.g6-eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg,var(--g6-pink),var(--g6-cyan)); }
.g6-hero h1, .g6-display-title {
  margin: 0;
  font-family: var(--g6-display);
  font-size: clamp(4rem, 10vw, 9.2rem);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 8px 40px rgba(0,0,0,.38);
}
.g6-hero h1 .g6-gradient-text, .g6-gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #fff 10%, #ffa3cf 55%, #ffad65 100%);
  background-clip: text;
  -webkit-background-clip: text;
}
.g6-hero-deck { max-width: 660px; margin: 1.5rem 0 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.g6-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.g6-scroll-cue { position: absolute; right: max(20px, calc((100vw - var(--g6-max))/2)); bottom: 2rem; color: rgba(255,255,255,.65); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.g6-scroll-cue::after { content: ""; display: inline-block; height: 54px; width: 1px; margin-top: .75rem; background: linear-gradient(#fff,transparent); }

.g6-section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.g6-section-head h2 { margin: 0; font-family: var(--g6-display); font-size: clamp(2.6rem, 5.5vw, 5.6rem); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.g6-section-head p { max-width: 480px; margin: 0; color: var(--g6-muted); }

.g6-feature-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr; grid-template-rows: repeat(2, minmax(250px, 1fr)); gap: 12px; }
.g6-story-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--g6-line);
  border-radius: var(--g6-radius);
  background: var(--g6-panel);
  isolation: isolate;
}
.g6-story-card--lead { grid-row: 1 / 3; min-height: 600px; }
.g6-story-card-media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg,#322349,#11182a); }
.g6-story-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .7s ease; }
.g6-story-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,5,14,.95), rgba(5,5,14,.1) 70%); }
.g6-story-card:hover .g6-story-card-media img { transform: scale(1.045); filter: saturate(1.08); }
.g6-story-card-content { position: absolute; inset: auto 0 0; padding: clamp(1.2rem, 2.5vw, 2rem); }
.g6-story-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-bottom: .75rem; color: rgba(255,255,255,.64); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.g6-story-meta .g6-category { color: #111; padding: .3rem .55rem; border-radius: 999px; background: linear-gradient(90deg,var(--g6-pink),var(--g6-orange)); }
.g6-story-card h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 2.2rem); line-height: 1.04; text-wrap: balance; }
.g6-story-card--lead h3 { font-size: clamp(2rem, 4vw, 4rem); }

.g6-dossier { overflow: hidden; }
.g6-dossier::before { content: "VI"; position: absolute; right: -1vw; top: 1rem; color: rgba(255,255,255,.025); font-family: var(--g6-display); font-size: min(45vw, 42rem); line-height: .8; pointer-events: none; }
.g6-dossier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.g6-dossier-card { min-height: 420px; display: flex; flex-direction: column; justify-content: end; padding: 1.8rem; border: 1px solid var(--g6-line); border-radius: var(--g6-radius); background: linear-gradient(145deg,rgba(255,78,163,.13),rgba(98,231,255,.04)), var(--g6-bg-soft); transition: transform .3s ease, border-color .3s ease; }
.g6-dossier-card:nth-child(2) { background: linear-gradient(145deg,rgba(255,156,84,.13),rgba(125,76,255,.05)), var(--g6-bg-soft); }
.g6-dossier-card:nth-child(3) { background: linear-gradient(145deg,rgba(98,231,255,.12),rgba(255,78,163,.05)), var(--g6-bg-soft); }
.g6-dossier-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.28); }
.g6-dossier-card span { color: var(--g6-cyan); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.g6-dossier-card h3 { margin: .5rem 0 0; font-family: var(--g6-display); font-size: clamp(2.3rem, 4vw, 4.4rem); line-height: .88; text-transform: uppercase; }
.g6-dossier-card p { color: var(--g6-muted); margin-bottom: 0; }

.g6-news-list { display: grid; gap: 0; border-top: 1px solid var(--g6-line); }
.g6-news-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--g6-line); transition: padding .25s ease, color .25s ease; }
.g6-news-row:hover { padding-left: .7rem; color: var(--g6-cyan); }
.g6-news-row time { color: var(--g6-muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.g6-news-row h3 { margin: 0; font-size: clamp(1rem, 2vw, 1.35rem); }
.g6-news-row i { font-style: normal; font-size: 1.35rem; }

.g6-community {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding: clamp(2rem,5vw,4rem);
  border: 1px solid var(--g6-line);
  border-radius: calc(var(--g6-radius) * 1.3);
  background:
    radial-gradient(circle at 80% 20%, rgba(98,231,255,.18), transparent 20rem),
    radial-gradient(circle at 10% 100%, rgba(255,78,163,.2), transparent 26rem),
    #12101f;
}
.g6-community h2 { max-width: 900px; margin: 0; font-family: var(--g6-display); font-size: clamp(3rem,7vw,7rem); line-height: .86; text-transform: uppercase; }

.g6-site-footer { padding: 3rem 0; border-top: 1px solid var(--g6-line); background: #05050c; }
.g6-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.g6-footer-copy { color: var(--g6-muted); font-size: .82rem; }
.g6-footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; font-size: .8rem; font-weight: 750; }

.g6-page-hero { min-height: 62svh; display: flex; align-items: end; padding: 10rem 0 4rem; position: relative; overflow: hidden; background-color: #0b0a16; background-position: center; background-size: cover; }
.g6-page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%,rgba(255,78,163,.18),transparent 25rem); }
.g6-page-hero .g6-container { position: relative; z-index: 1; }
.g6-page-title { max-width: 1000px; margin: 0; font-family: var(--g6-display); font-size: clamp(3.5rem,8vw,8rem); line-height: .87; text-transform: uppercase; }
.g6-page-title span { color: transparent; background: linear-gradient(90deg, #fff 10%, #ffa3cf 55%, #ffad65 100%); background-clip: text; -webkit-background-clip: text; }
.g6-article-shell { display: grid; grid-template-columns: minmax(0,820px) minmax(240px,1fr); gap: clamp(2rem,6vw,6rem); align-items: start; }
.g6-article { color: #dfdde7; font-size: clamp(1rem,1.25vw,1.12rem); }
.g6-article > * { max-width: 100%; }
.g6-article h2, .g6-article h3 { color: #fff; line-height: 1.05; }
.g6-article h2 { margin-top: 2.5em; font-family: var(--g6-display); font-size: clamp(2rem,4vw,3.6rem); text-transform: uppercase; }
.g6-article a { color: var(--g6-cyan); text-decoration: underline; text-underline-offset: .18em; }
.g6-article blockquote { margin: 2rem 0; padding: 1.5rem 1.8rem; border-left: 4px solid var(--g6-pink); background: rgba(255,255,255,.05); }
.g6-article img { border-radius: 1rem; }
.g6-article-aside { position: sticky; top: 7rem; padding: 1.3rem; border: 1px solid var(--g6-line); border-radius: var(--g6-radius); background: var(--g6-bg-soft); }
.g6-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.g6-pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--g6-line); border-radius: 999px; }
.g6-pagination .current { color: #111; background: var(--g6-cyan); }

.g6-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.g6-reveal.is-visible { opacity: 1; transform: none; }

@keyframes g6HeroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.025); } }

@media (max-width: 980px) {
  .g6-primary-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    justify-self: stretch;
    display: grid;
    place-items: center;
    z-index: 3;
    background: rgba(7,7,17,.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .menu-open .g6-primary-nav { opacity: 1; visibility: visible; }
  .g6-primary-nav ul { flex-direction: column; gap: 1.4rem; }
  .g6-primary-nav a { font-size: clamp(1.6rem,7vw,3rem); font-family: var(--g6-display); }
  .g6-menu-toggle { display: block; }
  .g6-header-actions .g6-button { display: none; }
  .menu-open .g6-menu-toggle span { opacity: 0; }
  .menu-open .g6-menu-toggle::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .g6-menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }
  .g6-feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(480px,1fr) repeat(2,minmax(260px,1fr)); }
  .g6-story-card--lead { grid-column: 1 / -1; grid-row: auto; }
  .g6-dossier-grid { grid-template-columns: 1fr; }
  .g6-dossier-card { min-height: 310px; }
  .g6-article-shell { grid-template-columns: 1fr; }
  .g6-article-aside { position: static; }
}

@media (max-width: 680px) {
  .admin-bar .g6-site-header { top: 46px; }
  .g6-container { width: min(calc(100% - 24px), var(--g6-max)); }
  .g6-site-header { padding: .7rem 0; }
  .g6-header-inner { gap: .75rem; }
  .g6-hero-inner { padding-bottom: 5rem; }
  .g6-hero::before { background: linear-gradient(0deg,#070711 0%,rgba(5,5,14,.62) 62%,rgba(5,5,14,.3) 100%); }
  .g6-hero h1 { font-size: clamp(3.6rem,18vw,6.2rem); }
  .g6-scroll-cue { display: none; }
  .g6-section-head { display: block; }
  .g6-section-head p { margin-top: 1rem; }
  .g6-feature-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; }
  .g6-story-card, .g6-story-card--lead { min-height: 410px; grid-column: auto; }
  .g6-community { grid-template-columns: 1fr; align-items: start; }
  .g6-news-row { grid-template-columns: 78px 1fr; gap: .8rem; }
  .g6-news-row i { display: none; }
  .g6-footer-inner { grid-template-columns: 1fr; }
  .g6-footer-nav ul { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .g6-reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   0.4.2 — compact editorial news stream
   -------------------------------------------------------------------------- */

.g6-stream-section {
  padding-block: clamp(6rem, 9vw, 9.5rem);
}

.g6-stream-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.8rem);
}

.g6-stream-head::before { display: none; }

.g6-stream-label {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .7rem;
  color: var(--g6-cyan);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.g6-stream-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--g6-pink), var(--g6-cyan));
}

.g6-stream-head h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 7.2rem);
  line-height: .88;
}

.g6-stream-head p {
  max-width: 38ch;
  margin: 0 0 .45rem;
  color: var(--g6-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.g6-news-stream {
  display: grid;
  gap: 2px;
}

.g6-news-stream-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  min-height: 118px;
  padding: .62rem 1.2rem .62rem .62rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(15,14,25,.82);
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease, background .3s ease, box-shadow .35s ease;
}

.g6-news-stream-row:hover {
  z-index: 1;
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.25);
  background: rgba(22,20,34,.96);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}

.g6-news-stream-media {
  width: 96px;
  height: 88px;
  border-radius: 10px;
  background-color: #171621;
  background-position: center;
  background-size: cover;
}

.g6-news-stream-row h3 {
  min-width: 0;
  margin: 0;
  font-family: var(--g6-display);
  font-size: clamp(1rem, 1.55vw, 1.42rem);
  font-weight: 900;
  line-height: 1.12;
  text-wrap: pretty;
}

.g6-news-stream-row time {
  color: var(--g6-muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .02em;
  white-space: nowrap;
}

.g6-news-stream-row i {
  color: var(--g6-cyan);
  font-size: 1.1rem;
  font-style: normal;
}

.g6-stream-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 680px) {
  .g6-stream-section { padding-block: 5rem; }
  .g6-stream-head { grid-template-columns: 1fr; gap: 1.15rem; }
  .g6-stream-head h2 { max-width: 9ch; font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .g6-stream-head p { padding-right: .15rem; }
  .g6-news-stream-row {
    grid-template-columns: 74px minmax(0, 1fr) 18px;
    gap: .8rem;
    min-height: 92px;
    padding: .5rem .72rem .5rem .5rem;
  }
  .g6-news-stream-media { width: 74px; height: 72px; border-radius: 9px; }
  .g6-news-stream-row h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .96rem;
  }
  .g6-news-stream-row time { display: none; }
  .g6-news-stream-row i { justify-self: end; }
}

/* --------------------------------------------------------------------------
   0.3.0 — Telegram mobile shell
   Telegram already supplies its own top chrome. Keeping a fixed site header
   below it wastes vertical space and makes the logo appear stuck on scroll.
   -------------------------------------------------------------------------- */

.g6-menu-toggle {
  display: none !important;
}

@media (max-width: 680px) {
  .g6-site-header {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   0.4.12 - centered opening UI and clean non-image content sections
   -------------------------------------------------------------------------- */

.g6-header-inner {
  grid-template-columns: 1fr auto 1fr;
}

.g6-brand {
  grid-column: 2;
  justify-self: center;
}

.g6-brand > a {
  position: relative;
  display: inline-flex;
  padding: .45rem .35rem;
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.9));
}

.g6-brand > a::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--g6-pink), var(--g6-orange), var(--g6-cyan));
  box-shadow: 0 0 16px rgba(255,78,163,.55);
}

.g6-wordmark {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.g6-header-actions {
  grid-column: 3;
  justify-self: end;
}

.g6-hero--minimal .g6-hero-widget {
  place-items: center;
  text-align: center;
}

.g6-hero--minimal .g6-hero-widget > * {
  margin-inline: auto;
}

.g6-hero--minimal .g6-hero-widget-kicker {
  justify-content: center;
}

.g6-hero--minimal .g6-hero-widget h1 {
  max-width: 15ch;
  text-align: center;
}

.g6-hero--minimal .g6-hero-widget p {
  max-width: 58ch;
  text-align: center;
}

.g6-hero--minimal .g6-hero-actions {
  justify-content: center;
}

.g6-button--miniapp {
  min-width: 150px;
  border-color: rgba(98,231,255,.34);
  background: linear-gradient(135deg, rgba(98,231,255,.16), rgba(255,78,163,.11));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* The collage stays only in the opening cover. Content sections return to
   lightweight gradients so they remain sharp on every viewport. */
.g6-home-scene--gta5::before,
.g6-home-scene--vicecity::before {
  background-image: none !important;
}

.g6-home-scene--vicecity {
  background-image: none !important;
}

@media (max-width: 680px) {
  .g6-site-header {
    padding-top: .15rem;
  }

  .g6-header-inner {
    grid-template-columns: 44px 1fr 44px;
    gap: .5rem;
  }

  .g6-wordmark {
    font-size: clamp(1.42rem, 7vw, 1.85rem);
  }

  .g6-hero--minimal .g6-hero-widget {
    place-items: center;
    text-align: center;
  }

  .g6-hero--minimal .g6-hero-widget h1,
  .g6-hero--minimal .g6-hero-widget p {
    text-align: center;
  }

  .g6-hero-widget .g6-hero-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   0.4.11 — wider desktop hero, GTA backdrops and stable mobile scrolling
   -------------------------------------------------------------------------- */

@media (min-width: 981px) {
  .g6-hero--minimal .g6-hero-copy--minimal {
    width: min(100%, 1140px);
    max-width: 1140px;
  }

  .g6-hero--minimal .g6-hero-widget {
    min-height: 540px;
    align-content: center;
    padding: clamp(2.5rem, 4vw, 4.25rem);
  }

  .g6-hero--minimal .g6-hero-widget > * {
    width: min(100%, 720px);
  }

  .g6-hero--minimal .g6-hero-widget::after {
    right: .035em;
    bottom: -.04em;
    font-size: clamp(16rem, 20vw, 23rem);
    color: rgba(255,255,255,.052);
  }
}

.g6-home-scene {
  position: relative;
  isolation: isolate;
  background-color: #080713;
}

.g6-home-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
}

.g6-home-scene--gta5::before {
  background-image:
    linear-gradient(180deg, rgba(7,7,17,.82), rgba(7,7,17,.74) 42%, rgba(7,7,17,.9)),
    linear-gradient(90deg, rgba(255,78,163,.12), transparent 48%, rgba(98,231,255,.1)),
    url("assets/gta5-section-bg.png");
  background-size: cover, cover, cover;
  filter: saturate(.72) contrast(1.05);
}

.g6-home-scene--vicecity {
  background-image:
    linear-gradient(90deg, rgba(7,7,17,.97), rgba(7,7,17,.9) 48%, rgba(8,8,20,.76)),
    url("assets/vice-city-section-bg.png");
  background-position: center, center;
  background-size: cover, cover;
}

.g6-home-scene--vicecity::before {
  background-image:
    linear-gradient(90deg, rgba(7,7,17,.94) 0%, rgba(7,7,17,.68) 54%, rgba(7,7,17,.48) 100%),
    url("assets/vice-city-section-bg.png");
  background-position: center, 82% center;
  background-size: cover, auto 112%;
  opacity: .52;
  filter: saturate(.72) contrast(1.04);
}

@media (max-width: 820px), (pointer: coarse) {
  body::before,
  body::after,
  .g6-hero-media,
  .g6-hero-copy,
  .g6-motion-scene::after,
  .g6-home-scene::before,
  .g6-dossier-card::before {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  body::before,
  body::after,
  .g6-hero-media,
  .g6-home-scene,
  .g6-home-scene::before {
    background-attachment: scroll !important;
  }

  .g6-hero--minimal .g6-hero-media {
    inset: 0;
  }

  .g6-home-scene--gta5::before {
    background-image:
      linear-gradient(180deg, rgba(7,7,17,.9), rgba(7,7,17,.8) 44%, rgba(7,7,17,.95)),
      url("assets/gta5-section-bg.png");
    background-size: cover, auto 100%;
    background-position: center, center top;
  }

  .g6-home-scene--vicecity {
    background-image: linear-gradient(180deg, #080713, #10091d 52%, #080713);
  }

  .g6-home-scene--vicecity::before {
    background-image:
      linear-gradient(180deg, rgba(7,7,17,.78), rgba(7,7,17,.9)),
      url("assets/vice-city-section-bg.png");
    background-position: center, center top;
    background-size: cover, 100% auto;
    opacity: .46;
  }
}

@media (max-width: 680px) {
  .g6-hero--minimal .g6-hero-copy--minimal {
    width: 100%;
    max-width: 100%;
  }

  .g6-hero--minimal .g6-hero-widget {
    min-height: 0;
    padding: 1.15rem;
    border-radius: 22px;
  }

  .g6-home-scene {
    min-height: auto;
  }
}

/* --------------------------------------------------------------------------
   0.2.0 — cinematic editorial system
   -------------------------------------------------------------------------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at calc(15% + var(--g6-pointer-x, 0%)) 22%, rgba(255,78,163,.10), transparent 28rem),
    radial-gradient(circle at 82% 74%, rgba(98,231,255,.08), transparent 32rem);
}

.g6-site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  transform: scaleX(var(--g6-scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--g6-pink), var(--g6-orange), var(--g6-cyan));
  box-shadow: 0 0 16px rgba(255,78,163,.45);
}

.g6-brand { min-width: 0; }
.g6-brand a { display: inline-flex; }
.g6-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .055em;
  color: #fff;
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 950;
  line-height: .78;
  letter-spacing: -.095em;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}
.g6-wordmark em {
  color: #ff5b73;
  background: none;
  -webkit-text-fill-color: currentColor;
  letter-spacing: -.12em;
}

.g6-hero {
  position: relative;
  min-height: max(720px, 100svh);
  margin-bottom: 0;
  border-bottom: 0;
}
.g6-hero-media {
  inset: -5% 0;
  will-change: transform;
  transform: translate3d(0, var(--g6-hero-shift, 0px), 0) scale(1.07);
  animation: g6HeroInV2 1.45s cubic-bezier(.16,.82,.22,1) both;
}
.g6-hero::before {
  background:
    linear-gradient(90deg, rgba(5,5,14,.93) 0%, rgba(5,5,14,.50) 48%, rgba(5,5,14,.12) 82%),
    linear-gradient(0deg, var(--g6-bg) 0%, rgba(7,7,17,.72) 12%, transparent 48%, rgba(5,5,14,.15) 100%);
}
.g6-hero::after {
  animation: g6Aurora 9s ease-in-out infinite alternate;
}
.g6-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4.8rem, 9vw, 8rem);
}
.g6-hero-copy { max-width: min(780px, 82vw); }
.g6-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.8rem, 8.2vw, 8rem);
  line-height: .91;
  letter-spacing: -.04em;
  animation: g6TitleIn 1s .18s cubic-bezier(.16,.82,.22,1) both;
}
.g6-hero-deck {
  max-width: 620px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}
.g6-scroll-cue { bottom: 3.5rem; }

.g6-section { isolation: isolate; }
.g6-section-head {
  position: relative;
  padding-top: 1.2rem;
}
.g6-section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(180px, 32vw);
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--g6-pink), var(--g6-cyan), transparent);
  transition: transform .9s .12s cubic-bezier(.16,.82,.22,1);
}
.g6-section-head.is-visible::before { transform: scaleX(1); }
.g6-section-head h2,
.g6-community h2,
.g6-dossier-card h3,
.g6-page-title,
.g6-article h2,
.g6-primary-nav a {
  font-family: var(--g6-display);
  font-weight: 900;
  font-stretch: normal;
  letter-spacing: -.025em;
  word-spacing: .04em;
}
.g6-section-head h2 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  line-height: .98;
}
.g6-section-head p { font-size: 1rem; line-height: 1.7; }

.g6-feature-grid { gap: 16px; }
.g6-story-card {
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.16,.82,.22,1), border-color .3s ease, box-shadow .45s ease;
}
.g6-story-card:hover {
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.g6-story-card--lead { min-height: 620px; }
.g6-story-card--lead h3 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.6vw, 3.75rem);
  line-height: 1;
}
.g6-story-card--compact,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) {
  min-height: 0;
}
.g6-story-card--compact > a,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) > a {
  display: grid;
  grid-template-rows: minmax(150px, 58%) minmax(125px, 42%);
  height: 100%;
}
.g6-story-card--compact::after,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead)::after { display: none; }
.g6-story-card--compact .g6-story-card-media,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) .g6-story-card-media {
  position: relative;
  inset: auto;
  z-index: 0;
  min-height: 150px;
}
.g6-story-card--compact .g6-story-card-content,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) .g6-story-card-content {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 125px;
  padding: 1rem 1.15rem 1.2rem;
  background: linear-gradient(145deg, #1a1728, #101523);
}
.g6-story-card--compact h3,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  line-height: 1.15;
  text-wrap: pretty;
}
.g6-story-card--compact .g6-story-meta,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) .g6-story-meta {
  margin-bottom: .55rem;
  font-size: .63rem;
}
.g6-story-card--compact .g6-category,
.g6-feature-grid .g6-story-card:not(.g6-story-card--lead) .g6-category { padding: .22rem .45rem; }

.g6-dossier-grid { gap: 18px; }
.g6-dossier-card {
  position: relative;
  min-height: 520px;
  isolation: isolate;
  overflow: hidden;
  background: #11111d;
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.g6-dossier-card::before,
.g6-dossier-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}
.g6-dossier-card::before {
  background-image: var(--g6-card-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.045) translate3d(0, var(--g6-card-shift, 0px), 0);
  transition: transform .8s cubic-bezier(.16,.82,.22,1), filter .6s ease;
}
.g6-dossier-card::after {
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(7,7,17,.97) 2%, rgba(7,7,17,.55) 48%, rgba(7,7,17,.08) 82%),
    linear-gradient(135deg, rgba(255,78,163,.25), transparent 55%, rgba(98,231,255,.13));
}
.g6-dossier-card:nth-child(2), .g6-dossier-card:nth-child(3) { background: #11111d; }
.g6-dossier-card:hover::before { transform: scale(1.105) translate3d(0, var(--g6-card-shift, 0px), 0); filter: saturate(1.15); }
.g6-dossier-card h3 {
  max-width: 9ch;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: .98;
}
.g6-dossier-card p { max-width: 31ch; color: rgba(255,255,255,.72); line-height: 1.55; }

.g6-news-row { position: relative; overflow: hidden; }
.g6-news-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-102%);
  background: linear-gradient(90deg, rgba(255,78,163,.12), rgba(98,231,255,.06), transparent);
  transition: transform .45s cubic-bezier(.16,.82,.22,1);
}
.g6-news-row:hover::before { transform: translateX(0); }

.g6-community {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255,78,163,.18), transparent 42%),
    linear-gradient(305deg, rgba(98,231,255,.18), transparent 42%),
    #12101f;
}
.g6-community::before {
  content: "VI";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.035);
  font-family: var(--g6-display);
  font-size: min(24vw, 20rem);
  line-height: 1;
  pointer-events: none;
}
.g6-community > * { position: relative; }
.g6-community h2 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 6.2vw, 6.4rem);
  line-height: .98;
}

.g6-page-hero {
  min-height: clamp(540px, 72svh, 760px);
  isolation: isolate;
  background-position: center;
  background-size: cover;
}
.g6-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(7,7,17,.96), rgba(7,7,17,.20) 68%, rgba(7,7,17,.3));
}
.g6-page-hero::after { z-index: 0; }
.g6-page-title {
  max-width: 16ch;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  animation: g6TitleIn 1s .12s cubic-bezier(.16,.82,.22,1) both;
}
.single-post .g6-page-title {
  max-width: 22ch;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  line-height: 1.02;
}

.g6-article-shell {
  display: block;
  width: min(100%, 1180px);
  margin-inline: auto;
}
.g6-article {
  width: min(100%, 860px);
  margin-inline: auto;
  color: #e8e6ed;
  font-family: var(--g6-body);
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.g6-article > * { margin-block: 0 1.35em; }
.g6-article > p { margin-bottom: 1.45em; }
.g6-article h2,
.g6-article h3,
.g6-article h4 {
  max-width: 22ch;
  margin: 2.2em 0 .65em;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.g6-article h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
.g6-article h3 { font-size: clamp(1.55rem, 2.5vw, 2.2rem); }
.g6-article img,
.g6-article video,
.g6-article iframe,
.g6-article figure,
.g6-article .wp-block-image,
.g6-article .wp-block-embed,
.g6-article .twitter-tweet {
  display: block;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.g6-article iframe { width: 100%; }
.g6-article figure { margin-block: 2rem; }
.g6-article figcaption { margin-top: .65rem; color: var(--g6-muted); font-size: .82rem; text-align: center; }
.g6-article ul, .g6-article ol { padding-left: 1.35em; }
.g6-article li + li { margin-top: .55em; }
.g6-article blockquote {
  margin: 2.2rem 0;
  padding: 1.5rem clamp(1.2rem, 4vw, 2.25rem);
  border-left: 4px solid var(--g6-pink);
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(90deg, rgba(255,78,163,.12), rgba(255,255,255,.035));
  font-size: 1.08em;
}
.g6-article-aside {
  position: relative;
  top: auto;
  width: min(100%, 860px);
  margin: 4rem auto 0;
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background: linear-gradient(135deg, rgba(255,78,163,.13), rgba(98,231,255,.07)), var(--g6-bg-soft);
}

.g6-reveal {
  opacity: 0;
  transform: translateY(40px) scale(.985);
  filter: blur(5px);
  transition:
    opacity .85s var(--g6-delay, 0ms) ease,
    transform .95s var(--g6-delay, 0ms) cubic-bezier(.16,.82,.22,1),
    filter .8s var(--g6-delay, 0ms) ease;
}
.g6-reveal.is-visible { opacity: 1; transform: none; filter: none; }

@keyframes g6HeroInV2 {
  from { opacity: 0; transform: translate3d(0, 18px, 0) scale(1.14); filter: saturate(.7); }
  to { opacity: 1; transform: translate3d(0, var(--g6-hero-shift, 0px), 0) scale(1.07); filter: saturate(1); }
}
@keyframes g6TitleIn {
  from { opacity: 0; transform: translateY(55px); clip-path: inset(100% 0 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes g6Aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .32; }
  to { transform: translate3d(2%, 1%, 0) scale(1.06); opacity: .52; }
}

@media (max-width: 980px) {
  .g6-story-card--lead { min-height: 520px; }
  .g6-dossier-card { min-height: 440px; }
  .g6-page-title { max-width: 18ch; }
}

@media (max-width: 680px) {
  .g6-wordmark { font-size: 1.25rem; }
  .g6-hero { min-height: 820px; }
  .g6-hero-copy { max-width: 100%; }
  .g6-hero h1 { max-width: 100%; font-size: clamp(1.9rem, 11.6vw, 4.2rem); line-height: .97; overflow-wrap: normal; }
  .g6-section { padding-block: 4.5rem; }
  .g6-section-head h2 { max-width: 12ch; font-size: clamp(2.3rem, 12vw, 3.75rem); }
  .g6-story-card--lead { min-height: 500px; }
  .g6-story-card--compact,
  .g6-feature-grid .g6-story-card:not(.g6-story-card--lead) { min-height: 360px; }
  .g6-story-card--compact > a,
  .g6-feature-grid .g6-story-card:not(.g6-story-card--lead) > a { grid-template-rows: 58% 42%; }
  .g6-dossier-card { min-height: 430px; }
  .g6-community { padding: 2rem 1.35rem; }
  .g6-community h2 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .g6-page-hero { min-height: 540px; padding: 8.5rem 0 3rem; }
  .g6-page-title { max-width: 15ch; font-size: clamp(2.35rem, 11vw, 4rem); line-height: 1; }
  .single-post .g6-page-title { max-width: 18ch; font-size: clamp(2rem, 8.6vw, 3.25rem); line-height: 1.04; }
  .g6-article { font-size: 1.03rem; line-height: 1.72; }
}

@media (prefers-reduced-motion: reduce) {
  .g6-hero-media { transform: scale(1.03) !important; }
  .g6-site-header::after { transition: none; }
  .g6-reveal { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------------------------
   0.2.8 — final links and release candidate
   -------------------------------------------------------------------------- */

@media (min-width: 981px) {
  .g6-hero-copy {
    width: min(1100px, 76vw);
    max-width: none;
  }

  .g6-hero h1 {
    max-width: 16ch;
    font-size: clamp(4rem, 6.35vw, 7rem);
    line-height: .93;
    text-wrap: balance;
  }

  .g6-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 480px);
    align-items: end;
  }

  .g6-section-head h2 {
    max-width: 13ch;
    font-size: clamp(3.25rem, 4.6vw, 5rem);
  }

  .g6-feature-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .8fr);
    grid-template-rows: repeat(2, 302px);
    align-items: stretch;
  }

  .g6-story-card--lead {
    min-height: 620px;
  }

  .g6-story-card--lead > a {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
  }

  .g6-story-card--lead::after {
    display: none;
  }

  .g6-story-card--lead .g6-story-card-media {
    position: relative;
    inset: auto;
    z-index: 0;
    min-height: 390px;
    overflow: hidden;
  }

  .g6-story-card--lead .g6-story-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(0deg, rgba(12,12,25,.48), transparent);
    pointer-events: none;
  }

  .g6-story-card--lead .g6-story-card-content {
    position: relative;
    inset: auto;
    z-index: 1;
    min-height: 188px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem 1.65rem 1.55rem;
    background: linear-gradient(145deg, #1a1728, #101523);
  }

  .g6-story-card--lead h3 {
    max-width: none;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: clamp(1.75rem, 2.15vw, 2.45rem);
    line-height: 1.08;
    text-wrap: pretty;
  }

  .g6-story-card--compact,
  .g6-feature-grid .g6-story-card:not(.g6-story-card--lead) {
    min-height: 302px;
  }

  .g6-story-card--compact > a,
  .g6-feature-grid .g6-story-card:not(.g6-story-card--lead) > a {
    grid-template-rows: 56% 44%;
  }

  .g6-story-card--compact .g6-story-card-content,
  .g6-feature-grid .g6-story-card:not(.g6-story-card--lead) .g6-story-card-content {
    min-height: 0;
    justify-content: flex-start;
    padding: .9rem 1rem 1rem;
  }

  .g6-story-card--compact h3,
  .g6-feature-grid .g6-story-card:not(.g6-story-card--lead) h3 {
    -webkit-line-clamp: 3;
    font-size: clamp(1rem, 1.18vw, 1.2rem);
    line-height: 1.18;
  }

  .g6-dossier-card {
    min-width: 0;
    min-height: 520px;
    padding: 1.75rem;
  }

  .g6-dossier-card h3 {
    max-width: 100%;
    font-size: clamp(2.15rem, 2.7vw, 3.25rem);
    line-height: .98;
    overflow-wrap: normal;
    word-break: normal;
  }

  .g6-dossier-card p {
    min-height: 3.1em;
  }

  /* Text must fade in without changing its final layout position. */
  .g6-section-head.g6-reveal,
  .g6-story-card.g6-reveal,
  .g6-dossier-card.g6-reveal,
  .g6-news-row.g6-reveal,
  .g6-community.g6-reveal {
    transform: none;
    filter: none;
    transition-property: opacity;
  }
}

/* --------------------------------------------------------------------------
   0.2.9 — Vice City ambient background and mobile safe gutters
   -------------------------------------------------------------------------- */

body {
  position: relative;
  isolation: isolate;
  background-color: #070711;
  background-image:
    linear-gradient(180deg, rgba(7,7,17,.18), rgba(7,7,17,.74)),
    radial-gradient(circle at 14% 18%, rgba(255,78,163,.11), transparent 32rem),
    radial-gradient(circle at 86% 72%, rgba(98,231,255,.09), transparent 34rem);
}

body::before {
  content: "";
  position: fixed;
  inset: -18vmax;
  z-index: -2;
  pointer-events: none;
  opacity: .82;
  background:
    radial-gradient(circle at 20% 24%, rgba(255,68,160,.34) 0, transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(255,145,75,.25) 0, transparent 21%),
    radial-gradient(circle at 72% 78%, rgba(59,226,255,.24) 0, transparent 26%),
    radial-gradient(circle at 28% 82%, rgba(111,72,255,.24) 0, transparent 25%),
    conic-gradient(from 205deg at 50% 52%, #080713, #190d2c, #071928, #1e0b25, #080713);
  transform: translate3d(-1.5%, -1%, 0) scale(1.02);
  will-change: transform, filter;
  animation: g6ViceAmbient 22s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(180deg, rgba(7,7,17,.18), rgba(7,7,17,.66)),
    repeating-linear-gradient(118deg, transparent 0 74px, rgba(255,255,255,.028) 75px 76px, transparent 77px 150px),
    linear-gradient(90deg, rgba(255,78,163,.08), transparent 42%, rgba(98,231,255,.07));
  background-size: 100% 100%, 310px 310px, 100% 100%;
  animation: g6ViceGrid 32s linear infinite;
}

.g6-section,
.g6-page-hero,
.g6-article-shell,
.g6-site-footer {
  position: relative;
}

.g6-site-footer {
  background: rgba(5,5,12,.84);
  backdrop-filter: blur(14px);
}

@keyframes g6ViceAmbient {
  0% {
    transform: translate3d(-2.2%, -1.2%, 0) scale(1.02) rotate(-1deg);
    filter: saturate(.92) hue-rotate(-4deg);
  }
  50% {
    transform: translate3d(1.1%, 1.8%, 0) scale(1.07) rotate(.4deg);
    filter: saturate(1.12) hue-rotate(7deg);
  }
  100% {
    transform: translate3d(2.4%, -.8%, 0) scale(1.04) rotate(1deg);
    filter: saturate(1.02) hue-rotate(-2deg);
  }
}

@keyframes g6ViceGrid {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 0, 310px 155px, 0 0; }
}

/* --------------------------------------------------------------------------
   0.4.1 — layered Vice City stage without duplicated photography
   -------------------------------------------------------------------------- */

.g6-hero-copy {
  opacity: var(--g6-hero-copy-opacity, 1);
  transform: translate3d(0, var(--g6-hero-copy-shift, 0), 0);
  will-change: transform, opacity;
}

.g6-hero-monogram {
  position: absolute;
  z-index: -1;
  right: clamp(-1rem, 2vw, 3rem);
  top: 50%;
  color: transparent;
  font-family: var(--g6-display);
  font-size: min(45vw, 42rem);
  line-height: .72;
  letter-spacing: -.12em;
  -webkit-text-stroke: 2px rgba(255,255,255,.08);
  text-shadow: 0 0 80px rgba(255,78,163,.16);
  opacity: .52;
  transform: translate3d(0, calc(-50% + var(--g6-monogram-shift, 0px)), 0) rotate(var(--g6-monogram-rotate, 0deg));
  will-change: transform;
  pointer-events: none;
}

@media (min-width: 981px) {
  .g6-hero {
    background:
      radial-gradient(circle at 66% 24%, rgba(255,78,163,.20), transparent 28rem),
      radial-gradient(circle at 22% 76%, rgba(98,231,255,.11), transparent 28rem),
      #070711;
  }

  .g6-hero-media {
    inset: 0 0 0 auto;
    width: 64%;
    height: 100%;
    background-position: center;
    border-left: 1px solid rgba(255,255,255,.12);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
    transform: translate3d(0, var(--g6-hero-shift, 0px), 0) scale(1.08);
    filter: saturate(1.04) contrast(1.04);
  }

  .g6-hero::before {
    background:
      linear-gradient(90deg, #070711 0%, #070711 30%, rgba(7,7,17,.94) 43%, rgba(7,7,17,.22) 70%, rgba(7,7,17,.08) 100%),
      linear-gradient(0deg, #070711 0%, transparent 30%, rgba(7,7,17,.16) 100%);
  }

  .g6-hero-copy { width: min(680px, 48vw); }
}

.g6-button--telegram {
  position: relative;
  overflow: hidden;
  color: #15101a;
  border-color: transparent;
  background: linear-gradient(100deg, #ffbddb, #ffc08d);
  box-shadow: 0 12px 36px rgba(255,78,163,.22), inset 0 1px 0 rgba(255,255,255,.28);
}

.g6-button--telegram::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -35%;
  width: 34%;
  transform: rotate(18deg);
  background: rgba(255,255,255,.25);
  transition: left .55s cubic-bezier(.16,.82,.22,1);
}

.g6-button--telegram:hover {
  border-color: transparent;
  background: linear-gradient(100deg, #ffd0e5, #ffd0aa);
  transform: translateY(-2px);
}

.g6-button--telegram:hover::after { left: 115%; }
.g6-button--telegram span { display: inline-block; transform: rotate(-18deg); font-size: 1rem; }

.g6-motion-scene {
  overflow: clip;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7,7,17,.98), rgba(12,9,24,.88) 48%, rgba(7,7,17,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.g6-motion-scene::after {
  content: "";
  position: absolute;
  inset: -22% -4%;
  z-index: -2;
  pointer-events: none;
  opacity: var(--g6-scene-glow, .34);
  background:
    radial-gradient(ellipse at 18% 34%, rgba(255,78,163,.58) 0 8%, transparent 34%),
    radial-gradient(ellipse at 82% 58%, rgba(98,231,255,.42) 0 7%, transparent 31%),
    radial-gradient(ellipse at 54% 78%, rgba(255,156,84,.28) 0 8%, transparent 30%),
    conic-gradient(from 220deg at 50% 50%, rgba(125,76,255,.26), transparent 18%, rgba(255,78,163,.20) 36%, transparent 55%, rgba(98,231,255,.18) 76%, transparent);
  filter: blur(3px) saturate(1.18);
  transform: translate3d(0, var(--g6-scene-shift, 0), 0) scale(1.06) rotate(-2deg);
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.g6-motion-scene > .g6-container { position: relative; z-index: 1; }
.g6-motion-scene + .g6-motion-scene { border-top: 1px solid rgba(255,255,255,.06); }

@media (max-width: 680px) {
  .g6-container {
    width: auto;
    max-width: none;
    margin-left: max(18px, env(safe-area-inset-left));
    margin-right: max(18px, env(safe-area-inset-right));
  }

  .g6-hero-copy,
  .g6-section-head,
  .g6-section-head > *,
  .g6-story-card-content,
  .g6-community > *,
  .g6-article,
  .g6-article > * {
    min-width: 0;
    max-width: 100%;
  }

  .g6-hero h1,
  .g6-section-head h2,
  .g6-community h2,
  .g6-page-title {
    width: 100%;
    padding-right: .04em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .g6-hero-deck,
  .g6-section-head p,
  .g6-article {
    padding-right: .2rem;
  }

  body::before {
    inset: -26vmax;
    opacity: .66;
    animation-duration: 32s;
  }

  body::after {
    opacity: .18;
    background-size: 100% 100%, 230px 230px, 100% 100%;
    animation-duration: 42s;
  }

  .g6-hero-monogram { display: none; }
  .g6-motion-scene::after { inset: -12% -28%; opacity: min(var(--g6-scene-glow, .24), .24); transform: translate3d(0, var(--g6-scene-shift, 0), 0) scale(1.18); }
}

@media (max-width: 390px) {
  .g6-container {
    margin-left: max(16px, env(safe-area-inset-left));
    margin-right: max(16px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .g6-motion-scene::after,
  .g6-hero-copy,
  .g6-hero-monogram {
    animation: none !important;
    transform: none !important;
  }
}

/* Keep the 0.4.2 stream heading ahead of earlier section defaults. */
.g6-stream-section { padding-block: clamp(6rem, 9vw, 9.5rem); }
.g6-stream-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.8rem);
}
.g6-stream-head::before { display: none; }
.g6-stream-head h2 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 7.2rem);
  line-height: .88;
}
.g6-stream-head p {
  max-width: 38ch;
  margin: 0 0 .45rem;
  color: var(--g6-muted);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .g6-stream-section { padding-block: 5rem; }
  .g6-stream-head { grid-template-columns: 1fr; gap: 1.15rem; }
  .g6-stream-head h2 { max-width: 9ch; font-size: clamp(2.8rem, 14vw, 4.8rem); }
}

/* --------------------------------------------------------------------------
   0.4.3 — keep the complete hero title visible after its reveal animation
   -------------------------------------------------------------------------- */

@media (min-width: 981px) {
  .g6-hero-copy {
    width: min(940px, 62vw);
    max-width: none;
    overflow: visible;
  }

  .g6-hero h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(4rem, 5.45vw, 6.55rem);
    line-height: .92;
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    clip-path: none !important;
  }
}

@media (max-width: 980px) {
  .g6-hero h1 {
    clip-path: none !important;
  }
}

/* --------------------------------------------------------------------------
   0.4.6 — Telegram-first calls to action
   -------------------------------------------------------------------------- */

.g6-hero-channel {
  display: grid;
  gap: .85rem;
  margin-top: 1.75rem;
}

.g6-hero-channel-note {
  max-width: 560px;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.g6-hero-actions--channel { margin-top: 0; }

.g6-button--telegram-primary {
  min-height: 54px;
  padding-inline: 1.45rem;
  font-size: .9rem;
  box-shadow: 0 16px 46px rgba(255,78,163,.3), 0 0 0 1px rgba(255,255,255,.08) inset;
}

.g6-community {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.g6-community-copy h2 {
  max-width: 10ch;
  font-size: clamp(2.75rem, 5.7vw, 6rem);
}

.g6-community-copy p {
  max-width: 590px;
  margin: 1.35rem 0 0;
  color: rgba(255,255,255,.7);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.7;
}

.g6-community-channel {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: calc(var(--g6-radius) * 1.05);
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: 0 24px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.g6-community-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.g6-community-brand img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 32px rgba(0,0,0,.32);
}

.g6-community-brand strong,
.g6-community-brand span { display: block; }

.g6-community-brand strong {
  font-family: var(--g6-display);
  font-size: 1.45rem;
  letter-spacing: .02em;
}

.g6-community-brand span {
  margin-top: .2rem;
  color: var(--g6-cyan);
  font-size: .82rem;
  font-weight: 800;
}

.g6-community-points {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
}

.g6-community-points span {
  padding: .45rem .7rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: rgba(4,5,13,.24);
  font-size: .72rem;
  font-weight: 800;
}

.g6-community-channel .g6-hero-actions { margin-top: 1.5rem; }

@media (max-width: 880px) {
  .g6-community { grid-template-columns: 1fr; }
  .g6-community-copy h2 { max-width: 12ch; }
}

@media (max-width: 520px) {
  .g6-hero-channel-note {
    font-size: .73rem;
    line-height: 1.55;
  }

  .g6-hero-actions--channel .g6-button,
  .g6-community-channel .g6-button { width: 100%; justify-content: center; }

  .g6-community-channel { padding: 1.15rem; }
  .g6-community-brand img { width: 54px; height: 54px; flex-basis: 54px; border-radius: 17px; }
}

/* --------------------------------------------------------------------------
   0.4.7 — visual-first GTA VI cover and restored community banner
   -------------------------------------------------------------------------- */

.g6-hero--minimal {
  min-height: max(700px, 100svh);
}

.g6-hero--minimal .g6-hero-inner {
  min-height: max(700px, 100svh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: clamp(3.25rem, 7vw, 5.5rem);
}

.g6-hero--minimal .g6-hero-copy--minimal {
  width: auto;
  max-width: none;
  display: flex;
  justify-content: center;
}

.g6-hero--minimal .g6-hero-actions { margin: 0; }

.g6-hero--minimal .g6-hero-monogram,
.g6-hero--minimal .g6-scroll-cue { display: none; }

.g6-hero-news-cta {
  min-width: 220px;
  min-height: 58px;
  justify-content: center;
  gap: .65rem;
  padding-inline: 1.65rem;
  font-size: .92rem;
  box-shadow: 0 18px 52px rgba(255,78,163,.32), 0 0 0 1px rgba(255,255,255,.1) inset;
}

.g6-hero-news-cta span {
  font-size: 1rem;
  transition: transform .25s ease;
}

.g6-hero-news-cta:hover span { transform: translateY(3px); }

.g6-community {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.g6-community h2 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 6.2vw, 6.4rem);
  line-height: .98;
}

@media (min-width: 981px) {
  .g6-hero--minimal .g6-hero-media {
    inset: -3%;
    width: auto;
    height: auto;
    background-position: center;
    transform: translate3d(0, var(--g6-hero-shift, 0px), 0) scale(1.035);
    filter: saturate(1.08) contrast(1.04);
  }

  .g6-hero--minimal::before {
    background:
      linear-gradient(0deg, rgba(7,7,17,.96) 0%, rgba(7,7,17,.34) 28%, rgba(7,7,17,.08) 62%, rgba(7,7,17,.22) 100%),
      linear-gradient(90deg, rgba(7,7,17,.22), transparent 35%, transparent 68%, rgba(7,7,17,.18));
  }
}

@media (max-width: 880px) {
  .g6-community { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  .g6-hero--minimal,
  .g6-hero--minimal .g6-hero-inner { min-height: 100svh; }

  .g6-hero--minimal .g6-hero-media {
    inset: -2%;
    background-position: 62% center;
  }

  .g6-hero--minimal::before {
    background: linear-gradient(0deg, rgba(7,7,17,.96) 0%, rgba(7,7,17,.42) 32%, rgba(7,7,17,.12) 68%, rgba(7,7,17,.18) 100%);
  }

  .g6-hero-news-cta { width: min(100%, 300px); }
}

/* --------------------------------------------------------------------------
   0.4.8 — compact Telegram widget on the opening GTA VI cover
   -------------------------------------------------------------------------- */

.g6-hero--minimal .g6-hero-inner {
  justify-content: flex-start;
}

.g6-hero--minimal .g6-hero-copy--minimal {
  width: min(100%, 760px);
  max-width: 760px;
}

.g6-hero-widget {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: clamp(1.35rem, 2.8vw, 2.35rem);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 92% 8%, rgba(98,231,255,.18), transparent 28%),
    radial-gradient(circle at 12% 100%, rgba(255,78,163,.24), transparent 38%),
    linear-gradient(130deg, rgba(16,11,29,.8), rgba(17,30,47,.58));
  box-shadow: 0 28px 90px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}

.g6-hero-widget::after {
  content: "VI";
  position: absolute;
  z-index: -1;
  right: -.08em;
  bottom: -.22em;
  color: rgba(255,255,255,.045);
  font-family: var(--g6-display);
  font-size: clamp(9rem, 18vw, 15rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.1em;
}

.g6-hero-widget-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: max-content;
  color: #8feaff;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.g6-hero-widget-kicker i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #55f7a6;
  box-shadow: 0 0 0 0 rgba(85,247,166,.6), 0 0 16px rgba(85,247,166,.85);
  animation: g6-live-pulse 2s ease-out infinite;
}

@keyframes g6-live-pulse {
  70% { box-shadow: 0 0 0 10px rgba(85,247,166,0), 0 0 18px rgba(85,247,166,.72); }
  100% { box-shadow: 0 0 0 0 rgba(85,247,166,0), 0 0 16px rgba(85,247,166,.85); }
}

.g6-hero--minimal .g6-hero-widget h1 {
  width: auto;
  max-width: 13ch;
  margin: 0;
  overflow: visible;
  color: #fff;
  font-size: clamp(2.55rem, 4.7vw, 5rem);
  line-height: .93;
  letter-spacing: -.045em;
  clip-path: none !important;
}

.g6-hero-widget p {
  max-width: 50ch;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.g6-hero-widget .g6-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .35rem;
}

.g6-hero-widget .g6-button {
  min-height: 54px;
  justify-content: center;
}

.g6-hero-widget .g6-hero-news-cta {
  min-width: 190px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

@media (max-width: 680px) {
  .g6-hero--minimal .g6-hero-inner {
    align-items: flex-end;
    padding: 7.5rem 1rem 1.25rem;
  }

  .g6-hero--minimal .g6-hero-copy--minimal { width: 100%; }

  .g6-hero-widget {
    gap: .8rem;
    padding: 1.2rem;
    border-radius: 24px;
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
  }

  .g6-hero--minimal .g6-hero-widget h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 10.4vw, 3.4rem);
    line-height: .96;
  }

  .g6-hero-widget p { font-size: .94rem; line-height: 1.5; }
  .g6-hero-widget .g6-hero-actions { display: grid; grid-template-columns: 1fr; }
  .g6-hero-widget .g6-button,
  .g6-hero-widget .g6-hero-news-cta { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .g6-hero-widget-kicker i { animation: none; }
}

/* --------------------------------------------------------------------------
   0.4.9 — centered GTA VI collage cover with balanced contrast
   -------------------------------------------------------------------------- */

.g6-hero--minimal .g6-hero-inner {
  align-items: center;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.g6-hero--minimal .g6-hero-copy--minimal {
  margin-inline: auto;
  justify-content: center;
}

.g6-hero--minimal .g6-hero-media {
  background-position: center center;
  border-left: 0;
  clip-path: none;
  filter: brightness(.69) saturate(.82) contrast(1.07);
}

.g6-hero--minimal::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(7,7,17,.08) 0%, rgba(7,7,17,.24) 54%, rgba(7,7,17,.52) 100%),
    linear-gradient(180deg, rgba(7,7,17,.24) 0%, rgba(7,7,17,.34) 58%, rgba(7,7,17,.65) 100%);
}

.g6-hero--minimal .g6-hero-widget {
  margin-inline: auto;
  border-color: rgba(255,255,255,.24);
  background:
    radial-gradient(circle at 94% 4%, rgba(98,231,255,.15), transparent 30%),
    radial-gradient(circle at 4% 100%, rgba(255,78,163,.19), transparent 42%),
    linear-gradient(135deg, rgba(8,6,20,.9), rgba(13,24,42,.82));
  box-shadow:
    0 32px 100px rgba(0,0,0,.56),
    0 0 0 1px rgba(255,255,255,.035) inset,
    inset 0 1px 0 rgba(255,255,255,.13);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  backdrop-filter: blur(24px) saturate(1.12);
}

.g6-hero--minimal .g6-hero-widget h1 {
  text-shadow: 0 3px 24px rgba(0,0,0,.5);
}

.g6-hero--minimal .g6-hero-widget p {
  color: rgba(255,255,255,.84);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

@media (min-width: 981px) {
  .g6-hero--minimal .g6-hero-media {
    inset: -2%;
    transform: translate3d(0, var(--g6-hero-shift, 0px), 0) scale(1.025);
  }
}

/* --------------------------------------------------------------------------
   0.4.12 final cascade guard
   Keep the opening composition centered and keep only the GTA VI collage.
   Mobile retains content reveals; expensive background parallax stays off.
   -------------------------------------------------------------------------- */

.g6-header-inner {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 58px;
}

.g6-brand {
  position: absolute;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
}

.g6-brand > a {
  padding: .55rem .45rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.92));
}

.g6-brand > a::after {
  left: 12%;
  right: 12%;
}

.g6-wordmark {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
}

.g6-primary-nav {
  margin-right: auto;
  justify-self: auto;
}

.g6-header-actions {
  margin-left: auto;
}

.g6-hero--minimal .g6-hero-widget {
  display: grid;
  place-items: center;
  text-align: center;
}

.g6-hero--minimal .g6-hero-widget > * {
  width: min(100%, 760px);
  margin-inline: auto;
}

.g6-hero--minimal .g6-hero-widget-kicker,
.g6-hero--minimal .g6-hero-actions {
  justify-content: center;
}

.g6-hero--minimal .g6-hero-widget h1 {
  max-width: 15ch;
  text-align: center;
}

.g6-hero--minimal .g6-hero-widget p {
  max-width: 58ch;
  text-align: center;
}

.g6-button--miniapp {
  min-width: 150px;
  border-color: rgba(98,231,255,.38);
  background: linear-gradient(135deg, rgba(98,231,255,.18), rgba(255,78,163,.13));
}

.g6-home-scene--gta5::before,
.g6-home-scene--vicecity::before,
.g6-home-scene--vicecity {
  background-image: none !important;
}

@media (max-width: 820px), (pointer: coarse) {
  /* Only background/parallax layers are frozen. The .g6-reveal transitions
     intentionally remain active and are driven by IntersectionObserver. */
  body::before,
  body::after,
  .g6-hero-media,
  .g6-motion-scene::after,
  .g6-home-scene::before,
  .g6-dossier-card::before {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    background-attachment: scroll !important;
  }
}

@media (max-width: 680px) {
  .g6-hero--minimal .g6-hero-widget {
    place-items: center;
    padding: 1.25rem;
    text-align: center;
  }

  .g6-hero--minimal .g6-hero-widget h1,
  .g6-hero--minimal .g6-hero-widget p {
    width: 100%;
    text-align: center;
  }

  .g6-hero-widget .g6-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* 0.4.11 final overrides: keep these after every legacy theme rule. */
@media (min-width: 981px) {
  .g6-hero--minimal .g6-hero-copy--minimal {
    width: min(100%, 1140px);
    max-width: 1140px;
  }

  .g6-hero--minimal .g6-hero-widget {
    min-height: 540px;
    align-content: center;
    padding: clamp(2.5rem, 4vw, 4.25rem);
  }

  .g6-hero--minimal .g6-hero-widget > * { width: min(100%, 720px); }
  .g6-hero--minimal .g6-hero-widget::after {
    right: .035em;
    bottom: -.04em;
    font-size: clamp(16rem, 20vw, 23rem);
    color: rgba(255,255,255,.052);
  }
}

.g6-home-scene {
  position: relative;
  isolation: isolate;
  background-color: #080713;
}

.g6-home-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
}

.g6-home-scene--gta5::before {
  background-image:
    linear-gradient(180deg, rgba(7,7,17,.82), rgba(7,7,17,.74) 42%, rgba(7,7,17,.9)),
    linear-gradient(90deg, rgba(255,78,163,.12), transparent 48%, rgba(98,231,255,.1)),
    url("assets/gta5-section-bg.png");
  background-size: cover, cover, cover;
  filter: saturate(.72) contrast(1.05);
}

.g6-home-scene--vicecity {
  background-image:
    linear-gradient(90deg, rgba(7,7,17,.97), rgba(7,7,17,.9) 48%, rgba(8,8,20,.76)),
    url("assets/vice-city-section-bg.png");
  background-position: center, center;
  background-size: cover, cover;
}

.g6-home-scene--vicecity::before {
  background-image:
    linear-gradient(90deg, rgba(7,7,17,.94) 0%, rgba(7,7,17,.68) 54%, rgba(7,7,17,.48) 100%),
    url("assets/vice-city-section-bg.png");
  background-position: center, 82% center;
  background-size: cover, auto 112%;
  opacity: .52;
  filter: saturate(.72) contrast(1.04);
}

@media (max-width: 820px), (pointer: coarse) {
  body::before,
  body::after,
  .g6-hero-media,
  .g6-hero-copy,
  .g6-motion-scene::after,
  .g6-home-scene::before,
  .g6-dossier-card::before {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  body::before,
  body::after,
  .g6-hero-media,
  .g6-home-scene,
  .g6-home-scene::before { background-attachment: scroll !important; }

  .g6-hero--minimal .g6-hero-media { inset: 0; }

  .g6-home-scene--gta5::before {
    background-image:
      linear-gradient(180deg, rgba(7,7,17,.9), rgba(7,7,17,.8) 44%, rgba(7,7,17,.95)),
      url("assets/gta5-section-bg.png");
    background-size: cover, auto 100%;
    background-position: center, center top;
  }

  .g6-home-scene--vicecity { background-image: linear-gradient(180deg, #080713, #10091d 52%, #080713); }
  .g6-home-scene--vicecity::before {
    background-image:
      linear-gradient(180deg, rgba(7,7,17,.78), rgba(7,7,17,.9)),
      url("assets/vice-city-section-bg.png");
    background-position: center, center top;
    background-size: cover, 100% auto;
    opacity: .46;
  }
}

@media (max-width: 680px) {
  .g6-hero--minimal .g6-hero-copy--minimal {
    width: 100%;
    max-width: 100%;
  }

  .g6-hero--minimal .g6-hero-widget {
    min-height: 0;
    padding: 1.15rem;
    border-radius: 22px;
  }
}

@media (max-width: 680px) {
  .g6-hero--minimal .g6-hero-inner {
    align-items: center;
    justify-content: center;
    padding: 6.75rem 1rem 1.5rem;
  }

  .g6-hero--minimal .g6-hero-media {
    inset: -2%;
    background-position: 50% center;
    filter: brightness(.65) saturate(.8) contrast(1.06);
  }

  .g6-hero--minimal::before {
    background:
      radial-gradient(circle at 50% 45%, rgba(7,7,17,.08), rgba(7,7,17,.32) 64%, rgba(7,7,17,.58) 100%),
      linear-gradient(180deg, rgba(7,7,17,.28), rgba(7,7,17,.62));
  }

  .g6-hero--minimal .g6-hero-widget {
    background:
      radial-gradient(circle at 92% 5%, rgba(98,231,255,.13), transparent 30%),
      radial-gradient(circle at 5% 100%, rgba(255,78,163,.17), transparent 40%),
      linear-gradient(135deg, rgba(8,6,20,.92), rgba(13,24,42,.86));
  }
}

/* 0.4.13 must remain the final cascade layer. */
.g6-header-inner {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 58px;
}
.g6-brand {
  position: absolute;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
}
.g6-brand > a {
  padding: .55rem .45rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.92));
}
.g6-brand > a::after { left: 12%; right: 12%; }
.g6-wordmark { font-size: clamp(1.8rem, 2.6vw, 2.35rem); }
.g6-primary-nav { margin-right: auto; justify-self: auto; }
.g6-header-actions { margin-left: auto; }

.g6-hero--minimal .g6-hero-widget {
  display: grid;
  place-items: center;
  text-align: center;
}
.g6-hero--minimal .g6-hero-widget > * {
  width: min(100%, 760px);
  margin-inline: auto;
}
.g6-hero--minimal .g6-hero-widget-kicker,
.g6-hero--minimal .g6-hero-actions { justify-content: center; }
.g6-hero--minimal .g6-hero-widget h1 {
  max-width: 15ch;
  text-align: center;
}
.g6-hero--minimal .g6-hero-widget p {
  max-width: 58ch;
  text-align: center;
}
.g6-button--miniapp {
  min-width: 150px;
  color: #15101a;
  border-color: transparent;
  background: linear-gradient(100deg, #ffbddb, #ffc08d);
  box-shadow: 0 12px 36px rgba(255,78,163,.22);
}
.g6-button--miniapp:hover {
  color: #15101a;
  background: linear-gradient(100deg, #ffd0e5, #ffd0aa);
}

.g6-home-scene--gta5::before,
.g6-home-scene--vicecity::before,
.g6-home-scene--vicecity { background-image: none !important; }

@media (max-width: 680px) {
  .g6-hero--minimal .g6-hero-widget {
    place-items: center;
    padding: 1.25rem;
    text-align: center;
  }
  .g6-hero--minimal .g6-hero-widget h1,
  .g6-hero--minimal .g6-hero-widget p {
    width: 100%;
    text-align: center;
  }
  .g6-hero-widget .g6-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}
