.home-page-mvp {
  display: grid;
  gap: 28px;
  padding: 18px 0 24px;
  background: #f4f6f9;
}

.mvp-surface:not(.mvp-hero) {
  background: linear-gradient(148deg, #0d1834 0%, #121d3f 54%, #171c48 100%);
  border: 1px solid #243158;
  border-radius: 16px;
}

.mvp-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 64px;
  box-shadow:
    inset 0 1px 0 rgba(193, 213, 255, 0.14),
    inset 0 -80px 120px rgba(7, 12, 28, 0.48),
    0 22px 44px rgba(8, 13, 33, 0.26);
}

.mvp-hero__atmo,
.mvp-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mvp-hero__atmo {
  background:
    radial-gradient(circle at 50% 42%, rgba(96, 120, 214, 0.3) 0%, rgba(31, 52, 97, 0.16) 34%, rgba(14, 24, 52, 0) 70%),
    radial-gradient(circle at 20% 18%, rgba(95, 91, 215, 0.2) 0%, rgba(95, 91, 215, 0) 42%),
    radial-gradient(circle at 82% 68%, rgba(75, 95, 190, 0.19) 0%, rgba(75, 95, 190, 0) 43%);
}

.mvp-hero__grain {
  opacity: .09;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.mvp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.mvp-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  color: #f5f8ff;
}

.mvp-hero p {
  margin: 18px 0 26px;
  color: #95a6c9;
  font-size: 18px;
}


.mvp-hero__tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.mvp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(162, 183, 236, 0.3);
  border-radius: 999px;
  padding: 7px 12px 7px 8px;
  color: #d7e2fb;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  background: linear-gradient(160deg, rgba(20, 34, 67, 0.78), rgba(16, 28, 58, 0.95));
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mvp-tag:hover {
  border-color: rgba(179, 157, 255, 0.6);
  box-shadow: 0 8px 16px rgba(8, 15, 39, 0.28);
}

.mvp-tag__logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(219, 229, 255, 0.28);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.mvp-tag__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvp-tag__seen {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 999px;
  color: rgba(227, 235, 255, 0.82);
  background: rgba(167, 119, 255, 0.18);
  display: none;
}

.mvp-tag.is-seen .mvp-tag__seen {
  display: inline-flex;
}

.mvp-section h2 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 32px;
}

.mvp-section__subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.mvp-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mvp-link {
  color: #374151;
  font-weight: 600;
  text-decoration: none;
  transition: color .16s ease, opacity .16s ease;
}

.mvp-link:hover {
  color: #6f5af6;
  opacity: .96;
}

.mvp-grid {
  display: grid;
  gap: 14px;
}

.mvp-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mvp-grid--games {
  grid-template-columns: repeat(auto-fit, minmax(140px, 160px));
  justify-content: start;
  gap: 16px;
}

