/* Portal GTA 6 — formato de portal de games (referência: Flow Games):
   fundo grafite, títulos em fonte quadrada, etiquetas de editoria, destaque emoldurado com cantos cortados,
   cards com título sobre a imagem, lista com miniatura e barra lateral. Cores de destaque do GTA VI. */
:root {
  color-scheme: dark;
  --bg: #222323;
  --bg-deep: #151616;
  --surface: #2B2C2D;
  --surface-2: #343536;
  --text: #ECE7DF;
  --muted: #A9A49B;
  --tag: #FFC24A;
  --accent: #FF4F8B;
  --accent-2: #8E4BFF;
  --shopee: #EE4D2D;
  --oficial: #7FE0C4;
  --vazado: #FF6F98;
  --boato: #FFC857;
  --display: "Chakra Petch", "Arial Narrow", Arial, sans-serif;
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --notch: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tag); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; color: #000; font-weight: 900; }
.skip-link:focus { top: 12px; }
.notched { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }

/* Status das informações */
.is-oficial { --c: var(--oficial); }
.is-vazado  { --c: var(--vazado); }
.is-boato   { --c: var(--boato); }

/* Tipografia de apoio */
.tag {
  display: inline-block; padding: 4px 8px; background: #141515; color: var(--tag);
  font: 700 12px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
a.tag:hover { color: #fff; }
.tag--guide { background: var(--accent); color: #fff; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.byline time { font-weight: 400; margin-left: 8px; }
.dot { flex: none; width: 8px; height: 8px; background: var(--accent); }
.section-title {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font: 700 24px/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase;
}
.section-title svg { flex: none; width: 14px; height: 22px; fill: var(--accent); }
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px;
  background: var(--surface-2); color: #fff; font: 700 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s;
}
.button:hover { background: var(--accent); }

/* Cabeçalho fixo */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg-deep); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.logo img { width: 40px; height: 40px; }
.logo b { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.nav a { padding: 10px 0; color: #D8D3CA; transition: color .2s; }
.nav a:hover { color: var(--tag); }
.nav .nav-buy { padding: 10px 12px; background: var(--shopee); color: #fff; }
.nav .nav-buy:hover { background: #FF6A3D; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; place-items: center; }
.bars, .bars::before, .bars::after { display: block; position: relative; width: 24px; height: 2px; background: var(--text); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }

/* Destaque principal: carrossel com moldura de cantos cortados */
.hero { position: relative; height: clamp(540px, 74vh, 680px); overflow: hidden; isolation: isolate; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.6) 42%, rgba(12,12,12,.1) 78%),
    linear-gradient(0deg, rgba(12,12,12,.85) 0%, rgba(12,12,12,0) 45%);
}
.slide-wrap { height: 100%; display: flex; align-items: center; }
.slide-content { max-width: 660px; padding: 60px 0 128px 52px; }
.slide h2 { margin: 14px 0; font: 700 clamp(30px, 3.6vw, 50px)/1.08 var(--display); }
.slide h2 a { transition: color .2s; }
.slide h2 a:hover { color: var(--tag); }
.slide-excerpt { margin: 0 0 20px; max-width: 56ch; color: #D6D1C8; font-size: 17px; }
.hero-frame-wrap { position: absolute; inset: 0; margin: auto; z-index: 2; pointer-events: none; }
.hero-frame {
  --n: 26px; --line: rgba(236,231,223,.45);
  position: absolute; inset: 44px 0;
  border: 1px solid var(--line);
  clip-path: polygon(var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%, 0 var(--n));
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; width: var(--n); height: var(--n);
  background: linear-gradient(to bottom right, transparent calc(50% - 1.5px), var(--line) calc(50% - 1.5px), var(--line) calc(50% + 1.5px), transparent calc(50% + 1.5px));
}
.hero-frame::before { top: -1px; left: -1px; }
.hero-frame::after { right: -1px; bottom: -1px; }
.hero-controls { position: absolute; right: 36px; bottom: 66px; display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.arrow { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; background: none; border: 0; color: var(--text); cursor: pointer; transition: color .2s; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.arrow:hover { color: var(--tag); }
.thumbs { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.thumb { display: block; width: 92px; aspect-ratio: 16 / 9; padding: 0; background: none; border: 2px solid transparent; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--tag); }

/* Blocos e cards */
.block { padding: 56px 0 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  padding: 10px 16px; background: var(--surface); border: 0; color: var(--muted); cursor: pointer;
  font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: background .2s, color .2s;
}
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.see-all { font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--tag); }
.see-all:hover { color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card-link {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
}
.card-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.94) 6%, rgba(10,10,10,.35) 55%, rgba(10,10,10,0) 78%); }
.card-body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card-title { font: 700 19px/1.22 var(--display); transition: color .2s; }
.cards--4 .card-title { font-size: 17px; }
.card-link:hover img { transform: scale(1.05); }
.card-link:hover .card-title { color: var(--tag); }

/* Duas colunas: lista + barra lateral */
.columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-top: 56px; }
.main-col { min-width: 0; }
.rows { display: grid; gap: 28px; margin-top: 24px; }
.row { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: center; }
.row-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.row:hover .row-thumb img { transform: scale(1.05); }
.row-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.row h3 { margin: 0; font: 700 21px/1.24 var(--display); }
.row h3 a { transition: color .2s; }
.row h3 a:hover { color: var(--tag); }
.more-link { margin: 36px 0 0; }

/* Barra lateral */
.sidebar { display: grid; gap: 24px; }
.side-box { padding: 22px; background: var(--surface); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }
.side-box .section-title { font-size: 18px; margin-bottom: 14px; }
.side-kicker { margin: 0; font: 700 12px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.countdown-date {
  margin: 6px 0 8px; font: 700 46px/1 var(--display);
  background: linear-gradient(90deg, #FFB24A, #FF4F8B 55%, #8E4BFF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
#countdown { margin: 0; font-size: 15px; color: var(--muted); }
#countdown strong { color: #fff; }
.side-note { margin: -6px 0 14px; font-size: 13px; color: var(--muted); }
.mini a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.mini img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mini-tag { display: block; font: 700 11px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--tag); }
.mini-title { display: block; font: 700 15px/1.25 var(--display); transition: color .2s; }
.mini a:hover .mini-title { color: var(--tag); }
.facts-group h3 { margin: 12px 0 6px; font: 700 15px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.facts-group ul { margin: 0; padding: 0 0 0 16px; }
.facts-group li { margin: 5px 0; font-size: 14px; line-height: 1.4; }
.facts-group li::marker { color: var(--c); }
.facts-group a:hover { color: var(--c); }
.sticky-ad { position: sticky; top: 96px; }

/* Compra (Shopee) */
.buy { display: grid; gap: 10px; margin-top: 16px; }
.buy-button {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px;
  background: var(--shopee); color: #fff; font: 700 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: background .2s;
}
.buy-button:hover { background: #FF6A3D; }
.buy-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.shop-list { display: grid; gap: 10px; margin-bottom: 14px; }
.product > a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 10px; background: var(--surface-2); transition: background .2s; }
.product > a:hover { background: #404142; }
.product-photo { aspect-ratio: 1; background: #fff; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-tag { margin: 0; font: 700 11px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--tag); }
.product h3 { margin: 0; font: 700 14px/1.25 var(--display); }
.product-store { margin: 0; font-size: 12px; color: var(--muted); }
.product-price { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.product-price s { margin-right: 4px; }
.product-price b { font-size: 17px; color: #fff; }
.product .buy-button { display: none; }

/* Anúncios: espaço reservado evita que o conteúdo pule quando o anúncio carrega */
.ad { width: min(var(--wrap), 100% - 48px); margin: 40px auto 0; text-align: center; }
.ad-label { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #7D786F; }
.ad--leaderboard { min-height: 120px; }
.ad--sidebar { width: 100%; min-height: 280px; margin: 0; }
.ad--in-article { width: 100%; min-height: 280px; margin: 32px 0; }

/* Matéria */
.article-columns { padding-top: 40px; }
.crumbs { margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--tag); }
.article-head .tag { margin-bottom: 14px; }
.article h1 { margin: 0 0 14px; font: 700 clamp(30px, 4vw, 46px)/1.1 var(--display); }
.article-excerpt { margin: 0 0 18px; font-size: 19px; color: #D6D1C8; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.share a, .share button {
  padding: 8px 14px; background: var(--surface); border: 0; color: var(--text); cursor: pointer;
  font: 700 12px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: background .2s;
}
.share a:hover, .share button:hover { background: var(--accent); color: #fff; }
.article-figure { margin: 28px 0 0; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.status { margin: 28px 0; padding: 16px 20px; background: var(--surface); border-left: 4px solid var(--c); }
.status b { display: block; color: var(--c); }
.status p { margin: 4px 0 0; }
.article-body { font-size: 18px; line-height: 1.7; }
.article-body p, .article-body li { color: #DCD7CE; }
.article-body .lead { font-size: 20px; color: #fff; }
.article-body h2 { margin: 40px 0 12px; font: 700 28px/1.2 var(--display); }
.article-body h3 { margin: 28px 0 8px; font: 700 21px/1.25 var(--display); }
.article-body a { color: var(--accent); font-weight: 700; }
.article-body a:hover { color: var(--tag); }
.article-body li { margin-bottom: 6px; }
.article-body li::marker { color: var(--accent); }
.article-body blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); font-size: 22px; line-height: 1.4; font-weight: 700; color: #fff; }
.article-body table { width: 100%; margin: 20px 0; border-collapse: separate; border-spacing: 0 4px; font-size: 15px; }
.article-body th, .article-body td { padding: 12px 14px; text-align: left; vertical-align: top; }
.article-body td { background: var(--surface); }
.article-body th { font-size: 13px; color: var(--muted); }
.ok { color: var(--oficial) !important; font-weight: 700; }
.warn { color: var(--boato) !important; font-weight: 700; }
.buy-box { display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: center; margin-top: 40px; padding: 26px; background: var(--surface); }
.buy-box h2 { margin: 0 0 6px; font: 700 24px/1.2 var(--display); text-transform: uppercase; }
.buy-box p { margin: 0; color: var(--muted); }
.buy-box p a { color: var(--accent); font-weight: 700; }
.buy-box .buy-note { grid-column: 1 / -1; }
.sources { margin-top: 32px; padding: 22px 24px; background: var(--surface); }
.sources h2 { margin: 0 0 8px; font: 700 18px/1.2 var(--display); text-transform: uppercase; }
.sources ul { margin: 0; padding-left: 18px; font-size: 14px; }
.sources a { overflow-wrap: anywhere; }
.sources a:hover { color: var(--tag); }
.contact-mail { padding: 18px 20px; background: var(--surface); }

/* Páginas de lista e institucionais */
.page-head { padding-top: 48px; }
.page-title { margin: 0 0 8px; font: 700 clamp(32px, 4vw, 48px)/1.1 var(--display); text-transform: uppercase; }
.page-intro { max-width: 70ch; margin: 0; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; color: var(--muted); }
.empty { color: var(--muted); }
.empty a { color: var(--accent); font-weight: 700; }

/* Rodapé */
.site-footer { margin-top: 88px; padding: 48px 0 28px; background: var(--bg-deep); font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .logo { margin-bottom: 14px; color: var(--text); }
.site-footer h2 { margin: 0 0 12px; font: 700 14px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer a:hover { color: var(--tag); }
.footer-legal { margin-top: 32px; font-size: 12px; }

@media (max-width: 1100px) {
  .columns { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .sticky-ad { position: static; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 4px 24px 20px; background: var(--bg-deep); font-size: 15px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; }
  .nav .nav-buy { margin-top: 8px; text-align: center; }
  .hero { height: 580px; }
  .hero-frame { inset: 20px 0; }
  .slide-content { padding: 40px 20px 100px 22px; }
  .hero-controls { right: 14px; bottom: 34px; }
  .thumbs { display: none; }
  .cards { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .buy-box { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap, .ad { width: calc(100% - 32px); }
  .logo { font-size: 19px; }
  .logo img { width: 34px; height: 34px; }
  .slide h2 { font-size: 28px; }
  .slide-excerpt { font-size: 15px; }
  .row { grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
  .row h3 { font-size: 16px; }
  .row .byline time { margin-left: 0; }
  .cards--4 { grid-template-columns: 1fr; }
  .article-body { font-size: 17px; }
  .article-body table { display: block; overflow-x: auto; }
  .columns { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
  .card-link img, .row-thumb img { transition: none; }
}
