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

:root {
  --bg: #070b18;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --muted: #a8b3cf;
  --primary: #4f8cff;
  --primary-2: #8b5cf6;
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.35), transparent 35%),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.30), transparent 35%),
    var(--bg);
  overflow-x: hidden;
}

.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: min(720px, 100%);
  padding: 48px 34px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-100%);
  animation: shine 4s infinite;
}

.badge {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.16);
  color: #cfe0ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 40px rgba(79, 140, 255, 0.35);
  position: relative;
  z-index: 1;
}

.icon span {
  font-size: 44px;
  animation: rotate 5s linear infinite;
}

h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.loader {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
  position: relative;
  z-index: 1;
}

.loader span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounce 1s infinite ease-in-out;
}

.loader span:nth-child(2) { animation-delay: .15s; }
.loader span:nth-child(3) { animation-delay: .30s; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 12px auto 28px;
  position: relative;
  z-index: 1;
}

.countdown div {
  padding: 18px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

.countdown small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info {
  color: var(--muted);
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: .9;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(.7); opacity: .55; }
  40% { transform: scale(1.2); opacity: 1; }
}

@keyframes shine {
  0% { transform: translateX(-120%); }
  50%, 100% { transform: translateX(120%); }
}

@media (max-width: 620px) {
  .card {
    padding: 38px 20px;
    border-radius: 24px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .buttons {
    flex-direction: column;
  }
}
