
/* =========================================================
   Public layout + slot catalog patch
   Safe additive CSS: keeps existing style.css untouched.
   ========================================================= */

.public-body .public-nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  box-sizing: border-box;
  background: rgba(7, 10, 18, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.public-body .home-nav-redwings {
  width: 100%;
  max-width: none;
  margin: 0;
}

.public-body .public-nav-links {
  background: rgba(10, 11, 16, 0.78);
}

.public-slots-hero-card strong,
.public-slot-summary strong {
  font-variant-numeric: tabular-nums;
}

.public-slot-card {
  position: relative;
}

.public-slot-image-wrap {
  overflow: hidden;
  background: radial-gradient(circle at 20% 12%, rgba(251, 191, 36, 0.2), transparent 42%), #070a12;
}

.public-slot-image-wrap img {
  transform: scale(1.001);
}

.public-slot-card:hover .public-slot-image-wrap img {
  transform: scale(1.045);
  transition: transform 240ms ease;
}

.public-slot-initials {
  display: none !important;
}

.public-slot-card-body {
  min-height: 126px;
}

.public-slot-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.public-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-slot-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.public-slot-badge.stake-only {
  color: #24e48b;
  background: rgba(36, 228, 139, 0.1);
  border-color: rgba(36, 228, 139, 0.28);
}

.public-slot-badge.standard-slot {
  color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.11);
}

.public-slot-source {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 750;
}

@media (max-width: 780px) {
  .public-body .public-nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .public-body .public-nav-links {
    left: 12px;
    right: 12px;
  }
}

/* =========================================================
   Public home: Splide-style streamer video carousel
   Final layout:
   - aligned with homepage content width
   - about 3.5 videos visible on desktop
   - no edge fade / no large wrapper box
   - round Splide pagination dots
   ========================================================= */

.home-video-carousel-section {
  width: min(1180px, calc(100% - 172px));
  margin: 18px auto 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.home-video-carousel-section[hidden] {
  display: none !important;
}

.home-video-carousel-section::before,
.home-video-carousel-section::after {
  content: none !important;
  display: none !important;
}

.home-video-splide {
  min-height: 232px;
  padding: 8px 0 52px;
  background: transparent;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.home-video-splide.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.home-video-splide .splide__track {
  overflow: hidden;
}

.home-video-slide {
  display: flex;
  align-items: stretch;
}

.home-video-link {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 10%, rgba(251, 191, 36, 0.16), transparent 54%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.home-video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 28%, rgba(0, 0, 0, 0.12)),
    radial-gradient(circle at 50% 20%, rgba(255, 171, 32, 0.1), transparent 50%);
  opacity: 0.55;
  pointer-events: none;
}

.home-video-link:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.36);
  filter: saturate(1.05);
}

.home-video-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-video-slide.is-image-missing .home-video-link {
  background:
    radial-gradient(circle at 35% 20%, rgba(251, 191, 36, 0.22), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.home-video-splide .splide__arrow {
  width: 46px;
  height: 46px;
  z-index: 8;
  opacity: 1;
  background: rgba(11, 12, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.home-video-splide .splide__arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.34);
}

.home-video-splide .splide__arrow svg {
  fill: #fff7ed;
  width: 16px;
  height: 16px;
}

.home-video-splide .splide__arrow--prev {
  left: 4px;
}

.home-video-splide .splide__arrow--next {
  right: 4px;
}

.home-video-splide .splide__pagination {
  bottom: 10px;
  gap: 9px;
}

.home-video-splide .splide__pagination li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  margin: 0;
}

.home-video-splide .splide__pagination__page {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 999px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.28);
  transform: none !important;
  box-shadow: none;
  transition: background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.home-video-splide .splide__pagination__page.is-active {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 999px !important;
  background: #fbbf24;
  transform: none !important;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16), 0 0 18px rgba(251, 191, 36, 0.36);
}

@media (max-width: 1180px) {
  .home-video-carousel-section {
    width: min(100% - 48px, 1180px);
  }
}

@media (max-width: 1080px) {
  .home-video-carousel-section {
    width: min(100% - 40px, 1180px);
    margin-top: 10px;
  }

  .home-video-splide {
    min-height: 214px;
  }
}

@media (max-width: 720px) {
  .home-video-carousel-section {
    width: min(100% - 20px, 1180px);
    margin-top: 8px;
  }

  .home-video-splide {
    min-height: 204px;
    padding-bottom: 48px;
  }

  .home-video-link {
    border-radius: 22px;
  }

  .home-video-splide .splide__arrow {
    width: 38px;
    height: 38px;
  }
}
