/* Stream Mascot — clean product landing */

:root {
  --bg: #09070e;
  --bg-elev: #110e18;
  --bg-soft: #17121f;
  --line: rgba(232, 210, 255, 0.1);
  --text: #f4eefb;
  --muted: #a897bc;
  --accent: #c084fc;
  --accent-2: #e879a9;
  --accent-soft: rgba(192, 132, 252, 0.14);
  --radius: 14px;
  --max: 1080px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.6;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(192, 132, 252, 0.16), transparent 55%),
    radial-gradient(700px 420px at 0% 30%, rgba(232, 121, 169, 0.08), transparent 50%),
    var(--bg);
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--accent-soft);
  color: #e9d5ff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.95rem clamp(1.1rem, 3vw, 2rem);
  backdrop-filter: blur(16px);
  background: rgba(9, 7, 14, 0.78);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo--hero {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(120deg, #fff 20%, #e9d5ff 55%, #f5c2e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a:hover { color: var(--text); }

.site-header .btn { margin-left: auto; }

@media (min-width: 820px) {
  .site-nav { display: flex; }
  .site-header .btn { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.88rem; }

.btn--primary {
  background: linear-gradient(135deg, #d8b4fe, #e879a9);
  color: #1a0b22;
}

.btn--primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(232, 210, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
  border-color: rgba(192, 132, 252, 0.45);
  background: var(--accent-soft);
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Hero */
.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.1rem, 3vw, 2rem);
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
    min-height: calc(100svh - 70px);
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ddd0ef;
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.platforms {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.platforms__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.platforms__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(168, 151, 188, 0.5);
}

.hero__visual {
  position: relative;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 16 / 10;
}

.hero__video,
.hero__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__poster {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero__video[data-failed] + .hero__poster { opacity: 1; }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.1rem, 3vw, 2rem);
}

.section__intro {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

.section__intro--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.muted {
  margin: 0;
  color: var(--muted);
}

/* Process */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.process li {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.process__n {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.process h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Stream preview video */
.section--preview {
  padding-top: 0.5rem;
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}

.preview-frame {
  width: min(900px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1744 / 964;
  background: #0e0e10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.preview-frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Compat */
.section--split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .section--split {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
  }
}

.checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.compat-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(192, 132, 252, 0.08), rgba(255, 255, 255, 0.02));
}

.compat-panel__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
}

/* Light band — roster + free CTA share a continuous white background */
.section--light {
  --light-text: #1a1225;
  --light-muted: #5c5268;
  --light-line: rgba(26, 18, 37, 0.12);
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-inline: clamp(1.1rem, 3vw, 2rem);
  background: #fff;
  color: var(--light-text);
}

.section--light .muted,
.section--light .mascot-grid__page,
.section--light .mascot-grid__status {
  color: var(--light-muted);
}

.section--roster .mascot-grid,
.section--roster .roster-header,
.section--roster .mascot-grid__status,
.section--light .cta-band {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.roster-header {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.roster-header__copy {
  min-width: 0;
  flex: 0 1 auto;
}

.roster-header__copy .label {
  margin-bottom: 0.35rem;
}

.roster-header__copy h2 {
  margin: 0;
}

.section--roster .nav-btn {
  border-color: var(--light-line);
  background: rgba(26, 18, 37, 0.03);
  color: var(--light-text);
}

.section--roster .nav-btn:hover {
  border-color: rgba(192, 132, 252, 0.5);
  background: var(--accent-soft);
}

.section--roster .mascot-grid__cell video {
  filter: drop-shadow(0 10px 22px rgba(26, 18, 37, 0.1));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Full roster grid — large cells, few columns, no frames */
.mascot-grid {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.mascot-search {
  --mascot-search-height: 40px;
  position: relative;
  flex: 0 1 22rem;
  width: 100%;
  max-width: 22rem;
  height: var(--mascot-search-height);
  margin: 0;
}

.mascot-search__label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-muted);
  pointer-events: none;
  z-index: 1;
}

.mascot-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.78;
}

.mascot-search__icon svg {
  width: 16px;
  height: 16px;
}

.mascot-search__input {
  box-sizing: border-box;
  width: 100%;
  height: var(--mascot-search-height);
  min-height: var(--mascot-search-height);
  margin: 0;
  padding: 0 16px 0 40px;
  border: none;
  border-radius: 9999px;
  background-color: #ece8f1;
  color: var(--light-text);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  outline: none;
  transition: background-color 0.2s ease;
}

.mascot-search__input::placeholder {
  color: var(--light-muted);
  opacity: 0.9;
  font-weight: 400;
}

.mascot-search__input:hover {
  background-color: #e4dff0;
}

.mascot-search__input:focus {
  outline: none;
  background-color: #ddd7eb;
}

.mascot-search__input::-webkit-search-cancel-button {
  display: none;
}

.mascot-grid__status {
  margin: 0 auto 1rem;
  min-height: 1.35em;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
}

.mascot-grid__status[hidden] {
  display: block !important;
  visibility: hidden;
}

@media (max-width: 640px) {
  .roster-header {
    flex-direction: column;
    align-items: stretch;
  }

  .mascot-search {
    max-width: none;
    flex-basis: auto;
  }
}

.mascot-grid__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.4rem;
  align-items: end;
  width: 100%;
}

@media (min-width: 640px) {
  .mascot-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem 0.5rem;
  }
}

@media (min-width: 900px) {
  .mascot-grid__items {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem 0.55rem;
  }
}

.mascot-grid__cell {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  aspect-ratio: 2 / 1;
  min-height: 120px;
  opacity: 0.92;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mascot-grid__cell:focus-visible {
  outline: 2px solid rgba(192, 132, 252, 0.7);
  outline-offset: 3px;
  opacity: 1;
}

@media (min-width: 640px) {
  .mascot-grid__cell {
    min-height: 140px;
  }
}

@media (min-width: 900px) {
  .mascot-grid__cell {
    min-height: 155px;
  }
}

.mascot-grid__cell:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.mascot-grid__cell video,
.mascot-grid__cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  pointer-events: none;
}

.mascot-grid__cell video {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}

.mascot-grid__cell--placeholder {
  opacity: 0.85;
  cursor: default;
  pointer-events: none;
}

.mascot-grid__cell--placeholder:hover {
  opacity: 0.85;
  transform: none;
}

.mascot-grid__cell--placeholder img {
  filter: none;
}

.mascot-grid__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  min-height: 2.5rem;
}

.mascot-grid__page {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.mascot-grid__pager[data-single-page] {
  visibility: hidden;
  pointer-events: none;
}

/* Mascot detail modal — white panel, same light-band language */
body.is-modal-open {
  overflow: hidden;
}

.mascot-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 2.75rem;
}

.mascot-modal[hidden] {
  display: none;
}

.mascot-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 7, 14, 0.62);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.mascot-modal__panel {
  --light-text: #1a1225;
  --light-muted: #5c5268;
  --light-line: rgba(26, 18, 37, 0.12);
  --light-bg: #f7f4fa;
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(88vh, 860px);
  overflow: visible;
  border-radius: 22px;
  border: 1px solid var(--light-line);
  background: #fff;
  color: var(--light-text);
  box-shadow: 0 28px 80px rgba(9, 7, 14, 0.38);
  animation: mascot-modal-in 0.28s var(--ease);
}

@keyframes mascot-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mascot-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--light-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--light-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mascot-modal__close:hover {
  border-color: rgba(192, 132, 252, 0.55);
  background: #f3e8ff;
  transform: scale(1.04);
}

.mascot-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: 22px;
}

