/* ============================================================
   MODS — mods.html (grid) and mod.html (one mod)
   Same galaxy / purple language as style.css: Foltzyyy italic
   headings with the white→purple gradient, glassy purple cards.
   ============================================================ */

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* shared glass surface */
.mcard,
.mods__search,
.show,
.feat,
.dock__card {
  background: linear-gradient(135deg, rgba(30,10,60,0.55), rgba(12,4,30,0.6));
  border: 1px solid rgba(176,38,255,0.28);
  box-shadow: 0 0 24px rgba(176,38,255,0.14), inset 0 0 18px rgba(138,43,226,0.08);
  backdrop-filter: blur(8px);
}

.grad-text,
.mods__title,
.show__title,
.mcard__title,
.dock__game b {
  background: linear-gradient(180deg, #fff 0%, var(--purple-light) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(14px, 1.6vw, 17px);
  text-decoration: none;
  color: #fff;
  padding: 13px 26px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at 35% 25%, var(--purple-light), var(--purple) 65%, #5e17a8);
  box-shadow: 0 0 20px rgba(176,38,255,0.5), inset 0 0 10px rgba(255,255,255,0.15);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn .i { font-size: 1.15em; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(176,38,255,0.7); }
.btn--block { width: 100%; padding: 17px 20px; font-size: clamp(16px, 1.7vw, 19px); }
.btn.is-off {
  cursor: default;
  filter: grayscale(0.6) brightness(0.7);
  box-shadow: none;
}
.btn.is-off:hover { transform: none; }

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10,3,24,0.72);
  border: 1px solid rgba(176,38,255,0.45);
  backdrop-filter: blur(6px);
}
.badge--feat,
.tag--feat {
  color: #fff;
  border-color: rgba(199,125,255,0.9);
  background: linear-gradient(90deg, rgba(138,43,226,0.85), rgba(176,38,255,0.7));
  box-shadow: 0 0 14px rgba(176,38,255,0.6);
}

/* ============================================================
   mods.html
   ============================================================ */
body[data-page="mods"] .page,
body[data-page="mod"] .page { align-items: flex-start; }   /* long pages start under the nav */

.mods { width: 100%; max-width: 1180px; min-width: 0; }

.mods__head { text-align: center; margin-bottom: clamp(26px, 4vh, 40px); }
.mods__eyebrow {
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: clamp(12px, 1.5vw, 15px);
  color: var(--purple-light);
  text-shadow: 0 0 10px rgba(176,38,255,0.5);
}
.mods__title {
  margin: 6px 0 10px;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: 3px;
  line-height: 1;
  text-transform: uppercase;
  filter: drop-shadow(0 0 22px rgba(176,38,255,0.5));
}
.mods__lead {
  margin: 0 auto;
  max-width: 56ch;
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.6;
  color: #d9cffa;
}

.mods__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(18px, 3vh, 28px);
}
.mods__search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  max-width: 420px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--purple-light);
  font-size: 18px;
}
.mods__search input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  outline: none;
  background: none;
  color: #fff;
  font: 600 16px "Rajdhani", sans-serif;
  letter-spacing: 1px;
}
.mods__search input::placeholder { color: #8f7fb0; }
.mods__search:focus-within { border-color: rgba(199,125,255,0.8); box-shadow: 0 0 22px rgba(176,38,255,0.35); }

.mods__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(176,38,255,0.35);
  background: rgba(176,38,255,0.08);
  color: #d9cffa;
  font: 700 13px "Rajdhani", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.chip:hover { background: rgba(176,38,255,0.2); color: #fff; }
.chip.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(138,43,226,0.8), rgba(176,38,255,0.65));
  box-shadow: 0 0 16px rgba(176,38,255,0.45);
}
.mods__count {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b9a6d6;
}
.mods__empty { text-align: center; padding: 40px 0; color: #b9a6d6; letter-spacing: 1px; }

.mods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 370px));
  justify-content: center;                 /* a few cards sit centred, many fill the rows */
  gap: clamp(16px, 2.2vw, 26px);
}

