:root{
  --bg: #000;
  --cta: #0099FF;
  --alt: #00FA92;

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);

  --card: rgba(10,10,10,.62);
  --cardBorder: rgba(255,255,255,.08);
  --shadow: 0 18px 70px rgba(0,0,0,.70);

  --radius: 22px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  overflow-x: hidden;
}

/* Fullscreen canvas */
#swirl{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
}

/* Soft glows layered over the canvas (subtle) */
.glow{
  position: fixed;
  inset: -20vmax;
  z-index: 1;
  pointer-events: none;
  filter: blur(50px);
  opacity: .35;
  mix-blend-mode: screen;
  transform: translateZ(0);
}

.glow-a{
  background:
    radial-gradient(closest-side at 30% 30%,
      rgba(0,153,255,.55),
      rgba(0,153,255,0) 60%),
    radial-gradient(closest-side at 70% 65%,
      rgba(0,250,146,.45),
      rgba(0,250,146,0) 62%);
  animation: driftA 10s ease-in-out infinite alternate;
}

.glow-b{
  background:
    radial-gradient(closest-side at 70% 30%,
      rgba(0,250,146,.35),
      rgba(0,250,146,0) 60%),
    radial-gradient(closest-side at 30% 70%,
      rgba(0,153,255,.35),
      rgba(0,153,255,0) 60%);
  animation: driftB 12s ease-in-out infinite alternate;
  opacity: .25;
}

@keyframes driftA{
  from{ transform: translate3d(-2%, -1%, 0) scale(1); }
  to  { transform: translate3d( 2%,  1%, 0) scale(1.06); }
}
@keyframes driftB{
  from{ transform: translate3d( 2%,  1%, 0) scale(1.02); }
  to  { transform: translate3d(-2%, -1%, 0) scale(1.10); }
}

/* Film grain/noise overlay */
.noise{
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .08;
  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='.75'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
}

/* Layout */
.wrap{
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 20px 40px;
}

.card{
  width: min(920px, 92vw);
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12,12,12,.62), rgba(8,8,8,.52));
  border: 1px solid var(--cardBorder);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Subtle animated border sheen */
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from 180deg,
    rgba(0,153,255,0),
    rgba(0,153,255,.35),
    rgba(0,250,146,.25),
    rgba(0,153,255,0)
  );
  opacity: .55;
  filter: blur(10px);
  z-index: 0;
  animation: spin 6.5s linear infinite;
}
.card::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius: calc(var(--radius) - 1px);
  background: rgba(0,0,0,.55);
  z-index: 0;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

.logoWrap,
.title,
.subtitle,
.actions,
.meta{
  position: relative;
  z-index: 1;
}

.logoWrap{
  display:flex;
  justify-content:center;
  padding: 18px 8px 6px;
}

.logo{
  width: min(520px, 78vw);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;

  /* Keep it crisp on black and add depth */
  filter:
    drop-shadow(0 10px 30px rgba(0,0,0,.80))
    drop-shadow(0 0 16px rgba(0,153,255,.18))
    drop-shadow(0 0 18px rgba(0,250,146,.12));
}

.title{
  margin: 10px 0 6px;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: .2px;
  text-align: center;
}

.subtitle{
  margin: 0 auto 18px;
  max-width: 62ch;
  text-align: center;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15.5px;
}

.actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  align-items:center;
  flex-wrap: wrap;
  padding-top: 6px;
}

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 14.5px;

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 25px rgba(0,0,0,.45);
  transform: translateZ(0);
  transition: transform .12s ease, border-color .12s ease, filter .12s ease;
}

.btn:active{ transform: translateY(1px); }

.btn.primary{
  color: rgba(0,0,0,.90);
  background: linear-gradient(90deg, var(--cta), var(--alt));
  border-color: rgba(255,255,255,.14);
  overflow: hidden;
}

.btn.primary .btnGlow{
  position:absolute;
  inset:-60%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.65), rgba(255,255,255,0) 55%);
  opacity: .22;
  transform: translateX(-30%);
  animation: sweep 2.8s ease-in-out infinite;
}

@keyframes sweep{
  0%{ transform: translateX(-45%); }
  50%{ transform: translateX(25%); }
  100%{ transform: translateX(-45%); }
}

.btn.ghost{
  color: var(--text);
  background: rgba(255,255,255,.04);
  border-color: rgba(0,153,255,.18);
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  filter: brightness(1.05);
}

.meta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding-top: 18px;
  color: var(--muted2);
  font-size: 13px;
}

.dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cta), var(--alt));
  box-shadow: 0 0 18px rgba(0,153,255,.25), 0 0 18px rgba(0,250,146,.20);
}

/* Footer */
.footer{
  width: min(920px, 92vw);
  margin-top: 18px;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
.footerLine{
  height: 1px;
  background: linear-gradient(90deg, rgba(0,153,255,0), rgba(0,153,255,.35), rgba(0,250,146,.25), rgba(0,250,146,0));
  margin: 18px auto 14px;
  width: min(680px, 90%);
  opacity: .55;
}

code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  color: rgba(255,255,255,.80);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .glow, .card::before, .btnGlow{ animation: none !important; }
}