.mascot-modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem 1.35rem;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(192, 132, 252, 0.1), transparent 70%),
    var(--light-bg);
  border-right: 1px solid var(--light-line);
  min-width: 0;
}

.mascot-modal__stage {
  position: relative;
}

.mascot-modal__viewport {
  position: relative;
  width: 100%;
  min-height: min(52vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.mascot-modal__slides {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-modal__slide {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.mascot-modal__slide.mascot-modal__slide--active:not([hidden]) {
  display: flex;
}

.mascot-modal__slide[hidden] {
  display: none !important;
}

.mascot-modal__media {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(58vh, 460px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(26, 18, 37, 0.14);
  background: #fff;
}

.mascot-modal__media--video {
  pointer-events: none;
}

.mascot-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--light-text);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 18, 37, 0.14);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.mascot-modal__nav:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.mascot-modal__nav:disabled {
  opacity: 0.32;
  cursor: default;
}

.mascot-modal__nav--prev { left: 8px; }
.mascot-modal__nav--next { right: 8px; }

.mascot-modal__counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--light-muted);
  box-shadow: 0 2px 10px rgba(26, 18, 37, 0.08);
}

.mascot-modal__counter[hidden] {
  display: none;
}

.mascot-modal__thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.mascot-modal__thumbs[hidden] {
  display: none;
}

.mascot-modal__thumb {
  position: relative;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mascot-modal__thumb img,
.mascot-modal__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.mascot-modal__thumb:hover {
  transform: translateY(-2px);
}

.mascot-modal__thumb--active {
  border-color: #a78bfa;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.22);
}

.mascot-modal__thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 18, 37, 0.38);
  color: #fff;
  font-size: 1.05rem;
  pointer-events: none;
}

.mascot-modal__info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2.1rem 1.6rem 2.6rem;
  min-width: 0;
}

.mascot-modal__info .label {
  margin: 0;
  color: #8b5cf6;
}

.mascot-modal__info h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--light-text);
  padding-right: 2rem;
}

