/* GOODYLIA — the "coming soon" page (bientot.html), published in place of
   the showcase site until launch. Same fonts and colours as site.css,
   without loading it: the page only needs these few rules. */

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff") format("woff");
  font-weight: 200 1000;
  font-display: swap;
}

@font-face {
  font-family: "Tenor Sans";
  src: url("../fonts/tenor-sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2e2622;
  --gold: #c6a16a;
  --gold-text: #85602c;
  --cream: #f8f3ef;
  --sand: #eee4dc;
  --gold-gradient: linear-gradient(120deg, #e4c693 0%, #c6a16a 30%, #a5763c 55%, #d8b780 80%, #c6a16a 100%);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 16px;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(110% 70% at 75% 15%, #fffaf5 0%, rgba(255, 250, 245, 0) 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  overflow-x: clip;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}

/* The soft light blobs of the site's opening. */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  animation: drift 22s ease-in-out infinite alternate;
}

.aurora span:nth-child(1) {
  width: 46vw;
  height: 46vw;
  min-width: 320px;
  min-height: 320px;
  right: -8vw;
  top: -12vw;
  background: radial-gradient(circle, #f1d3c2 0%, rgba(241, 211, 194, 0) 70%);
}

.aurora span:nth-child(2) {
  width: 40vw;
  height: 40vw;
  min-width: 280px;
  min-height: 280px;
  left: -12vw;
  bottom: -14vw;
  background: radial-gradient(circle, #ead6b0 0%, rgba(234, 214, 176, 0) 70%);
  animation-duration: 26s;
  animation-delay: -6s;
}

.aurora span:nth-child(3) {
  width: 30vw;
  height: 30vw;
  min-width: 220px;
  min-height: 220px;
  left: 38vw;
  top: 30vh;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.9;
  animation-duration: 18s;
  animation-delay: -10s;
}

@keyframes drift {
  to {
    transform: translate3d(-6vw, 5vh, 0) scale(1.15);
  }
}

.soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vh, 36px);
  max-width: 640px;
}

.soon-logo {
  margin: 0;
  animation: rise 1.2s var(--ease) both;
}

.soon-logo img {
  display: block;
  width: clamp(170px, 44vw, 240px);
  height: auto;
}

.soon-title {
  margin: 0;
  font-family: "Tenor Sans", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-wrap: balance;
  animation: rise 1.2s var(--ease) 0.25s both;
}

.gold-text {
  background: var(--gold-gradient);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 220% center;
  }
}

/* A glass pill, like the app's bubbles, with a gold dot that breathes. */
.wip {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  margin: 0;
  padding: 11px 20px;
  border: 1px solid rgba(198, 161, 106, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -24px rgba(110, 80, 55, 0.4);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  animation: rise 1.2s var(--ease) 0.5s both;
}

.wip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(198, 161, 106, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(198, 161, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 161, 106, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}
