:root {
  --bg: #1e1f22;
  --bg2: #2b2d31;
  --bg3: #313338;
  --accent: #5b8def;
  --accent-deep: #3b6fd9;
  --pastel-mint: #86efac;
  --pastel-rose: #5b8def;
  --pastel-lavender: #7aa2f7;
  --text: #dbdee1;
  --header: #f2f3f5;
  --muted: #949ba4;
  --border: rgba(255, 255, 255, 0.08);
  --discord-bg: #313338;
  --discord-sidebar: #2b2d31;
  --discord-link: #00a8fc;
  --font: "Noto Sans", "gg sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 64px;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(59, 111, 217, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 5%, rgba(91, 141, 239, 0.12), transparent 45%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(30, 31, 34, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--header);
  text-decoration: none;
  font-family: Unbounded, var(--font);
  font-weight: 800;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span { color: var(--pastel-rose); }

.topbar-actions { display: flex; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 4px;
  padding: 8px 14px;
  background: var(--accent-deep);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.btn.ghost {
  background: var(--bg3);
  color: var(--text);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.35fr);
  gap: 16px 28px;
  align-items: center;
  min-height: min(90vh, 860px);
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 28px 12px;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 440px;
}

.brand-mark-text {
  margin: 0 0 8px;
  font-family: Unbounded, var(--font);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--header);
  line-height: 0.95;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: Unbounded, var(--font);
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #b7c0cc;
}

.hero-lead {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
  max-width: 40ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn.big {
  padding: 12px 18px;
  font-size: 14px;
  border-radius: 8px;
}

.hero-collage {
  position: relative;
  min-height: 580px;
  height: 100%;
  perspective: 1400px;
}

.collage-glow {
  position: absolute;
  inset: 4% 0 8% 4%;
  background:
    radial-gradient(ellipse 55% 45% at 48% 42%, rgba(91, 141, 239, 0.36), transparent 70%),
    radial-gradient(ellipse 40% 35% at 72% 58%, rgba(237, 66, 69, 0.1), transparent 70%);
  filter: blur(36px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  50% { opacity: 0.75; transform: scale(1.05); }
}

.shot-card {
  position: absolute;
  margin: 0;
  z-index: 2;
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.55));
  transform-style: preserve-3d;
  will-change: transform;
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.shot-card.c-main {
  width: min(86%, 560px);
  top: 2%;
  left: 0;
  z-index: 4;
  transform: rotateX(5deg) rotateY(-12deg) rotateZ(-2deg);
  animation: floatMain 8s ease-in-out infinite;
}

.shot-card.c-search {
  width: min(88%, 580px);
  top: 16%;
  right: -2%;
  z-index: 5;
  transform: rotateX(4deg) rotateY(14deg) rotateZ(2.5deg);
  animation: floatSearch 9s ease-in-out infinite;
}

.shot-card.c-queue {
  width: min(80%, 520px);
  bottom: -2%;
  left: 12%;
  z-index: 6;
  transform: rotateX(3deg) rotateY(-8deg) rotateZ(-1.5deg);
  animation: floatQueue 7.5s ease-in-out infinite;
}

@keyframes floatMain {
  0%, 100% { transform: rotateX(5deg) rotateY(-12deg) rotateZ(-2deg) translateY(0); }
  50% { transform: rotateX(5deg) rotateY(-12deg) rotateZ(-2deg) translateY(-12px); }
}
@keyframes floatSearch {
  0%, 100% { transform: rotateX(4deg) rotateY(14deg) rotateZ(2.5deg) translateY(0); }
  50% { transform: rotateX(4deg) rotateY(14deg) rotateZ(2.5deg) translateY(-16px); }
}
@keyframes floatQueue {
  0%, 100% { transform: rotateX(3deg) rotateY(-8deg) rotateZ(-1.5deg) translateY(0); }
  50% { transform: rotateX(3deg) rotateY(-8deg) rotateZ(-1.5deg) translateY(-11px); }
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section-head h2 {
  margin: 0;
  font-family: Unbounded, var(--font);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--header);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.5;
}

.live-intro {
  padding-top: 28px;
  padding-bottom: 8px;
  scroll-snap-align: start;
}

.live-wide {
  max-width: 1560px;
}

.shot-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 64px);
  height: calc(100svh - 64px);
  max-width: 1560px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.shot-panel-sm {
  min-height: calc(82svh - 64px);
  height: calc(82svh - 64px);
  padding-top: 20px;
  padding-bottom: 28px;
}

