/* ── PC category hub (slot / casino / sport / etc.) ── */
@media (min-width: 901px) {
  .category-hub__hero-row {
    --hub-banner-radius: 10px;
    --hub-hot-thumb-size: 106px;
    --hub-hot-grid-gap: 2px;
    --hub-hot-offset-top: 28px;
    --hub-hot-frame-width: calc(var(--hub-hot-thumb-size) * 3 + var(--hub-hot-grid-gap) * 2 + 0.4rem + 30px);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, var(--hub-hot-frame-width));
    gap: 20px;
    align-items: start;
    padding: 25px;
  }

  .category-hub__hero-row .hero-banners--hub-main-only {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    margin-bottom: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--hub-banner-radius);
  }

  .category-hub__hero-row .hero-banners--hub-main-only .banner,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-main,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 5 / 2;
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: var(--hub-banner-radius);
    overflow: hidden;
  }

  .category-hub__hero-row .hero-banners--hub-main-only .banner-bg,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-media,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__track,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__slide,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__link {
    border-radius: var(--hub-banner-radius);
  }

  .category-hub__hero-row .hero-banners--hub-main-only .banner-main .banner-media,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel .banner-media,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__link .banner-media {
    object-fit: fill;
    object-position: center;
  }

  .category-hub__hero-row .hero-banners--hub-main-only .banner:hover .banner-media,
  .category-hub__hero-row .hero-banners--hub-main-only .banner:hover .banner-bg {
    transform: none;
  }

  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: visible;
  }

  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__slide,
  .category-hub__hero-row .hero-banners--hub-main-only .banner-carousel__link {
    position: relative;
    height: 100%;
  }

  .hero-banners--hub-main-only .banner-stack {
    display: none;
  }

  .category-hub__hot-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    margin-top: var(--hub-hot-offset-top);
    align-self: start;
    padding-top: 1.35rem;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .category-hub__hot-badge-wrap {
    position: absolute;
    top: -30px;
    left: 50%;
    z-index: 3;
    width: 82%;
    max-width: 210px;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .category-hub__hot-badge {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  }

  .category-hub__hot-frame {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.2rem;
    border: 2px solid #e3a824;
    background-color: #663d00;
    border-radius: 12px;
    box-shadow:
      inset 0 0 0 1px rgba(255, 210, 90, 0.18),
      0 8px 20px rgba(0, 0, 0, 0.35);
  }

  .category-hub__hot-grid {
    display: grid;
    grid-template-columns: repeat(3, var(--hub-hot-thumb-size));
    grid-template-rows: repeat(4, var(--hub-hot-thumb-size));
    gap: var(--hub-hot-grid-gap);
    align-content: center;
    width: fit-content;
    max-width: 100%;
  }

  .category-hub__hot-grid .game-card {
    width: var(--hub-hot-thumb-size);
    height: var(--hub-hot-thumb-size);
  }

  .category-hub__hot-grid .game-card:hover {
    transform: none;
  }

  .category-hub__hot-grid .game-thumb {
    width: var(--hub-hot-thumb-size);
    height: var(--hub-hot-thumb-size);
    margin-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  }

  .category-hub__hot-grid .game-thumb--photo img {
    border-radius: 8px;
  }

  .category-hub__hot-grid .game-card--maintenance .catalog-maintenance {
    width: var(--hub-hot-thumb-size);
    height: var(--hub-hot-thumb-size);
    border-radius: 8px;
  }

  .category-hub__hot-grid .game-name,
  .category-hub__hot-grid .game-name--skeleton {
    display: none;
  }

  .category-hub__hot-grid .game-row__placeholder {
    grid-column: 1 / -1;
    padding: 0.5rem 0.35rem;
  }

  .category-hub__cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 30px;
  }

  .category-hub__cat {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #120824;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .category-hub__cat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }

  .category-hub__cat-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #0a0418;
  }

  .category-hub__cat-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .category-hub__cat-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.35rem 0.45rem;
    background: linear-gradient(180deg, #f7b844 0%, #d69213 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
  }

  .category-hub__catalog {
    padding: 0.85rem;
    border-radius: 14px;
    background: none;
    border: none;
  }

  .category-hub__providers {
    --hub-provider-cols: 9;
    --hub-provider-radius: 100px;
    display: grid;
    grid-template-columns: repeat(var(--hub-provider-cols), minmax(82px, 1fr));
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 0.75rem;
    gap: 7px;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    min-height: 36px;
  }

  .category-hub__provider-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    min-height: 40px;
    padding: 0.45rem 0.65rem;
    border: none;
    border-radius: 0;
    background: #5f0b6b;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .category-hub__provider-tab.is-row-start {
    border-top-left-radius: var(--hub-provider-radius);
    border-bottom-left-radius: var(--hub-provider-radius);
  }

  .category-hub__provider-tab.is-row-end {
    border-top-right-radius: var(--hub-provider-radius);
    border-bottom-right-radius: var(--hub-provider-radius);
  }

  .category-hub__provider-tab:hover:not(:disabled) {
    background: #742082;
  }

  .category-hub__provider-tab.is-active {
    background: linear-gradient(180deg, #f6d365 0%, #e8a820 100%);
    color: #1a1400;
  }

  .category-hub__provider-tab:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .category-hub__providers .category-hub__loading,
  .category-hub__providers .category-hub__empty {
    grid-column: 1 / -1;
    padding: 1.25rem 1rem;
  }

  .category-hub__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }

  .category-hub__filter {
    width: auto;
    padding: 0.45rem 0.9rem;
    border: none;
    height: 40px;
    border-radius: 5px;
    background: #5f0b6b;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .category-hub__filter-heart {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
  }

  .category-hub__filter.is-active {
    background: linear-gradient(180deg, #f6d365 0%, #fda085 100%);
    color: #1a1400;
    border-color: rgba(255, 193, 7, 0.75);
  }

  .category-hub__games {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .category-hub__more-games {
    min-width: 0;
    height: 100%;
  }

  .category-hub__more-games-btn {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    border: 1px solid rgba(0, 255, 234, 0.829);
    border-radius: 10px;
    background: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .category-hub__more-games-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(120, 160, 255, 0.85);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  }

  .category-hub__more-games-media {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .category-hub__more-games-plus {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
  }

  .category-hub__more-games-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .category-hub__loading,
  .category-hub__empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
  }

  .category-hub__loading p {
    display: none;
  }

  .category-hub__loading {
    gap: 0;
    padding: 1.25rem 1rem;
  }

  .category-hub__empty--error {
    color: #fca5a5;
  }

  .category-hub__spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--gold, #ffc107);
    border-radius: 50%;
    animation: category-hub-spin 0.8s linear infinite;
  }
}

@keyframes category-hub-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .category-hub {
    display: none;
  }
}
