﻿:root {
  --bg-1: #f6efde;
  --bg-2: #ead8b3;
  --bg-3: #d8c093;

  --surface: rgba(255, 251, 243, 0.72);
  --surface-strong: rgba(255, 252, 247, 0.88);
  --surface-dark: rgba(38, 24, 11, 0.9);

  --stroke-soft: rgba(100, 71, 34, 0.14);
  --stroke-strong: rgba(96, 64, 24, 0.24);

  --text-main: #24170d;
  --text-soft: rgba(36, 23, 13, 0.72);
  --text-inverse: #fff8ec;

  --gold: #d7a445;
  --gold-strong: #b87d1d;
  --green: #189164;
  --green-deep: #0d5b41;

  --shadow-xl: 0 35px 80px rgba(75, 46, 14, 0.18);
  --shadow-lg: 0 20px 50px rgba(75, 46, 14, 0.14);
  --shadow-md: 0 14px 28px rgba(75, 46, 14, 0.12);
  --shadow-sm: 0 8px 18px rgba(75, 46, 14, 0.1);

  --radius-2xl: 34px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --content-width: 1380px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text-main);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 231, 190, 0.45), transparent 24%),
    linear-gradient(180deg, var(--bg-1) 0%, #efe3c7 46%, var(--bg-2) 100%);
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(60, 40, 20, 0.25) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
}

.bg-blur {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.38;
}

.blur-1 {
  top: -120px;
  left: -120px;
  background: rgba(215, 164, 69, 0.46);
}

.blur-2 {
  right: -120px;
  top: 120px;
  background: rgba(24, 145, 100, 0.22);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 28px 0 48px;
}

/* HEADER */
.header-wrap {
  position: relative;
  padding-top: 54px;
  margin-bottom: 28px;
}

.floating-logo {
  position: absolute;
  top: 0;
  left: 34px;
  z-index: 3;
  width: clamp(180px, 18vw, 250px);
  filter: drop-shadow(0 16px 28px rgba(109, 73, 19, 0.22));
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px 0 250px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 249, 238, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.topbar-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.topbar-nav a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 700;
  transition: 0.22s ease;
}

.topbar-nav a:hover {
  background: rgba(36, 23, 13, 0.07);
  color: var(--text-main);
}

/* LAYOUT */
.portal-layout {
  display: grid;
  gap: 24px;
}

/* HERO STRIP */
.hero-strip,
.game-stage,
.info-card,
.section-block,
.content-card {
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-lg);
}

.hero-strip {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: center;
  padding: 28px 30px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.86) 0%, rgba(244, 232, 209, 0.72) 100%);
  backdrop-filter: blur(18px);
}

.eyebrow,
.card-tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-strip-copy h1 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-strip-copy p {
  margin-top: 14px;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.stat-card{
    padding:16px 18px;
    border-radius:20px;

    background:rgba(255,255,255,0.4);
    border:1px solid rgba(255,255,255,0.45);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.08),
        0 4px 8px rgba(0,0,0,0.06);
}


.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* GAME */
.game-section {
  display: grid;
}

.game-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* moldura */
.game-frame{

    padding:18px;

    border-radius:28px;

    background:linear-gradient(135deg,#4a2e12,#1f3318);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.35),
        inset 0 0 0 3px rgba(255,255,255,0.08);

    display:inline-block;
}

/* jogo */
.game-frame iframe{

    display:block;

    width:920px;
    height:580px;
    max-width: 100%;

    border:none;

    border-radius:20px;
}


/* FEATURE STRIP */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.9) 0%, rgba(241, 229, 206, 0.78) 100%);
  backdrop-filter: blur(12px);
}

.info-card h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.info-card p {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 1rem;
}

/* SOCIAL */
.social-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, filter 0.2s ease;
  font-weight: 900;
  font-size: 1rem;
}

.social-icon-btn:hover,
.pix-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.icone-svg-social {
    color: #fff;
    max-width: 30px;
}