/* ---------- card ---------- */
.mcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mcard[hidden] { display: none; }
.mcard:hover {
  transform: translateY(-6px);
  border-color: rgba(199,125,255,0.7);
  box-shadow: 0 18px 40px rgba(176,38,255,0.38), 0 0 0 1px rgba(176,38,255,0.25);
}
.mcard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1a0838, #0a0417);
}
.mcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease;
}
.mcard__media::after {             /* soft shade behind the badges */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,2,20,0.5), transparent 38%),
              linear-gradient(to top, rgba(8,2,20,0.35), transparent 30%);
  pointer-events: none;
}
.mcard:hover .mcard__media img { transform: scale(1.07); filter: brightness(0.62) saturate(1.1); }

.mcard__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

/* the button overlay that slides in on hover */
.mcard__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.mcard:hover .mcard__overlay { opacity: 1; }
.mcard:hover .mcard__btn { pointer-events: auto; }   /* only the buttons catch clicks; the rest of the card opens the mod */
.mcard__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: rgba(12,4,30,0.7);
  border: 1px solid rgba(199,125,255,0.6);
  backdrop-filter: blur(6px);
  transform: translateY(14px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s ease, box-shadow .25s ease;
}
.mcard__btn .i { font-size: 18px; }
.mcard:hover .mcard__btn { transform: translateY(0); }
.mcard__btn:nth-child(2) { transition-delay: .05s; }
.mcard__btn:hover { background: rgba(176,38,255,0.45); box-shadow: 0 0 22px rgba(176,38,255,0.7); }
.mcard__btn--main {
  background: radial-gradient(circle at 35% 25%, var(--purple-light), var(--purple) 65%, #5e17a8);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(176,38,255,0.55);
}

.mcard__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(176,38,255,0.25);
  z-index: 2;
}
.mcard__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple-light);
}
.mcard__title {
  margin: 0;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
  filter: drop-shadow(0 0 12px rgba(176,38,255,0.4));
}
.mcard__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e3d8ff;
}
.mcard__text {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #c9b8e6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mcard__link { position: absolute; inset: 0; z-index: 1; }   /* the whole card opens the mod */
.mcard__noimg { width: 100%; height: 100%; }

/* touch screens have no hover: keep the card simple, tap opens the mod */
@media (hover: none) {
  .mcard__overlay { display: none; }
  .mcard:hover { transform: none; }
  .mcard:hover .mcard__media img { transform: none; filter: none; }
}

/* ============================================================
   mod.html
   ============================================================ */
.mod { width: 100%; max-width: 1180px; min-width: 0; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #c9b8e6;
  transition: color .2s ease, gap .25s ease;
}
.back .i { font-size: 17px; color: var(--purple-light); }
.back:hover { color: #fff; gap: 12px; }

/* ---------- showcase: gallery + title bar in one card ---------- */
.show {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border-color: rgba(199,125,255,0.45);
  box-shadow: 0 0 40px rgba(176,38,255,0.28), 0 24px 60px rgba(0,0,0,0.55);
}
.show__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 40%, #1a0838, #05010d);
}
.show__stage { position: absolute; inset: 0; }
.show__stage img,
.show__stage video,
.show__stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  animation: fade-in .45s ease both;
}
.show__stage video { object-fit: contain; background: #000; }
.show__stage[data-kind="image"] { cursor: zoom-in; }
.show__stage[data-kind="image"]::after {    /* fade the picture into the title bar */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(to top, rgba(10,3,24,0.7), transparent);
  pointer-events: none;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.show__nav,
.show__expand,
.lb__nav,
.lb__close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(199,125,255,0.55);
  background: rgba(10,3,24,0.62);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .25s ease, box-shadow .25s ease, opacity .25s ease, transform .25s ease;
}
.show__nav:hover,
.show__expand:hover,
.lb__nav:hover,
.lb__close:hover { background: rgba(176,38,255,0.5); box-shadow: 0 0 22px rgba(176,38,255,0.7); }
.show__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  font-size: 21px;
  opacity: 0;
  z-index: 2;
}
.show__nav--prev { left: 16px; transform: translateX(-8px); }
.show__nav--next { right: 16px; transform: translateX(8px); }
.show__media:hover .show__nav { opacity: 1; transform: none; }
.show__expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 19px;
  z-index: 2;
}
.show__stage[data-kind="youtube"] ~ .show__expand,
.show__stage[data-kind="video"] ~ .show__expand { display: none; }   /* videos have their own full-screen button */

