:root {
  --bg: #080a12;
  --bg-alt: #0d101c;
  --card: rgba(19, 24, 41, 0.78);
  --card-border: rgba(132, 165, 224, 0.16);
  --text: #eef4ff;
  --muted: #98a9c9;
  --crimson: #ff4458;
  --amber: #ffae38;
  --cyan: #6df2ff;
  --purple: #a76bff;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.pixel {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(8, 10, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(109, 242, 255, 0.35);
}
.brand-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}
.brand-ver {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.nav-links {
  display: flex;
  gap: 16px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.87rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #ff4458 0%, #ff7b3b 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 68, 88, 0.34);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 68, 88, 0.48);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cyan);
  border: 1px solid rgba(109, 242, 255, 0.28);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
}
.btn-ghost:hover { background: rgba(109, 242, 255, 0.14); }
.btn-sm { padding: 9px 15px; font-size: 0.86rem; }
.btn-lg { padding: 14px 24px; font-size: 0.98rem; }
.file-size {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  background: rgba(0, 0, 0, 0.24);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 72px 0 84px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(109, 242, 255, 0.09);
  border: 1px solid rgba(109, 242, 255, 0.25);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.grad-text {
  background: linear-gradient(120deg, #ff5364 0%, #ffbe46 50%, #6df2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 58ch;
}
.hero-subtitle strong { color: var(--text); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Interactive 3D Isometric Minecraft Cube Stage */
.hero-stage {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 29, 52, 0.85), rgba(11, 14, 26, 0.94));
  border: 1px solid rgba(132, 165, 224, 0.22);
  border-radius: 26px;
  padding: 34px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.stage-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 242, 255, 0.34), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
  transition: background 0.4s ease;
}
.cube-scene {
  width: 170px;
  height: 170px;
  perspective: 720px;
  margin: 18px 0 34px;
  display: grid;
  place-items: center;
}
.mc-cube {
  --size: 128px;
  width: var(--size);
  height: var(--size);
  position: relative;
  transform-style: preserve-3d;
  animation: spinCube 12s linear infinite;
}
.mc-cube:hover { animation-play-state: paused; }
@keyframes spinCube {
  0%   { transform: rotateX(-22deg) rotateY(0deg); }
  100% { transform: rotateX(-22deg) rotateY(360deg); }
}
.mc-cube .face {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background-size: 100% 100%;
  image-rendering: pixelated;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
}
.mc-cube .front  { transform: translateZ(calc(var(--size) / 2)); }
.mc-cube .back   { transform: rotateY(180deg) translateZ(calc(var(--size) / 2)); filter: brightness(0.82); }
.mc-cube .right  { transform: rotateY(90deg) translateZ(calc(var(--size) / 2)); filter: brightness(0.88); }
.mc-cube .left   { transform: rotateY(-90deg) translateZ(calc(var(--size) / 2)); filter: brightness(0.88); }
.mc-cube .top    { transform: rotateX(90deg) translateZ(calc(var(--size) / 2)); filter: brightness(1.06); }
.mc-cube .bottom { transform: rotateX(-90deg) translateZ(calc(var(--size) / 2)); filter: brightness(0.7); }

.stage-info {
  text-align: center;
  margin-bottom: 18px;
  min-height: 92px;
}
.stage-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(109, 242, 255, 0.12);
  border: 1px solid rgba(109, 242, 255, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.stage-info h3 {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
}
.stage-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.stage-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}
.stage-pill img { width: 18px; height: 18px; border-radius: 3px; }
.stage-pill:hover, .stage-pill.active {
  background: rgba(109, 242, 255, 0.14);
  border-color: rgba(109, 242, 255, 0.5);
  color: #fff;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(14, 18, 32, 0.65), rgba(8, 10, 18, 0.85));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  margin: 0 0 12px;
  line-height: 1.15;
}
.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.section-sub code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--cyan);
}

