/* =========================================
   GAYA UTAMA - PLAYFUL UNTUK REMAJA SMP
   ========================================= */
body {
  font-family: 'Nunito', sans-serif;
  background: #fce4ec; /* pink muda */
  background-image: radial-gradient(circle at 20% 50%, #f8bbd0 0%, transparent 30%),
                    radial-gradient(circle at 80% 20%, #b3e5fc 0%, transparent 40%),
                    radial-gradient(circle at 40% 80%, #c8e6c9 0%, transparent 30%);
  background-attachment: fixed;
  color: #2c3e50;
  min-height: 100vh;
}

.game-title {
  font-weight: 800;
  font-size: 2.8rem;
  color: #d81b60;
  text-shadow: 2px 2px 0 #ffcdd2;
  letter-spacing: 2px;
}

.game-subtitle {
  font-size: 1.2rem;
  color: #6a1b9a;
  font-weight: 600;
}

.game-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(255,105,180,0.2);
  border: 3px solid #fff;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.section-title {
  color: #4a148c;
  font-weight: 700;
  font-size: 1.4rem;
  border-bottom: 3px dashed #ce93d8;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.input-game {
  border-radius: 1.2rem;
  border: 2px solid #e1bee7;
  background: #fce4ec;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-game:focus {
  border-color: #ab47bc;
  box-shadow: 0 0 0 0.2rem rgba(171,71,188,0.25);
  background: #fff;
}

.btn-game {
  background: linear-gradient(135deg, #ff4081, #7c4dff);
  border: none;
  color: white;
  font-weight: 800;
  font-size: 1.3rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(255,64,129,0.4);
  text-transform: uppercase;
}

.btn-game:hover {
  background: linear-gradient(135deg, #f50057, #651fff);
  transform: scale(1.07);
  color: white;
  box-shadow: 0 12px 28px rgba(255,64,129,0.6);
}

.avatar-display {
  font-size: 90px;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.game-character-name {
  font-weight: 800;
  font-size: 2rem;
  color: #d81b60;
  margin-top: 0.5rem;
}

.power-bar {
  height: 28px;
  background: #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.power-fill {
  height: 100%;
  width: 0%;
  background: #eb4034;
  transition: width 0.8s ease, background-color 0.5s;
  border-radius: 20px;
  text-align: center;
  color: white;
  font-weight: bold;
  line-height: 28px;
  font-size: 0.8rem;
}

/* Tabel dashboard */
.table {
  border-radius: 1rem;
  overflow: hidden;
}

.action-icons i {
  font-size: 1.4rem;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.action-icons i.bi-trash3:hover {
  color: #ff1744;
  transform: scale(1.3);
}

.action-icons i.bi-pencil-square:hover {
  color: #ff9100;
  transform: scale(1.3);
}

/* Login page khusus */
.login-page {
  background: linear-gradient(135deg, #f8bbd0, #e1bee7);
}