.mvp-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mvp-grid--new {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

.mvp-grid--trust {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mvp-card-media,
.mvp-product-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: radial-gradient(circle at 15% 20%, #3381ff 0%, #173463 40%, #0b1830 100%);
}

.mvp-card-media img,
.mvp-product-card__media img,
.mvp-seller-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvp-theme-cs2 .mvp-card-media,
.mvp-theme-cs2 .mvp-product-card__media {
  background: radial-gradient(circle at 80% 20%, #72c5ff 0%, #1a3d5d 40%, #0b1830 100%);
}

.mvp-theme-gta .mvp-card-media,
.mvp-theme-gta .mvp-product-card__media {
  background: radial-gradient(circle at 50% 15%, #6fd0dd 0%, #12414d 40%, #0b1830 100%);
}

.mvp-theme-fortnite .mvp-card-media,
.mvp-theme-fortnite .mvp-product-card__media,
.mvp-theme-dota .mvp-card-media,
.mvp-theme-dota .mvp-product-card__media {
  background: radial-gradient(circle at 55% 10%, #d8f8ff 0%, #4f6973 40%, #0b1830 100%);
}

.mvp-theme-standoff .mvp-card-media,
.mvp-theme-standoff .mvp-product-card__media {
  background: radial-gradient(circle at 25% 20%, #87b7db 0%, #1d3a52 40%, #0b1830 100%);
}

.mvp-theme-valorant .mvp-card-media,
.mvp-theme-valorant .mvp-product-card__media {
  background: radial-gradient(circle at 50% 15%, #f8cf75 0%, #4f4f30 40%, #0b1830 100%);
}

.mvp-theme-genshin .mvp-card-media,
.mvp-theme-genshin .mvp-product-card__media,
.mvp-theme-roblox .mvp-card-media,
.mvp-theme-roblox .mvp-product-card__media {
  background: radial-gradient(circle at 30% 15%, #4ce0b4 0%, #165549 40%, #0b1830 100%);
}

.mvp-product-card,
.mvp-seller-card,
.mvp-category-card {
  padding: 12px;
  background: linear-gradient(180deg, #10203b 0%, #0b1730 100%);
  border: 1px solid #1b2f53;
}

.mvp-product-card h3,
.mvp-seller-card h3,
.mvp-category-card h3 {
  margin: 10px 0 4px;
  color: #f4f7ff;
  font-size: 20px;
}

.mvp-product-card__seller,
.mvp-seller-card p,
.mvp-trust-card p {
  margin: 0;
  color: #9fb3d9;
  font-size: 13px;
}


.mvp-section__head--games {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.mvp-section__head--games h2 {
  margin-bottom: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.mvp-section__head--games .mvp-section__subtitle {
  margin-top: 4px;
}

.mvp-game-card {
  width: 100%;
  min-height: 168px;
  height: 100%;
  padding: 16px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.75);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-rows: 72px auto auto;
  align-items: center;
  align-content: start;
  text-align: center;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mvp-game-card:hover {
  border-color: rgba(148, 163, 184, 0.86);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.mvp-game-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.04), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background-color 0.2s ease;
}

.mvp-game-card__icon img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mvp-game-card:hover .mvp-game-card__icon {
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.055), transparent);
}

.mvp-game-card h3 {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.mvp-game-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

.mvp-product-card__media {
  position: relative;
}

.mvp-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mvp-product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.mvp-product-card__content {
  display: grid;
  grid-template-rows: minmax(56px, auto) auto;
  gap: 6px;
  margin-top: 10px;
  min-width: 0;
}

.mvp-product-card__title {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.35;
  font-size: 20px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mvp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .02em;
  background: #2061e9;
  color: #fff;
  border-radius: 8px;
  padding: 5px 8px;
}

.mvp-product-card__footer {
  margin-top: auto;
  padding: 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mvp-product-card__footer strong {
  font-size: 28px;
  color: #fff;
  line-height: 1;
}

.mvp-product-card__footer .btn {
  border-radius: 14px;
  border: 1px solid #6d28d9;
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 58%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(76, 29, 149, 0.24);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mvp-product-card__footer .btn:hover {
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 60%, #5b21b6 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(76, 29, 149, 0.28);
}

.mvp-product-card__footer .btn:active {
  transform: translateY(0);
  box-shadow: 0 7px 14px rgba(76, 29, 149, 0.22);
}

.mvp-product-card__seller span {
  color: #c8d7f7;
}

.mvp-empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #c7d2e7;
  border-radius: 12px;
  color: #6b7280;
  text-align: center;
  background: #e9edf5;
}

.mvp-trust {
  border-top: 1px solid #d6deeb;
  padding-top: 22px;
}

.mvp-trust-card {
  text-align: center;
  background: #edf2fa;
  border: 1px solid #d5dfef;
  border-radius: 16px;
  padding: 16px;
}

.mvp-trust-card h3 {
  color: #1f2937;
}

.mvp-trust-card p {
  color: #6b7280;
}

.mvp-trust-card__icon {
  font-size: 24px;
}

@media (max-width: 1200px) {
  .mvp-grid--games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mvp-grid--products,
  .mvp-grid--trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mvp-hero {
    padding: 28px 18px;
  }

  .mvp-hero p {
    font-size: 15px;
  }

  .mvp-section h2 {
    font-size: 24px;
  }

  .mvp-section__head--games {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .mvp-section__head--games h2 {
    font-size: 24px;
  }

  .mvp-grid--games,
  .mvp-grid--products,
  .mvp-grid--new,
  .mvp-grid--trust {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .mvp-grid--games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .mvp-grid--games {
    grid-template-columns: 1fr;
  }
}

/* ===== homepage hero redesign: final overrides ===== */
.mvp-surface.mvp-hero {
  position: relative;
  isolation: isolate;
  padding: 68px 52px 54px;
}

.mvp-hero__atmo,
.mvp-hero__grain {
  display: none !important;
}

.mvp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mvp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.mvp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5b38c6;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.22);
}

.mvp-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: #0f172a;
  text-wrap: balance;
}

.mvp-hero p {
  max-width: 700px;
  margin: 14px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: #51607a;
}

.mvp-hero__tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.mvp-tag {
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px 8px 8px;
  border: 1px solid #d9e1ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-weight: 600;
  font-size: 13px;
  box-shadow: none;
}

.mvp-tag__logo {
  width: 20px;
  height: 20px;
  border: 0;
  background: #eef2ff;
}

.mvp-tag__name {
  white-space: nowrap;
}

.mvp-tag__seen {
  display: none !important;
}

@media (max-width: 768px) {
  .mvp-surface.mvp-hero {
    padding: 44px 18px 34px;
    border-radius: 22px;
  }

  .mvp-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .mvp-hero p {
    font-size: 16px;
  }

}

/* Unified game card system with catalog "Игры" cards */
.mvp-grid--games .quick-game-card {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 10px;
  min-height: 176px;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid #e6eaf1;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  text-decoration: none;
  color: inherit;
}

.mvp-grid--games .quick-game-card:hover {
  border-color: rgba(124, 58, 237, 0.32);
  background: rgba(124, 58, 237, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.mvp-grid--games .quick-game-card__icon img,
.mvp-grid--games .quick-game-card__fallback {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f4f6fb 0%, #eceff7 100%);
  border: 1px solid #dce3f0;
}

.mvp-grid--games .quick-game-card__icon img {
  width: 100%;
  height: 100%;
}

.mvp-grid--games .quick-game-card__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.mvp-grid--games .quick-game-card__title {
  font-weight: 700;
  font-size: 15px;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.mvp-grid--games .quick-game-card__meta {
  color: #6b7280;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}


.mvp-games-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.38fr);
  gap: 14px;
  align-items: stretch;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.mvp-games-featured,
.mvp-games-ranked {
  border-radius: 22px;
  min-height: 100%;
  height: 100%;
}

.mvp-games-featured {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(155deg, #181a24 0%, #212433 56%, #29273a 100%);
  color: #eef3ff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

.mvp-games-ranked {
  overflow: hidden;
}

.mvp-games-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 28% 22%,
    rgba(124, 92, 250, 0.16) 0%,
    rgba(124, 92, 250, 0.07) 24%,
    rgba(124, 92, 250, 0) 55%
  );
  z-index: 0;
}

.mvp-games-featured > * {
  position: relative;
  z-index: 1;
}

.mvp-games-featured__badge {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.46);
  border: 1px solid rgba(203, 213, 225, 0.32);
}

.mvp-games-featured__logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.mvp-games-featured__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvp-games-featured__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mvp-games-featured__body h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #f8faff;
}

.mvp-games-featured__meta {
  margin: 0;
  color: #d5deff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}

.mvp-games-featured__desc {
  margin: 0;
  color: rgba(228, 236, 255, 0.9);
  line-height: 1.45;
  font-size: 14px;
}

.mvp-games-featured__cta {
  margin-top: auto;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  padding: 0 20px;
  min-height: 48px;
  line-height: 1.2;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.mvp-games-ranked {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fe 100%);
  border: 1px solid #e2e8f3;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.mvp-games-ranked__row {
  min-width: 0;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: 32px 42px minmax(0, 1fr) minmax(190px, auto) 18px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.mvp-games-ranked__row:hover {
  background: #eef2ff;
  box-shadow: inset 0 0 0 1px #dbe4ff;
}

.mvp-games-ranked__rank {
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.mvp-games-ranked__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #edf2ff;
  border: 1px solid #d9e2f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mvp-games-ranked__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvp-games-ranked__fallback {
  font-size: 20px;
}

.mvp-games-ranked__name {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mvp-games-ranked__side {
  min-width: 0;
  text-align: right;
  display: grid;
  gap: 2px;
}

.mvp-games-ranked__price {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mvp-games-ranked__hint {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mvp-games-ranked__arrow {
  color: #7c3aed;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.mvp-games-stats {
  margin: 22px auto 0;
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: min(100%, 940px);
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid #dee5f4;
  background: rgba(245, 247, 253, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.mvp-games-stats__item {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.mvp-games-stats__sep {
  width: 1px;
  height: 14px;
  background: #d5deee;
  flex: 0 0 auto;
}

@media (max-width: 1024px) {
  .mvp-games-premium {
    grid-template-columns: 1fr;
  }

  .mvp-games-featured__body h3 {
    font-size: 24px;
  }

  .mvp-games-ranked__row {
    grid-template-columns: 28px 40px minmax(0, 1fr) minmax(170px, auto) 16px;
  }
}

@media (max-width: 768px) {
  .mvp-games-featured,
  .mvp-games-ranked {
    border-radius: 18px;
  }

  .mvp-games-featured {
    padding: 18px;
  }

  .mvp-games-ranked {
    padding: 8px;
    gap: 6px;
  }

  .mvp-games-ranked__row {
    padding: 10px;
    grid-template-columns: 26px 36px minmax(0, 1fr);
    gap: 8px;
  }

  .mvp-games-ranked__side {
    grid-column: 2 / -1;
    text-align: left;
    padding-left: 2px;
  }

  .mvp-games-ranked__arrow {
    display: none;
  }

  .mvp-games-stats {
    margin-top: 18px;
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    padding: 10px 12px;
    gap: 8px;
  }

  .mvp-games-stats__item {
    padding: 0;
  }

  .mvp-games-stats__sep {
    display: none;
  }
}

.mvp-grid--trust {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mvp-trust-card {
  text-align: left;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.mvp-trust-card h3 {
  margin: 0;
  font-size: 18px;
}

.mvp-trust-card p {
  margin: 0;
  line-height: 1.5;
}

.mvp-trust-card__icon {
  font-size: 22px;
  color: #4f46e5;
}

/* ===== unification overrides: homepage in shared product system ===== */
.home-page-mvp {
  background: transparent;
  gap: 24px;
  padding: 16px 0 28px;
}

.mvp-surface:not(.mvp-hero),
.mvp-game-card,
.mvp-category-card,
.mvp-product-card,
.mvp-seller-card,
.mvp-trust-card {
  border: 1px solid #e4e7ef;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.mvp-hero {
  border-radius: 24px;
  padding: 44px 40px;
}
.mvp-hero__atmo,
.mvp-hero__grain { display: none; }
.mvp-hero h1,
.mvp-hero p { color: #111827; }
.mvp-tag,
.mvp-link,
.mvp-badge { border-radius: 10px; }

.mvp-tag {
  color: #334155;
  background: #fff;
  border-color: #e2e8f0;
}

.mvp-tag__seen { background: #f3edff; color: #5b21b6; }

.mvp-card-media,
.mvp-product-card__media,
.mvp-seller-card__avatar { border-radius: 16px; }

.mvp-product-card__footer .btn,
.mvp-trust-card,
.mvp-game-card,
.mvp-category-card,
.mvp-seller-card { border-radius: 16px; }

/* ===== focused regression correction: homepage hero presence ===== */
.page-home .mvp-surface.mvp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #ddd2ff;
  border-radius: 36px;
  padding: 62px 52px 50px;
  background:
    radial-gradient(circle at 50% 14%, rgba(161, 126, 255, 0.42) 0%, rgba(161, 126, 255, 0.24) 22%, rgba(161, 126, 255, 0.10) 38%, rgba(161, 126, 255, 0) 68%),
    linear-gradient(180deg, #f4efff 0%, #f1f3ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 40px rgba(115, 93, 190, 0.10);
}


/* ===== homepage scoped final styles (single source of truth for targeted blocks) ===== */
.page-home.has-sticky-topbar .topbar {
  position: sticky;
  top: 0;
  z-index: 120;
}

.page-home .mvp-hero__content {
  max-width: 780px;
}

.page-home .mvp-hero h1 {
  margin-bottom: 14px;
}

.page-home .mvp-hero p {
  margin: 0 auto;
  max-width: 670px;
  line-height: 1.5;
}

.page-home .mvp-search {
  margin: 24px auto 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(152, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 36px rgba(104, 88, 170, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .mvp-search__icon {
  font-size: 18px;
  color: #8792a8;
}

.page-home .mvp-search .mvp-search__input,
.page-home .mvp-search .mvp-search__input:hover,
.page-home .mvp-search .mvp-search__input:focus,
.page-home .mvp-search .mvp-search__input:focus-visible,
.page-home .mvp-search .mvp-search__input:active {
  width: 100%;
  height: 100%;
  border: 1px solid transparent !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  color: #111827 !important;
  caret-color: #4c1d95;
  font-size: 15px;
  font-weight: 500;
}

.page-home .mvp-search .mvp-search__input::before,
.page-home .mvp-search .mvp-search__input::after {
  content: none !important;
  display: none !important;
}

.page-home .mvp-search .mvp-search__input::-webkit-search-decoration,
.page-home .mvp-search .mvp-search__input::-webkit-search-cancel-button,
.page-home .mvp-search .mvp-search__input::-webkit-search-results-button,
.page-home .mvp-search .mvp-search__input::-webkit-search-results-decoration {
  display: none !important;
  -webkit-appearance: none !important;
}

.page-home .mvp-search .mvp-search__input::placeholder {
  color: #8d97ad !important;
}

.page-home .mvp-search .mvp-search__input:-webkit-autofill,
.page-home .mvp-search .mvp-search__input:-webkit-autofill:hover,
.page-home .mvp-search .mvp-search__input:-webkit-autofill:focus,
.page-home .mvp-search .mvp-search__input:-webkit-autofill:active {
  -webkit-text-fill-color: #111827 !important;
  caret-color: #4c1d95 !important;
  box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0) !important;
  -webkit-box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0) !important;
  transition: background-color 99999s ease-out 0s;
}

.page-home .mvp-search .mvp-search__submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 54px;
  margin: 0;
  padding: 0 30px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border-radius: 999px !important;
  border: 1px solid #7f5af0 !important;
  background: linear-gradient(135deg, #9a7cff 0%, #845ff3 52%, #744eea 100%) !important;
  color: #fff !important;
  line-height: 1;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  outline: none !important;
  box-shadow: 0 9px 20px rgba(116, 78, 234, 0.22) !important;
  transition:
    background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .mvp-search .mvp-search__submit::before {
  content: none;
}

.page-home .mvp-search .mvp-search__submit:hover {
  border-radius: 999px !important;
  border-color: #744eea !important;
  background: linear-gradient(135deg, #9071fb 0%, #7a56ee 52%, #6c47e4 100%) !important;
  box-shadow: 0 10px 22px rgba(116, 78, 234, 0.25) !important;
}

.page-home .mvp-search .mvp-search__submit:focus,
.page-home .mvp-search .mvp-search__submit:focus-visible,
.page-home .mvp-search .mvp-search__submit:active {
  border-radius: 999px !important;
  outline: none !important;
  border-color: #744eea !important;
  background: linear-gradient(135deg, #8868f4 0%, #724fe8 52%, #6541dd 100%) !important;
  box-shadow: 0 6px 14px rgba(116, 78, 234, 0.2) !important;
}

.page-home .mvp-search:focus-within {
  border-color: rgba(116, 78, 234, 0.34) !important;
  box-shadow:
    0 18px 36px rgba(104, 88, 170, 0.12),
    0 0 0 2px rgba(126, 89, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
  outline: none !important;
}

.page-home .mvp-hero__tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-home .mvp-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e3e8f1;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .mvp-tag:hover {
  border-color: #d6ddeb;
  background: #fdfefe;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.05);
}

.page-home .mvp-tag__logo {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  overflow: hidden;
  background: #eef2ff;
  border: 1px solid #dde5f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-home .mvp-tag__logo,
.page-home .mvp-tag__logo img {
  border-radius: 5px !important;
}

.page-home .mvp-tag__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .mvp-tag__name {
  line-height: 1.15;
  white-space: nowrap;
}

.page-home .mvp-section--games {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 16px;
  margin-bottom: 56px;
}

.page-home .mvp-section__head--games {
  margin-bottom: 18px;
  align-items: end;
  gap: 16px;
}

.page-home .mvp-section__head--games h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.page-home .mvp-section__head--games .mvp-section__subtitle {
  margin: 9px 0 0;
  color: #526079;
  font-size: 15px;
  line-height: 1.45;
  max-width: 620px;
}

.page-home .mvp-section--games .mvp-link {
  font-size: 14px;
  font-weight: 700;
}

.page-home .mvp-section--games .mvp-link--games {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
  color: #3e4a61;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}

.page-home .mvp-section--games .mvp-link--games__arrow {
  display: inline-flex;
  transition: transform .2s ease;
}

.page-home .mvp-section--games .mvp-link--games:hover {
  color: #1f2d46;
}

.page-home .mvp-section--games .mvp-link--games:hover .mvp-link--games__arrow {
  transform: translateX(3px);
}

.page-home .mvp-games-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.38fr);
  gap: 16px;
  align-items: stretch;
  grid-auto-rows: minmax(0, 1fr);
}

.page-home .mvp-games-featured,
.page-home .mvp-games-ranked {
  height: 100%;
  min-height: 100%;
}

.page-home .mvp-games-featured {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px;
  border-radius: 24px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 14px;
  border: 1px solid rgba(168, 153, 244, 0.3);
  background:
    radial-gradient(130% 100% at 18% 14%, rgba(141, 114, 255, 0.2) 0%, rgba(141, 114, 255, 0) 52%),
    radial-gradient(120% 90% at 84% 100%, rgba(88, 71, 188, 0.18) 0%, rgba(88, 71, 188, 0) 60%),
    linear-gradient(160deg, #171327 0%, #1c1730 52%, #221b3a 100%);
  box-shadow:
    inset 0 1px 0 rgba(242, 237, 255, 0.16),
    inset 0 14px 24px rgba(205, 187, 255, 0.06),
    0 14px 30px rgba(24, 15, 47, 0.22);
}

.page-home .mvp-games-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 24% 20%,
    rgba(186, 165, 255, 0.16) 0%,
    rgba(186, 165, 255, 0.08) 30%,
    rgba(186, 165, 255, 0) 62%
  );
  z-index: 0;
}

.page-home .mvp-games-featured > * {
  position: relative;
  z-index: 1;
}

.page-home .mvp-games-featured__body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.page-home .mvp-games-featured__body h3 {
  font-size: clamp(31px, 2.7vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.026em;
}

.page-home .mvp-games-featured__meta {
  color: #d6dff2;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.page-home .mvp-games-featured__desc {
  color: #e2e9f7;
  line-height: 1.46;
  max-width: 38ch;
}

.page-home .mvp-games-featured__cta {
  margin-top: auto;
  min-height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7261f2 0%, #5e5ae8 100%) !important;
  border: 1px solid rgba(170, 169, 255, 0.5) !important;
  color: #f9fbff !important;
  box-shadow: 0 10px 20px rgba(59, 54, 160, 0.3) !important;
  text-decoration: none;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.page-home .mvp-games-featured__cta-arrow {
  display: inline-flex;
  transition: transform .2s ease;
}

.page-home .mvp-games-featured__cta:hover {
  background: linear-gradient(135deg, #7d6cfd 0%, #6866f0 100%) !important;
  border-color: rgba(187, 184, 255, 0.62) !important;
  box-shadow: 0 12px 24px rgba(59, 54, 160, 0.34) !important;
}

.page-home .mvp-games-featured__cta:hover .mvp-games-featured__cta-arrow {
  transform: translateX(3px);
}

.page-home .mvp-games-ranked {
  display: grid;
  align-content: stretch;
  padding: 12px;
  border-radius: 22px;
  box-sizing: border-box;
  border: 1px solid rgba(216, 225, 240, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

.page-home .mvp-games-ranked__row {
  min-height: 0;
  border-radius: 13px;
  padding: 13px 12px;
  display: grid;
  grid-template-columns: 32px 42px minmax(0, 1fr) minmax(190px, auto) 18px;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  border: 1px solid rgba(227, 234, 246, 0.78);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.page-home .mvp-games-ranked__row:hover {
  background: #f8faff;
  border-color: #d6deef;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.page-home .mvp-games-ranked__row--top {
  background: rgba(248, 251, 255, 0.88);
  border-color: rgba(217, 227, 243, 0.9);
}

.page-home .mvp-games-ranked__rank {
  font-size: 12px;
  font-weight: 800;
  color: #5f6b80;
  letter-spacing: 0.06em;
}

.page-home .mvp-games-ranked__name {
  font-size: 15px;
  font-weight: 750;
  color: #0f172a;
}

.page-home .mvp-games-ranked__side {
  text-align: right;
}

.page-home .mvp-games-ranked__price {
  font-size: 13px;
  font-weight: 640;
  color: #324155;
}

.page-home .mvp-games-ranked__arrow {
  color: #7b8599;
  font-size: 17px;
  font-weight: 700;
}

.page-home .mvp-section--categories .mvp-section__head--categories {
  margin-bottom: 20px;
}

.page-home .mvp-section--categories {
  margin-top: 32px;
  margin-bottom: 56px;
}
.page-home .mvp-grid--categories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}


.page-home .mvp-category-tile,
.page-home .mvp-category-card-all__inner {
  height: 76px;
  min-height: 0;
}

.page-home .mvp-category-tile {
  height: 76px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #d8e1ec;
  background: linear-gradient(180deg, #fdfefe 0%, #f4f7fc 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.055);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-home .mvp-category-tile__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.page-home .mvp-category-tile__accent {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #d9dffa;
  background: linear-gradient(180deg, #f4f2ff 0%, #ece9ff 100%);
  color: #5b4cf0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
  flex-shrink: 0;
}

.page-home .mvp-category-tile__media {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #d9dffa;
  background: linear-gradient(180deg, #f4f2ff 0%, #ece9ff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.page-home .mvp-category-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .mvp-category-tile h3 {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .mvp-category-tile p {
  margin: 0;
  color: #5f6b7f;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .mvp-card-link:hover .mvp-category-tile {
  border-color: #c9d4e4;
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.075);
}

.page-home .mvp-card-link:hover .mvp-category-tile__accent,
.page-home .mvp-card-link:hover .mvp-category-tile__media {
  border-color: #cbcfff;
  background: linear-gradient(180deg, #f1efff 0%, #e7e4ff 100%);
}


.page-home .mvp-category-card-all {
  grid-column: span 1;
}



.page-home .mvp-category-card-all__inner {
  height: 76px;
  min-height: 0;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid #cdd7ea;
  background: linear-gradient(180deg, #f8faff 0%, #edf3fd 100%);
  color: #1f2b3c;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-home .mvp-category-card-all__kicker,
.page-home .mvp-category-card-all__inner h3,
.page-home .mvp-category-card-all__inner p {
  display: none;
}

.page-home .mvp-category-card-all__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  font-weight: 820;
  color: #172439;
  transition: color .2s ease;
}

.page-home .mvp-category-card-all__action span {
  transition: transform .2s ease;
}

.page-home .mvp-card-link:hover .mvp-category-card-all__action {
  color: #0f172a;
}

.page-home .mvp-card-link:hover .mvp-category-card-all__action span {
  transform: translateX(2px);
}

.page-home .mvp-card-link:hover .mvp-category-card-all__inner {
  border-color: #bdcbdf;
  background: linear-gradient(180deg, #ffffff 0%, #e9f1fb 100%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.page-home .mvp-grid--sellers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.page-home .mvp-seller-card-premium {
  position: relative;
  min-height: 100%;
  border-radius: 22px;
  border: 1px solid #d8e0eb;
  background: linear-gradient(180deg, #fdfefe 0%, #f2f6fb 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.062);
  padding: 18px 18px 16px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 14px;
  transition: box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.page-home .mvp-card-link:hover .mvp-seller-card-premium {
  transform: none;
  border-color: #c8d2e0;
  background: linear-gradient(180deg, #ffffff 0%, #edf3f9 100%);
  box-shadow: 0 13px 26px rgba(15, 23, 42, 0.078);
}

.page-home .mvp-seller-card-premium__rank {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  border-radius: 999px;
  padding: 0 8px;
  border: 1px solid #d7d1fb;
  background: linear-gradient(180deg, #f7f4ff 0%, #eee9ff 100%);
  color: #4f3fa3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-home .mvp-seller-card-premium__top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
}

.page-home .mvp-seller-card-premium__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #e3e9f5;
  background: linear-gradient(180deg, #f4f7ff 0%, #eaf0ff 100%);
  color: #334155;
  font-weight: 800;
  display: grid;
  place-items: center;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.page-home .mvp-seller-card-premium__body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  gap: 8px;
  min-height: 0;
}

.page-home .mvp-seller-card-premium__body h3 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.page-home .mvp-seller-card-premium__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #334155;
  font-size: 14px;
  line-height: 1;
}

.page-home .mvp-seller-card-premium__rating-star {
  color: #ffb547;
  font-size: 15px;
}

.page-home .mvp-seller-card-premium__rating {
  color: #0f172a;
  font-weight: 750;
}

.page-home .mvp-seller-card-premium__reviews {
  color: #7a8699;
  font-size: 12px;
}

.page-home .mvp-seller-card-premium__stats {
  margin-top: 8px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e0e7f1;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f6fc 100%);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-self: end;
}

.page-home .mvp-seller-card-premium__stat {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  padding: 6px 10px;
}

.page-home .mvp-seller-card-premium__stat + .mvp-seller-card-premium__stat {
  border-left: 1px solid #dbe3ee;
}

.page-home .mvp-seller-card-premium__stat-label {
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #8a96aa;
  font-weight: 700;
}

.page-home .mvp-seller-card-premium__stat-value {
  color: #0f172a;
  font-size: 15px;
  font-weight: 750;
}

.page-home .mvp-section--sellers {
  margin-bottom: 18px;
}

.page-home .mvp-trust {
  margin-top: 20px;
  padding-top: 26px;
}

@media (max-width: 1200px) {
  .page-home .mvp-grid--categories,
  .page-home .mvp-grid--sellers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  .page-home .mvp-search {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 10px 12px;
    min-height: 0;
    border-radius: 28px;
    gap: 8px;
  }

  .page-home .mvp-search .mvp-search__input {
    height: 38px;
    font-size: 15px;
  }

  .page-home .mvp-search .mvp-search__submit {
    grid-column: 1 / -1;
    width: 100%;
    height: 46px;
    border-radius: 999px !important;
  }

  .page-home .mvp-tag {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .page-home .mvp-tag__logo {
    width: 18px;
    height: 18px;
    border-radius: 5px;
  }

  .page-home .mvp-section--games {
    margin-bottom: 36px;
  }

  .page-home .mvp-grid--categories,
  .page-home .mvp-grid--sellers {
    grid-template-columns: 1fr;
  }

}

/* Home visual rhythm normalization */
.page-home {
  --home-section-gap: clamp(64px, 6vw, 84px);
  --home-headline-gap: 10px;
  --home-subtitle-gap: 28px;
  --home-text-secondary: #5f6b7f;
  --home-surface-border: rgba(15, 23, 42, 0.1);
  --home-surface-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  --home-radius-lg: 22px;
  --home-radius-md: 16px;
  --home-radius-sm: 12px;
  --home-btn-padding-inline: 18px;
  --home-btn-padding-block: 11px;
}

.page-home .home-page-mvp {
  gap: var(--home-section-gap);
  padding: 24px 0 var(--home-section-gap);
}

.page-home .mvp-section,
.page-home .mvp-trust {
  margin: 0;
}

.page-home .footer {
  margin: 0 auto;
}

.page-home .catalog-cards[data-view="grid"] .listing-tile {
  grid-template-rows: 210px 44px auto minmax(56px, 1fr);
  row-gap: 10px;
}

.page-home .catalog-cards[data-view="grid"] .listing-tile__chips {
  min-height: 32px;
  height: auto;
  align-items: flex-start;
  flex-wrap: wrap;
}

.page-home .catalog-cards[data-view="grid"] .listing-tile__price-row {
  align-self: end;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid #edf1f7;
}

.page-home .catalog-cards[data-view="grid"] .listing-tile__seller-row {
  min-height: 34px;
}

@media (min-width: 1200px) {
  .page-home .catalog-cards[data-view="grid"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }
}

.page-home .mvp-section__head {
  margin-bottom: var(--home-subtitle-gap);
  align-items: center;
}

.page-home .mvp-section h2 {
  margin: 0;
}

.page-home .mvp-section__subtitle {
  margin-top: var(--home-headline-gap);
  color: var(--home-text-secondary);
}

.page-home .mvp-games-featured__desc,
.page-home .mvp-games-ranked__hint,
.page-home .mvp-games-ranked__price,
.page-home .mvp-category-tile p,
.page-home .mvp-trust-card p,
.page-home .mvp-seller-card-premium__reviews,
.page-home .mvp-seller-card-premium__stat-label,
.page-home .listing-tile__rating,
.page-home .footer__description,
.page-home .footer__support-hours,
.page-home .footer__support-link,
.page-home .footer__list a,
.page-home .footer__legal,
.page-home .footer__legal-links a {
  color: var(--home-text-secondary);
  opacity: 1;
}

.page-home .mvp-surface.mvp-hero,
.page-home .mvp-games-ranked__row,
.page-home .mvp-category-tile,
.page-home .mvp-category-card-all__inner,
.page-home .mvp-seller-card-premium,
.page-home .mvp-trust-card,
.page-home .footer {
  border-color: var(--home-surface-border);
  box-shadow: var(--home-surface-shadow);
}

.page-home .mvp-surface.mvp-hero {
  border-radius: var(--home-radius-lg);
}

.page-home .mvp-search,
.page-home .footer__brand-mark {
  border-radius: var(--home-radius-md);
}

.page-home .mvp-category-tile,
.page-home .mvp-category-card-all__inner,
.page-home .mvp-seller-card-premium,
.page-home .mvp-trust-card {
  border-radius: var(--home-radius-md);
}

.page-home .mvp-games-featured,
.page-home .mvp-games-ranked,
.page-home .mvp-games-ranked__row,
.page-home .mvp-search .mvp-search__submit,
.page-home .mvp-games-featured__cta,
.page-home .footer__badge {
  border-radius: var(--home-radius-sm);
}

.page-home .mvp-search .mvp-search__submit,
.page-home .mvp-games-featured__cta {
  min-height: 44px;
  padding: var(--home-btn-padding-block) var(--home-btn-padding-inline);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(76, 29, 149, 0.2);
}

.page-home .mvp-search .mvp-search__submit {
  border-radius: 999px !important;
}

.page-home .mvp-games-featured__cta,
.page-home .mvp-search .mvp-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-home .mvp-games-ranked__row,
.page-home .listing-tile__seller,
.page-home .footer__social-link,
.page-home .footer__support-link {
  align-items: center;
}

.page-home .footer {
  margin-top: var(--home-section-gap);
  padding-top: 56px;
  border-radius: var(--home-radius-lg);
}

.page-home .footer__grid {
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .page-home {
    --home-section-gap: 64px;
  }

  .page-home .home-page-mvp {
    padding-bottom: 64px;
  }

  .page-home .mvp-section__head {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .home-page-mvp {
    gap: 30px;
    padding: 14px 0 calc(24px + var(--mobile-nav-safe, 0px));
  }

  .home-page-mvp .mvp-section {
    margin: 0;
  }

  .page-home .mvp-hero {
    padding: 28px 18px;
    border-radius: 24px;
    min-height: 0;
  }

  .page-home .mvp-hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .page-home .mvp-hero p {
    margin: 12px 0 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .page-home .mvp-search {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 10px;
  }

  .page-home .mvp-search__icon {
    display: none;
  }

  .page-home .mvp-search .mvp-search__input,
  .page-home .mvp-search .mvp-search__submit {
    width: 100%;
    min-width: 0;
  }

  .page-home .mvp-search .mvp-search__submit {
    min-height: 48px;
  }

  .mvp-hero__tags {
    justify-content: flex-start;
    gap: 8px;
  }

  .mvp-tag {
    max-width: 100%;
  }

  .page-home .mvp-games-premium {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-home .mvp-games-featured,
  .page-home .mvp-games-ranked {
    min-width: 0;
    border-radius: 24px;
  }

  .page-home .mvp-games-featured__cta,
  .page-home .mvp-games-ranked__price,
  .page-home .mvp-games-ranked__name {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .page-home .mvp-grid--categories {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-home .mvp-category-card,
  .page-home .mvp-category-card-all__inner {
    min-height: 76px;
    height: auto;
    border-radius: 22px;
    padding: 14px 16px;
  }

  .page-home .mvp-category-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .page-home .mvp-product-card,
  .page-home .mvp-seller-card,
  .page-home .mvp-category-card {
    border-radius: 24px;
    padding: 16px;
  }

  .page-home .footer {
    padding-top: 28px;
  }

  .page-home .footer__grid {
    gap: 16px;
  }

  .page-home .footer__col {
    gap: 8px;
  }
}


/* ===== mobile composition tune-up (post spacing fixes) ===== */
@media (max-width: 768px) {
  .page-home .home-page-mvp {
    gap: 22px;
    padding-bottom: calc(var(--mobile-nav-safe, 76px) + 28px);
  }

  .page-home .mvp-section,
  .page-home .mvp-trust {
    margin-block: 0;
  }

  .page-home .mvp-grid--trust {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 78vw);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px;
    padding-right: 2px;
  }

  .page-home .mvp-trust-card {
    scroll-snap-align: start;
    min-height: 0;
    padding: 14px;
    align-content: start;
  }

  .page-home .mvp-trust-card h3,
  .page-home .mvp-trust-card p {
    overflow: visible;
    text-overflow: clip;
  }

  .page-home .mvp-games-ranked {
    padding: 10px;
    gap: 8px;
  }

  .page-home .mvp-games-ranked__row {
    grid-template-columns: 26px 38px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
    align-items: center;
  }

  .page-home .mvp-games-ranked__name {
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-home .mvp-games-ranked__side {
    grid-column: auto;
    text-align: right;
    min-width: 104px;
  }

  .page-home .mvp-games-ranked__price {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .page-home .mvp-games-ranked__hint,
  .page-home .mvp-games-ranked__arrow {
    display: none;
  }

  .page-home .catalog-cards[data-view="grid"] {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-home .catalog-cards[data-view="grid"] .listing-tile {
    border-radius: 18px;
    padding: 14px;
  }

  .page-home .catalog-cards[data-view="grid"] .listing-tile__media {
    aspect-ratio: 16 / 9;
  }

  .page-home .catalog-cards[data-view="grid"] .listing-tile__price-row {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
  }

  .page-home .catalog-cards[data-view="grid"] .listing-tile__cta,
  .page-home .catalog-cards[data-view="grid"] .listing-tile__btn {
    width: 100%;
  }
}

.page-home .mvp-search .mvp-search__submit,
.page-home .mvp-games-featured__cta,
.page-home .listing-tile__btn,
.page-home .listing-card__btn {
  background: var(--cta-auth-bg);
  color: var(--cta-auth-color);
  border-color: transparent;
  box-shadow: none;
  text-shadow: none;
  filter: none;
  opacity: 1;
  transition: filter .14s ease, transform .14s ease;
}

.page-home .mvp-search .mvp-search__submit:hover,
.page-home .mvp-games-featured__cta:hover,
.page-home .listing-tile__btn:hover,
.page-home .listing-card__btn:hover {
  background: var(--cta-auth-bg);
  color: var(--cta-auth-color);
  border-color: transparent;
  box-shadow: none;
  text-shadow: none;
  filter: var(--cta-auth-hover-filter);
  transform: none;
}

.page-home .mvp-search .mvp-search__submit:active,
.page-home .mvp-games-featured__cta:active,
.page-home .listing-tile__btn:active,
.page-home .listing-card__btn:active {
  transform: scale(.98);
  box-shadow: none;
}
