/* CSS Variables based on Sparkvey design system */
:root {
  --background: #F3F5F9;
  --offbackground: #F6F9FF;
  --off-white: #FEFEFE;
  --light-blue: #E9EEF9;
  --border-light: rgba(111, 116, 135, 0.25);
  --text-bold: #011F1D;
  --text-light: #6F7487;
  --primary: #4A3FD0;
  --green: #3FD067;
  --red: #F32525;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #121212;
    --text-bold: white;
    --text-light: #6F7487;
    --off-white: #1D1D1D;
    --offbackground: #202020;
    --light-blue: #232325;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: white;
  height: 100vh;
  overflow: hidden;
}

.maintenance-container {
  height: 100vh;
  max-height: 1080px;
  width: 100%;
  margin: 0 auto;
  background: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.background-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.15;
  z-index: 0;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.logo-container {
  margin-bottom: 60px;
}

.logo {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.main-content h1 {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
}

.description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.status-info {
  margin-bottom: 32px;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.estimated-time {
  margin-bottom: 48px;
  padding: 16px 24px;
  background: rgba(1, 31, 29, 0.15);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.estimated-time p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.estimated-time span {
  font-weight: 600;
  color: white;
}

.social-links {
  margin-top: 40px;
}

.social-links > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .maintenance-container {
    padding: 40px 20px;
  }
  
  .logo {
    width: 120px;
  }
  
  .logo-container {
    margin-bottom: 40px;
  }
  
  .main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .description {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
  
  .estimated-time {
    margin-bottom: 32px;
    padding: 14px 20px;
  }
  
  .social-links {
    margin-top: 32px;
  }
  
  .links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .social-link {
    width: 200px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .main-content h1 {
    font-size: 2rem;
  }
  
  .description {
    font-size: 1rem;
  }
  
  .status-indicator {
    font-size: 1rem;
  }
  
  .estimated-time p {
    font-size: 1rem;
  }
  
  .footer {
    bottom: 20px;
  }
  
  .footer p {
    font-size: 0.8rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .background-overlay {
    display: none;
  }
  
  .estimated-time {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
  
  .social-link {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .pulse-dot {
    animation: none;
  }
  
  .social-link {
    transition: none;
  }
  
  .social-link:hover {
    transform: none;
  }
} 