@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
  overflow-x: hidden;
}

.gradient-bg {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

.glass-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.btn-glow {
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.8);
  transform: translateY(-2px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.2);
  border-radius: 20px;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #60a5fa;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.coin {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
}
.gradient-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes countdown {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}
.animate-countdown {
  animation: countdown 10s linear forwards;
}
/* Show popup after delay using animation */
#popup-container {
  display: flex;
  opacity: 0;
  animation: fadeIn 0.3s 1s forwards;
}
/* Hide popup after countdown completes */
.animate-countdown:after {
  content: "";
  display: none;
}
/* Close functionality using target pseudo-class */
#popup-container:target {
  display: none !important;
}