.whatsapp { background: linear-gradient(135deg, #179c5a 0%, #0f6f42 100%); }
.facebook { background: linear-gradient(135deg, #4579e8 0%, #244fa8 100%); }
.twitter { background: linear-gradient(135deg, #151515 0%, #343434 100%); }
.instagram { background: linear-gradient(135deg, #ff8f3f 0%, #c63c8a 55%, #5d51d6 100%); }

/* PIX */
.pix-card {
  margin-top: 22px;
  padding: 14px 18px;
  min-height: 78px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pix-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  flex-shrink: 0;
}

.pix-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.pix-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pix-copy strong {
  font-size: 1rem;
}

.pix-copy small {
  color: rgba(255, 248, 236, 0.78);
  line-height: 1.35;
}

/* GUIDE */
.section-block {
  padding: 34px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92) 0%, rgba(243, 231, 208, 0.76) 100%);
  text-align: center;
}

.section-header {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.section-block h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-block > p {
  margin: 18px auto 0;
  max-width: 930px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.guide-block {
  display: grid;
  gap: 22px;
  text-align: left;
}

.guide-block .section-header {
  justify-items: start;
}

.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.guide-story-panel,
.guide-cards-panel,
.guide-flow-step,
.guide-rule-card {
  border-radius: 24px;
  border: 1px solid rgba(96, 64, 24, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.82) 0%, rgba(243, 230, 206, 0.64) 100%);
  box-shadow: var(--shadow-md);
}

.guide-story-panel,
.guide-cards-panel {
  padding: 24px;
}

.guide-story-panel h3,
.guide-cards-panel h3,
.guide-rule-card h3 {
  margin-top: 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.06;
}

.guide-story-panel p,
.guide-cards-panel p,
.guide-flow-step p,
.guide-rule-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}

.guide-facts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-facts span {
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guide-origin-quote {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid rgba(215, 164, 69, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--text-main);
  line-height: 1.65;
}

.guide-card-groups {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card-group {
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(96, 64, 24, 0.1);
}

.guide-card-group strong {
  display: block;
  margin-top: 12px;
  line-height: 1.5;
}

.guide-card-group-highlight {
  background: linear-gradient(135deg, rgba(255, 247, 217, 0.88) 0%, rgba(247, 231, 183, 0.78) 100%);
}

.guide-mini-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-mini-card {
  width: 56px;
  height: 78px;
  padding: 10px 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 23, 13, 0.12);
  box-shadow: 0 10px 24px rgba(36, 23, 13, 0.08);
  font-weight: 900;
  font-size: 1.2rem;
}

.guide-mini-card span {
  font-size: 1rem;
  line-height: 1;
}

.guide-mini-card.red {
  color: #b0332a;
}

.guide-mini-card.black {
  color: #171311;
}

.guide-mini-card-strong {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(36, 23, 13, 0.14);
}

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

.guide-flow-step {
  padding: 18px;
}

.guide-flow-step span {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: var(--text-inverse);
  font-weight: 900;
}

.guide-flow-step strong {
  display: block;
  margin-top: 14px;
  font-size: 1.02rem;
}

.guide-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.guide-rule-card {
  min-height: 220px;
  padding: 20px;
}

.guide-rule-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.guide-rule-card-accent {
  background: linear-gradient(180deg, rgba(39, 28, 14, 0.94) 0%, rgba(26, 18, 9, 0.94) 100%);
  color: var(--text-inverse);
}

.guide-rule-card-accent .guide-rule-number {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 236, 0.78);
}

.guide-rule-card-accent p {
  color: rgba(255, 248, 236, 0.82);
}

/* CONTENT GRID */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  min-height: 280px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.92) 0%, rgba(233, 215, 182, 0.78) 100%);
  display: flex;
  flex-direction: column;
}

.content-card h3 {
  margin-top: 14px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.content-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.65;
  flex-grow: 1;
}

.content-card a {
  margin-top: 18px;
  width: fit-content;
  font-weight: 800;
  color: #7b5015;
}

.article-card-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-card-tags span {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
}

.content-card a:hover {
  text-decoration: underline;
}

.content-card.spotlight {
  background:
    linear-gradient(180deg, rgba(55, 36, 17, 0.95) 0%, rgba(31, 20, 9, 0.94) 100%);
  color: var(--text-inverse);
}

.content-card.spotlight .card-tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 236, 0.78);
}

.content-card.spotlight p,
.content-card.spotlight a {
  color: rgba(255, 248, 236, 0.82);
}

.content-card.spotlight .article-card-tags span {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 236, 0.78);
}