/* 3D Showcase Cards */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}
.model-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.model-card-featured {
  border-color: rgba(206, 102, 255, 0.42);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45), 0 0 34px rgba(196, 86, 255, 0.14);
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 242, 255, 0.36);
}
.model-card-featured:hover {
  border-color: rgba(232, 118, 255, 0.72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.52), 0 0 44px rgba(214, 96, 255, 0.24);
}
.model-media {
  position: relative;
  aspect-ratio: 1560 / 1280;
  overflow: hidden;
  cursor: zoom-in;
  background: #0b0e19;
}
.model-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.model-media:hover img { transform: scale(1.03); }
.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(8, 10, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.model-body { padding: 24px; }
.model-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.badge-cyan    { background: rgba(109, 242, 255, 0.14); color: var(--cyan); border: 1px solid rgba(109, 242, 255, 0.32); }
.badge-crimson { background: rgba(255, 68, 88, 0.14); color: #ff7a87; border: 1px solid rgba(255, 68, 88, 0.34); }
.badge-purple  { background: rgba(167, 107, 255, 0.14); color: #cba4ff; border: 1px solid rgba(167, 107, 255, 0.34); }
.badge-amber   { background: rgba(255, 174, 56, 0.14); color: #ffd085; border: 1px solid rgba(255, 174, 56, 0.34); }
.badge-green   { background: rgba(65, 224, 154, 0.14); color: #7ef2be; border: 1px solid rgba(65, 224, 154, 0.34); }
.model-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  margin: 0 0 10px;
}
.model-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}
.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.model-specs span {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 5px 11px;
  border-radius: 9px;
  color: #dce9ff;
}

.mini-3d-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mini-3d-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px;
}
.mini-3d-item img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.mini-3d-item strong { display: block; font-size: 0.96rem; margin-bottom: 3px; }
.mini-3d-item span { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* Catalog Controls & Grid */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}
.tab-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.24), rgba(255, 174, 56, 0.18));
  border-color: rgba(255, 92, 108, 0.55);
  color: #fff;
}
.tab-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 999px;
}
.search-wrap {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 340px;
}
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  pointer-events: none;
}
#searchInput {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 16, 28, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
#searchInput:focus { border-color: var(--cyan); }

.tnt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}
.tnt-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.tnt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 242, 255, 0.45);
  background: rgba(26, 33, 56, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}
.tnt-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.tnt-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(8, 10, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.tnt-thumb img {
  width: 44px;
  height: 44px;
  image-rendering: pixelated;
  transition: transform 0.2s;
}
.tnt-card:hover .tnt-thumb img { transform: scale(1.1); }
.tnt-meta { min-width: 0; flex: 1; }
.tnt-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  color: #fff;
  margin: 0 0 5px;
}
.tnt-desc {
  margin: 0;
  font-size: 0.85rem;
  color: #b4c4e0;
  line-height: 1.5;
}
.tnt-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
}
.tnt-power-pill {
  font-family: 'JetBrains Mono', monospace;
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: 8px;
}
.tnt-more {
  color: var(--cyan);
  font-weight: 600;
  white-space: nowrap;
}
.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
  font-size: 1rem;
}

/* Install Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(109, 242, 255, 0.35);
  margin-bottom: 8px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.step-card code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  font-size: 0.82rem;
}
.step-link, .copy-path-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(109, 242, 255, 0.12);
  border: 1px solid rgba(109, 242, 255, 0.3);
  color: var(--cyan);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  cursor: pointer;
}
.copy-path-btn:hover, .step-link:hover { background: rgba(109, 242, 255, 0.22); }

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
  background: rgba(6, 8, 15, 0.9);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 6px; }
.footer-brand strong { display: block; font-size: 0.95rem; }
.footer-brand span { display: block; font-size: 0.78rem; color: var(--muted); }
.footer-note { font-size: 0.84rem; color: var(--muted); }

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 6, 12, 0.82);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(820px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #111626;
  border: 1px solid rgba(109, 242, 255, 0.34);
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}
.modal-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}
.modal-visual {
  display: grid;
  place-items: center;
  min-height: 170px;
  background: rgba(7, 10, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}
.modal-visual .mc-cube { --size: 100px; }
.modal-item-preview {
  width: 108px;
  height: 108px;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 24px rgba(109, 242, 255, 0.35));
}
.modal-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  padding: 8px 11px;
}
.spec-chip small {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}
.spec-chip strong {
  display: block;
  font-size: 0.84rem;
  color: #fff;
  margin-top: 2px;
}
.modal-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  margin: 0 0 10px;
}
.modal-lead {
  margin: 0 0 16px;
  color: #c5d3ec;
  font-size: 0.94rem;
  line-height: 1.58;
}
.modal-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 8px;
}
.modal-bullets {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.48;
}
.modal-bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}
.cmd-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(6, 9, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 10px 8px 14px;
}
.cmd-box code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--cyan);
  word-break: break-all;
}

.lightbox-inner {
  position: relative;
  max-width: min(1080px, 95vw);
  max-height: 92vh;
  background: #0d1120;
  border: 1px solid rgba(109, 242, 255, 0.3);
  border-radius: 18px;
  padding: 14px;
}
.lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
}
.lightbox-caption {
  text-align: center;
  padding-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 24px);
  background: #141d34;
  border: 1px solid var(--cyan);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 120;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Official Promo Videos Hub */
