:root {
  --black: #030303;
  --white: #f7f7f2;
  --muted: rgba(247, 247, 242, 0.68);
  --line: rgba(247, 247, 242, 0.16);
  --whatsapp: #25d366;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--black);
  color: var(--white);
}

html {
  overflow-x: clip;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

body {
  font-family: "Space Grotesk", sans-serif;
  overflow-x: clip;
  overflow-y: visible;
}

.maintenance-page {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(420px, 1fr) auto;
  width: 100%;
  min-height: 100dvh;
  overflow: clip;
  padding: 24px 32px 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #161616 0%, #050505 48%, #000 100%);
}

.maintenance-page::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 110px 110px;
  opacity: 0.22;
  transform: rotate(-8deg);
}

.maintenance-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0.42;
  pointer-events: none;
}

.scanlines,
.grid {
  display: none;
}

.header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 22px var(--white);
  animation: pulse 1.6s ease-in-out infinite;
}

.header-note {
  margin: 0;
  text-align: right;
}

.hero {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 38px 0 36px;
  text-align: center;
}

.logo {
  display: block;
  width: 260px;
  max-width: 48vw;
  margin: 0 auto 18px;
  filter:
    drop-shadow(0 20px 42px rgba(255, 255, 255, 0.08))
    drop-shadow(0 0 76px rgba(255, 255, 255, 0.16));
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

h1 {
  max-width: 930px;
  margin: 0 auto;
  font-family: "Archivo Black", sans-serif;
  font-size: 68px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0 42px rgba(255, 255, 255, 0.14);
}

.copy {
  max-width: 670px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--white);
  color: var(--black);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.actions a + a {
  color: var(--white);
  background: transparent;
}

.actions a:hover {
  transform: translateY(-3px);
}

.actions a + a:hover {
  color: var(--black);
  background: var(--white);
}

.marquee-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: end;
  gap: 8px;
  width: calc(100% + 64px);
  margin: 0 -32px;
  padding-bottom: 8px;
  overflow: hidden;
  contain: paint;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeLeft 18s linear infinite;
}

.reverse .track {
  animation-name: marqueeRight;
  animation-duration: 22s;
}

.track-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 22px;
  min-width: max-content;
  padding: 9px 22px 9px 0;
  white-space: nowrap;
}

.track-group span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.track-group span::after {
  content: "/";
  color: rgba(255, 255, 255, 0.34);
}

.footer {
  display: none;
}

.whatsapp-widget {
  position: fixed;
  right: 30px;
  bottom: 132px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--whatsapp);
  text-decoration: none;
  box-shadow:
    0 0 0 12px rgba(37, 211, 102, 0.15),
    0 0 36px rgba(37, 211, 102, 0.7),
    0 18px 58px rgba(0, 0, 0, 0.42);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-widget::before {
  content: "";
  position: absolute;
  inset: -13px;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.44);
  animation: whatsappGlow 1.8s ease-in-out infinite;
}

.whatsapp-widget:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 0 0 14px rgba(37, 211, 102, 0.18),
    0 0 44px rgba(37, 211, 102, 0.82),
    0 24px 70px rgba(0, 0, 0, 0.56);
}

.whatsapp-icon,
.whatsapp-icon svg {
  display: block;
  width: 42px;
  height: 42px;
}

.whatsapp-icon svg {
  fill: #fff;
}

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

@keyframes whatsappGlow {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.95;
  }
}

@keyframes marqueeLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marqueeRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1100px) {
  .maintenance-page {
    grid-template-rows: auto minmax(390px, 1fr) auto;
    padding-inline: 26px;
  }

  .logo {
    width: 230px;
  }

  h1 {
    max-width: 780px;
    font-size: 58px;
  }

  .copy {
    max-width: 600px;
  }

  .marquee-wrap {
    width: calc(100% + 52px);
    margin-inline: -26px;
  }

  .whatsapp-widget {
    right: 24px;
    bottom: 122px;
    width: 66px;
    height: 66px;
  }

  .whatsapp-icon,
  .whatsapp-icon svg {
    width: 38px;
    height: 38px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .maintenance-page {
    grid-template-rows: auto minmax(340px, 1fr) auto;
    min-height: 100dvh;
    padding-top: 18px;
  }

  .hero {
    padding-block: 22px;
  }

  .logo {
    width: 180px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 48px;
  }

  .copy {
    margin-top: 12px;
    font-size: 14px;
  }

  .actions {
    margin-top: 16px;
  }

  .track-group span {
    font-size: 22px;
  }

  .whatsapp-widget {
    bottom: 112px;
  }
}

@media (max-width: 760px) {
  .maintenance-page {
    grid-template-rows: auto minmax(480px, 1fr) auto;
    min-height: 100dvh;
    padding: 18px 18px 0;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 11px;
    gap: 8px;
  }

  .header-note {
    text-align: left;
  }

  .hero {
    padding: 28px 0 30px;
  }

  .logo {
    width: 210px;
    max-width: 82vw;
    margin-bottom: 16px;
  }

  .kicker {
    font-size: 12px;
    letter-spacing: 0.24em;
  }

  h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  .copy {
    max-width: 340px;
    margin-top: 14px;
    font-size: 14px;
  }

  .actions {
    width: 100%;
    max-width: 340px;
    flex-direction: column;
    margin-top: 18px;
  }

  .actions a {
    width: 100%;
  }

  .marquee-wrap {
    width: calc(100% + 36px);
    margin-inline: -18px;
  }

  .track-group span {
    font-size: 22px;
  }

  .whatsapp-widget {
    right: 18px;
    bottom: 116px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-icon,
  .whatsapp-icon svg {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 420px) {
  .maintenance-page {
    grid-template-rows: auto minmax(430px, 1fr) auto;
    padding-inline: 14px;
  }

  .header {
    font-size: 10px;
  }

  .hero {
    padding-block: 22px;
  }

  .logo {
    width: 178px;
  }

  h1 {
    font-size: 36px;
  }

  .copy {
    max-width: 300px;
    font-size: 13px;
  }

  .actions {
    max-width: 300px;
  }

  .marquee-wrap {
    width: calc(100% + 28px);
    margin-inline: -14px;
  }

  .track-group span {
    font-size: 19px;
  }

  .whatsapp-widget {
    right: 14px;
    bottom: 104px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-icon,
  .whatsapp-icon svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-height: 620px) {
  .maintenance-page {
    min-height: 620px;
  }
}
