/* ShroomyBliss portal - clean trippy. Magenta + cyan glow. No clutter. */

:root {
  --bg: #07060c;
  --panel: rgba(18, 14, 28, 0.82);
  --text: #f2eef8;
  --muted: #a89bb8;
  --mag: #e056ff;
  --mag-dim: #9b2fd4;
  --cyan: #4de8ff;
  --line: rgba(224, 86, 255, 0.35);
  --glow: rgba(77, 232, 255, 0.18);
  --font: "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, Consolas, monospace;
  --max: 1080px;
  --radius: 0.85rem;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { filter: brightness(1.12); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* soft wash under canvases */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(224, 86, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(77, 232, 255, 0.09), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(155, 47, 212, 0.05), transparent 60%);
}

/* KALIEDOS-style VFX layers */
.vfx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
#kaleido-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.13;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.85rem 1.25rem;
  background: rgba(7, 6, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--text); }
.brand-orb {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--mag);
  background:
    radial-gradient(circle at 35% 30%, var(--cyan), transparent 45%),
    radial-gradient(circle at 70% 70%, var(--mag), #1a0a24 70%);
  box-shadow: 0 0 18px rgba(224, 86, 255, 0.45);
  animation: orbPulse 3.2s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(224, 86, 255, 0.4); }
  50% { box-shadow: 0 0 26px rgba(77, 232, 255, 0.55), 0 0 8px rgba(224, 86, 255, 0.5); }
}
.brand b { color: var(--mag); letter-spacing: 0.04em; font-size: 0.95rem; }
.brand i { display: block; font-size: 0.7rem; color: var(--muted); font-style: normal; }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a.on { color: var(--cyan); text-shadow: 0 0 10px rgba(77, 232, 255, 0.35); }
.status-pills {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.5rem 0 0.85rem;
}
.status-pill {
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.status-pill.live { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.status-pill.soon-pill { color: var(--cyan); border-color: rgba(77, 232, 255, 0.4); }
.cta-live {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, rgba(224, 86, 255, 0.25), rgba(77, 232, 255, 0.2));
  color: var(--text) !important;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 999px;
  animation: modeGlow 2.6s ease-in-out infinite;
}
@keyframes modeGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(224, 86, 255, 0.25); }
  50% { box-shadow: 0 0 22px rgba(77, 232, 255, 0.35), inset 0 0 12px rgba(224, 86, 255, 0.12); }
}

main {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

/* hero */
.hero {
  display: grid;
  gap: 1.5rem;
  padding: 0.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; }
}
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 1px rgba(77, 232, 255, 0.12),
    0 0 48px rgba(224, 86, 255, 0.2);
  --mx: 50%;
  --my: 40%;
}
.hero-visual img {
  display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(
    circle 42% at var(--mx) var(--my),
    rgba(77, 232, 255, 0.22),
    transparent 70%
  );
  mix-blend-mode: screen;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 6, 12, 0.55) 100%);
  pointer-events: none;
}
.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05; letter-spacing: 0.02em;
}
h1 .mag { color: var(--mag); }
h1 .cyan { color: var(--cyan); }
.aka {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 34rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.15rem; }
.btn {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--mag);
  color: var(--mag);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: transparent;
}
.btn.primary {
  background: linear-gradient(135deg, var(--mag), #7c3aed);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(224, 86, 255, 0.35);
}
.btn.ghost {
  border-color: var(--cyan);
  color: var(--cyan);
}

section { margin: 2.4rem 0; }
section h2 {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mag);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  backdrop-filter: blur(8px);
}
.panel p { margin: 0 0 0.75rem; color: var(--muted); }
.panel p:last-child { margin-bottom: 0; }
.panel strong { color: var(--text); }

/* world card */
.world-card {
  display: grid;
  gap: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: worldGlow 4s ease-in-out infinite;
}
@media (min-width: 720px) {
  .world-card { grid-template-columns: 1.1fr 1fr; }
}
.world-card img {
  width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block;
}
.world-body { padding: 1.15rem 1.25rem 1.35rem; }
.world-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--cyan);
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  margin: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
}
.tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 232, 255, 0.35);
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.warn {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: #f0c674;
}

/* gallery - KALIEDOS-style shader thumbs */
.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.g-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: rgba(12, 10, 20, 0.92);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.g-card:hover {
  border-color: rgba(77, 232, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 86, 255, 0.15);
}
.shader-thumb {
  height: 5.2rem;
  margin-bottom: 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  background: #080810;
}
.shader-thumb::before,
.shader-thumb::after {
  content: "";
  position: absolute;
  inset: -40%;
  animation: shaderFlow 10s linear infinite;
}
.shader-thumb .shader-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.85;
  mix-blend-mode: screen;
}
@keyframes shaderFlow {
  from { transform: rotate(0deg) scale(1.15); }
  to { transform: rotate(360deg) scale(1.15); }
}
.shader-chrome::before {
  background: conic-gradient(from 0deg, #1a0a28, #e056ff, #4de8ff, #1a0a28);
}
.shader-chrome::after {
  background: radial-gradient(circle at 40% 35%, rgba(77, 232, 255, 0.45), transparent 55%);
  animation-duration: 6s;
  mix-blend-mode: screen;
}
.shader-bloom::before {
  background: conic-gradient(from 90deg, #2a1030, #e056ff, #7c3aed, #2a1030);
}
.shader-bloom::after {
  background: radial-gradient(circle at 60% 50%, rgba(224, 86, 255, 0.5), transparent 50%);
  animation-duration: 7s;
  mix-blend-mode: screen;
}
.shader-polar::before {
  background: repeating-conic-gradient(from 0deg, #0c1020, #4de8ff 12deg, #0c1020 24deg);
  animation-duration: 14s;
}
.shader-fractal::before {
  background: conic-gradient(from 180deg, #ff00ff, #00ffcc, #a855f7, #ff00ff);
  animation-duration: 5s;
}
.g-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: var(--text);
}
.g-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.g-card .status {
  margin-bottom: 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.g-card .gid {
  font-size: 0.58rem;
  color: var(--mag-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

@keyframes worldGlow {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 32px rgba(77, 232, 255, 0.12); }
}

.about-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .about-row { grid-template-columns: 140px 1fr; align-items: start; }
}
.about-shot {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 0 24px rgba(224, 86, 255, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0;
  margin: 0 0 1.25rem;
  color: var(--mag);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.lane-list {
  list-style: none; margin: 0; padding: 0;
}
.lane-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.92rem;
}
.lane-list li:last-child { border-bottom: 0; }
.lane-list span:last-child {
  color: var(--mag);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.social-card {
  display: block;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 10, 20, 0.85);
  color: var(--text);
}
.social-card strong { display: block; color: var(--mag); margin-bottom: 0.25rem; }
.social-card span { font-size: 0.82rem; color: var(--muted); }

.note {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid var(--cyan);
  padding-left: 0.85rem;
  margin-top: 1rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #particle-canvas, #kaleido-canvas { display: none; }
  .shader-thumb::before, .shader-thumb::after { animation: none; }
}

@media (max-width: 640px) {
  .nav { width: 100%; order: 3; }
  .topbar { padding: 0.75rem 1rem; }
  .cta-live { font-size: 0.65rem; }
}
