body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f2027, #144492, #63b8e0);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.battery-container {
  text-align: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  width: 90%;
  max-width: 500px;
  animation: fadeIn 1s ease-out;
}

.battery-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 30px auto;
}

.battery-ring svg {
  transform: rotate(-90deg);
}

.battery-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: bold;
  color: #00ff88;
}

.battery-card {
  margin-top: 30px;
}

.battery-shell {
  position: relative;
  width: 200px;
  height: 100px;
  margin: 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,255,255,0.2);
}

.battery-level {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #00ff88, #00cfff);
  transition: width 0.5s ease;
}

.battery-tip {
  position: absolute;
  top: 30px;
  right: -12px;
  width: 12px;
  height: 40px;
  background: #fff;
  border-radius: 4px;
}

#batteryText, #chargingStatus, #timeRemaining {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 10px rgba(0, 255, 128, 0.4); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 128, 0.8); }
  100% { box-shadow: 0 0 10px rgba(0, 255, 128, 0.4); }
}

.charging-glow {
  animation: pulse 1.5s infinite;
}
