/* Eventyca · Coming Soon
   Brand truth pulled from eventyca.com (2026-08-27):
   violet #630ED4 · indigo #2D1B69 · ink #1A1A2E · lavender #9B6FD4 · Plus Jakarta Sans */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/jakarta.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #630ED4;
  --indigo: #2D1B69;
  --ink: #1A1A2E;
  --lavender: #9B6FD4;
  --magenta: #DC64B4;
  --canvas: #FBFAFF;
  --muted: #6B5E86;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* ---- Ambient canvas ------------------------------------------------ */

.stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 72px 24px;
  overflow: hidden;
  isolation: isolate;
}

/* base wash · mirrors the site's hero gradient direction */
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(200deg, #F2EEFF 0%, #F8F5FF 38%, #FFFFFF 68%, #FBFAFF 100%);
}

/* soft vignette so the centre reads brighter than the edges */
.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 45%, transparent 40%, rgba(45, 27, 105, 0.06) 100%);
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  filter: blur(90px);
}

.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.72;
  will-change: transform;
}

.aurora .a1 {
  width: 44vmax; height: 44vmax;
  top: -6%; left: -8%;
  background: radial-gradient(circle, rgba(99, 14, 212, 0.34) 0%, rgba(99, 14, 212, 0) 68%);
  animation: drift-a 26s ease-in-out infinite;
}

.aurora .a2 {
  width: 38vmax; height: 38vmax;
  bottom: -10%; right: -6%;
  background: radial-gradient(circle, rgba(220, 100, 180, 0.30) 0%, rgba(220, 100, 180, 0) 68%);
  animation: drift-b 32s ease-in-out infinite;
}

.aurora .a3 {
  width: 30vmax; height: 30vmax;
  top: 40%; left: 52%;
  background: radial-gradient(circle, rgba(155, 111, 212, 0.22) 0%, rgba(155, 111, 212, 0) 70%);
  animation: drift-c 38s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(6vw, 5vh, 0) scale(1.12); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); }
  50%      { transform: translate3d(-7vw, -4vh, 0) scale(0.94); }
}
@keyframes drift-c {
  0%, 100% { transform: translate3d(-50%, -50%, 0) scale(1); }
  50%      { transform: translate3d(-42%, -60%, 0) scale(1.15); }
}

/* ---- Content ------------------------------------------------------- */

.plate {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.logo {
  display: block;
  width: clamp(196px, 44vw, 344px);
  height: auto;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rule {
  position: relative;
  width: 88px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(99, 14, 212, 0) 0%, var(--violet) 30%, var(--magenta) 72%, rgba(220, 100, 180, 0) 100%);
  overflow: hidden;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.rule::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: sweep 3.6s ease-in-out infinite 1.2s;
}

@keyframes sweep {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 5.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  background: linear-gradient(120deg, var(--indigo) 0%, var(--violet) 52%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .stage { padding: 56px 22px; }
  .plate { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora span,
  .rule::after,
  .logo, .rule, h1 { animation: none !important; }
  .logo, .rule, h1 { opacity: 1; transform: none; }
}
