/* --------------------------------------
   PIXEL BLOOM – GLOBAL THEME
-------------------------------------- */

:root {
  --bg-deep: #050318;
  --bg-panel: rgba(12, 7, 40, 0.96);
  --bg-panel-soft: rgba(15, 10, 50, 0.9);

  --pink: #ff72d2;
  --pink-soft: #ff9ae1;
  --blue: #6fd7ff;
  --purple: #b06cff;
  --yellow: #ffe66f;
  --mint: #7fffd2;
  --white-soft: #fdf7ff;

  --text-main: #fef9ff;
  --text-muted: #c5b9ff;
  --text-soft: #a89beb;

  --border-soft: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.3);

  --shadow-soft: 0 24px 70px rgba(7, 2, 34, 0.9);
  --shadow-neon: 0 0 40px rgba(255, 114, 210, 0.6);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --transition-fast: 160ms ease-out;
  --transition-med: 260ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
  --transition-slow: 400ms ease-out;
}

/* --------------------------------------
   RESET / BASE
-------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body.pixel-bloom {
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 114, 210, 0.2), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(111, 215, 255, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(176, 108, 255, 0.24), transparent 60%),
    var(--bg-deep);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.ev-demo-note{
  display:block;
  margin-top:0.5rem;
  font-size:0.85rem;
  opacity:0.7;
}

/* Grain overlay */
.page-wrap {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  /* IMPORTANT: don't use overflow hidden on a sticky ancestor */
  overflow-x: clip;
  overflow-y: visible;
}

.page-wrap::before {
  content: "";
  position: fixed;
  inset: -40px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.13'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: -1;
}

/* --------------------------------------
   LAYOUT
-------------------------------------- */

.site-header {
  position: fixed;      /* always visible */
  top: 12px;
  left: 0;
  right: 0;
  z-index: 9999;

  padding: 12px 0 8px;

  /* kill any haze/band */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: 999px;

  /* solid-ish glass, no weird top haze */
  background: rgba(6, 3, 26, 0.92);

  /* remove hard border that creates the white side lines */
  border: 0;

  /* keep depth without edge artifacts */
  box-shadow:
    0 14px 55px rgba(5, 3, 28, 0.85),
    0 0 0 1px rgba(255,255,255,0.12);

  position: relative;
  overflow: hidden; /* clips any glow inside pill */
  background-clip: padding-box;
}

/* optional: add a subtle internal glow without edge lines */
.nav-inner::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.22), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(111, 215, 255, 0.16), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.nav-inner > * {
  position: relative;
  z-index: 1;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  position: relative;
  width: 26px;
  height: 26px;
}

.pixel {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 4px;
}

.petal-1 {
  top: 8px;
  left: 9px;
  background: var(--pink);
}
.petal-2 {
  top: 4px;
  left: 15px;
  background: var(--blue);
}
.petal-3 {
  top: 12px;
  left: 15px;
  background: var(--purple);
}
.petal-4 {
  top: 4px;
  left: 3px;
  background: var(--mint);
}
.petal-5 {
  top: 12px;
  left: 3px;
  background: var(--yellow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-top {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

/* Nav links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--text-soft);
  padding: 8px 10px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 114, 210, 0.15), rgba(111, 215, 255, 0.15));
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--white-soft);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  opacity: 1;
  transform: scale(1);
}

.nav-link-pill {
  padding-inline: 16px;
  background: radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.35), transparent 60%),
              rgba(11, 6, 52, 0.95);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-neon);
  text-transform: uppercase;
}

/* Sections */

main {
  max-width: 1120px;
  margin: 0 auto;
  /* add headroom for the fixed HUD nav */
  padding: 96px 20px 80px;
}

.section {
  padding: 40px 0 32px;
  position: relative;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.1), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(111, 215, 255, 0.06), transparent 50%),
              rgba(7, 5, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.9;
  z-index: -1;
}

/* Section headers */

.section-header {
  max-width: 620px;
  margin-bottom: 26px;
}

.section-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.section-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0 0 10px;
}

.section-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Hero */

.hero {
  padding-top: 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-chip {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.4), transparent 55%),
              rgba(9, 4, 39, 0.92);
}

