/* ==========================================================================
   RevelaPlay — Nova Landing Page (pagina_teste2.html)
   Aesthetic: Pastel Warmth & Tactile Glass (Dribbble Babiyo & Maternity Luxury)
   Design System Tokens & Utilities
   ========================================================================== */

:root {
  /* Paleta Base Quente & Acolhedora (Anti-SaaS AI Trope) */
  --bg-page: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-subtle: #f5f1eb;
  --bg-highlight: #fdfaf6;

  /* Cores Lilás da Index & Pastel Emocionais Curadas */
  --purple-primary: #7c4dff;
  --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c4dff 100%);
  --purple-light: #f3e8ff;
  --purple-deep: #5e35b1;
  --purple-shadow: 0 8px 24px rgba(124, 77, 255, 0.35);
  --purple-shadow-hover: 0 12px 30px rgba(124, 77, 255, 0.48);

  --mint-primary: #7c4dff;
  --mint-light: #f3e8ff;
  --mint-deep: #5e35b1;

  --pink-blush: #f472b6;
  --pink-soft: #fdf2f8;
  --pink-accent: #fb7185;

  --blue-sky: #38bdf8;
  --blue-soft: #f0f9ff;
  --blue-accent: #0284c7;

  --gold-warm: #f59e0b;
  --gold-soft: #fef3c7;

  --lavender-whisper: #f3e8ff;
  --lavender-text: #7c3aed;

  /* Tipografia & Hierarquia de Contraste */
  --text-main: #231f20;
  --text-muted: #6b6678;
  --text-soft: #9c97a8;

  /* Bordas Suaves e Sombras Orgânicas */
  --border-glass: rgba(230, 222, 238, 0.8);
  --border-focus: rgba(124, 77, 255, 0.4);
  --shadow-soft: 0 16px 40px -12px rgba(130, 110, 150, 0.1);
  --shadow-hover: 0 24px 50px -15px rgba(130, 110, 150, 0.18);
  --shadow-float: 0 10px 30px -8px rgba(124, 77, 255, 0.25);

  /* Curvaturas Babiyo / Dribbble */
  --radius-pill: 9999px;
  --radius-card: 32px;
  --radius-sm: 18px;
  --radius-modal: 36px;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Fundo com suaves auras pastel (gradiente suave e relaxante, zero gradiente roxo genérico) */
body::before {
  content: '';
  position: fixed;
  top: -20vh;
  left: 10vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 247, 245, 0.8) 0%, rgba(250, 248, 245, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 30vh;
  right: -10vw;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 242, 248, 0.85) 0%, rgba(250, 248, 245, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

/* Contêiner Geral */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Flutuante em Vidro Falso */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 99;
  padding: 0 20px;
  margin-bottom: 24px;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(100, 80, 120, 0.08);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1e1b2e;
  display: flex;
  align-items: center;
  gap: 3px;
}

.brand-logo-text .dot {
  color: var(--mint-primary);
  font-size: 26px;
  line-height: 0;
}

.brand-logo-text .highlight {
  color: var(--pink-blush);
}

.brand-badge {
  background: var(--mint-light);
  color: var(--mint-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.2px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-wrap:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-logo-img.footer-logo {
  height: 36px;
  max-width: 160px;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 35px;
    max-width: 145px;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}

.header-nav a:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botões Modernos e Macios */
.btn-soft {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-glass);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(124, 77, 255, 0.4);
}

.btn-primary-mint {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c4dff 100%);
  color: #ffffff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary-mint:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
  box-shadow: 0 12px 30px rgba(124, 77, 255, 0.48);
}

/* Hero Section */
.hero-section {
  padding: 50px 0 70px;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--mint-deep);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.hero-pill-badge .sparkle {
  color: var(--gold-warm);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: #1a162b;
  max-width: 890px;
  margin: 0 auto 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--mint-primary);
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: rgba(0, 187, 167, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-hero-main {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c4dff 100%);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  box-shadow: 0 12px 32px rgba(124, 77, 255, 0.38);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-hero-main:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
  box-shadow: 0 16px 40px rgba(124, 77, 255, 0.5);
}

.btn-hero-secondary {
  background: #ffffff;
  color: #1a162b;
  border: 1.5px solid var(--border-glass);
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s, border-color 0.15s, color 0.15s;
}

.btn-hero-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 77, 255, 0.5);
  color: #7c4dff;
}

/* Prova Social de Bebês / Pais */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-left: -8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.avatar-stack span:first-child {
  margin-left: 0;
}

/* ==========================================================================
   Simulador Interativo no Hero (Elemento Âncora Inesquecível)
   ========================================================================== */
