:root {
  color-scheme: light;
  --rose: #d61c53;
  --brand-gradient: linear-gradient(90deg, #671765 0%, #bc206a 35%, #bd083d 100%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #212529;
}

.maintenance {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--brand-gradient);
}

.backdrop { position: absolute; inset: 0; z-index: 0; }
.background-video {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.background-video.is-playing { opacity: 1; }
.color-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 8, 33, .24), rgba(31, 8, 33, .6)), linear-gradient(90deg, rgba(103, 23, 101, .72), rgba(188, 32, 106, .56) 35%, rgba(189, 8, 61, .62));
}

.header, .content, .signature { position: relative; z-index: 10; }
.header { display: flex; justify-content: center; padding: 24px 24px 0; }
.logo-capsule {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(38, 8, 34, .08);
}
.logo { display: block; width: 140px; height: auto; }
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 64px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 500;
}
.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(214, 28, 83, .09); }
h1 {
  margin: 0;
  max-width: 1120px;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(42, 8, 32, .12);
  animation-delay: 100ms;
}
h1 span, h1 em { display: block; }
h1 em { margin-top: 8px; font-weight: 400; font-style: normal; }
.description {
  margin: 28px 0 0;
  max-width: 672px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
  text-wrap: pretty;
  animation-delay: 200ms;
}
.thanks { margin: 32px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .7); animation-delay: 300ms; }
.signature { padding: 0 24px 20px; text-align: center; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.reveal { animation: appear .9s ease both; }
@keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 767px) {
  .header { padding-top: 16px; }
  .content { padding: 40px 22px 48px; }
  .logo { width: 120px; }
  h1 { font-size: clamp(32px, 7.5vw, 52px); }
  .badge { font-size: 12px; margin-bottom: 26px; }
  .description { margin-top: 24px; font-size: 14px; line-height: 1.75; }
}
@media (prefers-reduced-motion: reduce) {
  .background-video { display: none; transition: none; }
  .reveal { animation: none; }
}
