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

:root {
  --primary-color: #0ea5e9; /* Cyan */
  --primary-hover: #0284c7;
  --bg-color: #030014; /* Deep space black */
  --card-bg: rgba(10, 10, 30, 0.6);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #8b5cf6; /* Violet */
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Canvas Background */
#space-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Container */
.maintenance-container {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}

.maintenance-container::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 25px;
  background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.3), transparent, rgba(14, 165, 233, 0.3), transparent);
  z-index: -1;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Icon / Graphic */
.icon-container {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.1) 60%, transparent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
  border: 1px solid rgba(14, 165, 233, 0.2);
  position: relative;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.3), inset 0 0 20px rgba(139, 92, 246, 0.2);
  animation: floatRocket 4s ease-in-out infinite;
}

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

.icon-container svg {
  width: 50px;
  height: 50px;
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #e0f2fe, #7dd3fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

p.description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Progress / Status */
.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 10px #22d3ee, 0 0 20px #22d3ee;
  animation: pulseNeon 1.5s infinite alternate;
}

@keyframes pulseNeon {
  from { opacity: 0.6; box-shadow: 0 0 5px #22d3ee, 0 0 10px #22d3ee; }
  to { opacity: 1; box-shadow: 0 0 10px #22d3ee, 0 0 20px #22d3ee, 0 0 30px #22d3ee; }
}

.status-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 0.5px;
}

/* Contact Info */
.contact-info {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info a {
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-info a:hover {
  color: #bae6fd;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* Responsive */
@media (max-width: 640px) {
  .maintenance-container {
    padding: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  p.description {
    font-size: 1rem;
  }
}
