/* styles/underConstruction.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: #0f172a;
  color: white;
  overflow-x: hidden;
}

/* Animated background particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.particle {
  position: absolute;
  background: rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 20%;
  animation-delay: 2s;
}
.particle:nth-child(3) {
  width: 100px;
  height: 100px;
  left: 60%;
  animation-delay: 4s;
}
.particle:nth-child(4) {
  width: 70px;
  height: 70px;
  left: 80%;
  animation-delay: 6s;
}
.particle:nth-child(5) {
  width: 90px;
  height: 90px;
  left: 40%;
  animation-delay: 8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-200px) translateX(-50px);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0.5;
  }
}

/* Main container */
.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Glowing title effect */
h1 {
  font-size: 5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite, fadeInDown 1s ease;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -3px;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle {
  font-size: 1.5rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease 0.3s backwards;
  text-align: center;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease 0.6s backwards;
}

.feature-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139, 92, 246, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.feature-card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Status section */
.status-section {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  animation: fadeIn 1s ease 0.9s backwards;
}

.progress-bar {
  background: rgba(71, 85, 105, 0.5);
  height: 8px;
  border-radius: 1rem;
  overflow: hidden;
  margin: 1.5rem 0;
}

.progress-fill {
  background: linear-gradient(90deg, #667eea, #764ba2);
  height: 100%;
  width: 65%;
  border-radius: 1rem;
  animation: progressGrow 2s ease;
}

@keyframes progressGrow {
  from {
    width: 0;
  }
  to {
    width: 65%;
  }
}

.status-text {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.9rem;
}

.eta {
  color: #8b5cf6;
  font-weight: 600;
}

/* Animated dots */
.building {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #cbd5e1;
}

.dot {
  width: 8px;
  height: 8px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  margin-top: 3rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
    letter-spacing: -1px;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }
}