.hero-chip-soft {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(10, 5, 43, 0.9);
}

.hero-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1.02;
  margin: 10px 0 12px;
}

.hero-pop {
  background: linear-gradient(110deg, var(--pink), var(--blue), var(--purple));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  margin: 0 0 18px;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-fast), background var(--transition-fast);
}

.btn-primary {
  color: var(--bg-deep);
  background: linear-gradient(120deg, var(--pink), var(--blue), var(--purple));
  box-shadow: 0 14px 40px rgba(255, 114, 210, 0.7);
}

.btn-primary .btn-orb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(10, 6, 40, 0.95);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(7, 2, 34, 0.95);
}

.btn-template-primary {
  /* inherits base button styling */
}

.btn-template-secondary {
  opacity: 0.9;
  box-shadow: 0 10px 30px rgba(7, 2, 34, 0.7);
}

.btn-template-secondary:hover {
  opacity: 1;
  box-shadow: 0 14px 40px rgba(7, 2, 34, 0.78);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}

/* --------------------------------------
   HERO OS (full-screen)
-------------------------------------- */

.hero.hero-os {
  position: relative;
  /* not full-page anymore – feels like a proper hero */
  min-height: clamp(520px, 72vh, 720px);
  padding: 22px 0 18px;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 18px; /* ensures the next section snaps in nicely */
}

#pixel-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.hero-os-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.hero-os-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-os-title {
  margin: 12px 0 10px;
  line-height: 1.05;
}

.hero-os-title-line {
  display: block;
}

.hero-os-highlight {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: clamp(22px, 2.4vw, 38px);
  letter-spacing: 0.02em;
  text-shadow:
    0 0 18px rgba(255, 114, 210, 0.45),
    0 0 30px rgba(111, 215, 255, 0.25);
}

.hero-os-title-sub {
  display: inline-block;
  margin-top: 10px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text-soft);
}

.hero-os-text {
  margin: 0 0 16px;
  max-width: 56ch;
  color: var(--text-soft);
}

.hero-os-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-os-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* OS panel */
.os-panel {
  border-radius: 24px;
  padding: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(111, 215, 255, 0.25), transparent 60%),
    rgba(9, 4, 35, 0.96);
  border: 1px solid rgba(255,255,255,0.26);
  box-shadow: var(--shadow-soft), var(--shadow-neon);
}

.os-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.os-pill {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
}

.os-status {
  font-size: 0.72rem;
  color: var(--mint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.os-track {
  display: grid;
  grid-template-columns: 120px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.os-art {
  height: 120px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--pink), var(--blue), var(--purple));
  border: 1px solid rgba(255,255,255,0.3);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.os-art-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px; /* match your panel rounding */
}

.os-art-label {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 10px;
  color: rgba(0,0,0,0.72);
  background: rgba(255,255,255,0.85);
  padding: 8px 10px;
  border-radius: 999px;
}

.os-track-title {
  margin: 0 0 3px;
  font-weight: 700;
}

.os-track-sub {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.os-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.os-btn {
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(7, 2, 32, 0.75);
  color: var(--white-soft);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.os-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.55);
}

.os-btn-play {
  background: linear-gradient(120deg, var(--yellow), var(--mint));
  color: var(--bg-deep);
  border-color: rgba(0,0,0,0);
}

.os-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.os-progress-bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
}

.os-progress-fill {
  display: block;
  height: 100%;
  width: 28%;
  background: linear-gradient(120deg, var(--pink), var(--blue));
}

.os-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.os-playlist-title {
  margin: 6px 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.os-playlist-item {
  display: block;
  text-decoration: none;
  color: var(--white-soft);
  font-size: 0.86rem;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-bottom: 8px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.os-playlist-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.32);
}

