* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* Layout principal com anúncios */
.main-wrapper {
  display: flex;
  width: 100%;
  max-width: 1400px;
  gap: 20px;
  align-items: flex-start;
  margin: 0 auto;
}

/* Container do conteúdo principal */
.container {
  flex: 1;
  order: 2;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Anúncios laterais */
.ad-sidebar {
  flex: 0 0 300px;
  position: sticky;
  top: 20px;
}

.ad-sidebar.left {
  order: 1;
}

.ad-sidebar.right {
  order: 3;
}

/* Estilo para os blocos de anúncio */
.ad-block {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Anúncio mobile */
.ad-mobile {
  display: none;
  margin: 20px 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 12px;
}

/* Tipografia */
h1 {
  color: #667eea;
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.5em;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* Barra de progresso */
.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  width: 0%;
  transition: width 0.3s ease;
}

/* Containers de perguntas */
.question-container {
  display: none;
}

.question-container.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-number {
  color: #667eea;
  font-weight: bold;
  margin-bottom: 10px;
}

.question-text {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Opções de resposta */
.option {
  background: #f5f5f5;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.option:hover {
  background: #e8e8e8;
  transform: translateX(5px);
}

.option.selected {
  background: #667eea;
  color: white;
  border-color: #764ba2;
}

/* Botões */
.btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Tela de resultados */
.result-screen {
  display: none;
  text-align: center;
}

.result-screen.active {
  display: block;
  animation: fadeIn 0.5s;
}

.percentage {
  font-size: 5em;
  font-weight: bold;
  color: #667eea;
  margin: 20px 0;
}

.classification {
  font-size: 2em;
  color: #764ba2;
  margin-bottom: 20px;
  font-weight: bold;
}

.preview-badge {
  background: #fff3cd;
  border: 2px dashed #ffc107;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
  color: #856404;
}

/* Seção de pagamento */
.payment-section {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
}

.price {
  font-size: 2.5em;
  color: #28a745;
  font-weight: bold;
  margin: 20px 0;
}

.benefits {
  text-align: left;
  margin: 20px 0;
}

.benefits li {
  margin: 10px 0;
  color: #333;
}

/* Tela inicial */
.start-screen {
  text-align: center;
}

.start-screen img {
  width: 200px;
  margin: 20px 0;
}

.emoji-header {
  font-size: 4em;
  margin: 20px 0;
}

/* Seção de compartilhamento */
.share-section {
  margin-top: 30px;
  padding: 20px;
  background: #e3f2fd;
  border-radius: 10px;
}

.share-btn {
  background: #25d366;
  margin: 10px 5px;
  padding: 12px 25px;
  display: inline-block;
  width: auto;
}

/* Responsivo */
@media (max-width: 1200px) {
  /* Esconde anúncios laterais em telas pequenas */
  .ad-sidebar.left,
  .ad-sidebar.right {
    display: none;
  }
  
  .main-wrapper {
    justify-content: center;
  }
  
  /* Mostra anúncio mobile */
  .ad-mobile {
    display: block;
  }
  
  .container {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 25px;
  }
  
  h1 {
    font-size: 2em;
  }
  
  .percentage {
    font-size: 3.5em;
  }
  
  .classification {
    font-size: 1.5em;
  }
  
  .question-text {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px;
  }
  
  h1 {
    font-size: 1.8em;
  }
  
  .emoji-header {
    font-size: 3em;
  }
  
  .percentage {
    font-size: 2.8em;
  }
  
  .price {
    font-size: 2em;
  }
}