.home-game-hubs{
  position:relative;
  margin-bottom:48px;
}

.home-game-hubs-slider{
  position:relative;
  margin-top:26px;
}

.home-game-hubs-viewport{
  position:relative;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  border-radius:20px;
  scrollbar-width:none;
  touch-action:pan-y;
}

.home-game-hubs-viewport::-webkit-scrollbar{
  display:none;
}

.home-game-hubs-slider.is-enhanced .home-game-hubs-viewport{
  overflow:hidden;
}

.home-game-hubs-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 44px)/3);
  gap:22px;
  align-items:stretch;
  padding:6px 2px 4px;
  transition:transform .55s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}

.home-game-hubs-grid.is-dragging{
  transition:none;
}

.home-game-hubs-slider.is-dragging{
  user-select:none;
}

.home-game-hub-card{
  --hub-accent:var(--accent);
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--card);
  color:var(--ink);
  text-decoration:none;
  box-shadow:0 16px 38px -34px rgba(20,18,24,.65);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.home-game-hub-card:hover{
  transform:translateY(-5px);
  border-color:color-mix(in srgb,var(--hub-accent) 58%,var(--line));
  box-shadow:0 24px 44px -30px rgba(20,18,24,.72);
}

.home-game-hub-card:focus-visible{
  outline:3px solid var(--hub-accent);
  outline-offset:3px;
}

.home-game-hub-art{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#111216;
}

.home-game-hub-art::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 42%,rgba(12,11,16,.62) 100%);
  pointer-events:none;
}

.home-game-hub-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#111216;
  transition:transform .55s cubic-bezier(.2,.75,.25,1);
}

.home-game-hub-card:hover .home-game-hub-art img{
  transform:scale(1.035);
}

.home-game-hub-status{
  position:absolute;
  z-index:1;
  left:14px;
  bottom:13px;
  padding:6px 10px;
  border:1px solid color-mix(in srgb,var(--hub-accent) 65%,rgba(255,255,255,.28));
  border-radius:999px;
  background:rgba(14,13,18,.72);
  color:#fff;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  backdrop-filter:blur(7px);
}

.home-game-hub-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:19px 20px 18px;
}

.home-game-hub-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 10px;
  margin-bottom:9px;
  color:var(--muted);
  font-size:.72rem;
  font-weight:700;
}

.home-game-hub-meta time{
  color:var(--hub-accent);
}

.home-game-hub-meta span::before{
  content:"";
  display:inline-block;
  width:3px;
  height:3px;
  margin:0 8px 2px 0;
  border-radius:50%;
  background:currentColor;
}

.home-game-hub-card h3{
  margin:0 0 8px;
  font-family:var(--serif);
  font-size:1.28rem;
  line-height:1.18;
}

.home-game-hub-card p{
  margin:0;
  color:var(--muted);
  font-size:.84rem;
  line-height:1.55;
}

.home-game-hub-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.home-game-hub-footer small{
  max-width:46%;
  color:var(--muted);
  font-size:.68rem;
  line-height:1.35;
}

.home-game-hub-footer span{
  color:var(--hub-accent);
  font-size:.76rem;
  font-weight:800;
  text-align:right;
}

.home-game-hubs-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
}

.home-game-hubs-control{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--card);
  color:var(--ink);
  font:800 1rem/1 var(--sans);
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease;
}

.home-game-hubs-control:hover:not(:disabled){
  transform:translateY(-2px);
  border-color:var(--accent);
  color:var(--accent);
}

.home-game-hubs-control:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
}

.home-game-hubs-control:disabled{
  opacity:.32;
  cursor:default;
}

.home-game-hubs-dots{
  display:flex;
  align-items:center;
  gap:7px;
}

.home-game-hubs-dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:99px;
  background:var(--line);
  cursor:pointer;
  transition:width .25s ease,background .25s ease;
}

.home-game-hubs-dots button.on{
  width:24px;
  background:var(--accent);
}

.home-game-hubs-swipe-hint{
  position:absolute;
  top:50%;
  right:14px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(10,8,22,.64);
  color:#fff;
  opacity:0;
  pointer-events:none;
  transform:translateY(-50%) scale(.7);
}

@keyframes game-hubs-peek{
  0%{transform:translate3d(0,0,0)}
  30%{transform:translate3d(-34px,0,0)}
  62%{transform:translate3d(-34px,0,0)}
  100%{transform:translate3d(0,0,0)}
}

@keyframes game-hubs-hint{
  0%{opacity:0;transform:translateY(-50%) scale(.7)}
  18%{opacity:1;transform:translateY(-50%) scale(1)}
  70%{opacity:1;transform:translateY(-50%) scale(1)}
  100%{opacity:0;transform:translateY(-50%) scale(.7)}
}

.home-game-hubs-grid.peek-nudge{
  animation:game-hubs-peek 1.6s ease-in-out;
}

.home-game-hubs-swipe-hint.show{
  animation:game-hubs-hint 1.6s ease-in-out;
}

@media(max-width:900px){
  .home-game-hubs-grid{
    grid-auto-columns:calc((100% - 18px)/2);
    gap:18px;
  }
}

@media(max-width:640px){
  .home-game-hubs{
    margin-bottom:48px;
  }

  .home-game-hubs-grid{
    grid-auto-columns:88%;
    gap:14px;
    padding-right:24px;
  }

  .home-game-hubs-controls{
    justify-content:flex-end;
  }

  .home-game-hub-art{
    aspect-ratio:16/8.7;
  }

  .home-game-hub-body{
    padding:17px 18px 16px;
  }

  .home-game-hub-card h3{
    font-size:1.18rem;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-game-hubs-grid,
  .home-game-hub-card,
  .home-game-hub-art img,
  .home-game-hubs-control{
    transition:none;
  }

  .home-game-hubs-grid.peek-nudge,
  .home-game-hubs-swipe-hint.show{
    animation:none;
  }

  .home-game-hub-card:hover,
  .home-game-hub-card:hover .home-game-hub-art img,
  .home-game-hubs-control:hover:not(:disabled){
    transform:none;
  }
}
