/* style.css - Core Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

* {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1f0a;
}
::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}

/* Gradient background */
.gradient-bg {
  background: linear-gradient(135deg, #0a1f0a 0%, #1a3a1a 50%, #0d260d 100%);
}

/* Nav blur */
.nav-blur {
  backdrop-filter: blur(12px);
  background: rgba(10, 31, 10, 0.85);
}

/* Green glow shadow */
.green-glow {
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.15);
}

/* Floating animation */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Counter gradient text */
.counter {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section divider */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

/* Earn badge */
.earn-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Notification animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-bounce {
  animation: bounce 0.5s ease-in-out 2;
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(34, 197, 94, 0.1);
  border-top: 3px solid #22c55e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}