/* RESPONSIVO */
@media (max-width: 1180px) {
  .hero-strip,
  .feature-strip,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    padding-left: 220px;
  }

  .guide-rules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guide-card-groups {
    grid-template-columns: 1fr 1fr;
  }

  .guide-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding: 18px 0 32px;
  }

.header-wrap {
  position: relative;
  padding-top: 54px;
  margin-bottom: 28px;
}

.floating-logo {
  position: absolute;
  top: 0;
  left: 34px;
  z-index: 3;
  width: clamp(180px, 18vw, 250px);
  filter: drop-shadow(0 16px 28px rgba(109, 73, 19, 0.22));
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px 0 280px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 249, 238, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.topbar-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-left: auto;
}

.topbar-nav a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 700;
  transition: 0.22s ease;
}

.topbar-nav a:hover {
  background: rgba(36, 23, 13, 0.07);
  color: var(--text-main);
}



  .hero-strip,
  .info-card,
  .section-block,
  .content-card {
    padding: 22px;
  }

  .hero-strip h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .game-preview-frame iframe {
    min-width: 920px;
    height: 620px;
  }
}

@media (max-width: 560px) {
  .topbar-nav a {
    flex: 1 1 calc(50% - 10px);
  }

  .social-grid {
    gap: 10px;
  }

  .social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* Responsividade Smartphone & Tablets */

/* TABLET */
@media (max-width: 1180px) {
  .hero-strip,
  .feature-strip,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    padding-left: 220px;
  }

  .game-frame iframe {
    width: min(100%, 920px);
    max-width: 100%;
    height: clamp(440px, 62vw, 580px);
  }
}

/* MOBILE */

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding: 18px 0 32px;
  }

  .header-wrap {
    padding-top: 0;
    margin-bottom: 18px;
    display: grid;
    justify-items: center;
    gap: 18px;
  }

  .floating-logo {
    position: static;
    width: min(62vw, 240px);
  }

  .topbar {
    display: none;
  }

  .hero-strip {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
    gap: 18px;
  }

  .hero-strip-copy {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .hero-strip-copy h1 {
    margin-top: 0;
    padding-bottom: 10px;
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  .hero-strip-copy p {
    margin-top: 0;
    max-width: 70%;
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .hero-stats {
    display: none;
  }

  .game-frame {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
  }

  .game-frame iframe {
    width: 100%;
    height: min(56vw, 320px);
    min-height: 220px;
    border-radius: 14px;
  }

  .feature-strip {
    gap: 16px;
  }

  .social-card,
  .supporter-card,
  .section-block,
  .content-card {
    padding: 18px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .guide-card-groups,
  .guide-layout,
  .guide-flow,
  .guide-rules-grid {
    grid-template-columns: 1fr;
  }

  .guide-story-panel,
  .guide-cards-panel,
  .guide-flow-step,
  .guide-rule-card {
    padding: 18px;
  }

  .guide-mini-card {
    width: 52px;
    height: 74px;
  }
}

/* MOBILE PEQUENO */

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 14px), var(--content-width));
  }

  .social-grid {
    gap: 10px;
  }

  .social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .game-frame iframe {
    height: min(56vw, 280px);
    min-height: 190px;
  }
}