.show__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(10,3,24,0.55);
  backdrop-filter: blur(6px);
  transition: opacity .3s ease;
}
.show__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width .3s ease, background .3s ease, box-shadow .3s ease;
}
.show__dots span:hover { background: rgba(255,255,255,0.7); }
.show__dots span.is-active {
  width: 24px;
  background: var(--purple-light);
  box-shadow: 0 0 10px var(--purple-neon);
}
.show__stage[data-kind="youtube"] ~ .show__dots,
.show__stage[data-kind="video"] ~ .show__dots { bottom: auto; top: 16px; }   /* keep off the player controls */
/* while a video plays, the gallery dots step aside and the arrows hide with the controls */
.show__media:has(.vp[data-state="playing"]) .show__dots { opacity: 0; pointer-events: none; }
.show__media:has(.vp.is-idle) .show__nav { opacity: 0; pointer-events: none; }

.show__bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title tags" "sub tags";
  align-items: center;
  column-gap: 24px;
  padding: clamp(18px, 2.6vw, 28px) clamp(20px, 3vw, 36px);
  background: linear-gradient(90deg, rgba(110,0,255,0.16), transparent 70%);
}
.show__bar::before {               /* neon seam between picture and bar */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-light) 30%, var(--purple-neon) 70%, transparent);
  box-shadow: 0 0 14px var(--purple-neon);
}
.show__title {
  grid-area: title;
  margin: 0;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  font-size: clamp(36px, 6vw, 68px);
  filter: drop-shadow(0 0 20px rgba(176,38,255,0.5));
}
.show__sub {
  grid-area: sub;
  margin: 6px 0 0;
  font-size: clamp(14px, 1.8vw, 19px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e3d8ff;
}
.show__tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.thumbs {
  position: relative;              /* so a thumb's offsetLeft is measured inside the strip */
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(176,38,255,0.5) transparent;
}
.thumb {
  position: relative;
  flex: none;
  width: 116px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(176,38,255,0.2);
  background: #0a0417;
  opacity: 0.55;
  transition: opacity .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 0.95; transform: translateY(-2px); }
.thumb.is-active {
  opacity: 1;
  border-color: var(--purple-light);
  box-shadow: 0 0 16px rgba(176,38,255,0.6);
}
.thumb__vid { position: absolute; inset: 0; background: radial-gradient(circle, #2a0d52, #0a0417); }
.thumb__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.8));
}

/* ---------- content column + dock ---------- */
.mod__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
  margin-top: clamp(30px, 5vh, 48px);
}
.mod__main { display: flex; flex-direction: column; gap: clamp(34px, 5vh, 50px); min-width: 0; }

.mblock__h {                       /* heading with a neon rule running off to the right */
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
  text-shadow: 0 0 16px rgba(176,38,255,0.75);
}
.mblock__h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(199,125,255,0.8), transparent);
}

.prose p { margin: 0 0 0.8em; max-width: 68ch; font-size: 18px; line-height: 1.7; color: #d9cffa; }
.prose p:last-child { margin-bottom: 0; }

.feats {                            /* each box is as wide as its text, wrapping onto new rows */
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(199,125,255,0.6);
  box-shadow: 0 12px 28px rgba(176,38,255,0.3);
}
.feat__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 18px;
  color: #fff;
  background: radial-gradient(circle at 35% 25%, var(--purple-light), var(--purple) 70%, #4a118a);
  box-shadow: 0 0 14px rgba(176,38,255,0.55);
}
.feat p { margin: 0; font-size: 16px; line-height: 1.5; color: #d9cffa; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding-bottom: 20px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {             /* the glowing line between steps */
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple-light), rgba(138,43,226,0.25));
  box-shadow: 0 0 8px rgba(176,38,255,0.6);
}
.timeline li:last-child::before { display: none; }
.step__n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-size: 17px;
  color: #fff;
  background: radial-gradient(circle at 35% 25%, var(--purple-light), var(--purple) 70%);
  box-shadow: 0 0 0 4px rgba(10,3,24,0.8), 0 0 16px rgba(176,38,255,0.7);
}
.timeline p { margin: 0; padding-top: 7px; font-size: 17px; line-height: 1.55; color: #d9cffa; }

.dock {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dock__card {
  border-radius: 20px;
  padding: 20px;
}
.dock__card--dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-color: rgba(199,125,255,0.5);
  background: radial-gradient(circle at 50% 0%, rgba(110,0,255,0.32), transparent 70%),
              linear-gradient(135deg, rgba(30,10,60,0.6), rgba(12,4,30,0.65));
  box-shadow: 0 0 34px rgba(176,38,255,0.25), inset 0 0 18px rgba(138,43,226,0.1);
}
.dock__game {                      /* full-width game tile */
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(8,2,20,0.5);
  border: 1px solid rgba(176,38,255,0.22);
}
.dock__game > .i {
  font-size: 30px;
  color: var(--purple-light);
  filter: drop-shadow(0 0 8px var(--purple-neon));
}
.dock__game span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dock__game small,
.dock__mirrors small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9d8cbd;
}
.dock__game b {
  font-family: "Foltzyyy", "Rajdhani", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}
