
.rpg-status-container {
  display: flex;
  align-items: flex-start;
  /* border: 3px solid #a2e9ee; */
  border-radius: 10px;
  width: 94%;
  padding: 3%;
  gap: 3%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  font-family: "M PLUS 1", sans-serif;
  font-style: normal;
  color: #ecf0f1;
  position: relative;
}

/* Pseudo-retro */
.rpg-status-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><rect width="100" height="100" fill="none" stroke="white" stroke-width="2"/></svg>');
  border-radius: 7px;
  pointer-events: none;
}

/* Icon */
.rpg-icon {
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #37bcd4;
  background-color: #1a1a1a;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rpg-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icon blob */
.rpg-icon::before {
  content: "?";
  font-size: 5vw;
  color: #d4af37;
  display: none;
}

.rpg-icon:empty::before {
  display: flex;
}

/* Info */
.rpg-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Text */
.rpg-name {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f1c40f;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin: 0;
}

.rpg-level {
  font-size: 1.5rem;
  color: #3498db;
  margin: 0;
}

.rpg-status {
  font-size: 14px;
  font-style: italic;
  color: #2ecc71;
  margin: 5px 0 0 0;
  padding: 3px 6px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border-left: 3px solid #2ecc71;
}

/* Bars */
.rpg-bar-container {
  width: 100%;
  margin: 5px 0;
}

.rpg-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 3px;
  color: #bdc3c7;
}

.rpg-bar {
  height: 16px;
  background-color: #2c2c2c;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #555;
  position: relative;
}

.rpg-bar-fill {
  height: 100%;
  transition: width 0.5s ease;
  position: relative;
}

/* HP */
.hp-bar .rpg-bar-fill {
  background: linear-gradient(90deg, #47B9F7, #B5E3FC);
}

.hp-bar .rpg-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.1) 50%, 
      transparent 100%);
  animation: shimmer 2s infinite;
}

/* MP */
.mp-bar .rpg-bar-fill {
  background: linear-gradient(90deg, #4A47F7, #B6B5FC);
}

/* Shimmer */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}