/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.hud-container {
  width: 800px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px #00f0ff;
  position: relative;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2rem;
  color: #00f0ff;
  text-shadow: 0 0 10px #00f0ff;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #00f0ff;
}

.profile span {
  font-weight: bold;
}

.stats {
  margin-bottom: 20px;
}

.stats h2 {
  margin-bottom: 10px;
  color: #ff00f0;
}

.stat-bar {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.stat-bar span {
  width: 100px;
}

.stat-bar .bar {
  flex: 1;
  height: 20px;
  background: #333;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.stat-bar .bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s;
}

#forca-bar::after { background: linear-gradient(90deg, #ff0000, #ff9900); }
#agilidade-bar::after { background: linear-gradient(90deg, #00ff00, #00ff99); }
#inteligencia-bar::after { background: linear-gradient(90deg, #0099ff, #00ccff); }
#destreza-bar::after { background: linear-gradient(90deg, #ffff00, #ffcc00); }

.xp-bar {
  margin-top: 10px;
}

.xp-bar span {
  display: block;
  margin-bottom: 5px;
}

.xp-bar .bar {
  height: 25px;
  background: #333;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.xp-bar .bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 12px;
  transition: width 0.5s;
  background: linear-gradient(90deg, #00f0ff, #00ffcc);
}

.streak {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #ff6600;
  font-weight: bold;
  text-shadow: 0 0 10px #ff6600;
}

.missions h2 {
  margin-bottom: 10px;
  color: #00ff90;
}

#mission-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.mission-card {
  background: #111;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 10px #00ff90;
  transition: 0.3s;
}

.mission-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00ff90;
}

.mission-card button {
  background: #00f0ff;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

button#add-mission {
  background: #ff00f0;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

button#add-mission:hover {
  background: #ff66f0;
}

#player-pic {
  width: 100px;           /* tamanho da imagem */
  height: 100px;
  object-fit: cover;      /* mantém proporção e corta o excesso */
  border-radius: 50%;     /* deixa redonda */
  border: 3px solid #00f0ff;
  cursor: pointer;        /* indica que é clicável */
  transition: transform 0.2s, box-shadow 0.2s;
}

#player-pic:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #00f0ff;
}
