/* PlayTinks Games: aparência do catálogo. Cores principais editáveis em Jogos > Aparência da Home.
   Para ajustes extras use CSS adicional. Estes seletores atuam nas telas PlayTinks.
   Remova a versão antiga do CSS PlayTinks depois de guardar uma cópia. */
/* 1. CONTROLES PRINCIPAIS — altere livremente os valores */
body.pt-plugin-page {
  --pt-bg: #0c1528;         /* Fundo geral */
  --pt-panel: #111f35;      /* Fundo dos painéis e cards */
  --pt-panel-light: #192c49;/* Fundo de botões e campos */
  --pt-text: #f7f8ff;       /* Texto principal */
  --pt-muted: #b8c8e3;      /* Texto secundário */
  --pt-purple: #9333ea;     /* Destaque principal */
  --pt-purple-light: #c36aff;
  --pt-mint: #37efb4;       /* Destaque secundário */
  --pt-border: #29415f;     /* Bordas */
  --pt-radius: 18px;        /* Arredondamento dos painéis */
  --pt-card-radius: 13px;   /* Arredondamento dos cards */
  --pt-width: 1280px;       /* Largura máxima do site */
  --pt-sidebar: 300px;      /* Largura da coluna lateral */
  --pt-gap: 16px;           /* Distância entre cards */
  background: var(--pt-bg);
  color: var(--pt-text);
}
/* 2. INTEGRAÇÃO COM O TEMA
O HTML inclui cabeçalho e rodapé próprios. Ocultamos os do GeneratePress
SOMENTE na página inicial estática para evitar duplicação.
Remova o primeiro bloco se preferir usar o cabeçalho/rodapé do tema. */
body.pt-plugin-page .site-header,
body.pt-plugin-page .main-navigation,
body.pt-plugin-page .site-footer,
body.pt-plugin-page .entry-header,
body.pt-plugin-page .widget-area,
body.pt-plugin-page .page-header { display: none; }
body.pt-plugin-page .site.grid-container {
  max-width: none;
  margin: 0;
}
body.pt-plugin-page .site-content { display: block; padding: 0; }
body.pt-plugin-page .site-main { margin: 0; }
body.pt-plugin-page #primary { width: 100%; float: none; margin: 0; }
body.pt-plugin-page .inside-article {
  background: transparent;
  padding: 0;
}
body.pt-plugin-page .entry-content { margin: 0; }
body.pt-plugin-page .entry-content > .pt-home { margin: 0; max-width: none; }
body.pt-plugin-page .pt-home {
  color: var(--pt-text);
  font-family: "Trebuchet MS", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(ellipse at 85% 0%, #192549 0%, transparent 40%),
    var(--pt-bg);
}
.pt-home, .pt-home * { box-sizing: border-box; }
.pt-home :where(h1,h2,h3,p,figure) { margin: 0; }
.pt-home a { color: inherit; text-decoration: none; }
.pt-home img { display: block; max-width: 100%; height: auto; }
.pt-home button, .pt-home input { font: inherit; }
.pt-home a:focus-visible,
.pt-home button:focus-visible,
.pt-home input:focus-visible {
  outline: 3px solid var(--pt-mint);
  outline-offset: 4px;
}
.pt-wrap { width: min(var(--pt-width), calc(100% - 40px)); margin-inline: auto; }
.pt-skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 18px; border-radius: 10px; background: var(--pt-panel);
}
.pt-skip:focus { top: 16px; }
/* 3. CABEÇALHO, BUSCA E CATEGORIAS */
.pt-header { border-bottom: 1px solid var(--pt-border); padding: 20px 0 16px; }
.pt-header-row {
  display: grid; grid-template-columns: auto minmax(180px,1fr) auto;
  align-items: center; gap: 28px;
}
.pt-brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.pt-brand-name { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.pt-brand-name span { color: var(--pt-purple-light); }
.pt-brand-icon { font-size: 34px; }
.pt-brand-logo { width: 225px; max-height: 70px; object-fit: contain; }
.pt-search { display: flex; gap: 8px; min-width: 0; }
.pt-home .pt-search input {
  width: 100%; min-width: 0; background: var(--pt-panel-light);
  color: var(--pt-text); border: 1px solid #405b80;
  border-radius: 12px; padding: 11px 14px; margin: 0;
}
.pt-search input::placeholder { color: var(--pt-muted); opacity: 1; }
.pt-home .pt-search button {
  border: 1px solid var(--pt-border); border-radius: 12px; padding: 10px 14px;
  background: var(--pt-panel-light); color: var(--pt-text); cursor: pointer;
}
.pt-language { display: flex; gap: 10px; padding: 10px 14px; border: 1px solid var(--pt-border); border-radius: 12px; }
.pt-language a[aria-current="page"] { color: var(--pt-mint); font-weight: 700; }
.pt-categories { display: flex; gap: 12px; overflow-x: auto; padding: 18px 3px 4px; }
.pt-categories a {
  flex: 1 0 auto; display: flex; justify-content: center; align-items: center; gap: 9px;
  background: var(--pt-panel); border: 1px solid var(--pt-border);
  border-radius: 13px; padding: 12px 17px; font-size: 14px; font-weight: 700;
}
.pt-categories a[aria-current="page"], .pt-categories a:hover {
  background: var(--pt-purple); border-color: var(--pt-purple-light);
}
/* 4. ANÚNCIOS
Os números são referências de formatos, não limites fixos para o provedor.
Não use transform:scale() em anúncios. O espaço reservado ajuda a evitar
saltos no layout, mas adapte a altura ao formato configurado no provedor. */
.pt-ad {
  display: flex; justify-content: center; align-items: center; flex-direction: column;
  min-width: 0; border: 1px dashed #6483b0; border-radius: 10px;
  background: #14233d; color: var(--pt-muted); text-align: center;
}
.pt-ad-demo { display: grid; gap: 4px; letter-spacing: 2px; font-size: 12px; }
.pt-ad-demo small { font-size: 12px; letter-spacing: 1px; }
.pt-ad-wide { width: min(728px,100%); min-height: 90px; margin: 24px auto; }
.pt-ad-square { width: 100%; min-height: 250px; }
/* 5. DESTAQUE PRINCIPAL
Para usar ilustração real, coloque <img class="pt-hero-image" ...> no
.pt-hero-art no HTML. A composição de emojis é apenas um exemplo substituível. */
.pt-hero {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px;
  min-height: 270px; padding: 34px 42px; border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius); overflow: hidden;
  background: radial-gradient(circle at 85% 80%,#49318b 0,transparent 48%),#12213b;
  margin-bottom: 20px;
}
.pt-hero h1 { font-size: clamp(30px,3.8vw,50px); line-height: 1.12; font-weight: 900; letter-spacing: -1.5px; }
.pt-hero h1 span { color: var(--pt-purple-light); }
.pt-hero p { margin: 16px 0 22px; color: var(--pt-muted); font-size: 18px; }
.pt-button {
  display: inline-flex; gap: 12px; align-items: center; justify-content: center;
  padding: 13px 23px; border-radius: 13px; background: var(--pt-purple);
  color: #fff; font-weight: 700; box-shadow: 0 6px 24px #9333ea30;
}
.pt-button:hover { background: #7e22ce; }
.pt-hero-art { position: relative; display: grid; place-items: center; min-height: 200px; }
.pt-hero-controller { font-size: 125px; line-height: 1; transform: rotate(-12deg); }
.pt-token { position: absolute; font-size: 42px; line-height: 1; }
.pt-token-one { top: 5px; left: 10%; transform: rotate(-12deg); }
.pt-token-two { bottom: 5px; right: 10%; transform: rotate(16deg); }
.pt-token-three { top: 10px; right: 10%; }
.pt-hero-image { width: 100%; max-height: 270px; object-fit: contain; }
/* 6. COLUNAS E GRADE
Desktop: 4 cards por linha + lateral. Tablet: 3 sem lateral fixa.
Celular: 2 por linha. Para mudar, edite repeat() aqui e nas media queries. */
.pt-layout { display: grid; grid-template-columns: minmax(0,1fr) var(--pt-sidebar); gap: 18px; align-items: start; }
.pt-main-column { display: grid; gap: 18px; min-width: 0; }
.pt-section, .pt-sidebar-panel {
  background: var(--pt-panel); border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius); padding: 20px; min-width: 0;
}
.pt-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.pt-section-heading h2 { font-size: clamp(22px,2.5vw,30px); line-height: 1.2; font-weight: 900; letter-spacing: -.6px; }
.pt-view-all { font-size: 12px; color: var(--pt-muted); padding: 7px 12px; border: 1px solid var(--pt-border); border-radius: 999px; white-space: nowrap; }
.pt-view-all:hover { color: var(--pt-mint); }
.pt-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--pt-gap); }
.pt-card {
  display: block; border: 1px solid var(--pt-border);
  border-radius: var(--pt-card-radius); overflow: hidden; background: #0e1b2d;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pt-card:hover { transform: translateY(-4px); border-color: var(--pt-purple-light); box-shadow: 0 8px 25px #0004; }
.pt-thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg,#243d8c,#a42ddd); font-size: 64px; line-height: 1;
}
.pt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pt-art-racing { background: linear-gradient(145deg,#24266f,#b73b9a,#fa8c54); }
.pt-art-puzzle { background: linear-gradient(135deg,#087e88,#40ddbf,#fac756); }
.pt-art-adventure { background: linear-gradient(135deg,#21638d,#7ac8d0,#ecd275); }
.pt-art-action { background: linear-gradient(135deg,#1d2762,#7045d9,#ed4dac); }
.pt-art-sports { background: linear-gradient(140deg,#095d55,#40b575,#a9df68); }
.pt-card-info { padding: 10px 12px 12px; }
.pt-card h3 { font-size: 15px; font-weight: 800; line-height: 1.3; margin-bottom: 9px; }
.pt-tag { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; color: white; background: #6930b3; }
.pt-tag-puzzle { background: #076047; }
.pt-tag-adventure { background: #145ca2; }
.pt-tag-action { background: #a71d59; }
.pt-tag-sports { background: #795614; }
/* 7. LATERAL — somente na página inicial */
.pt-sidebar { display: grid; gap: 18px; min-width: 0; }
.pt-sidebar-panel { padding: 12px; }
.pt-sidebar h2 { font-size: 21px; margin-bottom: 12px; }
.pt-mini-card { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--pt-panel-light); border: 1px solid var(--pt-border); border-radius: 12px; }
.pt-mini-card + .pt-mini-card { margin-top: 10px; }
.pt-mini-icon { display: grid; place-items: center; width: 62px; height: 54px; flex-shrink: 0; border-radius: 8px; font-size: 30px; }
.pt-mini-card strong { display: block; font-size: 13px; margin-bottom: 5px; }
/* 8. FAIXA INFORMATIVA E RODAPÉ */
.pt-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 20px; gap: 24px; }
.pt-benefit { display: flex; align-items: flex-start; gap: 12px; }
.pt-benefit + .pt-benefit { border-left: 1px solid #405b80; padding-left: 24px; }
.pt-benefit-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #273960; flex-shrink: 0; font-size: 24px; }
.pt-benefit h2 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.pt-benefit p { color: var(--pt-muted); font-size: 13px; }
.pt-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px 0 30px; }
.pt-footer .pt-brand-name { font-size: 24px; }
.pt-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--pt-muted); }
.pt-footer a:hover { color: var(--pt-mint); }
.pt-footer small { color: var(--pt-muted); font-size: 12px; }
/* 9. ACESSIBILIDADE — texto oculto apenas visualmente */
.pt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* 10. TABLET — abaixo de 1100px a lateral passa para baixo */
@media (max-width: 1100px) {
  .pt-layout { grid-template-columns: minmax(0,1fr); }
  .pt-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pt-sidebar-recommendations { grid-column: 1 / -1; grid-row: 2; }
  .pt-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pt-header-row { gap: 16px; }
  .pt-brand-name { font-size: 26px; }
  .pt-benefits { gap: 14px; }
  .pt-benefit + .pt-benefit { padding-left: 14px; }
}
/* 11. CELULAR — títulos, anúncios e navegação se ajustam */
@media (max-width: 700px) {
  .pt-wrap { width: calc(100% - 24px); }
  .pt-header { padding-top: 14px; }
  .pt-header-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .pt-search { grid-row: 2; grid-column: 1 / -1; }
  .pt-brand-name { font-size: 25px; }
  .pt-brand-logo { width: 175px; }
  .pt-language { font-size: 12px; padding: 8px 10px; }
  .pt-categories { gap: 8px; }
  .pt-categories a { padding: 10px 14px; }
  .pt-hero { grid-template-columns: minmax(0,1fr); padding: 26px 22px; gap: 12px; }
  .pt-hero h1 { letter-spacing: -.8px; }
  .pt-hero p { font-size: 16px; }
  .pt-hero-art { min-height: 150px; }
  .pt-hero-controller { font-size: 100px; }
  .pt-token { font-size: 30px; }
  .pt-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .pt-section { padding: 14px; }
  .pt-section-heading { gap: 8px; }
  .pt-thumb { font-size: 48px; }
  .pt-card-info { padding: 9px; }
  .pt-card h3 { font-size: 14px; }
  .pt-sidebar { grid-template-columns: minmax(0,1fr); }
  .pt-sidebar-recommendations { grid-column: auto; grid-row: auto; }
  .pt-ad-wide { min-height: 100px; margin-block: 18px; }
  .pt-benefits { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .pt-benefit + .pt-benefit { border-left: 0; padding-left: 0; border-top: 1px solid var(--pt-border); padding-top: 18px; }
  .pt-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-card { transition: none; }
  .pt-card:hover { transform: none; }
}
/* FIM — suas personalizações extras podem ficar abaixo desta linha. */

/* Player, catálogo e páginas individuais — sem anúncios. */
body.pt-plugin-page { margin: 0; }
body.pt-plugin-page .pt-home { min-height: 100vh; }
.pt-catalog-content { padding-block: 28px; }
.pt-layout-no-sidebar { grid-template-columns: minmax(0,1fr); }
.pt-game-heading { margin-bottom: 20px; }
.pt-game-heading > a { color: var(--pt-muted); font-size: 14px; }
.pt-game-heading h1 { font-size: clamp(28px,4vw,44px); line-height: 1.2; margin-block: 14px; }
.pt-game-category-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-player { border: 1px solid var(--pt-border); border-radius: var(--pt-radius); overflow: hidden; background: #050912; }
.pt-player iframe { display: block; width: 100%; border: 0; max-width: 100%; }
.pt-game-actions { margin-top: 16px !important; }
.pt-player-help { color: var(--pt-muted); margin-top: 10px !important; font-size: 13px; }
.pt-game-description { margin-top: 24px; }
.pt-game-description :where(p,ul,ol,h2,h3) + :where(p,ul,ol,h2,h3) { margin-top: 16px; }
.pt-game-description a { color: var(--pt-mint); text-decoration: underline; }
.pt-empty { color: var(--pt-muted); padding: 20px 0; }
.pt-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.pt-pagination .page-numbers { padding: 8px 14px; border-radius: 8px; background: var(--pt-panel-light); }
.pt-pagination .current { background: var(--pt-purple); }
@media (max-width: 700px) {
  .pt-player iframe { height: min(75vh,600px); min-height: 300px; }
  .pt-catalog-content { padding-top: 18px; }
}

