/* === Painel Styles - Inspirado no Duolingo (Glassmorphism + Interativo) === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to bottom right, #0f172a, #1e293b);
  color: #fff;
  min-height: 100vh;
  padding: 20px;
  background-attachment: fixed;
  overflow-x: hidden;
}

header, nav {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

nav a {
  color: #cbd5e1;
  margin-right: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

nav a:hover {
  color: #22d3ee;
}

.container {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.btn {
  background: #22d3ee;
  color: #0f172a;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

.btn:hover {
  background: #67e8f9;
  transform: scale(1.05);
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 0 10px #0006;
  z-index: 9999;
}

.level-bar {
  width: 100%;
  height: 14px;
  background: #334155;
  border-radius: 8px;
  margin-top: 8px;
  overflow: hidden;
}

.level-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #22d3ee, #3b82f6);
  width: 0%;
  border-radius: 8px;
  transition: width 0.5s ease-in-out;
}

.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: #1e40af;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
}