.shot-band {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vh, 28px);
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 0;
  flex: 1;
  justify-content: center;
}

.shot-band.reverse .shot-band-copy {
  align-self: flex-end;
  text-align: right;
}

.shot-band-copy h3 {
  margin: 0 0 10px;
  font-family: Unbounded, var(--font);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  color: var(--header);
}

.shot-band-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 16px;
  max-width: 48ch;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 32px);
  align-items: end;
  perspective: 1400px;
  perspective-origin: center center;
  width: 100%;
  min-height: 0;
}

.shot-row.duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.shot-panel-sm .shot-row.duo {
  max-width: 860px;
}

.float-shot {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(0, 0, 0, 0.22) 100%
  );
  cursor: zoom-in;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.3s ease, box-shadow 0.25s ease, background 0.25s ease;
  transform-origin: center bottom;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 14px 32px rgba(0, 0, 0, 0.46),
    0 4px 10px rgba(0, 0, 0, 0.28);
}

.float-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  object-fit: contain;
  margin-inline: auto;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #16171a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease;
  pointer-events: none;
}

.shot-panel-sm .float-shot img {
  max-height: min(40vh, 400px);
}

.shot-panel-panel {
  height: auto;
  min-height: calc(100svh - 64px);
  padding-top: 24px;
  padding-bottom: 40px;
}

.shot-row.panel-web {
  display: grid;
  grid-template-columns: 1.35fr 1.05fr 0.72fr;
  grid-template-rows: auto auto;
  gap: clamp(12px, 1.6vw, 22px);
  align-items: stretch;
}

.shot-row.panel-web .feat {
  grid-column: 1 / 3;
  grid-row: 1;
  display: flex;
  justify-content: center;
}

.shot-row.panel-web .q {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: stretch;
}

.shot-row.panel-web .p {
  grid-column: 1;
  grid-row: 2;
}

.shot-row.panel-web .f {
  grid-column: 2;
  grid-row: 2;
}

.shot-row.panel-web .float-shot {
  width: fit-content;
  max-width: 100%;
  height: auto;
}

.shot-row.panel-web .float-shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.shot-row.panel-web .feat img {
  max-height: min(48vh, 540px);
}

.shot-row.panel-web .p img,
.shot-row.panel-web .f img {
  max-height: min(28vh, 280px);
}

.shot-row.panel-web .q img {
  max-height: min(72vh, 620px);
  width: auto;
  margin-inline: auto;
}

.float-shot.tilt-l {
  transform: rotateX(3deg) rotateY(-8deg) rotateZ(-2.4deg) translateY(8px);
  animation: floatTiltL 7.8s ease-in-out infinite;
}

.float-shot.tilt-l2 {
  transform: rotateX(2deg) rotateY(-5deg) rotateZ(-1.6deg) translateY(14px);
  animation: floatTiltL2 8.6s ease-in-out infinite;
  animation-delay: -2.2s;
}

.float-shot.tilt-r {
  transform: rotateX(2deg) rotateY(9deg) rotateZ(2.6deg) translateY(2px);
  animation: floatTiltR 8.2s ease-in-out infinite;
  animation-delay: -1.1s;
}

.float-shot.tilt-r2 {
  transform: rotateX(3deg) rotateY(7deg) rotateZ(1.8deg) translateY(10px);
  animation: floatTiltR2 7.4s ease-in-out infinite;
  animation-delay: -3.4s;
}