.hero-preview-wrapper {
  margin-top: 50px;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-preview-card {
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 30px 70px -20px rgba(100, 80, 130, 0.15), 0 10px 25px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--bg-subtle);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #fca5a5; }
.dot-yellow { background: #fde047; }
.dot-green { background: #86efac; }

.preview-badge-status {
  background: var(--purple-light);
  color: var(--purple-primary);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

/* Vitrine Oficial do Jogo no Hero */
.hero-screen-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(76, 50, 115, 0.15);
  background: #90d3fb;
}

.hero-game-screen {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-screen-showcase:hover .hero-game-screen {
  transform: scale(1.015);
}

.hero-screen-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 16, 36, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.screen-pill-tag {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-play-demo-hero {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c4dff 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.45);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-play-demo-hero:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
  box-shadow: 0 12px 30px rgba(124, 77, 255, 0.6);
}

@media (max-width: 768px) {
  .hero-screen-overlay {
    position: static;
    background: #ffffff;
    padding: 16px 12px;
    flex-direction: column;
    gap: 10px;
  }
  .screen-pill-tag {
    color: var(--text-main);
    background: var(--bg-subtle);
    border: none;
    text-shadow: none;
    font-size: 13px;
    text-align: center;
    width: 100%;
  }
  .btn-play-demo-hero {
    width: 100%;
    justify-content: center;
  }
}

/* Mini Canvas / Simulador Retrô */
.stage-simulator {
  background: linear-gradient(180deg, #8ad1ff 0%, #bde7ff 65%, #66bb6a 65%, #57a65b 70%, #8d6e63 70%, #6d4c41 100%);
  border-radius: 20px;
  height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.stage-clouds {
  display: flex;
  justify-content: space-between;
  font-size: 32px;
  opacity: 0.85;
}

.stage-header-info {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  align-self: center;
  font-size: 13px;
  font-weight: 800;
  color: #1a162b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Blocos Misteriosos Interativos */
.stage-blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.sim-block {
  width: 48px;
  height: 48px;
  background: #f59e0b;
  border: 3px solid #b45309;
  border-radius: 10px;
  box-shadow: inset -2px -2px 0 #78350f, inset 2px 2px 0 #fde68a, 0 6px 12px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sim-block.broken {
  transform: translateY(-8px);
}

.sim-block.boy {
  background: #0284c7;
  border-color: #0369a1;
  color: #ffffff;
}

.sim-block.girl {
  background: #db2777;
  border-color: #be185d;
  color: #ffffff;
}

/* Personagem Mario saltitante na grama */
.sim-hero {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  transition: transform 0.25s cubic-bezier(0.2, 1, 0.3, 1);
}

.stage-simulator:hover .sim-hero {
  transform: translateX(-50%) translateY(-35px);
}

.stage-hint {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  align-self: center;
  margin-bottom: 6px;
}

/* ==========================================================================
   Barra Rápida de Entrada com Código Direto
   ========================================================================== */
.quick-code-strip {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -30px auto 70px;
  position: relative;
  z-index: 10;
  max-width: 860px;
  box-shadow: var(--shadow-soft);
}

.quick-code-text h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1a162b;
}

.quick-code-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.quick-code-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-code {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-family: 'Outfit', monospace;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  outline: none;
  width: 170px;
  text-align: center;
  letter-spacing: 1px;
  transition: border-color 0.15s, background 0.15s;
}

.input-code:focus {
  border-color: var(--mint-primary);
  background: #ffffff;
}

/* ==========================================================================
   Seção de Comparativo (O que torna o RevelaPlay único)
   ========================================================================== */
.comparison-section {
  padding: 60px 0 80px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  background: var(--mint-light);
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: #1a162b;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.compare-card {
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.compare-card.traditional {
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
}

.compare-card.revelaplay {
  background: linear-gradient(160deg, #ffffff 0%, #f0fdfa 100%);
  border: 2px solid rgba(0, 187, 167, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 187, 167, 0.18);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.compare-card.traditional .compare-badge {
  background: #f1f5f9;
  color: #64748b;
}

.compare-card.revelaplay .compare-badge {
  background: var(--mint-primary);
  color: #ffffff;
}

.compare-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #1a162b;
  margin-bottom: 20px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.compare-list li strong {
  color: var(--text-main);
}

.compare-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-icon.bad {
  background: #fee2e2;
  color: #ef4444;
}

.compare-icon.good {
  background: var(--mint-light);
  color: var(--mint-deep);
}

/* ==========================================================================
   Como Funciona em 3 Passos
   ========================================================================== */
.steps-section {
  padding: 60px 0 80px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-number-tag {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 22px;
}

.step-card:nth-child(1) .step-number-tag {
  background: var(--mint-light);
  color: var(--mint-deep);
}

.step-card:nth-child(2) .step-number-tag {
  background: var(--blue-soft);
  color: var(--blue-accent);
}

.step-card:nth-child(3) .step-number-tag {
  background: var(--pink-soft);
  color: var(--pink-blush);
}

.step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1a162b;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   Catálogo de Jogos
   ========================================================================== */
.games-showcase-section {
  padding: 60px 0 80px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-preview-card {
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.game-preview-card:hover {
  transform: translateY(-4px);
}

.game-thumb-art {
  height: 160px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.thumb-mario {
  background: linear-gradient(135deg, #c7e9fe 0%, #b3dcff 100%);
}

.thumb-snake {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.thumb-tetris {
  background: linear-gradient(135deg, #f5effe 0%, #ede3ff 100%);
}

/* Imagem do Encanador (Mario do Jogo) */
.game-thumb-hero-img {
  width: auto;
  height: 94px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.16));
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-preview-card:hover .game-thumb-hero-img {
  transform: translateY(-8px) scale(1.08);
}

/* Imagem da Peça L Tradicional do Tetris */
.game-thumb-tetris-img {
  width: auto;
  height: 96px;
  filter: drop-shadow(0 6px 14px rgba(124, 77, 255, 0.28));
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-preview-card:hover .game-thumb-tetris-img {
  transform: translateY(-8px) scale(1.08) rotate(3deg);
}

.game-active-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  color: var(--purple-deep);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.game-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.game-preview-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #1a162b;
  margin-bottom: 6px;
}

.game-preview-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   Depoimentos Acolhedores & Emocionantes
   ========================================================================== */
.testimonials-section {
  padding: 60px 0 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card blockquote {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-info strong {
  display: block;
  font-size: 14px;
  color: #1a162b;
}

.author-info span {
  font-size: 12px;
  color: var(--text-soft);
}

/* ==========================================================================
   Perguntas Frequentes (FAQ)
   ========================================================================== */
.faq-section {
  padding: 60px 0 80px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: 20px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.faq-item:hover {
  border-color: rgba(0, 187, 167, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #1a162b;
}

.faq-icon {
  font-size: 18px;
  color: var(--mint-deep);
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--bg-subtle);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Banner CTA Final
   ========================================================================== */
.cta-banner-section {
  padding: 40px 0 90px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #7c4dff 0%, #5e35b1 100%);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(124, 77, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner-card::before {
  content: '✦';
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 60px;
  opacity: 0.15;
}

.cta-banner-card::after {
  content: '★';
  position: absolute;
  bottom: 20px;
  right: 50px;
  font-size: 80px;
  opacity: 0.15;
}

.cta-banner-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.2;
}

.cta-banner-card p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 580px;
  margin: 0 auto 30px;
}

.btn-cta-banner {
  background: #ffffff;
  color: #5e35b1;
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-cta-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  color: #7c4dff;
}

/* ==========================================================================
   Rodapé Acolhedor
   ========================================================================== */
.site-footer {
  border-top: 1.5px solid var(--border-glass);
  background: #ffffff;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Bloco Sobre o Projeto & Criador no Rodapé */
.footer-about-box {
  background: var(--bg-highlight);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 760px;
  margin: 8px auto;
  text-align: center;
  box-shadow: 0 4px 18px rgba(100, 80, 130, 0.04);
}

.footer-about-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple-primary);
  margin-bottom: 8px;
}

.footer-about-box p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-about-box strong {
  color: var(--text-main);
}

.footer-author-credit {
  font-size: 13px !important;
  color: var(--text-soft) !important;
  margin-bottom: 0 !important;
  border-top: 1px dashed rgba(200, 185, 220, 0.45);
  padding-top: 10px;
}

.footer-author-link {
  color: var(--purple-primary);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.15s;
}

.footer-author-link:hover {
  color: var(--purple-deep);
  text-decoration: underline;
}

.footer-site-link {
  color: var(--purple-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-site-link:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-soft);
}

.footer-admin-link {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}

.footer-admin-link:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* ==========================================================================
   Modal de Criação da Revelação (Totalmente Integrado ao Banco)
   ========================================================================== */
dialog#create-modal {
  border: none;
  border-radius: var(--radius-modal);
  background: #ffffff;
  box-shadow: 0 35px 80px rgba(20, 10, 40, 0.28);
  max-width: 520px;
  width: calc(100% - 32px);
  padding: 36px 32px;
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 1000;
}

dialog#create-modal::backdrop {
  background: rgba(30, 25, 45, 0.55);
  backdrop-filter: blur(8px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a162b;
}

.btn-close-modal {
  background: var(--bg-subtle);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1a162b;
  margin-bottom: 6px;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-glass);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
  border-color: var(--mint-primary);
  background: #ffffff;
}

.modal-error {
  background: #fee2e2;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  display: none;
}

/* Sucesso na Criação */
.modal-success-box {
  text-align: center;
  display: none;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  background: var(--mint-light);
  color: var(--mint-deep);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
}

.modal-success-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.code-display-pill {
  background: var(--bg-subtle);
  border: 2px dashed rgba(0, 187, 167, 0.5);
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0;
}

.code-display-pill span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.code-display-pill strong {
  font-family: 'Outfit', monospace;
  font-size: 28px;
  font-weight: 900;
  color: #1a162b;
  letter-spacing: 2px;
}

/* Responsividade Mobile */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .comparison-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .quick-code-strip {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}
