:root {
  --ink: #20124d;
  --ink-soft: #493983;
  --paper: #fffdf6;
  --paper-2: rgba(255, 253, 246, 0.94);
  --sun: #ffd74a;
  --pink: #ff5d8f;
  --blue: #3a86ff;
  --green: #4cc986;
  --mint: #c6f7df;
  --violet: #8d5cf6;
  --danger: #d9485a;
  --success: #218f68;
  --shadow: rgba(31, 18, 77, 0.22);
  --line: #20124d;
  --radius: 28px;
}

/* Stage 1: clearer game states and professional game-over feedback */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-rounded, "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 215, 74, 0.85) 0 70px, transparent 72px),
    radial-gradient(circle at 92% 16%, rgba(255, 93, 143, 0.42) 0 92px, transparent 94px),
    radial-gradient(circle at 16% 88%, rgba(76, 201, 134, 0.5) 0 115px, transparent 118px),
    linear-gradient(135deg, #fff4c8 0%, #eafaff 45%, #efe7ff 100%);
  overflow-x: hidden;
}

a { color: inherit; }

.page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 4px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 246, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 0 var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -0.7px;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
}

.nav, .footer-links, .actions, .cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav { justify-content: flex-end; }

.nav a, .footer-links a {
  text-decoration: none;
  font-weight: 850;
  padding: 9px 12px;
  border-radius: 999px;
}

.nav a:hover { background: #fff0b7; }

.nav .pill {
  background: var(--sun);
  border: 3px solid var(--line);
  box-shadow: 0 4px 0 var(--shadow);
}

main { padding-bottom: 10px; }

.hero {
  position: relative;
  padding: clamp(34px, 6vw, 68px) 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 950;
  box-shadow: 0 5px 0 var(--shadow);
  margin-bottom: 18px;
}

.spark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--sun);
  border: 3px solid var(--line);
  border-radius: 50%;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.88;
  letter-spacing: -4px;
  text-wrap: balance;
}

.page-hero h1 {
  max-width: 940px;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 4px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  font: inherit;
  font-weight: 950;
  color: var(--ink);
  box-shadow: 0 7px 0 var(--shadow);
  background: var(--sun);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.btn.secondary { background: var(--paper); }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 var(--shadow);
}

.btn:active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--shadow);
}

.actions { margin-top: 22px; }


.content-card,
.feature,
.notice-box {
  position: relative;
  border: 5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 11px 0 var(--shadow);
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
}


.content-card.decorated::before {
  content: "";
  position: absolute;
  inset: auto -20px -58px -20px;
  height: 144px;
  opacity: 0.38;
  background:
    radial-gradient(circle at 18% 40%, var(--green) 0 36px, transparent 38px),
    radial-gradient(circle at 46% 60%, var(--blue) 0 42px, transparent 44px),
    radial-gradient(circle at 78% 50%, var(--sun) 0 34px, transparent 36px);
}

 .content-card.decorated > * {
  position: relative;
  z-index: 2;
}

.section { margin: 38px 0; }

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title h2,
.content-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -2px;
  line-height: 0.98;
}

.section-title p {
  margin: 0;
  max-width: 580px;
  color: var(--ink-soft);
  font-weight: 650;
  line-height: 1.55;
}

.features,
.about-grid {
  display: grid;
  gap: 18px;
}

.features { grid-template-columns: repeat(4, 1fr); }
.about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); align-items: start; }
.side-stack { display: grid; gap: 18px; }

.feature {
  min-height: 190px;
  border-width: 4px;
  border-radius: 22px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--sun);
  box-shadow: 0 4px 0 var(--shadow);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature h3 { margin: 0 0 8px; font-size: 1.25rem; }
.feature p,
.content-card p,
.content-card li {
  color: var(--ink-soft);
  line-height: 1.68;
  font-weight: 640;
}

.content-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 28px 0 10px; }
.content-card h2:first-child { margin-top: 0; }

.values-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.values-list li {
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff4c8;
  box-shadow: 0 5px 0 var(--shadow);
  padding: 13px 15px;
}

.notice-box {
  background: #fff4c8;
  border-width: 4px;
  margin: 20px 0;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
}