@media (max-width: 860px) {
  .game-frame {
    position: relative;
    overflow: hidden;
  }

  .game-frame iframe.mobile-preview-mode {
    pointer-events: none;
    filter: blur(1.5px) brightness(0.4);
    transform: scale(1.02);
    transform-origin: center center;
  }

  .mobile-game-launch {
    position: absolute;
    inset: 8px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.42));
    backdrop-filter: blur(6px);
  }

  .mobile-game-launch-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    font-size: 2rem;
    line-height: 1;
    padding-left: 4px;
  }

  .mobile-game-launch-text {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    text-shadow: 0 10px 24px rgb(255, 255, 255);
  }
}


.mobile-install-tip {
  display: none;
}

body.touch-launch-mode .mobile-install-tip {
  display: block;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 244, 214, 0.92);
  color: #4a3519;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 28px rgba(74, 53, 25, 0.12);
}

.mobile-install-modal,
.patch-notes-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-install-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.52);
  backdrop-filter: blur(10px);
}

.mobile-install-panel {
  position: relative;
  width: min(92vw, 420px);
  padding: 24px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.95) 0%, rgba(243, 230, 206, 0.92) 100%);
  box-shadow: 0 28px 60px rgba(48, 30, 10, 0.24);
}

.patch-notes-panel {
  width: min(92vw, 560px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-install-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mobile-install-title {
  margin-top: 14px;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.05;
}

.mobile-install-copy {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.55;
}

.mobile-install-steps {
  margin-top: 16px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-main);
  line-height: 1.45;
}

.patch-notes-section {
  margin-top: 18px;
}

.patch-notes-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.patch-notes-list {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  line-height: 1.5;
}

.mobile-install-actions {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mobile-install-primary,
.mobile-install-secondary {
  min-height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.98rem;
}

.mobile-install-primary {
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: var(--shadow-md);
}

.mobile-install-secondary {
  border: 1px solid rgba(74, 53, 25, 0.16);
  background: rgba(255, 255, 255, 0.56);
  color: var(--text-main);
}

.mobile-install-primary,
.mobile-install-secondary {
  border: none;
  cursor: pointer;
}

@media (min-width: 1181px) {
  .mobile-install-modal {
    display: none !important;
  }
}

body.touch-launch-mode .game-frame {
  position: relative;
  overflow: hidden;
}

body.touch-launch-mode .game-frame iframe.mobile-preview-mode {
  pointer-events: none;
  filter: blur(1.5px) brightness(0.4);
  transform: scale(1.02);
  transform-origin: center center;
}

body.touch-launch-mode .mobile-game-launch {
  position: absolute;
  inset: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.42));
  backdrop-filter: blur(6px);
}

body.touch-launch-mode .mobile-game-launch-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  font-size: 2rem;
  line-height: 1;
  padding-left: 4px;
}

body.touch-launch-mode .mobile-game-launch-text {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  text-shadow: 0 10px 24px rgb(255, 255, 255);
}

/* SEO / Conteudo editorial */
.faq-block,
.content-section {
  display: grid;
  gap: 22px;
  text-align: left;
}

.faq-block .section-header,
.content-section .section-header {
  justify-items: start;
}

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

.faq-card {
  min-height: 100%;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(123, 80, 21, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.94) 0%, rgba(241, 227, 198, 0.76) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.faq-card h3 {
  font-size: 1.28rem;
  line-height: 1.12;
}

.faq-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}

.content-section .content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .faq-grid,
  .content-section .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .faq-grid,
  .content-section .content-grid {
    grid-template-columns: 1fr;
  }
}

/* Articles page and article library actions */
.hero-link-btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-link-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.hero-link-btn-primary {
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: var(--shadow-md);
}

.hero-link-btn-secondary {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(74, 53, 25, 0.16);
}

.content-section-intro {
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 70ch;
}

.content-section-actions,
.articles-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.articles-hero {
  align-items: stretch;
}

.articles-hero-side {
  align-self: stretch;
}

@media (max-width: 860px) {
  .articles-hero-actions,
  .content-section-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-link-btn {
    width: 100%;
  }
}
