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

/* FONTE MODERNA */
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
  padding: 15px;
}

/* CONTAINER */
.container {
  max-width: 700px;
  margin: auto;
}

/* TÍTULOS */
h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* TIMER */
#timer {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #22c55e;
  margin-bottom: 15px;
}

/* CARD PADRÃO */
.questao,
.resultado-box,
.ranking,
.login-box {
  background: rgba(30, 41, 59, 0.9);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

/* PERGUNTA */
.questao p {
  margin-bottom: 10px;
}

/* ALTERNATIVAS */
label {
  display: block;
  background: #334155;
  padding: 12px;
  border-radius: 10px;
  margin: 6px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* HOVER + TOQUE */
label:hover {
  background: #475569;
  transform: scale(1.01);
}

/* INPUT RADIO */
input[type="radio"] {
  margin-right: 8px;
}

/* BOTÕES */
button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

/* HOVER BOTÃO */
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* LINKS */
a {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #38bdf8;
  text-decoration: none;
}

/* LOGIN INPUTS */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  margin-bottom: 10px;
  font-size: 15px;
}

/* ERROS */
.erro {
  background: #7f1d1d;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* MOBILE FIRST MELHORADO */
@media (max-width: 480px) {
  h2 {
    font-size: 20px;
  }

  label {
    font-size: 14px;
  }

  button {
    font-size: 15px;
  }
}

/* DESKTOP */
@media (min-width: 768px) {
  body {
    padding: 30px;
  }

  button {
    width: auto;
  }
}

/* ===== ESTILOS DO GABARITO ===== */
.alternativa-correta {
    background: linear-gradient(145deg, #22c55e, #16a34a) !important;
    border: 2px solid #86efac !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
    color: white;
    font-weight: 500;
}

.alternativa-errada {
    background: linear-gradient(145deg, #ef4444, #dc2626) !important;
    border: 2px solid #fca5a5 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    color: white;
    font-weight: 500;
}

/* ===== ESTILOS DO SIMULADO NÃO ENCONTRADO ===== */
.nao-encontrado-card {
    background: rgba(30, 41, 59, 0.95);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid #334155;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.icone-construcao {
    font-size: 80px;
    margin-bottom: 20px;
    animation: balancar 3s infinite;
}

@keyframes balancar {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.mensagem-preparo {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.2em;
}

.sugestoes {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.botao-sugestao {
    background: #334155;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #475569;
}

.botao-sugestao:hover {
    background: #22c55e;
    transform: translateY(-5px);
    border-color: #22c55e;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}