.os-playlist-item.is-active {
  border-color: rgba(255,255,255,0.36);
  box-shadow: 0 0 28px rgba(255,114,210,0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .hero.hero-os {
    min-height: auto;
  }
  .hero-os-inner {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------
   HERO FILE SELECT (fills dead space)
-------------------------------------- */

.hero-file-select {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding: 14px 14px 16px;
  border-radius: 22px;

  background: rgba(7, 4, 32, 0.62);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 55px rgba(5, 2, 32, 0.55);
}

.hero-file-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hero-file-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-file-title {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hero-file-list {
  display: grid;
  grid-template-columns: 1fr;   /* top-down */
  gap: 10px;
  max-width: 860px;            /* optional: keeps it tight */
  margin: 0 auto;              /* centers the list inside the hero */
}

.hero-file-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.4fr) minmax(0, 1fr) 70px 44px;
  align-items: center;
  gap: 10px;

  width: 100%;
  text-align: left;

  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-soft);

  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-file-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.30);
  box-shadow: 0 18px 40px rgba(5, 2, 32, 0.7);
}

.hero-file-row.is-active {
  border-color: rgba(255,255,255,0.36);
  box-shadow: 0 0 28px rgba(255, 114, 210, 0.30);
}

.hero-file-index {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 10px;
  opacity: 0.9;
}

.hero-file-name {
  font-weight: 700;
}

.hero-file-meta {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-file-time {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-align: right;
  white-space: nowrap;
}

.hero-file-cta {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--yellow), var(--mint));
  color: var(--bg-deep);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-file-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-file-row {
    grid-template-columns: 42px minmax(0, 1fr) 60px 44px;
  }
  .hero-file-meta {
    display: none;
  }
}

/* Hero visual card */

.hero-visual {
  position: relative;
}

.bubble-card {
  position: relative;
  border-radius: 26px;
  padding: 14px 14px 14px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.4), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(111, 215, 255, 0.35), transparent 60%),
    rgba(9, 4, 35, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-soft), var(--shadow-neon);
  overflow: hidden;
}

.bubble-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.6;
  pointer-events: none;
}

.bubble-card > * {
  position: relative;
  z-index: 1;
}

.bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bubble-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
}

.bubble-status {
  font-size: 0.68rem;
  color: var(--pink-soft);
}

.bubble-art-shell {
  position: relative;
  margin-bottom: 12px;
}

.bubble-art-main {
  position: relative;
  height: 170px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, var(--pink), var(--blue), var(--purple)),
    radial-gradient(circle at 10% 0, rgba(255, 230, 111, 0.7), transparent 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bubble-art-text {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bg-deep);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 24px;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(8, 3, 30, 0.9);
}

.bubble-art-shadow {
  position: absolute;
  inset: 16px 18px auto 18px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 100%, rgba(5, 2, 26, 0.9), transparent 60%);
  filter: blur(14px);
  z-index: -1;
}

.bubble-spark {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  mix-blend-mode: screen;
  opacity: 0.8;
}

.spark-1 { top: 18px; left: 24px; background: var(--yellow); }
.spark-2 { top: 26px; right: 28px; background: var(--mint); }
.spark-3 { bottom: 24px; left: 32px; background: var(--blue); }
.spark-4 { bottom: 18px; right: 35px; background: var(--pink-soft); }
.spark-5 { top: 50%; left: 10%; width: 10px; height: 10px; background: var(--white-soft); }

.bubble-meta {
  margin-bottom: 10px;
}

.bubble-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.bubble-sub {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bubble-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.chip {
  font-size: 0.68rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(7, 2, 32, 0.9);
}

.chip-alt {
  border-color: rgba(0, 0, 0, 0);
  background: linear-gradient(120deg, var(--yellow), var(--mint));
  color: var(--bg-deep);
}
.chip-soft {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.4);
}

.bubble-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-btn {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--white-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
}

.bubble-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Orbits */

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.9;
  z-index: -1;
}

.hero-orbit-1 {
  inset: -40px -80px auto auto;
  background: radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.6), transparent 70%);
}
.hero-orbit-2 {
  inset: auto auto -40px -60px;
  background: radial-gradient(circle at 100% 100%, rgba(111, 215, 255, 0.6), transparent 70%);
}
.hero-orbit-3 {
  inset: auto -40px -80px auto;
  background: radial-gradient(circle at 50% 0, rgba(176, 108, 255, 0.6), transparent 70%);
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  background: rgba(7, 4, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 32px rgba(5, 2, 30, 0.85);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 140deg,
    rgba(255, 114, 210, 0.5),
    rgba(111, 215, 255, 0.5),
    rgba(176, 108, 255, 0.5),
    rgba(255, 114, 210, 0.5)
  );
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--transition-med), transform var(--transition-med);
  mix-blend-mode: screen;
}

