/* agappmaker.in "Coming soon": the AG APP dark look (deep plum, coral to pink to violet light), one screen, no JavaScript. */
@font-face { font-family: "Outfit"; src: url(/assets/fonts/outfit.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --plum: #150A26;
  --display: "Outfit", system-ui, sans-serif;
  --warm-grad: linear-gradient(95deg, #FFBE72 0%, #FF7D8A 48%, #FF5EC4 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--plum); }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: #fff; background: var(--plum); -webkit-font-smoothing: antialiased; }
svg { display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.stage { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: max(26px, env(safe-area-inset-top)) clamp(20px, 5vw, 56px) max(24px, env(safe-area-inset-bottom));
  background: linear-gradient(135deg, #1D0E31 0%, #170B29 50%, #120A24 100%); }

/* soft coloured light in the four corners, drifting very slowly */
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.blob-coral  { width: 70vmax; height: 70vmax; left: -26vmax; top: -30vmax; background: radial-gradient(circle, rgba(255, 92, 104, .44), transparent 64%); }
.blob-pink   { width: 62vmax; height: 62vmax; right: -24vmax; top: -26vmax; background: radial-gradient(circle, rgba(232, 64, 176, .34), transparent 64%); animation-duration: 31s; animation-delay: -9s; }
.blob-amber  { width: 56vmax; height: 56vmax; left: -22vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(255, 164, 76, .26), transparent 64%); animation-duration: 29s; animation-delay: -14s; }
.blob-violet { width: 68vmax; height: 68vmax; right: -26vmax; bottom: -32vmax; background: radial-gradient(circle, rgba(124, 84, 255, .40), transparent 64%); animation-duration: 34s; animation-delay: -5s; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(4vmax, 3vmax, 0); } }

/* the mark, very large and faint, in the lower right corner */
.watermark { position: absolute; z-index: -1; pointer-events: none; width: min(78vmin, 760px); height: min(78vmin, 760px);
  right: -14vmin; bottom: -20vmin; opacity: .04; transform: rotate(-8deg); }

/* brand */
.top { display: flex; align-items: center; gap: 10px; }
.top-mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 6px 12px rgba(255, 80, 100, .35)); }
.name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .01em; white-space: nowrap; }

/* centre */
.hero { align-self: center; justify-self: center; display: grid; justify-items: center; text-align: center; padding: 56px 0 48px; }

.art { position: relative; width: 148px; height: 148px; display: grid; place-items: center; }
/* three thin rings around the tile, fading out before they reach the heading */
.halo { position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 74%); mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 74%); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.ring-1 { width: 196px; height: 196px; border: 1px solid rgba(255, 214, 230, .14); }
.ring-2 { width: 276px; height: 276px; border: 1px solid rgba(255, 214, 230, .09); }
.ring-3 { width: 372px; height: 372px; border: 1px solid rgba(255, 214, 230, .05); }

.spark { position: absolute; fill: #FFE4EE; filter: drop-shadow(0 0 6px rgba(255, 150, 190, .9)); }
.s1 { width: 16px; height: 16px; left: -46px; top: -6px; opacity: .85; }
.s2 { width: 10px; height: 10px; right: -40px; top: -30px; opacity: .7; }
.s3 { width: 13px; height: 13px; right: -58px; bottom: 6px; opacity: .75; }
.s4 { width: 8px; height: 8px; left: -24px; bottom: -40px; opacity: .6; }

/* the mark on a glossy glass tile, floating gently */
.tile { position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .03) 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 30px 60px -22px rgba(0, 0, 0, .65), 0 0 90px -10px rgba(255, 92, 120, .45);
  animation: float 6s ease-in-out infinite alternate; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 52%); }
.tile-mark { width: 88px; height: 88px; filter: drop-shadow(0 12px 18px rgba(255, 80, 100, .45)); }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* The gradient fill only paints inside the heading's box, so the box reaches below the "g" tail
   (padding-bottom), and the same negative margin keeps the space under the heading unchanged. */
.hero h1 { margin: 46px 0 -.12em; padding: 0 .04em .12em; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em;
  font-size: clamp(44px, min(12vw, 19vh), 132px); white-space: nowrap;
  background: linear-gradient(180deg, #FFFFFF 40%, #FFE2EC 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .28)); }
.soon { padding-right: .05em; background: var(--warm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { margin: 18px 0 0; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.6; font-weight: 500; color: rgba(255, 238, 245, .78); }

/* footer */
.bottom { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: rgba(255, 238, 245, .62); }
.heart { width: 15px; height: 15px; fill: #FF6B8B; filter: drop-shadow(0 0 6px rgba(255, 107, 139, .6)); }

@media (max-width: 560px) {
  .top { justify-content: center; }
  .hero { padding: 40px 0 36px; }
  .art { width: 120px; height: 120px; }
  .tile { width: 112px; height: 112px; border-radius: 30px; }
  .tile-mark { width: 74px; height: 74px; }
  .halo { width: 320px; height: 320px; }
  .ring-1 { width: 164px; height: 164px; }
  .ring-2 { width: 232px; height: 232px; }
  .ring-3 { width: 312px; height: 312px; }
  .hero h1 { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) { .blob, .tile { animation: none; } }