@keyframes floatTiltL {
  0%, 100% { transform: rotateX(3deg) rotateY(-8deg) rotateZ(-2.4deg) translateY(8px); }
  50% { transform: rotateX(3deg) rotateY(-8deg) rotateZ(-2.4deg) translateY(-10px); }
}

@keyframes floatTiltL2 {
  0%, 100% { transform: rotateX(2deg) rotateY(-5deg) rotateZ(-1.6deg) translateY(14px); }
  50% { transform: rotateX(2deg) rotateY(-5deg) rotateZ(-1.6deg) translateY(-6px); }
}

@keyframes floatTiltR {
  0%, 100% { transform: rotateX(2deg) rotateY(9deg) rotateZ(2.6deg) translateY(2px); }
  50% { transform: rotateX(2deg) rotateY(9deg) rotateZ(2.6deg) translateY(-12px); }
}

@keyframes floatTiltR2 {
  0%, 100% { transform: rotateX(3deg) rotateY(7deg) rotateZ(1.8deg) translateY(10px); }
  50% { transform: rotateX(3deg) rotateY(7deg) rotateZ(1.8deg) translateY(-8px); }
}

.float-shot:hover {
  z-index: 3;
  position: relative;
  animation-play-state: paused;
  background: linear-gradient(
    155deg,
    rgba(168, 194, 255, 0.32) 0%,
    rgba(91, 141, 239, 0.1) 45%,
    rgba(0, 0, 0, 0.18) 100%
  );
  box-shadow:
    0 0 0 1px rgba(91, 141, 239, 0.28),
    0 22px 48px rgba(0, 0, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.float-shot:hover img {
  border-color: rgba(168, 194, 255, 0.38);
}

.float-shot.tilt-l:hover {
  transform: rotateX(1deg) rotateY(-3deg) rotateZ(-0.8deg) translateY(-6px) scale(1.04);
}

.float-shot.tilt-l2:hover {
  transform: rotateX(1deg) rotateY(-2deg) rotateZ(-0.5deg) translateY(-2px) scale(1.04);
}

.float-shot.tilt-r:hover {
  transform: rotateX(1deg) rotateY(3deg) rotateZ(0.8deg) translateY(-8px) scale(1.04);
}

.float-shot.tilt-r2:hover {
  transform: rotateX(1deg) rotateY(2deg) rotateZ(0.6deg) translateY(-4px) scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: lbIn 0.22s ease;
}

.lightbox[hidden] { display: none; }

@keyframes lbIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.lightbox-frame {
  margin: 0;
  width: fit-content;
  max-width: 98vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: framePop 0.28s cubic-bezier(0.2, 0.85, 0.25, 1);
}

@keyframes framePop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.lightbox-frame.is-wide {
  width: 98vw;
  max-width: 98vw;
}

.lightbox-frame.is-wide img {
  width: 98vw;
  max-width: 98vw;
  height: auto;
  max-height: calc(94vh - 48px);
  object-fit: contain;
}

.lightbox-frame.is-tall img {
  width: auto;
  max-width: min(92vw, 720px);
  height: auto;
  max-height: calc(94vh - 48px);
}

.lightbox-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 98vw;
  max-height: calc(94vh - 48px);
  object-fit: contain;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.04),
    0 28px 72px rgba(0, 0, 0, 0.7);
}

.lightbox-frame figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  max-width: 90vw;
}

.real-shot {
  margin-top: 12px;
}

.real-shot-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pastel-mint);
}

.real-shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #151618;
  cursor: zoom-in;
}

.real-shot-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.cmds-section {
  scroll-snap-align: start;
}

.cmds-section .hero,
.cmds-section .click-hint { display: none; }

