* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #2d1b69;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  padding: 20px;
  width: 100%;
  max-width: 500px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-out;
}

.avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  animation: float 3s ease-in-out infinite;
}

.user-info {
  text-align: center;
}

h1 {
  font-size: 2em;
  margin-bottom: 5px;
  color: #e9d5ff;
}

#nickname {
  color: #c4b5fd;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.points {
  background: rgba(139, 92, 246, 0.3);
  padding: 15px;
  border-radius: 10px;
  display: inline-block;
}

#points {
  font-size: 2em;
  font-weight: bold;
  color: #a855f7;
}

.points-label {
  margin-left: 5px;
  color: #e9d5ff;
}

.game-button {
  display: block;
  margin: 30px auto 0;
  padding: 15px 40px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}



.game-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.game-button:active {
  transform: translateY(1px);
}

.donate {
  display: block;
  margin: 30px auto 0;
  padding: 15px 40px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.donate:active {
  transform: translateY(1px);
}




.stats-button {
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  margin-top: 10px;
}

.logout-button {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  margin-top: 10px;
}

.logout-button:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 2em;
  font-weight: bold;
  color: #a855f7;
  margin-bottom: 5px;
}

.stat-label {
  color: #c4b5fd;
  font-size: 0.9em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 480px) {
  .profile-card {
    padding: 20px;
  }

  h1 {
    font-size: 1.5em;
  }

  #nickname {
    font-size: 1em;
  }

  #points {
    font-size: 1.5em;
  }

  .game-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-value {
    font-size: 1.5em;
  }
}