* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #121214;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 15px;
}

header h1 {
  margin-bottom: 15px;
  color: #6366f1;
  font-size: 1.4rem;
  text-align: center;
}

.tarjeta {
  background-color: #1e1e24;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tarjeta h2, .tarjeta h3 {
  font-size: 1.15rem;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
  color: #f3f4f6;
}

.marcador-resumen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d0d10;
  padding: 15px;
  border-radius: 8px;
}

.equipo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 42%;
}

.nombre-eq {
  font-size: 0.9rem;
  color: #a1a1aa;
  margin-bottom: 4px;
}

.puntos-num {
  font-size: 1.8rem;
  color: #38bdf8;
}

.vs {
  font-weight: bold;
  color: #52525b;
}

.paso-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pregunta {
  font-size: 1.1rem;
  text-align: center;
  font-weight: bold;
}

.grupo-botones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.campo label {
  font-size: 0.85rem;
  color: #a1a1aa;
}

.campo input, .campo-inline select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #3f3f46;
  background-color: #0d0d10;
  color: #fff;
  font-size: 1rem;
}

.campo-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #27272a;
  padding: 10px;
  border-radius: 6px;
}

.btn {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.btn-opcion { background-color: #3f3f46; }
.btn-opcion:active { background-color: #6366f1; }
.btn-rojo { background-color: #ef4444; }
.btn-azul { background-color: #3b82f6; }
.btn-verde { background-color: #10b981; }
.btn-gris { background-color: #4b5563; }

.cartel-ganador {
  background-color: #065f46;
  text-align: center;
  border: 2px solid #34d399;
}

.oculto { display: none !important; }