@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  background: linear-gradient(135deg, #1a1f25 0%, #242b33 100%);
  color: white;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  position: relative;
}

/* Add animated background particles */
body::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(79, 159, 255, 0.05) 1%, transparent 1%),
    radial-gradient(circle at 75% 75%, rgba(255, 79, 159, 0.05) 1%, transparent 1%);
  background-size: 100px 100px;
  animation: backgroundMove 20s linear infinite;
  opacity: 0.5;
}

.container {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-out;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #4f9fff, #ff4f9f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

#countdown div {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  min-width: 100px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#countdown div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#countdown div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#countdown div:hover::before {
  opacity: 1;
}

#countdown span:first-child {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(45deg, #4f9fff, #ff4f9f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

#countdown span:last-child {
  display: block;
  font-size: 1rem;
  color: #a0a0a0;
  margin-top: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backgroundMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Add media queries for better responsiveness */
@media (max-width: 768px) {
  #countdown {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  #countdown div {
    min-width: calc(50% - 30px);
    padding: 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  
  #countdown div {
    min-width: calc(50% - 20px);
    padding: 10px;
  }
  
  #countdown span:first-child {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
}
