/* ====== Base ====== */
:root{
  --bg0:#050511;
  --bg1:#07071a;
  --ink:#e9ecff;
  --muted:rgba(233,236,255,.72);

  /* Iris palette */
  --c1:#7a5cff; /* violet */
  --c2:#4cc9ff; /* blue-cyan */
  --c3:#ff4fd8; /* magenta */
  --c4:#9bffd6; /* mint */

  /* Mouse-driven highlight (set by JS) */
  --mx:50%;
  --my:40%;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 900px at 50% 30%, rgba(122,92,255,.10), transparent 55%),
              radial-gradient(900px 700px at 65% 45%, rgba(76,201,255,.10), transparent 60%),
              radial-gradient(700px 550px at 35% 55%, rgba(255,79,216,.08), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  color:var(--ink);
  overflow:hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* Canvas behind everything */
#stars{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  display:block;
}

/* Subtle vignette + grain */
body::before{
  content:"";
  position:fixed;
  inset:-2px;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(1000px 700px at 50% 40%, transparent 40%, rgba(0,0,0,.55) 85%),
    radial-gradient(900px 600px at 50% 60%, transparent 45%, rgba(0,0,0,.45) 90%);
  mix-blend-mode:multiply;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:2;
  opacity:.10;
  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='.55'/%3E%3C/svg%3E");
  background-size:220px 220px;
  mix-blend-mode:overlay;
}

/* ====== Layout ====== */
.wrap{
  position:relative;
  z-index:3;
  height:100%;
  width:100%;
  display:grid;
  place-items:center;
  padding: min(7vw, 56px);
}

.hero{
  margin:0;
  line-height:1;
  letter-spacing:-0.04em;
  text-align:center;
}

/* ====== The “mirror iris” text ====== */
.iris{
  position:relative;
  display:inline-block;

  /* Make it BIG */
  font-weight:800;
  font-size: clamp(88px, 18vw, 240px);

  /* The actual shiny/iridescent fill */
  color:transparent;
  background:
    /* Specular highlight that follows mouse */
    radial-gradient(900px 420px at var(--mx) var(--my),
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.35) 10%,
      rgba(255,255,255,.06) 28%,
      transparent 55%
    ),
    /* Iris gradient sweep */
    conic-gradient(from 220deg at 50% 50%,
      var(--c2),
      var(--c1),
      var(--c3),
      var(--c4),
      var(--c2)
    ),
    /* Deep base */
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.18));
  background-blend-mode: screen, color-dodge, normal;

  -webkit-background-clip:text;
  background-clip:text;

  /* Glassy depth */
  filter: drop-shadow(0 18px 45px rgba(0,0,0,.65));
  text-shadow: 0 0 1px rgba(255,255,255,.08);

  /* Subtle animated life */
  animation: hueDrift 8s linear infinite;
}

/* Gloss edge + inner contrast */
.iris::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:-1;
  border-radius: 18px;
  background: radial-gradient(600px 240px at 50% 35%,
      rgba(255,255,255,.18),
      rgba(122,92,255,.10) 35%,
      rgba(76,201,255,.08) 55%,
      transparent 70%
  );
  filter: blur(14px);
  opacity:.9;
}

/* Mirror reflection under the text */
.iris::after{
  content: attr(data-text);
  position:absolute;
  left:0;
  right:0;
  top: calc(100% + 8px);
  transform: scaleY(-1);
  transform-origin: top;
  pointer-events:none;

  /* Same “ink” but weaker */
  color:transparent;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.20),
      rgba(122,92,255,.10),
      rgba(0,0,0,0)
    );
  -webkit-background-clip:text;
  background-clip:text;

  /* Fade out reflection */
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
  filter: blur(.35px);
  opacity:.55;
}

/* Nice micro-contrast line to feel “engraved” */
.iris{
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
}

/* Footer */
.foot{
  position:fixed;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.02em;
  z-index:3;
}

.dot{
  width:8px;height:8px;border-radius:50%;
  background: linear-gradient(135deg, var(--c2), var(--c1), var(--c3));
  box-shadow: 0 0 14px rgba(76,201,255,.35);
}

/* Motion */
@keyframes hueDrift{
  0%{ filter: drop-shadow(0 18px 45px rgba(0,0,0,.65)) hue-rotate(0deg); }
  100%{ filter: drop-shadow(0 18px 45px rgba(0,0,0,.65)) hue-rotate(18deg); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .iris{ animation:none; }
}

/* Disable selection everywhere */
html, body, * {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* old Edge */
  user-select: none;         /* modern */
  -webkit-tap-highlight-color: transparent; /* mobile highlight */
}

/* Optional: avoid drag behavior on images/links */
img, a {
  -webkit-user-drag: none;
  user-drag: none;
}