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

:root {
  --red: #e02020;
  --red-dark: #a80000;
  --bg: #0d0d0d;
  --surface: #161616;
  --text: #f0f0f0;
  --muted: #888;
}

html, body {
  height: 100%;
}

body.restostroch-maintenance-page {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.maintenance-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

canvas#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2.5rem;
  max-width: 560px;
  width: min(90%, 560px);
  background: rgba(22, 22, 22, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(224,32,32,0.08);
  animation: fadeUp 0.9s cubic-bezier(.22,1,.36,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.25rem;
}

.brand span {
  color: var(--red);
}

.tagline {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.loader-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2.5rem;
}

.loader-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  animation: rotate-svg 1.6s linear infinite;
}

.track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 6;
}

.arc {
  fill: none;
  stroke: url(#redGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: spin-arc 1.6s cubic-bezier(.6,0,.4,1) infinite;
  filter: drop-shadow(0 0 8px rgba(224,32,32,0.8));
}

@keyframes spin-arc {
  0%   { stroke-dashoffset: 283; transform-origin: center; }
  50%  { stroke-dashoffset: 70; }
  100% { stroke-dashoffset: 283; }
}

@keyframes rotate-svg {
  from { transform: rotate(-90deg); }
  to   { transform: rotate(270deg); }
}

.loader-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.9); }
}

.title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.description {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.progress-bar-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  height: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(224,32,32,0.6);
  animation: progress 8s ease-in-out infinite;
}

@keyframes progress {
  0%   { width: 0%; }
  40%  { width: 65%; }
  70%  { width: 82%; }
  90%  { width: 91%; }
  100% { width: 0%; }
}

.contact {
  font-size: 0.78rem;
  color: var(--muted);
}

.contact a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact a:hover,
.contact a:focus {
  color: #ff4444;
}

.divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  border-radius: 99px;
  margin: 0 auto 1.5rem;
}

.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,32,32,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@media (max-width: 640px) {
  .card {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .brand {
    font-size: 1.65rem;
  }

  .loader-wrap {
    width: 100px;
    height: 100px;
  }
}
