:root {
  --bg: #090909;
  --text: #f5f5f5;
  --muted: #cccccf;
  --line: rgba(255, 255, 255, 0.2);
  --panel: rgba(0, 0, 0, 0.4);
}

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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(125deg, rgba(0, 0, 0, 0.32), rgba(8, 8, 8, 0.2)),
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.08), transparent 42%),
    url("assets/fundo01.webp") center / cover no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
  pointer-events: none;
  z-index: -1;
}

.coming-soon {
  min-height: 100dvh;
  height: 100dvh;
  padding-top: max(clamp(0.9rem, 2vw, 1.4rem), env(safe-area-inset-top));
  padding-right: max(clamp(0.9rem, 2vw, 1.4rem), env(safe-area-inset-right));
  padding-bottom: max(clamp(2.2rem, 4vw, 2.8rem), calc(env(safe-area-inset-bottom) + 2.1rem));
  padding-left: max(clamp(0.9rem, 2vw, 1.4rem), env(safe-area-inset-left));
  display: grid;
  place-items: center;
  position: relative;
}

.panel {
  width: min(68rem, 100%);
  height: min(100%, 48rem);
  max-height: 48rem;
  padding: clamp(1.3rem, 3.2vw, 2.7rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(2.2px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(0.6rem, 1.6vh, 1.2rem);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.24);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand p {
  margin: 0;
  font: 800 clamp(0.95rem, 2.7vw, 1.7rem) / 0.95 "Syne", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 999px;
  background: #ff2b2b;
  box-shadow: 0 0 1rem rgba(255, 43, 43, 0.9);
}

.content {
  align-self: center;
  max-width: 34rem;
  width: 100%;
}

.content h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.05rem, 5.5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-align: center;
}

.content p {
  margin: 0.95rem 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 0.95rem;
}

.legal {
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: max(0.55rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  font-size: clamp(0.56rem, 1.55vw, 0.66rem);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  width: 100%;
  pointer-events: none;
  padding-inline: 0.6rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e8e8ea;
}

.status::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f0f0f0;
}

.footer a {
  color: #ff3b3b;
  text-decoration: none;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 59, 59, 0.55);
  border-radius: 0.45rem;
  background: rgba(255, 59, 59, 0.12);
  transition: opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  text-wrap: balance;
}

.footer a:hover {
  opacity: 1;
  border-color: #ff6b6b;
  background: rgba(255, 59, 59, 0.22);
}

.is-ready .panel {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 42rem) {
  .coming-soon {
    padding-top: max(0.7rem, env(safe-area-inset-top));
    padding-right: max(0.7rem, env(safe-area-inset-right));
    padding-bottom: max(2.4rem, calc(env(safe-area-inset-bottom) + 2.3rem));
    padding-left: max(0.7rem, env(safe-area-inset-left));
  }

  .panel {
    max-height: none;
    border-radius: 1.05rem;
    padding: 1.05rem;
    gap: 0.8rem;
  }

  .content {
    max-width: 100%;
  }

  .content h1 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
    line-height: 1;
  }

  .content p {
    margin-top: 0.75rem;
    max-width: 100%;
    font-size: clamp(0.92rem, 3.55vw, 1.12rem);
    line-height: 1.5;
  }

  .footer {
    justify-content: center;
    gap: 0.45rem;
    padding-top: 0.8rem;
  }

  .footer a {
    width: 100%;
    text-align: center;
    font-size: clamp(0.9rem, 3.9vw, 1.08rem);
    padding: 0.5rem 0.6rem;
  }
}

@media (max-height: 43rem) {
  .coming-soon {
    padding-bottom: max(2.1rem, calc(env(safe-area-inset-bottom) + 1.9rem));
  }

  .panel {
    padding: 0.9rem;
    gap: 0.55rem;
  }

  .content h1 {
    font-size: clamp(1.45rem, 4vw, 2.2rem);
  }

  .content p {
    margin-top: 0.55rem;
    font-size: clamp(0.82rem, 2vw, 0.95rem);
    line-height: 1.36;
  }

  .footer {
    padding-top: 0.55rem;
  }

  .footer a {
    font-size: clamp(0.84rem, 1.7vw, 0.98rem);
    padding: 0.35rem 0.45rem;
  }

  .brand p {
    font-size: clamp(0.84rem, 2vw, 1.12rem);
  }
}

@media (max-width: 23.5rem) {
  .panel {
    padding: 0.8rem;
    border-radius: 0.9rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 0.76rem;
    height: 0.76rem;
  }

  .content h1 {
    font-size: clamp(1.5rem, 9.2vw, 2rem);
  }

  .content p {
    font-size: 0.86rem;
  }

  .footer {
    padding-top: 0.45rem;
  }

  .legal {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel {
    transition: none;
  }

  .is-ready .panel {
    animation: none;
  }
}
