/* ============================================================
   Sampa News — Loterias v1.0.0
   Estilo da página completa + widget de sidebar
   ============================================================ */

/* ── PÁGINA COMPLETA ── */

.snl-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  font-family: inherit;
}

/* Destaque Mega-Sena */
.snl-destaque {
  background: #0d0d1a;
  border: 2px solid var(--snl-color, #209869);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.snl-destaque::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--snl-color, #209869);
}

.snl-destaque-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.snl-destaque-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.snl-concurso {
  font-size: 12px;
  color: #888;
  margin-left: auto;
  font-family: monospace;
}

/* Badge acumulado */
.snl-badge-acumulado {
  background: #e8001c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  animation: snl-pulse 1.5s ease-in-out infinite;
}

@keyframes snl-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Dezenas */
.snl-dezenas-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.snl-bola {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--snl-color, #209869);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.snl-bola-mega {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.snl-dezenas-small .snl-bola {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.snl-bola-mais {
  background: rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 12px;
}

/* Resultado */
.snl-resultado-info {
  margin-bottom: 16px;
}

.snl-sem-ganhador {
  color: #e8001c;
  font-weight: 600;
  font-size: 15px;
}

.snl-ganhador {
  color: #22c55e;
  font-weight: 600;
  font-size: 15px;
}

/* Próximo concurso */
.snl-proximo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.6;
}

.snl-proximo strong {
  color: var(--snl-color, #22c55e);
}

/* ── GRID DE CARDS ── */

.snl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.snl-card {
  background: #0d0d1a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.snl-card:hover {
  border-color: var(--snl-color, #209869);
}

.snl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--snl-color, #209869);
}

.snl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.snl-card-title {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.snl-card-concurso {
  font-size: 11px;
  color: #666;
  margin-bottom: 14px;
  font-family: monospace;
}

.snl-card-resultado {
  font-size: 12px;
  color: #22c55e;
  margin-top: 12px;
  font-weight: 600;
}

.snl-sem-ganhador-small {
  color: #f97316 !important;
}

/* Disclaimer */
.snl-disclaimer {
  font-size: 11px;
  color: #555;
  text-align: center;
  margin-top: 20px;
  font-family: monospace;
}

/* ── WIDGET SIDEBAR ── */

.snl-widget {
  background: #0d0d1a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 16px;
}

.snl-widget-header {
  padding: 12px 16px;
  background: #1a0a0d;
  border-bottom: 3px solid var(--snl-color, #209869);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.snl-widget-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.snl-widget-body {
  padding: 16px;
}

.snl-widget-concurso {
  font-size: 11px;
  color: #666;
  margin-bottom: 12px;
  font-family: monospace;
}

.snl-dezenas-widget .snl-bola {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.snl-dezenas-widget {
  gap: 6px;
  margin-bottom: 14px;
}

.snl-widget-resultado {
  font-size: 13px;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.5;
}

.snl-acumulou {
  color: #f97316 !important;
}

.snl-widget-btn {
  display: block;
  text-align: center;
  background: var(--snl-color, #209869);
  color: #fff !important;
  text-decoration: none !important;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.snl-widget-btn:hover {
  opacity: 0.85;
}

/* ── RESPONSIVO ── */

@media (max-width: 768px) {
  .snl-grid { grid-template-columns: 1fr 1fr; }
  .snl-bola-mega { width: 44px; height: 44px; font-size: 15px; }
}

@media (max-width: 480px) {
  .snl-grid { grid-template-columns: 1fr; }
  .snl-destaque { padding: 18px; }
}
