.ng-featured-section {
  position: relative;
  padding: clamp(42px, 5vw, 72px) 0;
  background:
    linear-gradient(45deg, transparent 48.8%, rgba(37, 99, 235, 0.045) 49%, rgba(37, 99, 235, 0.045) 51%, transparent 51.2%) 0 0 / 38px 38px,
    linear-gradient(-45deg, transparent 48.8%, rgba(37, 99, 235, 0.045) 49%, rgba(37, 99, 235, 0.045) 51%, transparent 51.2%) 0 0 / 38px 38px,
    #f6f9fe;
}

.ng-featured-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 42px) clamp(18px, 3.2vw, 42px) 28px;
  border: 1px solid #d9e6f7;
  border-radius: clamp(22px, 2.4vw, 30px);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 70px rgba(30, 64, 175, 0.12);
}

.ng-featured-panel::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  right: -150px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22), transparent 68%);
  pointer-events: none;
}

.ng-featured-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.ng-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ng-featured-eyebrow::before {
  content: "N";
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 0.84rem;
  background: linear-gradient(145deg, #4f8cff, #1d4ed8);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.26);
}

.ng-featured-title {
  margin: 0;
  color: #0d1c33;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ng-featured-description {
  max-width: 700px;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

.ng-featured-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 4px;
}

.ng-featured-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #2563eb;
  border-radius: 13px;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(145deg, #4f8cff, #2563eb);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ng-featured-view-all:hover,
.ng-featured-view-all:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.ng-featured-view-all:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.ng-featured-view-all span {
  color: #fff !important;
  font-size: 1.05rem;
  line-height: 1;
}

.ng-featured-count {
  margin-right: 8px;
  color: #71819a;
  font-size: 0.8rem;
  font-weight: 800;
}

.ng-featured-nav {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid #bfd4f5;
  border-radius: 50%;
  color: #2563eb;
  background: #f7faff;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ng-featured-nav--next {
  color: #fff;
  border-color: #2563eb;
  background: linear-gradient(145deg, #4f8cff, #2563eb);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.ng-featured-nav:hover,
.ng-featured-nav:focus-visible {
  transform: translateY(-2px);
}

.ng-featured-nav:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.ng-featured-nav svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ng-featured-window {
  overflow: hidden;
  margin: 0 -2px;
  padding: 2px 2px 16px;
  touch-action: pan-y;
}

.ng-featured-track {
  display: flex;
  gap: 20px;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

.ng-featured-track.is-dragging {
  transition: none;
}

.ng-featured-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid #d8e4f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 52, 104, 0.09);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ng-featured-card:hover,
.ng-featured-card:focus-visible {
  transform: translateY(-4px);
  border-color: #a9c5ee;
  box-shadow: 0 20px 42px rgba(21, 52, 104, 0.15);
}

.ng-featured-card:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 3px;
}

.ng-featured-banner-wrap {
  position: relative;
  display: block;
  height: clamp(178px, 18vw, 220px);
  overflow: hidden;
  background: #dbeafe;
}

.ng-featured-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 25, 52, 0.25), transparent 42%);
  pointer-events: none;
}

body.homepage-v2 .ng-featured-banner {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.ng-featured-card:hover .ng-featured-banner {
  transform: scale(1.035);
}

.ng-featured-chip {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(19, 62, 150, 0.84);
  backdrop-filter: blur(9px);
}

.ng-featured-info {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 13px;
  min-height: 102px;
  padding: 16px;
}

body.homepage-v2 .ng-featured-icon {
  width: 66px;
  height: 66px !important;
  object-fit: cover;
  border: 1px solid #d3e1f2;
  border-radius: 17px;
  background: #edf4ff;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.14);
}

.ng-featured-copy {
  min-width: 0;
}

.ng-featured-game-title {
  display: block;
  overflow: hidden;
  margin: 0 0 5px;
  color: #0f1f37;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-featured-meta {
  display: block;
  overflow: hidden;
  color: #65758d;
  font-size: 0.8rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-featured-rating {
  color: #314a6d;
  font-weight: 800;
}

.ng-featured-star {
  color: #f59e0b;
}

.ng-featured-play {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #c6d9f6;
  border-radius: 13px;
  color: #2563eb;
  background: #eaf2ff;
}

.ng-featured-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ng-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
}

.ng-featured-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 10px;
}

.ng-featured-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd8e9;
  box-shadow: none;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.ng-featured-dot.is-active {
  width: 26px;
  background: #2563eb;
}

.ng-featured-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #71819a;
  font-size: 0.75rem;
  font-weight: 750;
}

.ng-featured-hint svg {
  width: 16px;
  height: 16px;
  fill: #2563eb;
}

@media (max-width: 1024px) {
  .ng-featured-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .ng-featured-track {
    gap: 18px;
  }

  .ng-featured-banner-wrap {
    height: clamp(180px, 27vw, 230px);
  }
}

@media (max-width: 700px) {
  .ng-featured-section {
    padding: 32px 0;
  }

  .ng-featured-panel {
    padding: 22px 14px 20px;
    border-radius: 21px;
  }

  .ng-featured-head {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 18px;
  }

  .ng-featured-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .ng-featured-view-all {
    min-height: 39px;
    margin-right: auto;
    padding: 9px 12px;
    font-size: 0.7rem;
  }

  .ng-featured-description {
    font-size: 0.88rem;
  }

  .ng-featured-count {
    display: none;
  }

  .ng-featured-nav {
    width: 39px;
    height: 39px;
  }

  .ng-featured-card {
    flex-basis: calc(91% - 12px);
    border-radius: 16px;
  }

  .ng-featured-track {
    gap: 12px;
  }

  .ng-featured-banner-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .ng-featured-chip {
    top: 9px;
    left: 9px;
    padding: 5px 7px;
    font-size: 0.56rem;
  }

  .ng-featured-info {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    min-height: 82px;
    padding: 10px;
  }

  body.homepage-v2 .ng-featured-icon {
    width: 48px;
    height: 48px !important;
    border-radius: 13px;
  }

  .ng-featured-game-title {
    font-size: 0.78rem;
  }

  .ng-featured-meta {
    font-size: 0.67rem;
  }

  .ng-featured-play {
    display: none;
  }

  .ng-featured-hint {
    display: none;
  }
}

@media (max-width: 430px) {
  .ng-featured-head {
    align-items: stretch;
    gap: 14px;
  }

  .ng-featured-eyebrow {
    font-size: 0.65rem;
  }

  .ng-featured-title {
    font-size: 1.55rem;
  }

  .ng-featured-description {
    max-width: 95%;
  }

  .ng-featured-actions {
    gap: 7px;
  }

  .ng-featured-nav {
    width: 35px;
    height: 35px;
  }

  .ng-featured-nav svg {
    width: 17px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ng-featured-track,
  .ng-featured-card,
  .ng-featured-banner,
  .ng-featured-nav {
    transition: none !important;
  }
}