.dock__mirrors { display: flex; flex-direction: column; gap: 8px; }
.dock__mirrors a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9cffa;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
}
.dock__mirrors a:hover { color: #fff; }

.dock__h {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple-light);
}
.dock__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dock__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: #d9cffa;
}
.dock__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple-neon);
}
.dock__credits { margin: 0; display: grid; gap: 12px; }
.dock__credits div { padding-left: 12px; border-left: 2px solid rgba(176,38,255,0.45); }
.dock__credits dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9d8cbd;
}
.dock__credits dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.35; }

.mod__more { margin-top: clamp(44px, 7vh, 70px); }
.mod__missing { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- video player ---------- */
.vp {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  outline: none;
}
.vp:focus-visible { box-shadow: inset 0 0 0 2px var(--purple-light); }
.show__stage .vp__video,
.vp__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
  cursor: pointer;
  animation: none;
}
.vp.is-idle,
.vp.is-idle .vp__video { cursor: none; }

.vp__big {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(199,125,255,0.7);
  background: radial-gradient(circle at 35% 25%, rgba(199,125,255,0.92), rgba(138,43,226,0.88) 65%, rgba(94,23,168,0.92));
  box-shadow: 0 0 34px rgba(176,38,255,0.7);
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}
.vp__big .i { margin-left: 4px; }   /* optical centre of the triangle */
.vp__big:hover { transform: scale(1.08); box-shadow: 0 0 46px rgba(176,38,255,0.9); }
.vp[data-state="playing"] .vp__big { opacity: 0; transform: scale(0.85); pointer-events: none; }

.vp__spin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  border: 3px solid rgba(199,125,255,0.25);
  border-top-color: var(--purple-light);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  animation: vp-spin .8s linear infinite;
}
.vp.is-wait[data-state="playing"] .vp__spin { opacity: 1; }
@keyframes vp-spin { to { transform: rotate(360deg); } }

.vp__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 28px 16px 10px;
  background: linear-gradient(to top, rgba(6,1,16,0.9), rgba(6,1,16,0.5) 55%, transparent);
  transition: opacity .3s ease, transform .3s ease;
}
.vp.is-idle .vp__bar,
.vp:not(.has-played) .vp__bar { opacity: 0; transform: translateY(8px); pointer-events: none; }

