#respostas {
  padding: 60px 24px;
  position: relative;
  z-index: 5;
}

.respostas-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Header dos Dados */
.section-header-dados {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header-dados .subtitle-dados {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #6a6a8a;
}

.section-header-dados .title-dados {
  margin-top: 12px;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
}

.section-header-dados .glow-bar-dados {
  margin-top: 20px;
  width: 80px;
  height: 3px;
  background: #e8c97a;
  box-shadow: 0 0 14px rgba(232, 201, 122, 0.7);
  border-radius: 2px;
}

/* Header Superior Dinâmico das Respostas */
.respostas-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.respostas-header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.respostas-status {
  font-size: 14px;
  color: #9090b0;
  line-height: 1.5;
  max-width: 600px;
}

.contador-card-compact {
  background: radial-gradient(circle at 50% 50%, rgba(232, 201, 122, 0.08), transparent),
              rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(232, 201, 122, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 18px 24px;
  text-align: right;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 270px;
}

.contador-card-compact.celebrar {
  animation: card-pulse-gold 1.2s ease forwards;
}

@keyframes card-pulse-gold {
  0% {
    transform: scale(1);
    border-color: rgba(232, 201, 122, 0.25);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
  30% {
    transform: scale(1.04);
    border-color: #e8c97a;
    box-shadow: 0 0 35px rgba(232, 201, 122, 0.5), 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  100% {
    transform: scale(1);
    border-color: rgba(232, 201, 122, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
}

.contador-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.live-dot-ping {
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e8c97a;
  opacity: 0.75;
  animation: ping-dot 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-dot-core {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #e8c97a;
  box-shadow: 0 0 8px #e8c97a;
}

@keyframes ping-dot {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.live-texto {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8c97a;
  font-weight: 700;
}

.contador-status-texto {
  font-size: 11px;
  color: #8c8ca5;
  letter-spacing: 0.04em;
}

.contador-card-compact .contador-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #8c8ca5;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.contador-numero-container {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  width: 100%;
}

.contador-card-compact .contador-numero {
  font-size: clamp(2.6rem, 4.5vw, 3.5rem);
  color: #e8c97a;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 24px rgba(232, 201, 122, 0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.contador-numero.bump {
  animation: num-bump 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes num-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.22); color: #fff; text-shadow: 0 0 30px #ffe8bb; }
  100% { transform: scale(1); }
}

.badge-incremento {
  position: absolute;
  right: -12px;
  top: -8px;
  background: #e8c97a;
  color: #070914;
  font-size: 13px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(232, 201, 122, 0.8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0) scale(0.6);
}

.badge-incremento.animar {
  animation: float-up-badge 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes float-up-badge {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translateY(-4px) scale(1.15);
  }
  50% {
    opacity: 1;
    transform: translateY(-16px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-36px) scale(0.9);
  }
}

.contador-acoes {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-live-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ddd5c0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  outline: none;
}

.btn-live-action:hover {
  background: rgba(232, 201, 122, 0.12);
  border-color: rgba(232, 201, 122, 0.4);
  color: #e8c97a;
  transform: translateY(-1px);
}

.btn-live-action:active {
  transform: scale(0.96);
}

.btn-destaque-impacto {
  background: rgba(232, 201, 122, 0.15);
  border-color: rgba(232, 201, 122, 0.45);
  color: #ffe8bb;
}

.btn-destaque-impacto:hover {
  background: #e8c97a;
  color: #070914;
  border-color: #e8c97a;
  box-shadow: 0 0 16px rgba(232, 201, 122, 0.4);
}

.spin-icon {
  transition: transform 0.5s ease;
}

.btn-live-action.girando .spin-icon {
  animation: spin-once 0.8s linear infinite;
}

@keyframes spin-once {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Notificação de Impacto */
.notificacao-impacto {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  width: 100%;
  min-width: 290px;
  background: rgba(10, 12, 26, 0.95);
  border: 1px solid rgba(232, 201, 122, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(232, 201, 122, 0.2);
  backdrop-filter: blur(14px);
  animation: notif-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-align: left;
}

@keyframes notif-slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notificacao-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notificacao-icone {
  font-size: 18px;
  line-height: 1;
}

.notificacao-conteudo strong {
  display: block;
  font-size: 12.5px;
  color: #ffe8bb;
  margin-bottom: 2px;
}

.notificacao-conteudo p {
  font-size: 11.5px;
  color: #c8c2b0;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 768px) {
  .respostas-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .contador-card-compact {
    text-align: center;
  }
  .contador-numero-container {
    justify-content: center;
  }
  .contador-acoes {
    justify-content: center;
  }
  .notificacao-impacto {
    right: auto;
    left: 0;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Card do Contador (Legado / Fallback) */
.contador-card {
  background: radial-gradient(circle at 50% 50%, rgba(232, 201, 122, 0.05), transparent);
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
}

.contador-label {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #6a6a8a;
  text-transform: uppercase;
  font-weight: 600;
}

.contador-numero {
  font-size: clamp(4rem, 8vw, 5.5rem);
  color: #e8c97a;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 12px;
  text-shadow: 0 0 30px rgba(232, 201, 122, 0.25);
}

/* Estado de Erro */
.erro-mensagem {
  background: rgba(248, 113, 113, 0.05);
  border: 1px solid rgba(248, 113, 113, 0.15);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #f87171;
  margin-bottom: 32px;
}

/* Grid responsivo triplo */
.graficos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.grafico-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 380px;
}

.grafico-titulo {
  font-size: 13px;
  color: #9090b0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0;
  margin-bottom: 24px;
  font-weight: 600;
}

.canvas-wrapper {
  flex: 1;
  position: relative;
  width: 100%;
}

.loading-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6a6a8a;
  font-size: 13px;
}