.anchor-alias {
  position: relative;
  top: -80px;
  display: block;
  height: 0;
  width: 0;
  pointer-events: none;
}
.videos-hub {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 26px;
  align-items: start;
}
.videos-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.video-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.vtab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 15px;
  background: rgba(18, 23, 40, 0.78);
  border: 1px solid rgba(132, 165, 224, 0.16);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.vtab-btn:hover {
  color: #fff;
  background: rgba(26, 33, 56, 0.9);
  border-color: rgba(109, 242, 255, 0.34);
}
.vtab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.2), rgba(109, 242, 255, 0.12));
  border-color: rgba(255, 96, 114, 0.56);
  box-shadow: 0 10px 28px rgba(255, 68, 88, 0.14);
}
.vtab-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
}
.cinema-frame {
  position: relative;
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(155deg, rgba(24, 30, 54, 0.92), rgba(10, 13, 24, 0.96));
  border: 1px solid rgba(109, 242, 255, 0.28);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(255, 68, 88, 0.14),
    0 0 56px rgba(109, 242, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cinema-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(125deg, rgba(255, 68, 88, 0.55), rgba(255, 174, 56, 0.28), rgba(109, 242, 255, 0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cinema-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 8px 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
}
.cinema-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6f1ff;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.cinema-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 12px var(--crimson);
  animation: pulse 1.8s infinite;
}
.cinema-meta {
  color: var(--cyan);
  background: rgba(109, 242, 255, 0.1);
  border: 1px solid rgba(109, 242, 255, 0.25);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
}
.cinema-video-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #05070e;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cinema-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070e;
}
.cinema-video-wrap video[hidden] {
  display: none;
}
.video-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px 20px;
}
.video-caption-copy h3 {
  margin: 0 0 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
}
.video-caption-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.48;
}
.video-caption-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

/* Vertical 9:16 Shorts Phone Showcase */
.shorts-showcase {
  background: linear-gradient(165deg, rgba(22, 27, 48, 0.86), rgba(10, 13, 24, 0.94));
  border: 1px solid rgba(167, 107, 255, 0.28);
  border-radius: 24px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48), 0 0 38px rgba(167, 107, 255, 0.12);
}
.shorts-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.shorts-head h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
}
.phone-frame {
  position: relative;
  width: min(262px, 100%);
  padding: 11px 9px 11px;
  border-radius: 30px;
  background: linear-gradient(155deg, #1b223a 0%, #0a0d18 100%);
  border: 2px solid rgba(167, 107, 255, 0.42);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(109, 242, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.phone-notch {
  width: 68px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 auto 9px;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #04060c;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.phone-screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #04060c;
}
.shorts-caption {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 28ch;
  line-height: 1.45;
}

/* Interactive Random TNT Wheel Section */
.wheel-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.wheel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wfilter-btn {
  padding: 9px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}
.wfilter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.wfilter-btn.active {
  background: linear-gradient(135deg, rgba(109, 242, 255, 0.2), rgba(167, 107, 255, 0.2));
  border-color: rgba(109, 242, 255, 0.55);
  color: #fff;
  box-shadow: 0 6px 20px rgba(109, 242, 255, 0.14);
}
.wheel-sound-btn {
  padding: 9px 14px;
  font-size: 0.82rem;
}
.wheel-sound-btn.muted {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.16);
}

.wheel-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}
.wheel-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: linear-gradient(165deg, rgba(20, 26, 46, 0.85), rgba(9, 12, 22, 0.95));
  border: 1px solid rgba(132, 165, 224, 0.2);
  border-radius: 26px;
  padding: 32px 24px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.wheel-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  top: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 68, 88, 0.2), rgba(109, 242, 255, 0.12) 48%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
  transition: background 0.45s ease;
}
.wheel-frame {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
#tntWheelCanvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.62));
}
.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  transform-origin: 50% 10px;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(255, 68, 88, 0.65));
  transition: transform 0.08s cubic-bezier(0.22, 1, 0.36, 1);
}
.wheel-pointer.tick {
  transform: translateX(-50%) rotate(-24deg);
}
.wheel-hub-btn {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid rgba(109, 242, 255, 0.72);
  background: radial-gradient(circle at 35% 30%, #2a355c 0%, #0d1224 70%, #060811 100%);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(109, 242, 255, 0.36), inset 0 2px 6px rgba(255, 255, 255, 0.25);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wheel-hub-btn:hover:not(:disabled) {
  transform: scale(1.07);
  border-color: var(--amber);
  box-shadow: 0 0 32px rgba(255, 174, 56, 0.55);
}
.wheel-hub-btn:disabled {
  cursor: not-allowed;
  opacity: 0.82;
}
.wheel-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.spin-main-btn {
  width: min(320px, 100%);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 15px 28px;
  box-shadow: 0 10px 34px rgba(255, 68, 88, 0.44), 0 0 24px rgba(255, 174, 56, 0.22);
}
.spin-main-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.wheel-pool-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
}