.mascot-modal__blurb {
  margin: 0;
  color: var(--light-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mascot-modal__features {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-top: 0.15rem;
}

.mascot-modal__feature-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.mascot-modal__bubbles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mascot-modal__bubble {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 18, 37, 0.1);
  background: #f3eef8;
  color: #3b2f4f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  animation: mascot-bubble-in 0.38s var(--ease) forwards;
}

.mascot-modal__bubble--alert {
  font-family: var(--font);
  background: #fff;
  border-color: rgba(139, 92, 246, 0.28);
  color: #6d28d9;
}

.mascot-modal__bubbles li:nth-child(1) .mascot-modal__bubble { animation-delay: 0.04s; }
.mascot-modal__bubbles li:nth-child(2) .mascot-modal__bubble { animation-delay: 0.07s; }
.mascot-modal__bubbles li:nth-child(3) .mascot-modal__bubble { animation-delay: 0.1s; }
.mascot-modal__bubbles li:nth-child(4) .mascot-modal__bubble { animation-delay: 0.13s; }
.mascot-modal__bubbles li:nth-child(5) .mascot-modal__bubble { animation-delay: 0.16s; }
.mascot-modal__bubbles li:nth-child(6) .mascot-modal__bubble { animation-delay: 0.19s; }
.mascot-modal__bubbles li:nth-child(7) .mascot-modal__bubble { animation-delay: 0.22s; }
.mascot-modal__bubbles li:nth-child(8) .mascot-modal__bubble { animation-delay: 0.25s; }
.mascot-modal__bubbles li:nth-child(9) .mascot-modal__bubble { animation-delay: 0.28s; }
.mascot-modal__bubbles li:nth-child(10) .mascot-modal__bubble { animation-delay: 0.31s; }
.mascot-modal__bubbles li:nth-child(11) .mascot-modal__bubble { animation-delay: 0.34s; }
.mascot-modal__bubbles li:nth-child(12) .mascot-modal__bubble { animation-delay: 0.37s; }
.mascot-modal__bubbles li:nth-child(13) .mascot-modal__bubble { animation-delay: 0.4s; }
.mascot-modal__bubbles li:nth-child(14) .mascot-modal__bubble { animation-delay: 0.43s; }

@keyframes mascot-bubble-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.mascot-modal__purchase {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  width: min(320px, calc(100% - 2.5rem));
  margin: 0;
  padding: 0;
  border: none;
  transform: translate(-50%, 50%);
  pointer-events: none;
}

.mascot-modal__purchase[hidden] {
  display: none;
}

.mascot-modal__buy {
  width: 100%;
  pointer-events: auto;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}

@media (max-width: 820px) {
  .mascot-modal__layout {
    grid-template-columns: 1fr;
  }

  .mascot-modal__gallery {
    border-right: none;
    border-bottom: 1px solid var(--light-line);
  }

  .mascot-modal__viewport {
    min-height: min(42vh, 320px);
  }

  .mascot-modal__media {
    max-height: min(42vh, 320px);
  }

  .mascot-modal__info {
    padding: 1.35rem 1.25rem 2.4rem;
  }

  .mascot-modal__info h2 {
    padding-right: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-modal__bubble {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* CTA */
.cta-band {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 2.4rem);
  border-radius: 20px;
  border: 1px solid rgba(192, 132, 252, 0.35);
  background: rgba(192, 132, 252, 0.1);
}

@media (min-width: 720px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
  }
}

.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band .muted { max-width: 34rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.1rem, 3vw, 2rem) 5.5rem;
  color: var(--muted);
}

.site-footer__row {
  max-width: var(--max);
  margin: 0 auto 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer strong {
  font-family: var(--display);
  color: var(--text);
  font-weight: 600;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer nav a:hover { color: var(--text); }

.site-footer__legal {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.82rem;
}

/* Neo chip — discreet, peeks from right */
.neo-chip {
  position: fixed;
  right: 0;
  bottom: 1.25rem;
  z-index: 50;
  /* Fermée : seul le logo dépasse (~padding gauche + img) */
  transform: translateX(calc(100% - 2.6rem));
  transition: transform 0.3s var(--ease);
}

.neo-chip.is-visible,
.neo-chip:hover,
.neo-chip:focus-within {
  transform: translateX(0);
}

.neo-chip a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 999px 0 0 999px;
  border: 1px solid var(--line);
  border-right: none;
  background: rgba(17, 14, 24, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.neo-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.neo-chip span {
  display: grid;
  line-height: 1.15;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  padding-right: 0.25rem;
}

.neo-chip small {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 700px) {
  .neo-chip {
    bottom: 12px;
    transform: translateX(calc(100% - 2.4rem));
  }
  .neo-chip span { display: none; }
  .neo-chip a { padding-right: 0.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