@media (max-width: 960px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }
  .hero-collage {
    min-height: 400px;
    order: -1;
  }
  .shot-card.c-main { width: 84%; left: 0; }
  .shot-card.c-search { width: 78%; right: -2%; top: 26%; }
  .shot-card.c-queue { width: 70%; left: 12%; }
  .shot-panel,
  .shot-panel-sm,
  .shot-panel-panel {
    height: auto;
    min-height: calc(100svh - 64px);
    padding: 32px 18px;
  }
  .shot-panel-sm {
    min-height: calc(88svh - 64px);
  }
  .shot-row.panel-web {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .shot-row.panel-web .feat {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .shot-row.panel-web .q {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 360px;
    margin-inline: auto;
  }
  .shot-row.panel-web .p,
  .shot-row.panel-web .f {
    grid-column: auto;
    grid-row: auto;
  }
  .float-shot img {
    max-height: min(36vh, 360px);
  }
  .shot-panel-sm .float-shot img {
    max-height: min(30vh, 300px);
  }
  .shot-band.reverse .shot-band-copy {
    align-self: center;
    text-align: center;
  }
  .shot-band-copy { text-align: center; }
  .shot-band-copy p { max-width: 48ch; margin-inline: auto; }
}

@media (max-width: 560px) {
  .hero-collage { min-height: 320px; }
  .shot-card.c-queue { width: 68%; }
  .shot-row,
  .shot-row.duo { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .shot-row.panel-web {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .shot-row.panel-web .q { max-width: 280px; }
  .float-shot img {
    max-height: none;
  }
  .float-shot.tilt-l,
  .float-shot.tilt-l2,
  .float-shot.tilt-r,
  .float-shot.tilt-r2 {
    transform: none;
    animation: none;
  }
  .shot-card.c-main,
  .shot-card.c-search,
  .shot-card.c-queue {
    animation: none;
  }
  html {
    scroll-snap-type: y proximity;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .shot-card,
  .collage-glow,
  .float-shot { animation: none !important; transition: none !important; }
}

.hero {
  text-align: center;
  margin-bottom: 28px;
  display: none;
}

.hero h1 {
  font-family: Unbounded, var(--font);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 0;
  color: var(--header);
}

.hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0;
  line-height: 1.5;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  position: relative;
  z-index: 1;
}

.stat-pill {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}

.stat-pill strong { color: var(--pastel-lavender); }

.click-hint {
  margin: 8px 0 0;
  max-width: 520px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(237, 66, 69, 0.12);
  border: 1px solid rgba(237, 66, 69, 0.45);
  color: #f38ba8;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 0;
  box-sizing: border-box;
  animation: hintPulse 2.8s ease-in-out infinite;
}

@keyframes hintPulse {
  50% { box-shadow: 0 0 24px rgba(237, 66, 69, 0.25); }
}

.search-box { max-width: 520px; margin: 28px auto 14px; }

.search-box input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font: inherit;
  outline: none;
}

.search-box input:focus { border-color: var(--accent); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #1e1f22;
  border-color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.card-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--accent));
}

.card-item:hover {
  transform: translateY(-3px);
  border-color: var(--card-color, var(--accent));
}

.card-top { display: flex; gap: 10px; margin-bottom: 8px; }
.card-icon { font-size: 22px; }
.card-name {
  margin: 0;
  font-family: Unbounded, var(--font);
  font-size: 15px;
  color: var(--header);
}
.card-cat {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.live-tag {
  color: var(--pastel-mint);
  letter-spacing: 0.04em;
}

.demo-shot-inline {
  margin-top: 10px;
}
.card-desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.empty-state { text-align: center; color: var(--muted); padding: 40px; }

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.detail-overlay[hidden] { display: none; }

.detail-wrap { position: relative; width: min(960px, 100%); }

.detail-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  z-index: 2;
}

.detail-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-height: 90vh;
}

.detail-info { padding: 24px; overflow-y: auto; }
.detail-demo { padding: 20px; background: #1e1f22; overflow-y: auto; }

.detail-title { font-family: Unbounded, var(--font); margin: 4px 0 10px; color: var(--header); }
.detail-usage {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg3);
  color: var(--pastel-lavender);
  font-size: 13px;
  margin-bottom: 12px;
}
.detail-desc { color: var(--muted); font-size: 14px; line-height: 1.5; }

