/* ===== HERO LAYOUT (Left text + Right big image) ===== */
.game-hero{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items:center;
  margin-bottom: 20px;
}

.game-hero__row{ display:flex; align-items:flex-start; gap:16px; }
.game-hero__thumb{
  width:72px; height:72px; border-radius:12px; object-fit:cover; flex:0 0 auto;
}

.game-hero__text{ display:grid; gap:8px; }
.game-hero__title{
  color:#55ff66;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: .2px;
  margin:0;
}
.game-hero__desc{
  color:#cfd6e4;
  margin:0;
  font-size: clamp(14px, 1.2vw, 18px);
}
.game-hero__badge{
  display:inline-block;
  padding:6px 10px;
  font-size:12px; font-weight:700;
  color:#111; background:#cfd6e4;
  border-radius:10px; margin-top:6px;
}
.game-hero__meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px; margin-top:18px;
}
.meta__label{ color:#a6b0c3; font-weight:700; }
.meta__value{ color:#fff; font-size:16px; }

.game-hero__right{ display:flex; justify-content:center; }
.game-hero__art{
  width:100%; max-width:520px; height:auto; object-fit:contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.45));
  transition: opacity .22s ease;
}

/* Responsive */
@media (max-width: 992px){
  .game-hero{ grid-template-columns: 1fr; gap: 24px; }
  .game-hero__right{ order: -1; }
}

/* ===== SLIDER ===== */
.game-slider { position: relative; width: 100%; --gap: 16px; --card-radius: 14px; }
.game-slider__viewport { overflow: hidden; width: 100%; }
.game-slider__track {
  display: flex; will-change: transform;
  transition: transform 380ms cubic-bezier(.2,.7,.2,1);
}
.game-slider__track.no-anim, .game-slider__track.dragging { transition: none !important; }
.game-slider__track.dragging { cursor: grabbing; }

.game-card{
  display:flex; flex-direction:column;
  background: var(--card-bg, #0b0f1a);
  border-radius: var(--card-radius);
  overflow: hidden; user-select: none; -webkit-user-drag: none;
  transform: translateZ(0);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  text-decoration: none;
}
.game-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.game-card__media img{
  width:100%; height:100%; object-fit: cover; display:block;
  transition: transform .4s ease, filter .4s ease;
}
.game-card:hover .game-card__media img{ transform: scale(1.06); filter: brightness(1.05); }

.game-card__badge{
  position:absolute; top:10px; left:10px;
  padding:4px 8px; font-size:12px; font-weight:700; color:#fff;
  background-color:#ff4757; border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,.3);
}

.game-card__body{ padding:12px 12px 14px; display:grid; gap:4px; }
.game-card__title{
  color:#fff; font-size:16px; font-weight:700; line-height:1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card__subtitle{
  color:#a6b0c3; font-size:13px; line-height:1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* arrows */
.game-slider__arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  height:40px; width:40px; border-radius:999px; border:none;
  background: rgba(255,255,255,.1); color:#fff; font-size:20px;
  line-height:40px; text-align:center; cursor:pointer; backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
  z-index:3;
}
.game-slider__arrow:hover{ background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.06); }
.game-slider__arrow--prev{ left:8px; }
.game-slider__arrow--next{ right:8px; }

/* dots */
.game-slider__dots{ display:flex; gap:8px; justify-content:center; margin-top:12px; }
.game-slider__dot{
  width:8px; height:8px; border-radius:999px; border:none;
  background: rgba(255,255,255,.25); padding:0; cursor:pointer;
  transition: transform .2s ease, background .2s ease;
}
.game-slider__dot.is-active{ background:#fff; transform: scale(1.2); }

/* accessibility */
.game-slider__arrow:focus-visible,
.game-slider__dot:focus-visible,
.game-card:focus-visible{ outline:2px solid #5aa9ff; outline-offset:2px; }

/* --- HOLOGRAM --- */
@keyframes holo-scan {
  0%,100% { clip-path: inset(0 0 0 0); filter: hue-rotate(0deg) saturate(1); }
  20%     { clip-path: inset(10% 0 0 0); }
  40%     { clip-path: inset(0 0 20% 0); }
  60%     { clip-path: inset(30% 0 0 0); }
  80%     { clip-path: inset(0 0 40% 0); }
}
@keyframes chroma-shift {
  0%   { filter: drop-shadow(0 0 0 rgba(0,255,255,.0)) drop-shadow(0 0 0 rgba(255,0,255,0)); }
  50%  { filter: drop-shadow(2px 0 0 rgba(0,255,255,.5)) drop-shadow(-2px 0 0 rgba(255,0,255,.5)); }
  100% { filter: drop-shadow(0 0 0 rgba(0,255,255,.0)) drop-shadow(0 0 0 rgba(255,0,255,0)); }
}

.game-hero__art.holo-enter {
  animation: holo-scan 420ms ease-out both, chroma-shift 420ms ease-out both;
}