.studio-footer {
  margin: 36px 0 18px;
  border: 4px solid var(--line);
  border-radius: 26px;
  background: rgba(32, 18, 77, 0.92);
  color: #fffdf6;
  padding: 24px;
  box-shadow: 0 9px 0 var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.studio-footer strong { font-size: 1.35rem; }
.studio-footer p { margin: 5px 0 0; color: rgba(255,253,246,0.78); font-weight: 650; }
.footer-links a { color: #fffdf6; opacity: 0.9; padding: 4px 0; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 980px;
  margin: 0 auto;
  border: 4px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 246, 0.96);
  box-shadow: 0 10px 0 var(--shadow);
  padding: 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(10px);
}

.cookie-notice.is-visible { display: flex; }
.cookie-notice p { margin: 0; color: var(--ink-soft); font-weight: 700; line-height: 1.45; }
.cookie-btn {
  cursor: pointer;
  border: 3px solid var(--line);
  border-radius: 13px;
  background: var(--sun);
  color: var(--ink);
  padding: 10px 14px;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 4px 0 var(--shadow);
}
.cookie-btn.secondary { background: #fff; }

@media (max-width: 1040px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar { position: static; border-width: 3px; }
  .nav { width: 100%; justify-content: flex-start; }
  .nav a { font-size: 0.88rem; padding: 8px 9px; }
  h1 { letter-spacing: -3px; }
  .section-title { align-items: start; flex-direction: column; }
  .features { grid-template-columns: 1fr; }
  .studio-footer { align-items: flex-start; }
  .cookie-notice { align-items: flex-start; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .page { width: min(100% - 18px, 1180px); }
}

/* Premium animation-film redesign */
:root {
  --ink: #102a43;
  --ink-soft: #38566f;
  --paper: #fffdf7;
  --paper-2: rgba(255, 253, 247, 0.96);
  --sun: #f2c94c;
  --pink: #1f7a5a;
  --green: #55a85a;
  --mint: #dff4e8;
  --shadow: rgba(16, 42, 67, 0.17);
  --line: #102a43;
}

body {
  background:
    radial-gradient(ellipse at 8% 86%, rgba(68, 139, 92, .16) 0 11%, transparent 11.5%),
    radial-gradient(ellipse at 94% 10%, rgba(68, 139, 92, .12) 0 10%, transparent 10.5%),
    linear-gradient(135deg, #f6fbf4 0%, #edf7f0 52%, #f9fbf1 100%);
}

.topbar {
  border: 0;
  top: 0;
  width: 100%;
  margin-top: 0;
  padding: 14px 24px;
  border-radius: 0 0 22px 22px;
  color: #fff;
  background: linear-gradient(135deg, #102a43 0%, #08233a 100%);
  box-shadow: 0 8px 24px rgba(16,42,67,.18);
}

.nav a:hover { background: rgba(255,255,255,.1); }
.nav .pill { color: #fff; background: #1f7a5a; border-color: #62d19c; box-shadow: none; }

.eyebrow {
  color: #1b654c;
  border: 1px solid #b8dfca;
  box-shadow: none;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: #102a43;
  letter-spacing: -3px;
  line-height: .94;
}

.btn {
  color: #fff;
  background: linear-gradient(180deg, #26966e 0%, #1f7a5a 100%);
  border: 2px solid #176247;
  border-radius: 16px;
  box-shadow: 0 6px 0 #14533c, 0 10px 18px rgba(16,42,67,.16);
}

.btn.secondary { color: #102a43; background: #fffdf7; border-color: #cad8cf; box-shadow: 0 5px 0 #cad8cf; }

@media (max-width: 620px) {
  .topbar { padding: 10px 12px; border-radius: 0 0 16px 16px; }
}

/* Ajuste solicitado: área do jogo com proporções próximas ao index original */



/* Ajustes específicos da interface mobile. */
.mobile-nav-toggle {
  display: none;
  width: 58px;
  height: 58px;
  border: 4px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 5px 0 var(--shadow);
  color: var(--ink);
  font: inherit;
  font-size: 1.7rem;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    padding: 12px 14px;
    gap: 12px;
    align-items: center;
  }

  .brand {
    font-size: 1.9rem;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 8px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    font-size: .92rem;
    padding: 8px 10px;
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 1.7rem;
  }
}


/* Ajuste mobile: manter o conteúdo principal visível sem rolagem inicial. */

@media (max-width: 370px) {
  .brand {
    font-size: 1.38rem;
  }

  .mobile-nav-toggle {
    width: 50px;
    height: 50px;
  }
}


/* Correção do menu mobile: dropdown flutuante sem deformar o cabeçalho */
@media (max-width: 760px) {
  .topbar {
    position: relative;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .brand {
    overflow: hidden;
  }

  .brand > span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    width: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 4px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 246, 0.98);
    box-shadow: 0 8px 0 var(--shadow);
    z-index: 200;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    display: grid;
    place-items: center;
    min-height: 42px;
    text-align: center;
    background: var(--paper);
    border: 3px solid rgba(32, 18, 77, 0.18);
    border-radius: 14px;
    box-shadow: 0 3px 0 rgba(32, 18, 77, 0.10);
    line-height: 1.15;
  }

  .nav a.pill {
    background: var(--sun);
    border-color: var(--line);
  }
}

@media (max-width: 370px) {
  .nav {
    grid-template-columns: 1fr;
  }
}


/* Correção mobile: nome do jogo sempre visível no cabeçalho */
@media (max-width: 760px) {
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    font-size: clamp(1.15rem, 4.65vw, 1.6rem);
    line-height: 1.05;
  }

  .brand > span:last-child {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex: 0 1 auto;
  }

  .mobile-nav-toggle {
    width: clamp(50px, 13.5vw, 58px);
    height: clamp(50px, 13.5vw, 58px);
    flex-basis: clamp(50px, 13.5vw, 58px);
  }
}

@media (max-width: 390px) {
  .topbar {
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
  }

  .brand {
    font-size: clamp(1.04rem, 4.45vw, 1.22rem);
    gap: 8px;
  }

  .mobile-nav-toggle {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
}

@media (max-width: 350px) {
  .brand {
    font-size: .98rem;
    gap: 7px;
  }

  .mobile-nav-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}


/* Correção mobile do logo: olhos e bico proporcionais ao tamanho do ícone */

/* Garante a mesma barra superior mobile em todas as páginas */
@media (max-width: 760px) {
  .topbar {
    position: relative;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .mobile-nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    width: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 4px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 246, 0.98);
    box-shadow: 0 8px 0 var(--shadow);
    z-index: 200;
  }

  .nav.is-open {
    display: grid;
  }
}

/* Option 1 final layout overrides */

/* Stage 2: modes, progressive difficulty and first-play tutorial */

/* Stage 3: celebration, haptics, compact mobile play and accessibility */

/* Keep all four mascots facing the same direction. */

/* Complete site redesign: shared editorial and institutional system */
body {
  color: #102a43;
  background:
    radial-gradient(circle at 92% 8%, rgba(75,166,113,.1), transparent 26%),
    linear-gradient(180deg, #f5faf6 0%, #fbfcf7 58%, #f2f8f4 100%);
  font-family: "Nunito Sans", Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.page { width: min(1240px, calc(100% - 40px)); }

.topbar {
  position: sticky;
  top: 0;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 14px max(24px, calc((100vw - 1240px) / 2));
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #102a43, #08233a);
  box-shadow: 0 7px 24px rgba(16,42,67,.16);
}

.brand { font-size: 1.18rem; letter-spacing: -.03em; }
.nav { gap: 4px; }
.nav a { color: rgba(255,255,255,.88); padding: 9px 12px; font-weight: 750; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav .pill { color: #fff; border: 0; border-bottom: 3px solid #62d19c; border-radius: 8px 8px 2px 2px; background: transparent; box-shadow: none; }
.instagram-nav { display: none; }

.hero { padding: clamp(44px, 6vw, 82px) 0 36px; }
.page-hero { max-width: 900px; }
.page-hero h1,
.section-title h2,
.content-card h2,
.step-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #102a43;
}
.page-hero h1 { max-width: 880px; font-size: clamp(3rem, 7vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.hero-text { color: #4b6478; font-weight: 500; line-height: 1.72; }
.eyebrow { border: 1px solid #b9ddc8; color: #1f6d51; background: #eaf7ef; box-shadow: none; }
.spark { border: 0; background: #d2f0de; }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section + .section { border-top: 1px solid rgba(16,42,67,.08); }
.section-title { max-width: 800px; margin-bottom: 32px; }
.section-title h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 3.65rem); line-height: 1.05; letter-spacing: -.04em; }
.section-title p { color: #5a7185; font-size: 1.08rem; line-height: 1.65; }
.section-kicker { display: block; margin-bottom: 9px; color: #1f7a5a; font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

.feature,
.content-card,
.notice-box {
  border: 1px solid #dce6df;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 30px rgba(16,42,67,.07);
}
.feature { padding: 25px; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #176247; background: #e4f4ea; font-family: Georgia,serif; font-size: 1.1rem; font-weight: 800; }
.feature h3 { color: #102a43; }
.feature p { color: #5a7185; line-height: 1.6; }
.content-card::before,
.content-card.decorated::before { display: none !important; }
.content-card { padding: clamp(24px, 4vw, 42px); }
.content-card h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.content-card h2:first-of-type { margin-top: 0; }
.content-card p, .content-card li { color: #4b6478; line-height: 1.75; }

.step-grid,
.mode-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.step-card,
.mode-card-grid article {
  padding: 28px;
  border: 1px solid #dce6df;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,42,67,.06);
}
.step-card > span { color: #1f7a5a; font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.step-card h3 { margin: 14px 0 7px; font-size: 2rem; }
.step-card p, .mode-card-grid p { margin: 0; color: #5a7185; line-height: 1.6; }
.mode-card-grid article strong { display: block; margin-bottom: 10px; color: #102a43; font-size: 1.25rem; }
.mode-card-grid article.featured { border-color: #69b78d; background: linear-gradient(145deg,#f1fbf5,#fff); box-shadow: 0 12px 30px rgba(31,122,90,.11); }

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details { border: 1px solid #dce6df; border-radius: 18px; background: #fff; padding: 0 20px; }
.faq-list summary { padding: 19px 0; color: #102a43; font-weight: 800; cursor: pointer; }
.faq-list p { margin: 0 0 20px; color: #5a7185; line-height: 1.65; }

.about-grid { gap: 24px; }

.legal-card { max-width: 780px; margin: 0 auto; }
.legal-card h2 { padding-top: 14px; border-top: 1px solid #e3ebe5; }
.legal-card h2:first-of-type { padding-top: 0; border-top: 0; }
.page-hero + .section .legal-card { margin-top: -18px; }

.contact-form { display: grid; gap: 18px; max-width: 620px; margin: 32px 0 38px; padding: 28px; border: 1px solid #dce6df; border-radius: 22px; background: #f7faf8; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: #102a43; font-weight: 800; }
.form-field label span { margin-left: 7px; color: #6b7e8e; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #bfcfc5; border-radius: 13px; padding: 13px 14px; color: #102a43; background: #fff; font: inherit; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(31,122,90,.18); border-color: #1f7a5a; }
.form-note { margin: -8px 0 0 !important; font-size: .84rem; }

.studio-footer {
  width: 100vw;
  margin: 70px calc(50% - 50vw) 0;
  padding: 48px max(24px, calc((100vw - 1240px) / 2));
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #102a43;
  box-shadow: none;
}
.studio-footer strong { font-family: Georgia,serif; font-size: 1.5rem; }
.studio-footer p { color: rgba(255,255,255,.68); }
.studio-footer a { color: #fff; }
.footer-links { max-width: 560px; justify-content: flex-end; }
.footer-links a:hover { color: #77d7a4; background: rgba(255,255,255,.08); }

@media (max-width: 760px) {
  .page { width: min(100% - 32px, 1240px); }
  .topbar { padding: 10px 16px; }
  .brand { font-size: 1.06rem; }
  .mobile-nav-toggle { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); box-shadow: none; }
  .nav { top: calc(100% + 1px); grid-template-columns: 1fr; gap: 3px; padding: 10px; border: 1px solid #d9e4dd; border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 15px 28px rgba(16,42,67,.18); }
  .nav a { color: #102a43; border-radius: 10px; padding: 12px 13px; }
  .nav .pill { color: #176247; border: 0; background: #eaf7ef; }
  .nav .instagram-nav { display: block; margin-top: 4px; color: #fff; background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); text-align: center; }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero { padding-top: 36px; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 2.35rem; }
  .step-grid, .mode-card-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .contact-form { padding: 18px; }
  .studio-footer { grid-template-columns: 1fr; gap: 24px; padding: 38px 20px; }
  .footer-links { justify-content: flex-start; }
}

/* Internal-page spacing and professional brand artwork */
.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.18));
}

.page-hero {
  padding-bottom: 6px;
}

.page-hero + .section {
  padding-top: 12px;
}

.page-hero .actions {
  margin-bottom: 0;
}

.about-card-icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 0 18px;
  object-fit: contain;
  border: 1px solid #d5e3da;
  border-radius: 26px;
  background: linear-gradient(145deg, #f4faf6, #fffdf7);
  box-shadow: 0 10px 24px rgba(16,42,67,.1);
}

.studio-card-icon { padding: 7px; }
.creator-card-icon { padding: 6px; }

@media (max-width: 760px) {
  .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .page-hero { padding-bottom: 4px; }
  .page-hero + .section { padding-top: 8px; }
  .about-card-icon { width: 82px; height: 82px; border-radius: 22px; }
}


/* ==========================================================
   Layout da página principal com jogo e barra lateral
   ========================================================== */
.play-layout,
.primary-game-column,
.desktop-sidebar,
.game-section,
.game-frame {
  min-width: 0;
}

.play-layout {
  width: min(1460px, calc(100vw - 40px));
  margin: 22px calc(50% - 50vw + max(20px, (100vw - 1460px) / 2)) 82px;
}

.primary-game-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.game-section {
  margin: 0;
  scroll-margin-top: 90px;
}

.game-toolbar {
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d7e4e7;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
}

.game-toolbar > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #68808a;
  font-size: .72rem;
  white-space: nowrap;
}

.game-toolbar strong {
  overflow: hidden;
  color: #102d3a;
  font-size: .82rem;
  text-overflow: ellipsis;
}

.game-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #27c79a;
  box-shadow: 0 0 0 4px rgba(39,199,154,.12);
}

.game-frame {
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid #d7e4e7;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 12% 8%, rgba(107,224,209,.18), transparent 28%),
    radial-gradient(circle at 88% 5%, rgba(255,215,74,.12), transparent 25%),
    linear-gradient(150deg, #102a43 0%, #0d3545 52%, #153f4b 100%);
  box-shadow: 0 28px 70px rgba(21,52,64,.16);
}

.mobile-game-note {
  margin: 12px 8px 0;
  color: #70858e;
  font-size: .7rem;
  line-height: 1.45;
  text-align: center;
}

.desktop-ad,
.desktop-sidebar {
  display: none;
}

@media (min-width: 1100px) {

  .play-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 24px;
    margin-top: 12px;
  }

  .primary-game-column {
    gap: 10px;
  }

  .game-toolbar {
    min-height: 44px;
  }

  .game-frame {
    padding: 12px;
  }

  .desktop-ad {
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border: 1px dashed #bfd0d5;
    border-radius: 16px;
    color: #78909a;
    background: linear-gradient(135deg,#f7fafb,#edf3f4);
  }

  .desktop-ad > span,
  .sidebar-ad-card .ad-label {
    position: absolute;
    top: 8px;
    left: 10px;
    color: #91a4ab;
    font-size: .53rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .ad-slot {
    width: 100%;
    height: 100%;
  }

  .desktop-ad-below-game {
    width: min(970px, 100%);
    height: 90px;
    margin: 0 auto;
  }

  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sidebar-card {
    padding: 20px;
    border: 1px solid #d9e4e7;
    border-radius: 18px;
    color: #546d77;
    background: #fff;
    box-shadow: 0 12px 30px rgba(21,52,64,.07);
  }

  .sidebar-card h2 {
    margin: 0 0 10px;
    color: #102d3a;
    font-family: "Nunito Sans", Nunito, system-ui, sans-serif;
    font-size: 1.18rem;
    letter-spacing: -.025em;
  }

  .sidebar-card p {
    margin: 0;
    font-size: .79rem;
    line-height: 1.58;
  }

  .sidebar-kicker {
    margin-bottom: 8px !important;
    color: #0b8da4 !important;
    font-size: .58rem !important;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .sidebar-ad-card {
    display: grid;
    place-items: center;
    position: relative;
    height: 250px;
    padding: 0;
    overflow: hidden;
    border-style: dashed;
    background: linear-gradient(135deg,#f7fafb,#edf3f4);
  }

  .sidebar-details {
    padding: 0;
    overflow: hidden;
  }

  .sidebar-details summary {
    position: relative;
    padding: 18px 46px 18px 20px;
    color: #102d3a;
    font-size: .9rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
  }

  .sidebar-details summary::-webkit-details-marker {
    display: none;
  }

  .sidebar-details summary::after {
    content: '⌄';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-55%);
    color: #0b8da4;
    font-size: 1.25rem;
    transition: transform .18s ease;
  }

  .sidebar-details[open] summary::after {
    transform: translateY(-45%) rotate(180deg);
  }

  .sidebar-details > div {
    padding: 0 20px 18px;
  }

  .sidebar-details > div p + p {
    margin-top: 7px;
  }

  .sidebar-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
  }

  .sidebar-title-row h2 {
    margin: 0;
  }

  .sidebar-title-row > a {
    color: #087d94;
    font-size: .58rem;
    font-weight: 900;
    text-decoration: none;
  }

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

  .related-game-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8e6e9;
    border-radius: 12px;
    color: #173744;
    background: #f7fafb;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  }

  .related-game-card:hover,
  .related-game-card:focus-visible {
    transform: translateY(-2px);
    border-color: #65cad9;
    box-shadow: 0 9px 20px rgba(18,74,91,.12);
  }

  .related-game-card > img {
    display: block;
    width: 100%;
    height: 68px;
    object-fit: cover;
  }

  .related-game-card > span:last-child {
    display: block;
    padding: 8px 7px 9px;
    overflow: hidden;
    color: #173744;
    font-size: .58rem;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 1099px) {
  .play-layout {
    width: min(100% - 32px, 980px);
    margin: 18px auto 64px;
  }
}

@media (max-width: 760px) {
  .play-layout {
    width: calc(100% - 16px);
    margin: 10px auto 56px;
  }

  .game-toolbar {
    display: none;
  }

  .game-frame {
    overflow: visible;
    padding: 10px 16px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-game-note {
    font-size: .64rem;
  }
}

@media (max-width: 430px) {
  .game-toolbar > div > span:last-child {
    display: none;
  }
}

/* Largura editorial ampliada para acomodar a coluna lateral sem comprimir o jogo. */
.page {
  width: min(1460px, calc(100% - 40px));
}

.play-layout {
  width: 100%;
  margin: 22px auto 82px;
}

@media (max-width: 1099px) {
  .page {
    width: min(100% - 32px, 1240px);
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 16px, 1240px);
  }
}

/* Na página inicial, mantém o quadro e o anúncio inferior fixos no desktop
   enquanto a coluna lateral acompanha a rolagem da página. */
@media (min-width: 1100px) {
  .primary-game-column {
    position: sticky;
    top: 92px;
    align-self: start;
  }

  main > .play-layout ~ .section {
    display: none;
  }
}

/* Paleta do cabeçalho mobile alinhada às cores do jogo. */
@media (max-width: 760px) {
  .mobile-nav-toggle {
    border-color: #4d7887;
    color: #fffdf6;
    background: linear-gradient(180deg, #173f52 0%, #102f41 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  }

  .nav {
    border-color: #c8dcd0;
    background: linear-gradient(180deg, #f4faf6 0%, #e9f5ee 100%);
    box-shadow: 0 14px 30px rgba(16, 42, 67, .2);
  }

  .nav a {
    border-color: #cfded5;
    color: #102a43;
    background: #fffdf7;
    box-shadow: 0 3px 0 #d4e0d8;
  }

  .nav a:hover,
  .nav a:focus-visible {
    border-color: #78b997;
    color: #176247;
    background: #eef8f2;
  }

  .nav a.pill {
    border: 2px solid #176247;
    color: #fff;
    background: linear-gradient(180deg, #2aa071 0%, #1f7a5a 100%);
    box-shadow: 0 3px 0 #14533c;
  }

  .nav .instagram-nav {
    border: 2px solid #176c72;
    color: #fff;
    background: linear-gradient(135deg, #14899a 0%, #239c73 100%);
    box-shadow: 0 3px 0 #11565a;
  }
}

/* Craques de Botão: integração com a estrutura editorial do site. */
:root{--ink:#0d214d;--ink-soft:#2e4677;--paper:#f7f9ff;--paper-2:rgba(247,249,255,.96);--sun:#ffd257;--pink:#ff5d72;--blue:#2f76ff;--green:#26a865;--mint:#dff7ea;--violet:#6d62e7;--line:#0d214d}
body{background:radial-gradient(circle at top,#eaf1ff,#f8faff 46%,#edf3ff)}
.brand-logo{background:#102559;border-radius:13px}.game-frame.craques-frame{padding:0;overflow:hidden;background:#071126;border-color:#193a78}.craques-game-embed{display:block;width:100%;height:min(720px,calc(100vh - 80px));min-height:600px;border:0;background:#071126}.game-toolbar{background:linear-gradient(90deg,#0c1d45,#173f7a);color:#fff}.game-toolbar span{color:#dce8ff}.game-status-dot{background:#ffd257}.sidebar-kicker,.section-kicker{color:#17469d}.feature-icon{background:#e8efff}.mobile-game-note{display:none}
@media(max-width:860px){.craques-game-embed{height:calc(100dvh - 82px);min-height:560px}.mobile-game-note{display:block}.game-frame.craques-frame{border-radius:18px}}
@media(orientation:landscape) and (max-height:560px){.craques-game-embed{height:calc(100dvh - 12px);min-height:350px}.topbar{position:relative}.game-section{margin-top:8px}}

/* v29: identidade visual do Craques de Botão no cabeçalho e menu mobile. */
.brand-logo{background:transparent;border-radius:0;filter:drop-shadow(0 3px 4px rgba(2,8,23,.34));object-fit:contain}
@media(max-width:860px){
  .topbar{border-color:#244b86;background:linear-gradient(135deg,#07152f 0%,#0d2b59 58%,#123b70 100%);box-shadow:0 8px 24px rgba(2,8,23,.3)}
  .mobile-nav-toggle{border:1px solid rgba(255,210,87,.5);color:#fff3b2;background:linear-gradient(180deg,#194b83 0%,#0b274d 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 3px 0 rgba(2,8,23,.34)}
  .mobile-nav-toggle:hover,.mobile-nav-toggle:focus-visible{border-color:#ffd257;color:#fff;background:#1b5597}
  .nav{gap:6px;padding:10px;border:1px solid #244b86;background:linear-gradient(180deg,#0c2550 0%,#07152f 100%);box-shadow:0 16px 30px rgba(2,8,23,.42)}
  .nav a{border:1px solid rgba(141,188,255,.2);color:#edf4ff;background:linear-gradient(180deg,rgba(35,77,137,.82),rgba(18,48,94,.82));box-shadow:0 2px 0 rgba(2,8,23,.35)}
  .nav a:hover,.nav a:focus-visible{border-color:#6fa6ff;color:#fff;background:linear-gradient(180deg,#2863ae,#174783)}
  .nav a.pill{border:1px solid #ffe27b;color:#07152f;background:linear-gradient(180deg,#ffe784 0%,#ffc43e 100%);box-shadow:0 3px 0 #b8790c,inset 0 1px 0 rgba(255,255,255,.7)}
  .nav a.pill:hover,.nav a.pill:focus-visible{color:#07152f;background:linear-gradient(180deg,#fff0a3,#ffd257)}
  .nav .instagram-nav{margin-top:3px;border:1px solid #65a2ff;color:#fff;background:linear-gradient(135deg,#17469d 0%,#2f76ff 100%);box-shadow:0 3px 0 #0a2d70}
}

/* v30: identidade cromática completa das páginas editoriais e legais. */
body{
  color:#0d214d;
  background:
    radial-gradient(circle at 88% 7%,rgba(47,118,255,.13),transparent 28%),
    radial-gradient(circle at 8% 30%,rgba(255,210,87,.09),transparent 24%),
    linear-gradient(180deg,#edf3ff 0%,#f9fbff 52%,#eef4ff 100%);
}
.page-hero h1,.section-title h2,.content-card h2,.step-card h3,.feature h3,.form-field label{color:#0d214d}
.content-card a,.hero-text a,.notice-box a{color:#17469d;text-decoration-color:#7ea8ec}
.hero-text,.section-title p,.feature p,.content-card p,.content-card li,.step-card p,.mode-card-grid p,.faq-list p{color:#405985}
.eyebrow{
  border-color:#afc9f6;
  color:#17469d;
  background:linear-gradient(180deg,#f1f6ff,#e2edff);
}
.spark{color:#0d214d;background:#ffd257}
.section+.section{border-color:rgba(13,33,77,.1)}
.feature,.content-card,.notice-box,.step-card,.mode-card-grid article,.faq-list details{
  border-color:#cbd9ef;
  background:rgba(255,255,255,.91);
  box-shadow:0 12px 30px rgba(13,33,77,.08);
}
.content-card{
  background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(243,247,255,.96));
  box-shadow:0 16px 38px rgba(13,33,77,.1);
}
.feature-icon{
  color:#123f7a;
  background:linear-gradient(145deg,#fff2ae,#ffd257);
  box-shadow:inset 0 0 0 1px rgba(174,115,7,.18);
}
.step-card>span,.section-kicker{color:#17469d}
.nav .pill{color:#fff;border-bottom-color:#ffd257}
.mode-card-grid article.featured{
  border-color:#6b9eed;
  background:linear-gradient(145deg,#e9f1ff,#fff9df);
  box-shadow:0 12px 30px rgba(23,70,157,.13);
}
.values-list li{
  border:1px solid #c8d8f1;
  color:#1d396c;
  background:linear-gradient(135deg,#edf4ff,#fff9df);
  box-shadow:0 5px 14px rgba(13,33,77,.07);
}
.notice-box{background:linear-gradient(135deg,#fff8d9,#edf4ff)}
.legal-card h2{border-color:#dbe5f5}
.form-field label span{color:#61779d}
.contact-form{
  border-color:#c7d7ef;
  background:linear-gradient(145deg,#edf4ff,#f9fbff);
}
.form-field input,.form-field textarea{border-color:#aebfda;color:#0d214d;background:#fff}
.form-field input:focus,.form-field textarea:focus{outline-color:rgba(47,118,255,.2);border-color:#2f76ff}
.btn{border-color:#ffda67;color:#07152f;background:linear-gradient(180deg,#ffe784,#ffc43e);box-shadow:0 6px 0 #b8790c,0 10px 18px rgba(13,33,77,.14)}
.btn.secondary{border-color:#b9cbea;color:#17469d;background:#f5f8ff;box-shadow:0 5px 0 #c5d3e9}
.about-card-icon{border-color:#bdcdea;background:linear-gradient(145deg,#e8f0ff,#fff8d9);box-shadow:0 10px 24px rgba(13,33,77,.11)}
.studio-footer{background:linear-gradient(135deg,#07152f,#0d2b59 65%,#123b70)}
.studio-footer p{color:rgba(230,239,255,.73)}
.footer-links a:hover{color:#ffd257;background:rgba(255,210,87,.08)}
.cookie-notice{border-color:#244b86;background:rgba(244,248,255,.98);box-shadow:0 12px 30px rgba(2,8,23,.3)}
.cookie-notice p{color:#334e7c}.cookie-notice a{color:#17469d}
.cookie-btn{border-color:#d69a1c;color:#07152f;background:linear-gradient(180deg,#ffe784,#ffc43e);box-shadow:0 4px 0 #a86c08}
.cookie-btn.secondary{border-color:#aabedf;color:#17469d;background:#eef4ff;box-shadow:0 4px 0 #c0cde0}

/* PT v1.1: contraste do título do jogo e viewport útil no celular deitado. */
.game-toolbar strong{
  color:#fff!important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}
@media(orientation:landscape) and (max-height:560px) and (max-width:1000px){
  html,body{min-height:100%;overflow-x:hidden}
  .page{width:100%;max-width:none;margin:0}
  .topbar{
    position:relative;
    z-index:20;
    width:100%;
    height:52px;
    min-height:52px;
    margin:0;
    padding:5px 14px;
    border-radius:0;
  }
  .brand{font-size:1rem}
  .brand-logo{width:38px;height:38px;flex-basis:38px}
  .mobile-nav-toggle{width:40px;height:40px;border-radius:11px;font-size:1.4rem}
  .play-layout{width:100%;margin:0}
  .primary-game-column{gap:0}
  .game-section{margin:0;scroll-margin-top:0}
  .game-frame.craques-frame{padding:0;border:0;border-radius:0;overflow:hidden}
  .craques-game-embed{width:100%;height:calc(100dvh - 52px);min-height:0}
  .mobile-game-note{display:none}
}

/* v31: grade completa de jogos relacionados, em três linhas de dois cartões. */
@media(min-width:1100px){
  .related-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .related-game-card>img{width:100%;height:68px;object-fit:cover}
  .repeat-related-card>img{padding:7px;object-fit:contain;background:linear-gradient(145deg,#0b3046,#0b5162)}
}

/* PT v1.3: reduz pela metade a folga entre cabeçalho e jogo no celular em pé. */
@media(orientation:portrait) and (max-width:760px){
  .play-layout{margin-top:11px}
  .game-frame.craques-frame{padding-top:0}
}