.vp__seek {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.vp__track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
  transition: height .15s ease;
}
.vp__seek:hover .vp__track,
.vp.is-seeking .vp__track { height: 6px; }
.vp__buf,
.vp__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.vp__buf { background: rgba(255,255,255,0.28); }
.vp__fill {
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  box-shadow: 0 0 10px var(--purple-neon);
}
.vp__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176,38,255,0.6), 0 0 12px var(--purple-neon);
  transform: scale(0);
  transition: transform .15s ease;
  pointer-events: none;
}
.vp__seek:hover .vp__knob,
.vp.is-seeking .vp__knob { transform: scale(1); }
.vp__tip {
  position: absolute;
  bottom: 22px;
  left: 0;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 6px;
  font: 700 12px "Rajdhani", sans-serif;
  letter-spacing: 1px;
  color: #fff;
  white-space: nowrap;
  background: rgba(10,3,24,0.92);
  border: 1px solid rgba(176,38,255,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.vp__seek:hover .vp__tip,
.vp.is-seeking .vp__tip { opacity: 1; }

.vp__row { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.vp__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.vp__btn:hover { background: rgba(176,38,255,0.3); box-shadow: 0 0 14px rgba(176,38,255,0.5); }
.vp__btn .i + .i { display: none; }                         /* each button holds its two states */
.vp[data-state="playing"] .vp__play .i:first-child,
.vp.is-muted .vp__mute .i:first-child,
.vp.is-fs .vp__fs .i:first-child { display: none; }
.vp[data-state="playing"] .vp__play .i + .i,
.vp.is-muted .vp__mute .i + .i,
.vp.is-fs .vp__fs .i + .i { display: block; }

.vp__vol { display: flex; align-items: center; }
.vp__volr {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 4px;
  margin: 0;
  opacity: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--purple-light) var(--p, 80%), rgba(255,255,255,0.25) var(--p, 80%));
  transition: width .25s ease, opacity .25s ease, margin .25s ease;
}
.vp__vol:hover .vp__volr,
.vp__volr:focus-visible { width: 84px; opacity: 1; margin: 0 8px 0 2px; }
.vp__volr::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--purple-neon);
}
.vp__volr::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--purple-neon);
}
.vp__time {
  margin-left: 6px;
  font: 600 14px "Rajdhani", sans-serif;
  letter-spacing: 1px;
  color: #d9cffa;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.vp__time b { color: #fff; font-weight: 700; }
.vp__fs { margin-left: auto; }

/* full screen is this same player, filling the screen */
.vp:fullscreen { background: #000; }
.vp:-webkit-full-screen { width: 100%; height: 100%; }
.vp.is-fs .vp__bar { padding: 40px 28px 18px; }
.vp.is-fs .vp__btn { width: 46px; height: 46px; font-size: 25px; }
.vp.is-fs .vp__time { font-size: 16px; }

/* touch screens set volume with the hardware buttons */
@media (hover: none) {
  .vp__volr { display: none; }
}

/* ---------- full-screen preview ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(4,1,12,0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .25s ease;
}
.lb.is-on { opacity: 1; }
.lb__stage {
  width: min(94vw, calc(84vh * 16 / 9));
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  transform: scale(0.96);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.lb.is-on .lb__stage { transform: none; }
.lb__stage img,
.lb__stage video,
.lb__stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(176,38,255,0.35);
  animation: fade-in .35s ease both;
}
.lb__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
}
.lb__nav {
  position: fixed;
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  border-radius: 50%;
  font-size: 24px;
}
.lb__nav--prev { left: 20px; }
.lb__nav--next { right: 20px; }
.lb__count {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #d9cffa;
}
html.lb-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .mod__grid { grid-template-columns: 1fr; row-gap: 16px; }
  .mod__main { margin: 18px 0; }
  .dock { display: contents; }                    /* its cards join the column: */
  .dock__card--dl { order: -1; }                  /* download right under the showcase, the rest after the content */
  .dock__card--dl { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .dock__card--dl .btn--block { height: 100%; }
  .dock__mirrors { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .mods__grid { grid-template-columns: 1fr; }
  .show { border-radius: 18px; }
  .show__nav { opacity: 1; transform: none; width: 38px; height: 38px; margin-top: -19px; font-size: 18px; }
  .show__nav--prev { left: 10px; }
  .show__nav--next { right: 10px; }
  .show__expand { right: 10px; bottom: 10px; width: 36px; height: 36px; font-size: 16px; }
  .show__dots { bottom: 10px; }
  .show__bar { grid-template-columns: 1fr; grid-template-areas: "tags" "title" "sub"; row-gap: 8px; }
  .show__tags { justify-content: flex-start; }
  .show__sub { margin-top: 0; letter-spacing: 2px; }
  .thumb { width: 96px; }
  .vp__big { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 26px; }
  .vp__bar { padding: 20px 8px 4px; }
  .vp__btn { width: 36px; height: 36px; font-size: 19px; }
  .vp__time { font-size: 12.5px; }
  .dock__card--dl { grid-template-columns: 1fr; }
  .feat { flex: 1 1 100%; }
  .lb__nav { width: 44px; height: 44px; margin-top: -22px; }
  .lb__nav--prev { left: 8px; }
  .lb__nav--next { right: 8px; }
}
