:root{
  --bg: #0a0a0a;
  --bg2: #111111;
  --border: #242424;
  --accent: #e0a83a;
  --amber: var(--accent);
  --white: #f5f5f2;
  --muted: #8a8a86;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  height: 100%;
}

body{
  background: var(--bg);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

::selection{
  background: var(--amber);
  color: #0a0a0a;
}

/* Navigation */
nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, .7);
  border-bottom: 1px solid var(--border);
}

.logo{
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img{
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-center{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-domain{
  font-family: 'Ubuntu Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--white);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
}

.nav-right{
  width: 48px;
}

/* Main Section */
.maintenance-main{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px 24px;
  position: relative;
}

.maintenance-container{
  max-width: 760px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.eyebrow{
  font-family: 'Ubuntu Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dot-pulse{
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(224,168,58,.5); }
  50%{ box-shadow: 0 0 0 8px rgba(224,168,58,0); }
}

h1{
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
  font-weight: 800;
}

.blink{
  display: inline-block;
  width: 10px;
  height: .85em;
  background: var(--amber);
  margin-left: 6px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink{
  50%{ opacity: 0; }
}

.maintenance-desc{
  color: var(--white);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
}

.maintenance-subdesc{
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Countdown Timer */
.countdown-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.countdown-box{
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  transition: border-color .3s;
}

.countdown-box:hover{
  border-color: var(--amber);
}

.c-num{
  display: block;
  font-family: 'Ubuntu Mono', monospace;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.c-lbl{
  font-family: 'Ubuntu Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

/* Action Buttons / Social Links (Centered) */
.maintenance-actions{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.magnetic{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 40px;
  color: var(--white);
  font-family: 'Ubuntu Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  transition: transform .2s ease-out, background .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
  background: var(--bg2);
}

.magnetic.accent-btn{
  border-color: var(--amber);
  color: var(--amber);
}

.magnetic:hover{
  border-color: var(--amber);
  background: rgba(224, 168, 58, .08);
  box-shadow: 0 4px 20px rgba(224, 168, 58, .15);
  transform: translateY(-2px);
}

/* Footer */
footer{
  border-top: 1px solid var(--border);
  padding: 24px 60px;
  text-align: center;
  font-family: 'Ubuntu Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  background: rgba(10, 10, 10, .4);
}

.footer-content{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-logo{
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* Floating Tech Objects */
.tech-floaters{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floater{
  position: absolute;
  color: var(--amber);
  opacity: 0.25;
  padding: 12px;
  background: rgba(224, 168, 58, 0.05);
  border: 1px solid rgba(224, 168, 58, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatDynamic 12s ease-in-out infinite;
}

.floater.f1{ top: 15%; left: 10%; animation-delay: 0s; animation-duration: 10s; }
.floater.f2{ top: 25%; right: 12%; animation-delay: 2s; animation-duration: 14s; }
.floater.f3{ bottom: 20%; left: 15%; animation-delay: 4s; animation-duration: 11s; }
.floater.f4{ bottom: 25%; right: 15%; animation-delay: 1s; animation-duration: 13s; }
.floater.f5{ top: 55%; left: 8%; animation-delay: 3s; animation-duration: 15s; }
.floater.f6{ top: 40%; right: 10%; animation-delay: 5s; animation-duration: 12s; }
.floater.f7{ top: 14%; right: 26%; animation-delay: 1.5s; animation-duration: 12s; }
.floater.f8{ bottom: 18%; right: 28%; animation-delay: 3.5s; animation-duration: 14s; }
.floater.f9{ top: 68%; left: 22%; animation-delay: 2.5s; animation-duration: 13s; }
.floater.f10{ top: 32%; left: 20%; animation-delay: 4.5s; animation-duration: 16s; }

@keyframes floatDynamic{
  0%{ transform: translate(0px, 0px) rotate(0deg); }
  33%{ transform: translate(18px, -22px) rotate(6deg); }
  66%{ transform: translate(-15px, 18px) rotate(-4deg); }
  100%{ transform: translate(0px, 0px) rotate(0deg); }
}

/* Responsive Styles */
@media (max-width: 768px){
  nav{
    padding: 18px 24px;
  }
  .maintenance-main{
    padding: 120px 20px 60px 20px;
  }
  .countdown-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  footer{
    padding: 20px 24px;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce){
  *, ::before, ::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
