@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #d6f7f6, #e0f7fa);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glassmorphism Card */
.card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 350px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-in;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 191, 165, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  border: 3px solid #00bfa5;
}

.username {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.subtitle {
  font-size: 0.85rem;
  color: #666;
}

.progress-section {
  margin-bottom: 20px;
}

.progress-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00bfa5, #1de9b6);
  border-radius: 10px;
  transition: width 2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.progress-percent {
  font-size: 0.85rem;
  color: #444;
  text-align: right;
}

.rewards-section {
  text-align: center;
  margin-bottom: 20px;
}

.coin-balance {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.coin-icon {
  width: 32px;
  height: 32px;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 2px #1de9b6);
  }
  to {
    filter: drop-shadow(0 0 8px #00bfa5);
  }
}

.coins {
  font-size: 1.8rem;
  font-weight: 600;
  color: #00bfa5;
}

.coins span {
  font-size: 1rem;
  color: #555;
}

.cta-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #00bfa5, #1de9b6);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 191, 165, 0.3);
}

.cta-btn:hover {
  background: linear-gradient(90deg, #1de9b6, #00bfa5);
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 191, 165, 0.4);
}

/* Responsive */
@media (max-width: 400px) {
  .card {
    width: 90%;
    padding: 20px;
  }

  .username {
    font-size: 1rem;
  }
}
