/* Minimal one-line page, but visually cool + readable */

:root{
  --text: rgba(255,255,255,0.92);
  --shadow: rgba(0,0,0,0.45);
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #070a12;
  overflow: hidden;
}

.center{
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

h1{
  margin: 0;
  font-size: clamp(2.0rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.6px;
  text-shadow: 0 18px 55px var(--shadow);
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.92) 35%, rgba(255,255,255,0.78) 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Background layers */
.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(124,92,255,0.22), transparent 55%),
    radial-gradient(900px 650px at 90% 15%, rgba(0,212,255,0.18), transparent 55%),
    radial-gradient(900px 700px at 55% 100%, rgba(51,255,153,0.12), transparent 55%),
    linear-gradient(180deg, #060812 0%, #070a12 45%, #060812 100%);
}

.blob{
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.55;
  transform: translate3d(0,0,0);
  animation: drift 11s ease-in-out infinite;
}

.b1{ left: -170px; top: -210px; background: rgba(124,92,255,0.34); animation-duration: 12.5s; }
.b2{ right: -240px; top: -150px; background: rgba(0,212,255,0.28); animation-duration: 13.5s; }
.b3{ left: 28%; bottom: -280px; background: rgba(51,255,153,0.20); animation-duration: 14.5s; }

.grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,1), rgba(0,0,0,0.22) 55%, rgba(0,0,0,0) 82%);
}

.noise{
  position:absolute;
  inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* Simple page: still the same one line, but higher contrast + larger */
body.simple{
  background: #ffffff;
  color: #111111;
}

body.simple .bg{ display:none; }

body.simple h1{
  color: #111111;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: none;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .blob{ animation: none !important; }
}

/* Animation */
@keyframes drift{
  0%   { transform: translate3d(0,0,0) scale(1.0); }
  50%  { transform: translate3d(34px, -18px, 0) scale(1.07); }
  100% { transform: translate3d(0,0,0) scale(1.0); }
}
