/* Lote 1: Direito Gamer. A direcao visual usa a linguagem do console: status, acesso e registro. */
body[data-page="games"] .page-hero {
  background: #08182d;
}

body[data-page="games"] .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
}

body[data-page="games"] .page-hero h1 {
  max-width: 21ch;
  font-size: 3.65rem;
}

.games-hero-note {
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

.games-status-rail {
  border-left: 1px solid rgba(240,228,207,.28);
  padding-left: 30px;
}

.games-hero-media {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(240,228,207,.22);
  border-radius: 4px;
  background: #061225;
  box-shadow: 0 20px 48px rgba(0,0,0,.24);
}

.games-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.games-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page="games"] .hero-card .games-hero-media {
  margin-bottom: 26px;
}

.games-status-rail > p {
  margin: 0 0 16px;
  color: #dbc39a;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.games-status-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(240,228,207,.2);
}

.games-status-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(240,228,207,.2);
}

.games-status-list strong {
  color: #d29a50;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.games-status-list span {
  color: rgba(255,255,255,.82);
  line-height: 1.45;
}

.games-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: stretch;
  margin: 0 0 30px;
  padding: 26px 28px;
  border-left: 5px solid var(--gold);
  background: #eef3f4;
}

.games-answer p:last-child { margin-bottom: 0; }

.games-answer-side {
  display: grid;
  align-content: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(11,27,52,.16);
}

.games-answer-side strong {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.games-answer-side span {
  color: var(--muted);
  font-size: .9rem;
}

.games-map {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 26px;
  margin: 38px 0 46px;
  padding: 26px 0;
  border-top: 1px solid rgba(189,131,55,.34);
  border-bottom: 1px solid rgba(189,131,55,.34);
}

.games-map h2 {
  margin: 0;
  font-size: 1.75rem;
}

.games-map p { color: var(--muted); }

.games-map-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.games-map-list a {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.games-map-list a:hover,
.games-map-list a:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.games-map-list strong { color: var(--navy); }
.games-map-list span { color: var(--muted); font-size: .9rem; line-height: 1.4; }

.games-source-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
}

.games-source-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
}

.games-source-list a span { color: var(--muted); font-size: .88rem; }

.games-profile {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
  padding: 20px;
  border-top: 3px solid var(--gold);
  background: #eef3f4;
}

.games-profile img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
}

.games-profile strong { display: block; color: var(--navy); }
.games-profile p { margin: 5px 0 0; color: var(--muted); font-size: .93rem; }

.games-hero-checklist {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  color: rgba(255,255,255,.84);
  list-style: none;
}

.games-hero-checklist li {
  position: relative;
  padding-left: 22px;
}

.games-hero-checklist li::before {
  position: absolute;
  top: .48em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.games-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 14px;
}

.games-case-grid a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: #fff;
}

.games-case-grid strong { color: var(--navy); }
.games-case-grid span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

.games-platform-table {
  width: 100%;
  margin: 20px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.games-platform-table-head,
.games-platform-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(200px, 1.15fr) minmax(150px, .8fr);
  gap: 16px;
  min-width: 620px;
  padding: 14px 16px;
  align-items: start;
}

.games-platform-table-head {
  color: var(--navy);
  background: #f2f5f6;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.games-platform-row { border-top: 1px solid var(--border); }
.games-platform-row a:first-child { color: var(--navy); }
.games-platform-row span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.games-platform-row a:last-child { color: #89571d; font-size: .88rem; font-weight: 800; }

.source-note {
  color: var(--muted);
  font-size: .9rem;
}

body[data-page="games"] .contact-form textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid rgba(11,27,52,.18);
  border-radius: 4px;
  padding: 13px 14px;
  background: #f6f8f9;
  color: var(--ink);
}

body[data-page="games"] .privacy-check {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  color: #53636b;
  font-size: .87rem;
  font-weight: 600;
}

body[data-page="games"] .privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }

.games-disclaimer {
  padding: 18px 0;
  background: #faf7f1;
  border-bottom: 1px solid rgba(189,131,55,.22);
}

.games-disclaimer p { margin: 0; color: #53636b; font-size: .92rem; }
.games-disclaimer strong { color: #8a5a20; }

body[data-page="games"] .prose h2 { scroll-margin-top: 100px; }

@media (max-width: 1060px) {
  body[data-page="games"] .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  body[data-page="games"] .page-hero h1 { max-width: 24ch; }
  .games-status-rail { width: 100%; max-width: 680px; padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(240,228,207,.28); }
  body[data-page="games"] .hero-card { width: 100%; max-width: 680px; }
}

@media (max-width: 820px) {
  body[data-page="games"] .page-hero h1 { max-width: none; font-size: 2.55rem; }
  .games-answer, .games-map { grid-template-columns: 1fr; }
  .games-answer-side { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(11,27,52,.16); }
  .games-map-list { grid-template-columns: 1fr; }
  .games-case-grid { grid-template-columns: 1fr; }
  .games-source-list a { display: grid; gap: 4px; }
  body[data-page="games"] .whatsapp-float {
    display: none;
  }
}

@media (max-width: 520px) {
  body[data-page="games"] .page-hero h1 { font-size: 2.28rem; }
  .games-status-list div { grid-template-columns: 64px 1fr; }
  .games-profile { grid-template-columns: 76px 1fr; }
  .games-profile img { width: 76px; height: 76px; }
  .games-hero-media { margin-bottom: 20px; }
}

/* Componentes usados pelas paginas especificas do lote complementar. */
.hero-card-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body[data-page="games"] .hero-card h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1.85rem;
}

body[data-page="games"] .hero-card p { color: rgba(255,255,255,.78); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-top: 3px solid rgba(189,131,55,.66);
  border-radius: 4px;
  background: #fff;
}

.info-card h3 { margin-bottom: 8px; color: var(--navy); }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.steps-list {
  display: grid;
  gap: 12px;
  padding-left: 0 !important;
  list-style: none !important;
  counter-reset: game-step;
}

.steps-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.steps-list li::before {
  position: static !important;
  content: counter(game-step) !important;
  counter-increment: game-step;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  border-radius: 4px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.source-list {
  display: grid;
  gap: 8px;
  padding-left: 0 !important;
  list-style: none !important;
}

.source-list li { padding-left: 0 !important; }
.source-list li::before { display: none !important; }
.source-list a { color: #89571d; font-weight: 800; }

.table-wrap {
  width: 100%;
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table-wrap th { color: var(--navy); background: #f2f5f6; font-size: .9rem; }
.table-wrap td { color: var(--muted); font-size: .94rem; }
.table-wrap tr:last-child td { border-bottom: 0; }

.games-breadcrumb {
  padding: 12px 0;
  border-bottom: 1px solid rgba(11,27,52,.1);
  background: #fff;
  color: var(--muted);
  font-size: .86rem;
}

.games-breadcrumb a { color: #89571d; font-weight: 800; }
.games-article { max-width: 960px; margin: 0 auto; }
.narrow { max-width: 760px; }

body[data-page="games"] .page-hero .games-breadcrumb {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.68);
}

body[data-page="games"] .page-hero .games-breadcrumb a { color: #dbc39a; }

@media (max-width: 820px) {
  .info-grid { grid-template-columns: 1fr; }
  .steps-list li { grid-template-columns: 30px 1fr; padding: 14px; }
  .games-breadcrumb { font-size: .8rem; }
}