.feature-card:hover::before {
  opacity: 0.4;
  transform: scale(1.05);
}

.feature-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1rem;
  margin: 0 0 6px;
}

.feature-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Drop grid */

.drop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* --------------------------------------
   TRACKLIST (replaces old 3-card Drops)
-------------------------------------- */

.tracklist {
  display: grid;
  gap: 10px;
  padding: 10px 12px 14px;
}

.track-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.6fr) minmax(0, 1fr) 70px 44px;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: var(--white-soft);

  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);

  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.track-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 40px rgba(5, 2, 32, 0.7);
}

.track-row.is-active {
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 28px rgba(255, 114, 210, 0.35);
}

.track-index {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: 10px;
  opacity: 0.9;
}

.track-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.track-meta {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.track-time {
  color: var(--text-muted);
  font-size: 0.86rem;
  text-align: right;
}

.track-cta {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--yellow), var(--mint));
  color: var(--bg-deep);
  font-weight: 800;
}

@media (max-width: 640px) {
  .track-row {
    grid-template-columns: 42px minmax(0, 1fr) 60px 44px;
  }
  .track-meta {
    display: none;
  }
}

.drop-card {
  border-radius: 20px;
  padding: 11px;
  background: rgba(8, 5, 38, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(5, 2, 32, 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.drop-card:hover {
  transform: translateY(-4px) rotate(-0.7deg);
  box-shadow: 0 26px 60px rgba(5, 2, 32, 0.95);
}

.drop-art {
  position: relative;
  height: 130px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 230, 111, 0.6), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(127, 255, 210, 0.6), transparent 55%),
    linear-gradient(120deg, var(--pink), var(--blue), var(--purple));
  overflow: hidden;
}

.drop-art::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
  opacity: 0.8;
}

/* pills + pixels in drop art */

.drop-pill {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
}

.drop-pill-1 {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 0 0, var(--pink), transparent 70%);
  top: -10px; left: -10px;
}
.drop-pill-2 {
  width: 70px; height: 70px;
  background: radial-gradient(circle at 100% 100%, var(--blue), transparent 70%);
  bottom: -10px; right: -10px;
}
.drop-pill-3 {
  width: 90px; height: 90px;
  background: radial-gradient(circle at 0 0, var(--purple), transparent 70%);
  top: -16px; right: -18px;
}
.drop-pill-4 {
  width: 60px; height: 60px;
  background: radial-gradient(circle at 100% 100%, var(--mint), transparent 70%);
  bottom: -8px; left: -8px;
}
.drop-pill-5 {
  width: 100px; height: 100px;
  background: radial-gradient(circle at 0 0, var(--pink-soft), transparent 70%);
  top: -20px; left: 20px;
}
.drop-pill-6 {
  width: 60px; height: 60px;
  background: radial-gradient(circle at 100% 100%, var(--blue), transparent 70%);
  bottom: -18px; right: 18px;
}

.drop-pixel {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  mix-blend-mode: screen;
}

.drop-pixel-1 { top: 24px; left: 40px; }
.drop-pixel-2 { top: 40px; right: 28px; }
.drop-pixel-3 { bottom: 26px; left: 28px; }
.drop-pixel-4 { top: 30px; left: 30px; }
.drop-pixel-5 { bottom: 25px; right: 32px; }
.drop-pixel-6 { top: 55%; left: 46%; }
.drop-pixel-7 { top: 28px; left: 48px; }
.drop-pixel-8 { bottom: 26px; right: 26px; }
.drop-pixel-9 { top: 52%; left: 62%; }

.drop-body {
  padding: 0 2px 2px;
}

.drop-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  margin: 0 0 4px;
  font-size: 1rem;
}

.drop-meta {
  margin: 0 0 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.drop-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Link cards */

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  background: rgba(9, 5, 38, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-fast);
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(5, 1, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
}

.link-card:hover::before {
  opacity: 1;
}

.link-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.link-orb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--pink), var(--blue));
  box-shadow: 0 0 16px rgba(255, 114, 210, 0.9);
}