.feature-list { list-style: none; padding: 0; margin: 16px 0 0; }
.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.feature-list li::before { content: "✓ "; color: var(--pastel-mint); font-weight: 800; }

.gif-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.demo-actions {
  margin-top: 10px;
}

.demo-actions .btn {
  width: 100%;
  justify-content: center;
  background: var(--bg3);
}

.demo-gif {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
  display: block;
}

/* Discord mock — jak w prezentacji All-In / Fifarafy v3 */
.discord-mock {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #111214;
  background: var(--discord-bg);
}

.discord-header {
  background: var(--discord-sidebar);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #f2f3f5;
  border-bottom: 1px solid #1f2023;
}

.discord-header .hash { color: #80848e; }

.discord-messages {
  padding: 12px;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-composer-wrap { margin: 4px 0 8px; }
.discord-composer { background: #383a40; border-radius: 8px; padding: 2px; }
.discord-composer-box {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #404249;
  border-radius: 6px;
  min-height: 44px;
}
.discord-composer-slash { color: #949ba4; font-weight: 700; margin-right: 2px; }
.discord-composer-text { color: #dbdee1; }
.discord-composer-cursor {
  width: 2px;
  height: 18px;
  background: #dbdee1;
  margin-left: 1px;
  animation: cursorBlink 0.9s step-end infinite;
}
@keyframes cursorBlink { 50% { opacity: 0; } }
.discord-composer-sent { animation: composerSent 0.35s forwards; }
@keyframes composerSent { to { opacity: 0; transform: translateY(8px); } }

.discord-autocomplete {
  margin-top: 4px;
  background: #2b2d31;
  border: 1px solid #1e1f22;
  border-radius: 8px;
  overflow: hidden;
}
.discord-ac-header {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #949ba4;
  text-transform: uppercase;
}
.discord-ac-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: #404249;
}
.discord-ac-cmd { color: #00a8fc; font-weight: 500; }
.discord-ac-desc { color: #949ba4; font-size: 12px; }

.discord-options-panel {
  margin-top: 6px;
  background: #2b2d31;
  border-radius: 6px;
  border: 1px solid #1e1f22;
  padding: 6px 0;
}
.discord-opt-row {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  animation: staggerIn 0.35s forwards;
  animation-delay: calc(var(--stagger) * 0.12s);
}
.discord-opt-key { color: #949ba4; min-width: 90px; }
.discord-opt-val { color: #00a8fc; font-weight: 500; }

.discord-thinking {
  display: flex;
  gap: 10px;
  opacity: 0;
  color: #949ba4;
  font-size: 13px;
  font-style: italic;
}
.discord-thinking.show { animation: msgIn 0.3s forwards; }
.discord-thinking.hide { animation: fadeOut 0.25s forwards; }
.discord-thinking-avatar,
.discord-reply-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.discord-thinking-body { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.discord-thinking-name { color: #f2f3f5; font-weight: 500; font-style: normal; }
.discord-dots { display: inline-flex; gap: 3px; }
.discord-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #949ba4;
  animation: dotBounce 1.2s ease-in-out infinite;
}
.discord-dots span:nth-child(2) { animation-delay: 0.15s; }
.discord-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.discord-reply {
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(4px);
}
.discord-reply.show { animation: msgIn 0.35s forwards; }
.discord-cmd-used { font-size: 12px; color: #b5bac1; margin-bottom: 2px; }
.discord-cmd-used strong { color: #f2f3f5; font-weight: 500; }
.cmd-chip { color: var(--discord-link); }
.discord-reply-meta { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.discord-reply-name { font-size: 14px; font-weight: 500; color: #f2f3f5; }
.discord-app-tag {
  background: #5865f2;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 3px;
}
.discord-timestamp { font-size: 12px; color: #949ba4; }
.discord-text { font-size: 14px; line-height: 1.4; color: #dbdee1; white-space: pre-wrap; }

.discord-embed {
  margin-top: 4px;
  border-left: 4px solid var(--embed-color, #3b6fd9);
  background: #2b2d31;
  border-radius: 4px;
  padding: 8px 12px 10px 10px;
}
.discord-embed-title { font-size: 14px; font-weight: 600; color: #f2f3f5; margin-bottom: 4px; }
.discord-embed-desc { font-size: 13px; color: #dbdee1; line-height: 1.4; white-space: pre-wrap; }
.discord-embed-fields { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.discord-embed-field-name { font-size: 12px; font-weight: 600; color: #f2f3f5; }
.discord-embed-field-value { font-size: 14px; color: #dbdee1; }
.discord-embed-footer { font-size: 12px; color: #949ba4; margin-top: 8px; }
.discord-embed-reveal { animation: embedReveal 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes embedReveal {
  from { opacity: 0; transform: scale(0.96) translateY(6px); }
  to { opacity: 1; transform: none; }
}

.discord-buttons { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.discord-btn {
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  border: none;
}
.discord-btn.primary { background: #5865f2; color: #fff; }
.discord-btn.secondary { background: #4e5058; color: #fff; }
.discord-btn.danger { background: #ed4245; color: #fff; }
.discord-btn.success { background: #248046; color: #fff; }
.discord-btn-pulse { animation: btnPulse 0.6s ease; }
@keyframes btnPulse {
  50% { box-shadow: 0 0 0 6px rgba(88, 101, 242, 0); }
}

.discord-stagger { animation: staggerIn 0.4s forwards; animation-delay: calc(var(--stagger) * 0.1s); }
@keyframes staggerIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes msgIn { to { opacity: 1; transform: none; } }
@keyframes fadeOut { to { opacity: 0; } }
.discord-fade-in { animation: msgIn 0.35s forwards; }

.discord-inline-code {
  background: #1e1f22;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 13px;
}

@media (max-width: 768px) {
  .detail-panel { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; }
}

@media (min-width: 1440px) {
  .wrap {
    max-width: min(90vw, 1480px);
    padding-left: clamp(24px, 3vw, 56px);
    padding-right: clamp(24px, 3vw, 56px);
  }

  .hero-stage {
    max-width: min(92vw, 1720px);
    gap: 28px 52px;
    min-height: min(88vh, 940px);
    padding: 36px 40px 16px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-collage {
    min-height: 640px;
  }

  .shot-card.c-main { width: min(88%, 660px); }
  .shot-card.c-search { width: min(90%, 680px); }
  .shot-card.c-queue { width: min(82%, 620px); }

  .shot-panel,
  .shot-panel-sm,
  .shot-panel-panel {
    padding: clamp(44px, 4vw, 72px) clamp(32px, 4vw, 88px);
  }

  .shot-row.panel-web {
    max-width: min(92vw, 1560px);
    gap: clamp(18px, 2.2vw, 36px);
  }

  .float-shot img {
    max-height: min(70vh, 780px);
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 17px;
  }

  .wrap {
    max-width: min(88vw, 1820px);
  }

  .hero-stage {
    max-width: min(90vw, 1960px);
    gap: 32px 64px;
  }

  .hero-copy h1 {
    font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  }

  .section-head h2 {
    font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  }

  .shot-panel,
  .shot-panel-sm,
  .shot-panel-panel {
    min-height: calc(100svh - 64px);
  }

  .shot-row.panel-web {
    max-width: min(90vw, 1760px);
  }

  .float-shot img {
    max-height: min(74vh, 860px);
  }
}

@media (min-width: 2560px) {
  html {
    font-size: 18px;
  }

  .wrap {
    max-width: min(84vw, 2140px);
  }

  .hero-stage {
    max-width: min(86vw, 2280px);
  }

  .float-shot img {
    max-height: min(76vh, 920px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .click-hint,
  .discord-thinking,
  .discord-reply,
  .discord-embed-reveal,
  .discord-stagger,
  .discord-fade-in { animation: none !important; opacity: 1 !important; transform: none !important; }
}
