/**
 * File: C:\xampp\htdocs\charapp\assets\css\character-progress.css
 * 
 * Purpose:
 * - Progress section styling (Level/EXP)
 * - Animated progress bar with shimmer effect
 * - Quick EXP buttons with glow
 * - NO PATTERNS/STRIPES - clean gradients only
 * 
 * Load Order: 7
 */

/* Progress Stat Boxes */
.progress-stat-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.875rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.2s ease;
}

.progress-stat-box:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.progress-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.progress-stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* EXP Progress Wrapper */
.exp-progress-wrapper {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.exp-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.exp-progress-label {
  font-weight: 800;
  font-size: 1rem;
  color: #5dd6c9;
  text-shadow: 0 0 10px rgba(93,214,201,0.5);
}

.exp-progress-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #5dd6c9, #4da3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exp-progress-footer {
  margin-top: 0.75rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* EXP Progress Bar - CLEAN */
.exp-progress-bar-bg {
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.25));
  border-radius: 999px;
  height: 2.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 3px 10px rgba(0,0,0,.5), inset 0 -2px 4px rgba(255,255,255,0.05);
  border: 1px solid rgba(0,0,0,0.4);
}

.exp-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffc107, #ff9800, #ffd36b);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 25px rgba(255,193,7,.7), inset 0 3px 6px rgba(255,255,255,0.4), inset 0 -3px 6px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Shimmer effect */
.exp-progress-bar-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: expShimmer 2.5s infinite;
}

@keyframes expShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.exp-progress-bar-label {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 1.1rem;
  color: #000;
  text-shadow: 0 1px 2px rgba(255,255,255,0.5), 0 0 10px rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}

/* Quick EXP Add Section */
.exp-quick-add {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.125rem;
  padding: 1.25rem;
}

.exp-quick-add-label {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.exp-quick-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .exp-quick-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
}

.exp-quick-form {
  margin: 0;
}

.btn-exp-quick {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(135deg, rgba(93,214,201,0.2), rgba(77,163,255,0.2));
  border: 2px solid rgba(93,214,201,0.4);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(93,214,201,0.2), inset 0 1px 1px rgba(255,255,255,0.1);
}

.btn-exp-quick::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(93,214,201,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-exp-quick:hover {
  background: linear-gradient(135deg, rgba(93,214,201,0.25), rgba(77,163,255,0.25));
  border-color: rgba(93,214,201,0.6);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(93,214,201,0.3), 0 0 30px rgba(93,214,201,0.2);
}

.btn-exp-quick:hover::before {
  opacity: 1;
}

.btn-exp-quick:active {
  transform: translateY(-2px) scale(1);
}

.btn-exp-quick i {
  font-size: 1.5rem;
  color: #5dd6c9;
  filter: drop-shadow(0 2px 6px rgba(93,214,201,0.5));
}

.exp-amount {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #5dd6c9, #4da3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.exp-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  color: #5dd6c9;
}

/* Special 500 EXP Button */
.btn-exp-special {
  background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,152,0,0.2));
  border-color: rgba(255,193,7,0.5);
  box-shadow: 0 4px 12px rgba(255,193,7,0.3), 0 0 20px rgba(255,193,7,0.15);
}

.btn-exp-special:hover {
  background: linear-gradient(135deg, rgba(255,193,7,0.3), rgba(255,152,0,0.3));
  border-color: rgba(255,193,7,0.7);
  box-shadow: 0 8px 20px rgba(255,193,7,0.4), 0 0 40px rgba(255,193,7,0.25);
}

.btn-exp-special i,
.btn-exp-special .exp-label {
  color: #ffd36b;
}

.btn-exp-special .exp-amount {
  background: linear-gradient(135deg, #ffd36b, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom EXP Input */
.exp-custom-add {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-top: 1rem;
}

.exp-custom-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem;
}

.exp-custom-form {
  margin: 0;
}

.exp-custom-controls {
  display: flex;
  gap: 0.75rem;
}

.exp-custom-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: #e6edf3;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.exp-custom-input:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(93,214,201,0.5);
  box-shadow: 0 0 0 0.2rem rgba(93,214,201,0.15);
  color: #fff;
}

.exp-custom-submit {
  padding: 0.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 576px) {
  .exp-progress-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .btn-exp-quick {
    padding: 1rem 0.75rem;
  }

  .exp-amount {
    font-size: 1.25rem;
  }

  .exp-custom-controls {
    flex-direction: column;
  }

  .exp-custom-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}