* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, #081c34, #123456);
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.card {
  background-color: #1c2b3a;
  padding: 20px;
  /*border-radius: 20px;*/
  width: 100%;
  max-width: 350px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  text-align: center;
}

.card img {
  width: 100px;
  margin-bottom: 15px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-bar {
  height: 8px;
  background-color: #333;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.level-fill {
  width: 40%;
  height: 100%;
  background-color: #00d4ff;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-weight: 600;
  font-size: 18px;
}

.button {
  background-color: #9a4fff;
  color: white;
  padding: 10px;
  border-radius: 12px;
  margin: 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #7d3ede;
}

.task-item {
  background-color: #27394e;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
  font-size: 14px;
}

.nav-bar {
  display: flex;
  justify-content: space-around;
  background-color: #152534;
  padding: 10px 0;
  border-top: 2px solid #222;
}

.nav-button {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.nav-button:hover {
  background-color: #0e1b2b;
}