.wheel-result-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wheel-result-card {
  background: linear-gradient(160deg, rgba(22, 28, 50, 0.9), rgba(11, 14, 26, 0.96));
  border: 1px solid rgba(132, 165, 224, 0.22);
  border-radius: 24px;
  padding: 26px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.48);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.wheel-result-card.celebrate {
  border-color: rgba(255, 174, 56, 0.7);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.52), 0 0 42px rgba(255, 174, 56, 0.24);
  animation: winnerPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes winnerPop {
  0%   { transform: scale(0.97); }
  50%  { transform: scale(1.018); }
  100% { transform: scale(1); }
}
.wheel-idle {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.wheel-mystery-box {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: rgba(8, 11, 20, 0.88);
  border: 1px solid rgba(109, 242, 255, 0.32);
  display: grid;
  place-items: center;
  box-shadow: 0 0 30px rgba(109, 242, 255, 0.18);
  margin-bottom: 4px;
}
.wheel-mystery-box img {
  width: 56px;
  height: 56px;
}
.wheel-idle h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
}
.wheel-idle p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44ch;
}
.wheel-idle code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 6px;
}
.wheel-winner[hidden], .wheel-idle[hidden] {
  display: none;
}
.wheel-winner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.winner-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.winner-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: rgba(7, 10, 18, 0.92);
  border: 1px solid rgba(109, 242, 255, 0.42);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 26px rgba(109, 242, 255, 0.24);
}
.winner-icon-wrap img {
  width: 54px;
  height: 54px;
}
.winner-head-text h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.48rem;
  line-height: 1.18;
}
.winner-quick-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.winner-desc {
  margin: 0;
  color: #c2d1eb;
  font-size: 0.9rem;
  line-height: 1.56;
}
.winner-cmd-box {
  margin-top: 2px;
}
.winner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.winner-inspect-btn {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.9rem;
}
.winner-cf-btn {
  padding: 11px 15px;
  font-size: 0.84rem;
}

/* Recent Spins Strip */
.recent-spins-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px 16px;
}
.recent-spins-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.recent-spins-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.recent-spins-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
}
.recent-spins-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recent-empty {
  font-size: 0.82rem;
  color: var(--muted);
}
.recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4eeff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}
.recent-chip img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}
.recent-chip:hover {
  background: rgba(109, 242, 255, 0.15);
  border-color: rgba(109, 242, 255, 0.45);
  transform: translateY(-2px);
}

/* Interactive TNT Power Scale Comparator */
.power-scale-card {
  background: linear-gradient(165deg, rgba(20, 26, 46, 0.86), rgba(10, 13, 24, 0.94));
  border: 1px solid rgba(132, 165, 224, 0.2);
  border-radius: 24px;
  padding: 24px 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.power-scale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}
.power-scale-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.power-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.power-row {
  display: grid;
  grid-template-columns: 235px 1fr 112px;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  padding: 11px 14px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.power-row:hover {
  transform: translateX(4px);
  background: rgba(28, 36, 62, 0.88);
  border-color: rgba(109, 242, 255, 0.42);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}
.power-row-info {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.power-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.power-row-icon img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}
.power-row-text {
  min-width: 0;
}
.power-row-name {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.power-row-sub {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.power-track-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.power-track {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: rgba(5, 8, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.power-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--bar-grad);
  box-shadow: 0 0 18px var(--bar-glow);
  transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--bar-delay, 0ms);
}
.power-bars.in-view .power-fill {
  width: var(--bar-pct);
}
.power-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: barShimmer 3.2s ease-in-out infinite;
  animation-delay: var(--bar-delay, 0ms);
}
@keyframes barShimmer {
  0%, 60% { transform: translateX(-100%); }
  100%    { transform: translateX(220%); }
}
.power-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.power-metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.power-inspect {
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 600;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.power-row:hover .power-inspect { opacity: 1; }
.power-scale-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.power-scale-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7ef2be;
  background: rgba(65, 224, 154, 0.12);
  border: 1px solid rgba(65, 224, 154, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Compact v1.0.0 Release Highlights / Changelog Strip */
.section-compact {
  padding: 52px 0;
}
.changelog-strip {
  background: linear-gradient(160deg, rgba(20, 26, 46, 0.84), rgba(11, 14, 26, 0.94));
  border: 1px solid rgba(132, 165, 224, 0.2);
  border-radius: 22px;
  padding: 22px 24px;
}
.changelog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.changelog-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.changelog-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.24rem;
}
.changelog-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--muted);
}
.changelog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cl-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 14px;
  text-align: left;
  color: inherit;
  font-family: inherit;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}
