/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: 'Comic Sans MS', sans-serif;
  background-color: #fffae5;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  color: #ff6ad5;
  font-size: 2.5rem;
  text-shadow: 2px 2px #ffda6b;
}

p {
  margin-top: 5px;
}

/* Wallet Section */
.wallet-section {
  background: linear-gradient(145deg, #ffebda, #ff8fe6);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin-bottom: 20px;
}

#connect-wallet {
  background-color: #ff6ad5;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

#connect-wallet:hover {
  background-color: #ff4ab8;
  transform: scale(1.1);
}

#wallet-info p {
  font-size: 15px;
  margin: 10px 0;
}

/* Score Section */
.score-section {
  background-color: #ff6ad5;
  color: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.score-indicator {
  font-size: 30px;
  font-weight: bold;
  margin: 10px 0;
}

.score-indicator span {
  font-size: 26px;
  padding: 10px 15px;
  border-radius: 8px;
  background-color: #ffda6b;
  color: #333;
}

/* Rewards Section */
.rewards-section {
  width: 100%;
  max-width: 800px;
  margin-bottom: 20px;
}

.rewards-section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #ff6ad5;
}

.reward-tiers {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.tier {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  font-size: 16px;
}

.tier h3 {
  color: #ffda6b;
  font-size: 20px;
  margin-bottom: 8px;
}

.bronze {
  border-top: 6px solid #cd7f32;
}

.silver {
  border-top: 6px solid #c0c0c0;
}

.gold {
  border-top: 6px solid #ffd700;
}

.diamond {
  border-top: 6px solid #b9f2ff;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
