/* GERAL */
body {
  background-color: #023e8a;
  background-image: url('img/kk.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

/* CONTAINER PRINCIPAL */
#div-principal {
  width: 700px;
  margin: 20px auto;
  padding: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.7);
}

/* HEADER */
header {
  background: linear-gradient(135deg, #023e8a, #0096c7);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  position: relative;
  border-bottom: 3px solid #00b4d8;
}

#keylla {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 3px solid #00b4d8;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

#felipe {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 3px solid #00b4d8;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

#titulo {
  color: white;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin: 0;
  letter-spacing: 3px;
}

/* segundo h1 — subtítulo */
header h1:last-of-type {
  color: #90e0ef;
  font-size: 0.85rem;
  font-weight: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 5px 0 0 0;
}

/* ÁREA DO CANVAS */
.mouse {
  background: linear-gradient(180deg, #03045e, #0077b6);
  margin: 0;
  padding: 15px;
  text-align: center;
}

canvas {
  border: 3px solid #00b4d8;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.7);
  width: 580px;
  height: 400px;
}

/* INSTRUÇÕES */
.mouse h2 {
  color: #90e0ef;
  text-align: center;
  font-size: 1rem;
  margin: 8px 0;
  letter-spacing: 1px;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #023e8a, #0096c7);
  padding: 15px;
  text-align: center;
  border-top: 3px solid #00b4d8;
}

footer p {
  color: #90e0ef;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.8;
}


#ranking {
  color: white;
  font-family: Arial, sans-serif;
  min-width: 150px;
  background: rgba(0,0,50,0.5);
  padding: 10px;
  border-radius: 8px;
}
#ranking h3 { margin: 0 0 8px; }
#listaRanking { margin: 0; padding-left: 20px; }
#listaRanking li { margin: 4px 0; }