/*
Theme Name: 007game Guia Brasil
Theme URI: https://007game.lat/
Author: IGR
Description: Brazilian Portuguese independent information-guide theme for 007game content pages.
Version: 1.0.0
Text Domain: 007game-guia-brasil
*/

:root {
  --bg: #101417;
  --panel: #171d22;
  --panel-soft: #20272d;
  --text: #f5f2e9;
  --muted: #d4dbd8;
  --line: rgba(255, 255, 255, .12);
  --green: #31d27c;
  --gold: #f2b84b;
  --coral: #ff6f61;
  --blue: #5db7de;
  --ink: #111417;
  --paper: #fbf7ed;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-color: rgba(49, 210, 124, .7);
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 99;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--ink);
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 20, 23, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), var(--gold));
  font-weight: 900;
  font-size: 13px;
}

.brand-name {
  display: block;
  font-weight: 850;
  font-size: 19px;
  line-height: 1.05;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 3px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
}

.site-main {
  min-height: 62vh;
}

.content-shell,
.entry-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.entry-header {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 18px;
}

.entry-title {
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  max-width: 900px;
  margin: 0;
}

.entry-content {
  padding-bottom: 72px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: 26px;
  align-items: center;
}

.hero-copy {
  padding: 22px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 7.2vw, 78px);
  line-height: .98;
  max-width: 920px;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.45;
  max-width: 780px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(49, 210, 124, .16);
}

.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.hero-media,
.image-band figure,
.page-media figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.snapshot,
.quick-grid,
.status-grid,
.feature-grid,
.faq-grid,
.legal-grid {
  display: grid;
  gap: 14px;
}

.snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
}

.snapshot-item,
.quick-card,
.status-card,
.faq-item,
.note-box,
.step,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  padding: 16px;
}

.snapshot-label,
.status-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 5px;
}

.snapshot-value,
.status-value {
  display: block;
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.section:first-child {
  border-top: 0;
}

.section.alt {
  width: 100%;
  max-width: none;
  background: var(--paper);
  color: var(--ink);
  padding: 56px max(16px, calc((100vw - 1120px) / 2));
  border-top: 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
}

.section h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.section p,
.section li {
  color: inherit;
}

.section > p,
.section .intro {
  max-width: 860px;
  color: var(--muted);
}

.section.alt .intro,
.section.alt .muted {
  color: #48515a;
}

.section.alt > p,
.section.alt > ol,
.section.alt > ul,
.section.alt .snapshot-label,
.section.alt .status-label {
  color: #263039;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
  margin-top: 22px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
  margin-top: 24px;
}

.page-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin: 24px 0;
}

.page-media img,
.image-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.faq-item h3 {
  font-size: 18px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.link-list a {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.note-box {
  border-left: 4px solid var(--gold);
  margin: 22px 0;
}

.site-footer {
  background: #0b0e10;
  border-top: 1px solid var(--line);
  padding: 42px 0 96px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 24px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: #dce4e0;
  text-decoration: none;
}

.footer-note {
  color: #dce4e0;
  font-size: 14px;
  margin: 10px 0 0;
}

.sticky-action {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 80;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 24px));
  display: none;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 23, .96);
  box-shadow: var(--shadow);
}

.sticky-action span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 750;
}

.sticky-action a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .header-inner,
  .footer-inner,
  .hero,
  .image-band,
  .page-media {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    padding: 14px 0;
  }

  .primary-menu {
    justify-content: flex-start;
  }

  .snapshot,
  .quick-grid,
  .feature-grid,
  .status-grid,
  .steps,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    display: block;
  }

  .primary-menu {
    margin-top: 12px;
    gap: 4px;
  }

  .primary-menu a {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 13px;
  }

  .hero {
    margin-top: 22px;
  }

  .snapshot,
  .quick-grid,
  .feature-grid,
  .status-grid,
  .steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 34px 0;
  }

  .section.alt {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .btn,
  .wp-block-button__link {
    width: 100%;
  }

  .sticky-action {
    display: flex;
  }
}

.page-007game-guide {
  width: 100%;
}

.page-007game-guide .guide-notice {
  border: 1px solid rgba(242, 184, 75, .55);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(242, 184, 75, .1);
  padding: 16px;
  margin-top: 18px;
}

.page-007game-guide .guide-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.page-007game-guide .guide-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

.page-007game-guide .guide-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.page-007game-guide .guide-table th,
.page-007game-guide .guide-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.page-007game-guide .guide-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.page-007game-guide .guide-checklist li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .045);
}

.guide-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 800;
}

.guide-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 920px) {
  .page-007game-guide .guide-quick-links,
  .guide-footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guide-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
  }

  .site-navigation {
    display: none;
    padding-top: 10px;
  }

  .site-navigation.is-open {
    display: block;
  }

  .page-007game-guide .guide-checklist {
    grid-template-columns: 1fr;
  }
}