.link-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  margin: 4px 0 2px;
  font-size: 1.02rem;
}

.link-text {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.link-cta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--white-soft);
  opacity: 0.9;
}

/* Split / About */

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.split-col-left .section-header {
  margin-bottom: 0;
}

.body-copy {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

/* Demo contact */

.demo-contact {
  padding-top: 12px;
}

.demo-card {
  position: relative;
  padding: 6px 2px 2px;
}

.demo-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.demo-card__subtitle {
  margin: 2px 0 0;
  color: var(--text-soft);
}

.demo-card__body {
  display: grid;
  gap: 10px;
  margin: 4px 0 10px;
}

.demo-card__email {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.demo-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-fake-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--white-soft);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.demo-fake-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(5, 2, 32, 0.7);
}

.demo-card__actions {
  margin-top: 6px;
}

/* CTA */

.section-cta {
  padding-top: 44px;
}

.cta-inner {
  position: relative;
  border-radius: 28px;
  padding: 26px 18px 24px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.5), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(111, 215, 255, 0.45), transparent 60%),
    rgba(7, 3, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 26px 70px rgba(3, 0, 20, 0.95);
  text-align: center;
  overflow: hidden;
}

.cta-inner > * {
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cta-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.9;
  z-index: 0;
}

.cta-orbit-1 {
  inset: -50px -40px auto auto;
  background: radial-gradient(circle at 0 0, rgba(255, 114, 210, 0.8), transparent 70%);
}
.cta-orbit-2 {
  inset: auto auto -60px -40px;
  background: radial-gradient(circle at 100% 100%, rgba(111, 215, 255, 0.8), transparent 70%);
}
.cta-orbit-3 {
  inset: auto -80px -20px auto;
  background: radial-gradient(circle at 50% 0, rgba(176, 108, 255, 0.8), transparent 70%);
}

/* Footer */

.footer {
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-flower {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
}

/* Reuse pixel petals there */

.footer-flower .pixel {
  width: 5px;
  height: 5px;
}

/* --------------------------------------
   RESPONSIVE
-------------------------------------- */

@media (max-width: 900px) {
  .nav-inner {
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  main {
    padding-inline: 16px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-alt::before {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding-inline: 12px;
  }

  .brand-top {
    font-size: 0.96rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .drop-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-card__header {
    flex-direction: column;
  }

  .demo-card__actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .cta-inner {
    text-align: left;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .section-alt::before {
    border-radius: 18px;
  }
}

/* EV nav badge (scoped) */
.ev-navhome{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ev-navhome__badge{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .4px;

  background: var(--ev-brand-purple-soft);
  border: 1px solid var(--ev-brand-purple-border);
  color: var(--ev-brand-purple);
  box-shadow: 0 0 0 transparent;
}

.ev-navhome:hover .ev-navhome__badge{
  background: var(--ev-brand-purple-soft);
  border-color: var(--ev-brand-purple-border);
  box-shadow: 0 0 24px rgba(164, 155, 255, 0.35);
}

:root{
  --ev-brand-purple: #a49bff;
  --ev-brand-purple-soft: rgba(164, 155, 255, 0.16);
  --ev-brand-purple-border: rgba(164, 155, 255, 0.35);
}

.ev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1rem 1.5rem;
  margin-top: 4rem;

  font-size: 0.85rem;
  opacity: 0.8;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c4dff;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  text-decoration: none;
}

.ev-footer__center {
  text-align: center;
  opacity: 0.7;
}

.ev-footer__cta {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.ev-footer__cta:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .ev-footer {
    flex-direction: column;
    text-align: center;
  }
}

.ev-copyright {
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

.demo-safe-link { cursor: pointer; }


/* Footer layout */
.site-footer {
  margin-top: 60px;
  padding: 20px 22px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  color: var(--muted, var(--ink-muted, rgba(255, 255, 255, 0.78)));
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-left {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-right a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-right a:hover {
  color: var(--text, var(--ink-main, #ffffff));
}

@media (max-width: 720px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
  }
}

