/* ==========================================================================
   Server Under Maintenance - High Tech & Premium Design System
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-dark: #070b14;
  --bg-card: rgba(13, 21, 38, 0.82);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(99, 102, 241, 0.35);

  /* Vibrant Accents */
  --primary-indigo: #6366f1;
  --primary-indigo-glow: rgba(99, 102, 241, 0.45);
  --primary-cyan: #06b6d4;
  --primary-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-amber: #f59e0b;
  --accent-green: #10b981;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-glow: rgba(37, 211, 102, 0.45);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Shadows & Glass */
  --shadow-main: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(99, 102, 241, 0.12);
  --blur-card: blur(20px);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* Ambient Background Canvas & Glow Orbs */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.glow-top {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  top: -15%;
  right: -5%;
}

.glow-bottom {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -20%;
  left: -10%;
  animation-duration: 18s;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* 100vh Main Container */
.viewport-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Top Navigation Bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  flex-shrink: 0;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.35); }
}

.brand-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fbbf24;
}

.support-availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.38rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
}

.green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Center Content Container */
.content-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  min-height: 0;
}

/* Main Card */
.maintenance-card {
  width: 100%;
  max-width: 1080px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  backdrop-filter: var(--blur-card);
  box-shadow: var(--shadow-main);
  display: grid;
  grid-template-columns: 390px 1fr;
  overflow: hidden;
  position: relative;
}

.maintenance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-indigo), var(--primary-cyan), transparent);
}

/* Left: 3D Visual & Elapsed Duration Counter */
.card-visual {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(7, 11, 20, 0.98));
  border-right: 1px solid var(--border-glass);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.22);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.maintenance-card:hover .hero-image {
  transform: scale(1.03);
}

.image-overlay-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  color: #fef3c7;
}

.dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
}

/* Elapsed Counter Widget */
.counter-widget {
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.counter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.live-rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 1.5s infinite;
}

.counter-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
}

.counter-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

.unit-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.highlight-cyan {
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.unit-tag {
  font-size: 0.64rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 0.15rem;
  letter-spacing: 0.03em;
}

.counter-colon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  margin-top: -0.65rem;
}

.counter-footer {
  margin-top: 0.5rem;
  text-align: center;
}

.since-text {
  font-size: 0.7rem;
  color: #64748b;
}

.since-text strong {
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Right: Content & Action Section */
.card-info {
  padding: 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.38rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
  margin-bottom: 0.75rem;
}

.main-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description-text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

/* Alert Callout */
.alert-notice {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
  border-left: 3px solid var(--accent-amber);
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-content {
  font-size: 0.84rem;
  color: #fde68a;
  line-height: 1.45;
}

.alert-content strong {
  color: #fff;
}

/* Action Buttons */
.action-buttons-group {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px -4px var(--accent-whatsapp-glow);
}

.btn-whatsapp:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.6);
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #06b6d4 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px -4px var(--primary-indigo-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(99, 102, 241, 0.65);
}

/* Quick Direct Contact Links */
.contact-quick-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.22s ease;
}

.quick-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.q-phone:hover {
  border-color: rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.q-email:hover {
  border-color: rgba(6, 182, 212, 0.5);
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* Bottom Footer */
.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.footer-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-copyright {
  font-weight: 400;
}

.live-clock-badge {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 992px) {
  html, body {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
  }

  .viewport-wrapper {
    height: auto;
    min-height: 100vh;
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
  }

  .maintenance-card {
    grid-template-columns: 1fr;
    max-width: 580px;
  }

  .card-visual {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem;
  }

  .image-wrapper {
    max-width: 220px;
  }

  .card-info {
    padding: 1.75rem 1.5rem;
  }

  .main-title {
    font-size: 1.9rem;
  }

  .action-buttons-group {
    flex-direction: column;
  }

  .contact-quick-bar {
    flex-direction: column;
  }

  .bottom-footer {
    flex-direction: column;
    gap: 0.5rem;
    height: auto;
    padding: 1rem 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .top-nav {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .description-text {
    font-size: 0.88rem;
  }
}