.cl-item-new {
  border-color: rgba(220, 102, 255, 0.34);
  background: linear-gradient(150deg, rgba(167, 68, 255, 0.12), rgba(255, 68, 148, 0.06));
}
.cl-clickable {
  cursor: pointer;
}
.cl-clickable:hover {
  transform: translateY(-3px);
  background: rgba(28, 36, 62, 0.85);
  border-color: rgba(109, 242, 255, 0.42);
}
.cl-item img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.42);
}
.cl-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cl-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cl-top strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: #fff;
}
.cl-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.cl-tag-cyan    { background: rgba(109, 242, 255, 0.14); color: var(--cyan); border: 1px solid rgba(109, 242, 255, 0.32); }
.cl-tag-crimson { background: rgba(255, 68, 88, 0.14); color: #ff7a87; border: 1px solid rgba(255, 68, 88, 0.34); }
.cl-tag-purple  { background: rgba(167, 107, 255, 0.14); color: #cba4ff; border: 1px solid rgba(167, 107, 255, 0.34); }
.cl-tag-violet  { background: rgba(235, 92, 255, 0.16); color: #f4a6ff; border: 1px solid rgba(235, 92, 255, 0.42); }
.cl-tag-green   { background: rgba(65, 224, 154, 0.14); color: #7ef2be; border: 1px solid rgba(65, 224, 154, 0.34); }
.cl-item p {
  margin: 0;
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- 5-TIER RARITY SYSTEM ---------- */
.rarity-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -12px 0 24px;
  padding: 10px 14px;
  background: rgba(12, 16, 29, 0.72);
  border: 1px solid rgba(132, 165, 224, 0.14);
  border-radius: 15px;
}
.rarity-filter-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 4px;
}
.rarity-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}
.rarity-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.rarity-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
.rarity-tab-common.active    { background: rgba(148, 163, 184, 0.2); border-color: #94a3b8; color: #e2e8f0; box-shadow: 0 0 14px rgba(148, 163, 184, 0.22); }
.rarity-tab-rare.active      { background: rgba(56, 189, 248, 0.2);  border-color: #38bdf8; color: #bae6fd; box-shadow: 0 0 16px rgba(56, 189, 248, 0.28); }
.rarity-tab-epic.active      { background: rgba(192, 132, 252, 0.22); border-color: #c084fc; color: #e9d5ff; box-shadow: 0 0 16px rgba(192, 132, 252, 0.3); }
.rarity-tab-legendary.active { background: rgba(251, 191, 36, 0.22); border-color: #fbbf24; color: #fef3c7; box-shadow: 0 0 18px rgba(251, 191, 36, 0.32); }
.rarity-tab-mythic.active {
  background: linear-gradient(120deg, rgba(255, 56, 96, 0.26), rgba(217, 70, 239, 0.26), rgba(56, 189, 248, 0.26));
  border-color: #f472b6;
  color: #fff;
  box-shadow: 0 0 20px rgba(232, 121, 249, 0.42);
}

.rarity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.rarity-dot.rarity-common    { background: #94a3b8; box-shadow: 0 0 7px rgba(148, 163, 184, 0.55); }
.rarity-dot.rarity-rare      { background: #38bdf8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.72); }
.rarity-dot.rarity-epic      { background: #c084fc; box-shadow: 0 0 8px rgba(192, 132, 252, 0.75); }
.rarity-dot.rarity-legendary { background: #fbbf24; box-shadow: 0 0 9px rgba(251, 191, 36, 0.8); }
.rarity-dot.rarity-mythic {
  background: linear-gradient(135deg, #ff3860, #e879f9, #38bdf8);
  box-shadow: 0 0 10px rgba(232, 121, 249, 0.9);
}

.tnt-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.rarity-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rarity-badge.rarity-common {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.14);
}
.rarity-badge.rarity-rare {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.22);
}
.rarity-badge.rarity-epic {
  background: rgba(192, 132, 252, 0.16);
  color: #d8b4fe;
  border: 1px solid rgba(192, 132, 252, 0.52);
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.26);
}
.rarity-badge.rarity-legendary {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.58);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}
.rarity-badge.rarity-mythic {
  background: linear-gradient(120deg, rgba(255, 56, 96, 0.28), rgba(217, 70, 239, 0.3), rgba(56, 189, 248, 0.28), rgba(255, 56, 96, 0.28));
  background-size: 260% 260%;
  color: #ffffff;
  border: 1px solid rgba(244, 114, 182, 0.78);
  box-shadow: 0 0 18px rgba(232, 121, 249, 0.48), 0 0 8px rgba(56, 189, 248, 0.32);
  animation: mythicShimmer 3.6s linear infinite;
}
@keyframes mythicShimmer {
  0%   { background-position: 0% 50%; border-color: rgba(255, 68, 108, 0.85); }
  50%  { background-position: 100% 50%; border-color: rgba(109, 242, 255, 0.88); }
  100% { background-position: 0% 50%; border-color: rgba(255, 68, 108, 0.85); }
}

/* Catalog card subtle rarity top accent & border glow */
.tnt-card {
  position: relative;
  overflow: hidden;
}
.tnt-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.78;
  pointer-events: none;
}
.tnt-card.rarity-common::before    { background: linear-gradient(90deg, transparent, #94a3b8, transparent); }
.tnt-card.rarity-rare::before      { background: linear-gradient(90deg, transparent, #38bdf8, transparent); }
.tnt-card.rarity-epic::before      { background: linear-gradient(90deg, transparent, #c084fc, transparent); }
.tnt-card.rarity-legendary::before { background: linear-gradient(90deg, transparent, #fbbf24, transparent); }
.tnt-card.rarity-mythic::before {
  height: 3px;
  background: linear-gradient(90deg, #ff3860, #e879f9, #38bdf8, #ff3860);
  background-size: 240% 100%;
  animation: mythicShimmer 4s linear infinite;
}
.tnt-card.rarity-common    { border-color: rgba(148, 163, 184, 0.22); }
.tnt-card.rarity-rare      { border-color: rgba(56, 189, 248, 0.26); }
.tnt-card.rarity-epic      { border-color: rgba(192, 132, 252, 0.28); }
.tnt-card.rarity-legendary { border-color: rgba(251, 191, 36, 0.32); }
.tnt-card.rarity-mythic    { border-color: rgba(232, 121, 249, 0.42); box-shadow: 0 8px 26px rgba(217, 70, 239, 0.12); }

.tnt-card.rarity-rare:hover      { border-color: rgba(56, 189, 248, 0.65); box-shadow: 0 14px 34px rgba(56, 189, 248, 0.18); }
.tnt-card.rarity-epic:hover      { border-color: rgba(192, 132, 252, 0.68); box-shadow: 0 14px 34px rgba(192, 132, 252, 0.22); }
.tnt-card.rarity-legendary:hover { border-color: rgba(251, 191, 36, 0.72); box-shadow: 0 14px 34px rgba(251, 191, 36, 0.22); }
.tnt-card.rarity-mythic:hover    { border-color: rgba(244, 114, 182, 0.85); box-shadow: 0 16px 40px rgba(232, 121, 249, 0.28), 0 0 24px rgba(56, 189, 248, 0.16); }

/* Modal subtle rarity border tint */
.modal-card.rarity-common    { border-color: rgba(148, 163, 184, 0.45); }
.modal-card.rarity-rare      { border-color: rgba(56, 189, 248, 0.55); }
.modal-card.rarity-epic      { border-color: rgba(192, 132, 252, 0.58); }
.modal-card.rarity-legendary { border-color: rgba(251, 191, 36, 0.65); }
.modal-card.rarity-mythic    { border-color: rgba(244, 114, 182, 0.78); box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75), 0 0 42px rgba(232, 121, 249, 0.24); }

/* ---------- SUGGESTIONS & COMPLAINTS (#feedback) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.feedback-layout {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 24px;
  align-items: start;
}
.feedback-card {
  background: linear-gradient(160deg, rgba(21, 27, 48, 0.9), rgba(10, 13, 24, 0.96));
  border: 1px solid rgba(109, 242, 255, 0.26);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.feedback-card[data-mode="complaint"] {
  border-color: rgba(255, 68, 88, 0.36);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.5), 0 0 36px rgba(255, 68, 88, 0.1);
}
.feedback-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.ftab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ftab-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }
.ftab-btn[data-mode="suggestion"].active {
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(65, 224, 154, 0.18));
  border-color: rgba(109, 242, 255, 0.58);
  box-shadow: 0 8px 24px rgba(109, 242, 255, 0.16);
}
.ftab-btn[data-mode="complaint"].active {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.26), rgba(255, 174, 56, 0.18));
  border-color: rgba(255, 92, 108, 0.62);
  box-shadow: 0 8px 24px rgba(255, 68, 88, 0.18);
}
.feedback-mode-hint {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(109, 242, 255, 0.08);
  border: 1px solid rgba(109, 242, 255, 0.22);
  color: #cdeeff;
  font-size: 0.85rem;
  line-height: 1.48;
}
.feedback-card[data-mode="complaint"] .feedback-mode-hint {
  background: rgba(255, 68, 88, 0.09);
  border-color: rgba(255, 68, 88, 0.28);
  color: #ffd3d8;
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fb-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.fb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #dce9ff;
}
.fb-opt {
  color: var(--muted);
  font-weight: 400;
}
.fb-field input,
.fb-field select,
.fb-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 11, 22, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.91rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fb-field textarea {
  resize: vertical;
  min-height: 108px;
}
.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(109, 242, 255, 0.14);
}
.feedback-card[data-mode="complaint"] .fb-field input:focus,
.feedback-card[data-mode="complaint"] .fb-field select:focus,
.feedback-card[data-mode="complaint"] .fb-field textarea:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(255, 68, 88, 0.16);
}
.fb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.fb-submit-btn {
  width: 100%;
}
.fb-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.fb-status {
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.45;
  background: rgba(65, 224, 154, 0.14);
  border: 1px solid rgba(65, 224, 154, 0.42);
  color: #a6f7d2;
}
.fb-status[hidden] { display: none; }

/* Submitted Feedback Log Panel */
.feedback-log-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fb-log-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fb-log-head h3 {
  margin: 0 0 3px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
}
.fb-log-sub {
  font-size: 0.78rem;
  color: var(--muted);
}
.fb-clear-btn {
  padding: 6px 10px;
  font-size: 0.74rem;
}
.fb-log-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
}
.fb-log-empty {
  text-align: center;
  padding: 28px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.fb-log-item {
  background: rgba(8, 11, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-log-item.type-suggestion { border-left: 3px solid var(--cyan); }
.fb-log-item.type-complaint  { border-left: 3px solid var(--crimson); }
.fb-log-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.fb-log-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.fb-log-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--muted);
}
.fb-log-subject {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.94rem;
  color: #fff;
}
.fb-log-msg {
  margin: 0;
  font-size: 0.82rem;
  color: #b7c6e0;
  line-height: 1.45;
  word-break: break-word;
}
.fb-log-user {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--cyan);
}
.fb-log-anon {
  color: #a9b8d4;
}

.fb-anon-banner {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.08);
  color: #cfe9ff;
  font-size: 0.84rem;
  line-height: 1.45;
}
.fb-anon-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #d8e4fb;
  cursor: pointer;
  user-select: none;
  margin-bottom: 4px;
}
.fb-anon-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cyan);
  cursor: pointer;
}

/* LIVE STATISTICS DASHBOARD (#stats) */
.stats-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.stats-header-row .section-head {
  margin-bottom: 0;
}
.stats-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stats-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.stats-live-pill.is-live {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
}
.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.live-stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.live-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), #6366f1);
}
.live-stat-card[data-stat="curseforge"]::before {
  background: linear-gradient(90deg, #f97316, #facc15);
}
.live-stat-card[data-stat="tlauncher"]::before {
  background: linear-gradient(90deg, #10b981, #2dd4bf);
}
.live-stat-card[data-stat="total"]::before {
  background: linear-gradient(90deg, #a855f7, #ec4899);
}
.live-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}
.live-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.live-stat-icon {
  font-size: 1.45rem;
  line-height: 1;
}
.live-stat-tag,
.live-stat-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
}
.live-stat-link {
  color: #fb923c;
}
.live-stat-link:hover {
  text-decoration: underline;
}
.live-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 6px;
}
.live-stat-label {
  font-size: 0.94rem;
  font-weight: 600;
  color: #e2e8f0;
}
.live-stat-sub {
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--muted);
}
.stats-breakdown-card {
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-breakdown-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.stats-breakdown-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}
.stats-breakdown-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.legend-cf strong { color: #fb923c; }
.legend-tl strong { color: #34d399; }
.stats-bar-track {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.stats-bar-cf {
  background: linear-gradient(90deg, #f97316, #fbbf24);
  transition: width 0.45s ease;
}
.stats-bar-tl {
  background: linear-gradient(90deg, #10b981, #2dd4bf);
  transition: width 0.45s ease;
}
.stats-owner-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-owner-head {
  margin-bottom: 12px;
  font-size: 0.86rem;
  color: #e2e8f0;
}
.stats-owner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.stats-owner-actions {
  display: flex;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1080px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .changelog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .videos-hub { grid-template-columns: 1fr; }
  .phone-frame { width: min(290px, 100%); }
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  .live-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .wheel-layout { grid-template-columns: 1fr; }
  .feedback-layout { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .mini-3d-strip { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .changelog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .power-row { grid-template-columns: 195px 1fr 94px; gap: 12px; }
}
@media (max-width: 620px) {
  .live-stats-grid { grid-template-columns: 1fr; }
  .stats-owner-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-tabs { grid-template-columns: 1fr; }
  .video-caption-bar { flex-direction: column; align-items: stretch; }
  .video-caption-actions { width: 100%; }
  .video-caption-actions > * { flex: 1; }
  .wheel-stage { padding: 24px 14px 20px; }
  .wheel-result-card { padding: 20px 16px; min-height: 0; }
  .wheel-hub-btn { width: 62px; height: 62px; font-size: 0.72rem; }
  .winner-quick-stats { grid-template-columns: 1fr; }
  .feedback-card { padding: 18px 15px; }
  .feedback-tabs { grid-template-columns: 1fr; }
  .fb-row-2 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .changelog-grid { grid-template-columns: 1fr; }
  .power-scale-card { padding: 18px 14px; }
  .power-scale-header { display: none; }
  .power-row { grid-template-columns: 1fr; gap: 10px; }
  .power-row-right { flex-direction: row; align-items: center; justify-content: space-between; }
  .modal-card { grid-template-columns: 1fr; text-align: center; }
  .model-badges { justify-content: center; }
}


/* ---------- LIVE STATISTICS HUB (#stats) ---------- */
.stats-hub-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.stats-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
}
.stats-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb84d;
  box-shadow: 0 0 8px rgba(255, 184, 77, 0.65);
}
.stats-live-pill.is-live {
  color: #7bf0a5;
  border-color: rgba(123, 240, 165, 0.35);
  background: rgba(123, 240, 165, 0.08);
}
.stats-live-pill.is-live .stats-live-dot {
  background: #47e58e;
  box-shadow: 0 0 10px rgba(71, 229, 142, 0.85);
  animation: pulse 1.8s infinite;
}
.stats-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}
.stats-refresh-btn.spinning .stats-refresh-icon {
  display: inline-block;
  animation: spinRefresh 0.45s linear;
}
@keyframes spinRefresh {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stats-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stats-hub-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(22, 26, 40, 0.92), rgba(14, 17, 27, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.stats-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(109, 242, 255, 0.85), transparent);
}
.stats-hub-card.accent-amber::before {
  background: linear-gradient(90deg, rgba(255, 166, 61, 0.9), transparent);
}
.stats-hub-card.accent-green::before {
  background: linear-gradient(90deg, rgba(71, 229, 142, 0.9), transparent);
}
.stats-hub-card.accent-purple::before {
  background: linear-gradient(90deg, rgba(183, 134, 255, 0.9), transparent);
}
.stats-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}
.stats-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.stats-hub-icon {
  font-size: 1.35rem;
}
.stats-hub-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.85;
}
.stats-hub-val {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stats-hub-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e9edf7;
}
.stats-hub-sub {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
}
.stats-hub-sub a {
  color: #ffb85c;
  text-decoration: none;
}
.stats-hub-sub a:hover {
  text-decoration: underline;
}

.stage-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.power-row-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fb-anon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(109, 242, 255, 0.09);
  border: 1px solid rgba(109, 242, 255, 0.25);
  color: #b7f5ff;
  font-size: 0.84rem;
  font-weight: 600;
}
.fb-log-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fb-wall-count {
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(109, 242, 255, 0.14);
  color: #8bf3ff;
  border: 1px solid rgba(109, 242, 255, 0.28);
}
.fb-wall-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.fb-wfilter-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.fb-wfilter-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.fb-wfilter-btn.active {
  background: rgba(109, 242, 255, 0.14);
  border-color: rgba(109, 242, 255, 0.45);
  color: #fff;
}

@media (max-width: 960px) {
  .stats-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .stats-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- VERSIONS & DIRECT DOWNLOADS ---------- */
.hero-versions-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.ver-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  text-decoration: none;
  transition: all 0.18s ease;
}
.ver-chip:hover {
  color: #fff;
  border-color: rgba(109, 242, 255, 0.48);
  background: rgba(109, 242, 255, 0.12);
}
.ver-chip.is-latest {
  color: #8bf3ff;
  border-color: rgba(109, 242, 255, 0.45);
  background: rgba(109, 242, 255, 0.12);
}

.versions-dl-panel {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(22, 27, 42, 0.9), rgba(14, 17, 28, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.versions-dl-head h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: #fff;
}
.versions-dl-head p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--muted);
}
.versions-dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ver-dl-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ver-dl-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 242, 255, 0.45);
  background: rgba(109, 242, 255, 0.06);
}
.ver-dl-card.is-latest {
  border-color: rgba(109, 242, 255, 0.35);
  background: rgba(109, 242, 255, 0.05);
}
.ver-dl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ver-dl-mc {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.ver-dl-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(71, 229, 142, 0.16);
  color: #7bf0a5;
  border: 1px solid rgba(71, 229, 142, 0.35);
}
.ver-dl-meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.ver-dl-btn {
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #8bf3ff;
}

@media (max-width: 900px) {
  .versions-dl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .versions-dl-grid {
    grid-template-columns: 1fr;
  }
}
