/* ============================================
   CATALOG PAGE — page-specific styles
   Shared tokens/layout/header/footer → base.css
   ============================================ */

/* Override base.css section defaults for catalog layout */
.section { padding: 40px 0 0; }
.section-head { align-items: center; margin-bottom: 20px; }

/* ============================================
   HEADER — action-notify badge (catalog only)
   ============================================ */
.action-notify {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  padding: 5px 10px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(74,124,255,0.35);
  animation: action-notify-bounce 1.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.action-notify::before {
  content: '';
  position: absolute; top: -4px; right: 12px;
  width: 8px; height: 8px;
  background: var(--blue);
  transform: rotate(45deg);
}
@keyframes action-notify-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* ============================================
   PROMO HERO CAROUSEL
   ============================================ */
.promo-section { padding: 28px 0 12px; position: relative; z-index: 2; }
.promo-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  border-radius: var(--radius-xl);
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.promo-carousel::-webkit-scrollbar { display: none; }
.promo-track { display: flex; gap: 16px; }
.promo-card {
  flex: 0 0 calc((100% - 32px) / 3);
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border-strong);
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.promo-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}
.promo-card .sub { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 6px; }
.promo-card .pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  align-self: flex-start;
}

/* Image promo card */
.promo-image {
  background-image: var(--promo-bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Spring sale card */
.promo-spring {
  background:
    radial-gradient(ellipse 70% 80% at 30% 30%, #ff6b9d 0%, transparent 50%),
    radial-gradient(ellipse 60% 70% at 70% 60%, #58d4ea 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 50% 90%, #b180ff 0%, transparent 60%),
    linear-gradient(135deg, #ff8f6a 0%, #ae4cdd 50%, #5080ff 100%);
}
.promo-spring .lead {
  font-size: 20px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1;
}
.promo-spring .big {
  font-size: 68px; font-weight: 900; line-height: 0.9;
  letter-spacing: -0.04em; color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2); margin-top: 4px;
}
.promo-spring .big .pct { font-size: 38px; vertical-align: super; margin-left: 4px; }
.promo-spring .until {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.9);
  color: #2a1a3a;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  margin-top: 14px; align-self: flex-start;
}

/* PSN India card */
.promo-india { background: linear-gradient(155deg, #0e2050 0%, #0a1740 50%, #071030 100%); }
.promo-india .header-text { text-align: center; }
.promo-india h3 { text-align: center; font-size: 20px; color: var(--gold-bright); letter-spacing: 0.02em; }
.promo-india .cards-row {
  display: flex; justify-content: center; gap: 10px;
  margin-top: auto; margin-bottom: auto;
}
.promo-india .rs-card {
  width: 100px;
  aspect-ratio: 3 / 4;
  background-size: cover; background-position: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 1px solid rgba(212,175,106,0.3);
}

/* PS Plus free games card */
.promo-psplus {
  background:
    radial-gradient(ellipse 70% 80% at 30% 20%, rgba(74,124,255,0.45) 0%, transparent 55%),
    linear-gradient(135deg, #0e1e52 0%, #182c75 50%, #0e1e52 100%);
}
.promo-psplus h3 { color: #fff; font-size: 18px; max-width: 60%; }
.promo-psplus h3 .accent { color: #40a9ff; }
.promo-psplus .games-stack {
  position: absolute;
  right: -20px; bottom: -10px;
  display: grid;
  grid-template-columns: repeat(2, 70px);
  gap: 8px;
  transform: rotate(-6deg);
}
.promo-psplus .game-thumb {
  width: 70px;
  aspect-ratio: var(--game-card-aspect);
  background-size: cover; background-position: center;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* Promo controls */
.promo-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(14,18,30,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  z-index: 10;
  transition: background .2s, transform .2s;
}
.promo-arrow:hover { background: var(--bg-elevated-hover); transform: translateY(-50%) scale(1.05); }
.promo-arrow.prev { left: -12px; }
.promo-arrow.next { right: -12px; }
.promo-arrow svg { width: 20px; height: 20px; }

.promo-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.promo-dot {
  width: 24px; height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  transition: background .2s;
  cursor: pointer;
}
.promo-dot.active { background: var(--blue); }

/* ============================================
   SECTION HEAD — glass bar with carousel controls
   ============================================ */
.section-head .right {
  display: inline-flex;
  align-items: stretch;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 4px 14px rgba(0,0,0,0.25);
}
.section-head .right .carousel-arrows { display: contents; }
.section-head .right > *,
.section-head .right .carr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.section-head .right .carr-btn { border-left: 1px solid rgba(255,255,255,0.06); }
.section-link { padding: 0 18px; }
.carr-btn { width: 40px; padding: 0; color: rgba(255,255,255,0.7); }
.carr-btn svg { width: 14px; height: 14px; }
.section-head .right > *:hover,
.section-head .right .carr-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.carr-btn:disabled { opacity: 0.35; cursor: not-allowed; background: transparent !important; color: rgba(255,255,255,0.5) !important; }

/* ============================================
   GAME CAROUSEL
   ============================================ */
.game-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.game-carousel::-webkit-scrollbar { display: none; }
.game-track { display: flex; align-items: stretch; gap: 16px; }
.game-card-wrap {
  flex: 0 0 calc((100% - 80px) / 6);
  position: relative;
  display: flex;
  scroll-snap-align: start;
}
.game-card {
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column;
  height: 100%;
  color: inherit;
  transition: transform .25s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}
.game-card-wrap:hover .game-card { transform: scale(0.97); }

.game-cover {
  aspect-ratio: var(--game-card-aspect);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: border-color .25s, box-shadow .25s;
}
.game-card-wrap:hover .game-cover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 24px 4px rgba(212,175,106,0.35),
    0 16px 40px rgba(0,0,0,0.45);
}
.game-card-wrap:hover .game-name { color: var(--gold-bright); }
.game-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.3));
}

/* Heart favorite */
@keyframes heartFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
@keyframes heartPulse {
  0% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(0.95); }
  45% { transform: scale(1.1); }
  60% { transform: scale(1); }
}
@keyframes heartGlowPulse {
  0%, 100% {
    filter:
      drop-shadow(0 1px 3px rgba(0,0,0,0.8))
      drop-shadow(0 0 8px rgba(255,90,90,0.5))
      drop-shadow(0 0 16px rgba(255,60,60,0.25));
  }
  50% {
    filter:
      drop-shadow(0 1px 3px rgba(0,0,0,0.8))
      drop-shadow(0 0 12px rgba(255,90,90,0.7))
      drop-shadow(0 0 22px rgba(255,60,60,0.4));
  }
}
.game-fav {
  position: absolute; top: 8px; right: 8px;
  width: 35px; height: 35px;
  border: none; background: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.25; color: #fff; cursor: pointer; z-index: 3;
  animation: heartFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
  transition: opacity .25s ease, color .25s ease, filter .25s ease;
}
.game-fav:hover {
  opacity: 1; color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7)) drop-shadow(0 0 10px rgba(255,90,90,0.5));
}
.game-fav.active,
.game-fav.is-active {
  color: #e54848; opacity: 0.85;
  animation: heartFloat 3s ease-in-out infinite, heartGlowPulse 1.5s ease-in-out infinite;
}
.game-fav.active:hover,
.game-fav.is-active:hover {
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,0.7))
    drop-shadow(0 0 14px rgba(255,90,90,0.75))
    drop-shadow(0 0 28px rgba(255,60,60,0.45));
}
.game-fav svg {
  width: 25px; height: 25px;
  stroke-width: 1.8;
  transition: transform .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.game-fav.active svg,
.game-fav.is-active svg { fill: currentColor; }
.game-fav.just-toggled svg { animation: heartPulse .5s ease-out; }
.game-fav.is-loading { pointer-events: none; opacity: 0.5; }

.game-platforms { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 4px; z-index: 2; }
.game-platform {
  padding: 3.3px 6.6px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3.3px;
  font-size: 9.9px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; line-height: 1;
}

.game-info { padding: 10px 2px 0; display: flex; flex-direction: column; flex: 1; }
.game-name {
  font-size: 14px; font-weight: 600;
  line-height: 1; letter-spacing: -0.015em;
  margin-bottom: 0; min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s ease;
}
.game-edition-row { display: flex; align-items: center; gap: 6px; margin-top: 3px; margin-bottom: 2px; }
.game-edition {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1; min-width: 0;
}
.game-info > .game-edition { margin-top: 3px; margin-bottom: 2px; }
.sub-icons { display: flex; gap: 3px; align-items: center; flex-shrink: 0; }
.sub-icons img { width: 14px; height: 14px; object-fit: contain; }

.game-prices {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.game-discount-inline {
  order: 1;
  display: inline-flex; align-items: center;
  padding: 4px 6px;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 4px; letter-spacing: -0.02em; line-height: 1;
  box-shadow: 0 2px 8px rgba(74,124,255,0.3);
}
.game-price {
  font-size: 16px; font-weight: 800;
  color: var(--text); letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.game-price .currency { color: inherit; margin-left: 2px; }
.game-price.free { color: var(--green-bright); font-size: 13px; }

/* Subscription float badge on cover */
.game-sub-float {
  position: absolute; top: 0; left: 0;
  padding: 5px 6px 5px 5px;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px);
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-radius: 13px 0 13px 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); z-index: 3;
}
.game-sub-float img { width: 29px; height: 29px; display: block; object-fit: contain; }

/* PS Plus bonus price line */
.psplus-price-line {
  display: flex; align-items: center; gap: 6px;
  margin-top: 1px; margin-bottom: 0;
  transform: translateX(1px);
}
.psplus-price-line img { display: none; }
.psplus-price-line .psplus-price {
  font-size: 12px; font-weight: 700;
  color: var(--gold-bright); letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.psplus-price-line .psplus-price .currency { color: inherit; margin-left: 1px; }
.psplus-price-line .psplus-discount {
  font-size: 9px; font-weight: 700; color: var(--gold);
  padding: 4px 6px;
  background: rgba(212,175,106,0.12);
  border: 1px solid rgba(212,175,106,0.18);
  border-radius: 4px; line-height: 1;
}

/* Deadline badge */
@keyframes pulse-icon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}
.game-deadline-inline {
  display: inline-flex; align-items: center; gap: 3px;
  margin-top: 1px;
  font-size: 11px; font-weight: 600;
  color: var(--red-bright); letter-spacing: -0.005em;
}
.game-deadline-inline svg {
  width: 11px; height: 11px; stroke-width: 2.2;
  animation: pulse-icon 2s ease-in-out infinite;
}
.game-deadline-inline.last { color: var(--red); font-weight: 700; }

/* Preorder timer */
.game-carousel[data-carousel="preorders"] .game-track { align-items: stretch; }
.game-carousel[data-carousel="preorders"] .game-card { height: 100%; }
.game-carousel[data-carousel="preorders"] .psplus-price-line { margin-bottom: 6px; }
.preorder-timer {
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 6px;
  display: flex; justify-content: space-between; align-items: center;
  line-height: 1;
  background: linear-gradient(100deg,
    rgba(74,124,255,0.18) 0%,
    rgba(74,124,255,0.18) 50%,
    rgba(255,255,255,0.04) 50.01%,
    rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(107,148,255,0.22);
}
.preorder-timer .lbl { font-size: 10px; font-weight: 700; color: var(--blue-bright); letter-spacing: 0.01em; }
.preorder-timer .val { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.preorder-timer.today {
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,106,0.4);
  box-shadow: 0 0 0 1px rgba(212,175,106,0.15);
}
.preorder-timer.today .today-text {
  font-size: 12px; font-weight: 800;
  color: var(--gold-bright); letter-spacing: 0.04em; text-transform: uppercase;
}

/* ============================================
   SUBSCRIPTIONS BLOCK
   ============================================ */
.subs-wrapper { padding: 48px 0 0; }
.subs-outer-head { margin-bottom: 20px; }
.subs-outer-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }

.subs-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.008) 60%, rgba(255,255,255,0.002) 100%);
  border: 1px solid var(--border-strong);
  border-top-color: rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.subs-panel-top { display: flex; justify-content: center; margin-bottom: 28px; }
.subs-tabs {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 4px;
}
.subs-tab {
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  cursor: pointer;
  background: none; border: none;
}
.subs-tab.active { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(74,124,255,0.3); }
.subs-tab:not(.active):hover { color: var(--text); }

.subs-subhead { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.subs-subhead .logo-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  height: 38px; flex-shrink: 0;
  font-weight: 700; letter-spacing: -0.01em; color: var(--text);
}
.subs-subhead .logo-chip img { display: block; object-fit: contain; }
.subs-subhead .logo-chip.ps img { height: 20px; width: auto; }
.subs-subhead .logo-chip.ps .name { font-size: 14px; }
.subs-subhead .logo-chip.ea img { height: 22px; width: auto; }
.subs-subhead .logo-chip.ea .name { font-size: 14px; color: #ff4654; }
.subs-subhead .hr { flex: 1; height: 1px; background: var(--border); }
.subs-subhead .caption { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

.subs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sub-card {
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  text-decoration: none; color: inherit;
}
.sub-card:hover {
  transform: scale(0.97);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 24px 4px rgba(212,175,106,0.35),
    0 16px 40px rgba(0,0,0,0.45);
}

/* Subscription covers */
.sc-cover {
  width: 100%;
  aspect-ratio: 1200 / 630;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  container-type: inline-size;
}
.sc-cover::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.sc-bg-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; line-height: 0.78;
  user-select: none; pointer-events: none; z-index: 1;
  font-size: clamp(220px, 38cqw, 380px);
  letter-spacing: -0.08em;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.sc-bg-num.single { font-size: clamp(260px, 46cqw, 460px); letter-spacing: -0.03em; }
.sc-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.sc-content .ps-logo { height: clamp(30px, 6cqw, 46px); }
.sc-tier {
  font-weight: 900;
  font-size: clamp(36px, 11cqw, 84px);
  line-height: 1; letter-spacing: 0.03em;
}

/* Essential */
.sc-essential { background: #c0c0c6; }
.sc-essential::before {
  background:
    radial-gradient(ellipse 70% 80% at 30% 20%, rgba(255,255,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 75% 80%, rgba(160,160,175,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% 50%, rgba(220,220,228,0.3) 0%, transparent 70%),
    linear-gradient(155deg, #d6d6dc 0%, #b5b5be 40%, #a0a0ac 70%, #c0c0c8 100%);
}
.sc-essential .sc-bg-num { background: linear-gradient(180deg, #ebebf0 0%, #6d6d78 100%); -webkit-background-clip: text; background-clip: text; }
.sc-essential .sc-tier { color: #1a1a20; }

/* Extra */
.sc-extra { background: #c9a035; }
.sc-extra::before {
  background:
    radial-gradient(ellipse 65% 75% at 25% 25%, rgba(255,230,140,0.45) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 80% 75%, rgba(160,120,20,0.4) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(230,195,80,0.25) 0%, transparent 65%),
    linear-gradient(155deg, #e2c560 0%, #caa530 35%, #a88520 65%, #dbb845 100%);
}
.sc-extra .sc-bg-num { background: linear-gradient(180deg, #f4da80 0%, #5c4510 100%); -webkit-background-clip: text; background-clip: text; }
.sc-extra .sc-tier { color: #000; }

/* Deluxe */
.sc-deluxe { background: #000; --accent: #f5c518; }
.sc-deluxe::before {
  background:
    radial-gradient(ellipse 60% 65% at 35% 30%, rgba(200,170,100,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 55% at 70% 70%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(200,170,100,0.05) 0%, transparent 65%),
    linear-gradient(155deg, #0e0e0e 0%, #050505 40%, #000 70%, #0a0a0a 100%);
}
.sc-deluxe .sc-bg-num { background: linear-gradient(180deg, #d6b85a 0%, #000 100%); -webkit-background-clip: text; background-clip: text; }
.sc-deluxe .sc-tier { color: var(--accent); }
.sc-deluxe .sc-content .ps-logo-wrap {
  position: relative; display: inline-block;
  height: clamp(30px, 6cqw, 46px); line-height: 0;
}
.sc-deluxe .ps-logo-wrap .tinted-img {
  height: 100%; width: auto; display: block;
  clip-path: inset(0 0 0 25.5%);
  filter: brightness(0) saturate(100%) invert(78%) sepia(68%) saturate(2000%) hue-rotate(358deg) brightness(105%) contrast(101%);
}
.sc-deluxe .ps-logo-wrap .crest { position: absolute; left: 0; top: 0; height: 100%; width: auto; display: block; }

/* EA Play */
.sc-eaplay { background: #1a1a3e; }
.sc-eaplay::before {
  background:
    radial-gradient(ellipse 55% 65% at 80% 15%, rgba(220,50,80,0.3) 0%, transparent 55%),
    radial-gradient(ellipse 45% 50% at 90% 40%, rgba(180,40,100,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 15% 85%, rgba(40,40,120,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(30,30,80,0.3) 0%, transparent 70%),
    linear-gradient(155deg, #22224a 0%, #1a1a40 30%, #14142e 60%, #1e1e48 100%);
}
.sc-eaplay .sc-bg-num {
  background: linear-gradient(180deg, #4c4c8c 0%, #0d0d24 100%); -webkit-background-clip: text; background-clip: text;
  font-size: clamp(190px, 62cqw, 340px);
}
.sc-eaplay .ea-logo { height: clamp(60px, 11cqw, 110px); }
.sc-eaplay .ea-label { font-weight: 900; font-size: clamp(30px, 10cqw, 70px); line-height: 1; letter-spacing: 0.04em; color: #ff4654; }

/* Subscription body */
.sc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.sc-price-row { display: flex; align-items: baseline; justify-content: space-between; }
.sc-price { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-feature-settings: "tnum"; }
.sc-price .currency { margin-left: 3px; }
.sc-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.sc-features svg { width: 14px; height: 14px; color: var(--blue-bright); flex-shrink: 0; margin-top: 3px; }

/* EA Play wide banner */
.ea-banner {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 24px; align-items: center;
  padding: 20px;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  background: linear-gradient(135deg, rgba(26,26,62,0.55) 0%, rgba(26,26,62,0.25) 100%);
  border: 1px solid rgba(255,70,84,0.22);
  border-top-color: rgba(255,70,84,0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.ea-banner:hover {
  transform: scale(0.97);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 24px 4px rgba(212,175,106,0.35),
    0 16px 40px rgba(0,0,0,0.45);
}
.ea-banner .ea-cover-wrap { width: 300px; aspect-ratio: 1200/630; border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; }
.ea-banner .ea-cover-wrap .sc-cover { width: 100%; height: 100%; aspect-ratio: auto; }
.ea-banner .ea-info h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--text); }
.ea-banner .ea-info h3 .red { color: #ff4654; }
.ea-banner .ea-info p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; max-width: 640px; }
.ea-banner .ea-info ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ea-banner .ea-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.ea-banner .ea-info svg { width: 14px; height: 14px; color: #ff4654; flex-shrink: 0; margin-top: 3px; }
.ea-banner .ea-price-col {
  flex-shrink: 0; align-self: end; justify-self: end;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  min-width: 170px; text-align: right;
}
.ea-banner .ea-price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-feature-settings: "tnum"; color: var(--text); }
.ea-banner .ea-price .currency { margin-left: 3px; }

/* ============================================
   FOOTER OVERRIDE (catalog has more top padding)
   ============================================ */
.site-footer { padding-top: 48px; padding-bottom: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1280px) {
  .game-card-wrap { flex: 0 0 calc((100% - 64px) / 5); }
}
@media (max-width: 1100px) {
  .promo-card { flex: 0 0 calc((100% - 16px) / 2); height: 240px; }
  .game-card-wrap { flex: 0 0 calc((100% - 48px) / 4); }
  .subs-grid { grid-template-columns: 1fr 1fr; }
  .ea-banner { grid-template-columns: 1fr; text-align: center; }
  .ea-banner .ea-cover-wrap { width: 100%; }
  .ea-banner .ea-info p { margin-left: auto; margin-right: auto; }
  .ea-banner .ea-info ul { align-items: flex-start; display: inline-flex; text-align: left; }
  .ea-banner .ea-price-col { align-items: center; text-align: center; }
}
@media (max-width: 820px) {
  .promo-card { flex: 0 0 100%; height: 200px; }
  .game-card-wrap { flex: 0 0 calc((100% - 32px) / 3); }
  .subs-grid { grid-template-columns: 1fr; }
  .subs-panel { padding: 20px; }
}

/* ===== MOBILE FOUNDATION (B1 + B13 promo/head retune) ===== */
@media (max-width: 600px) {
  /* 2 game cards per row on phones (was 3) */
  .game-track { gap: 12px; }
  .game-card-wrap { flex: 0 0 calc((100% - 12px) / 2); }

  /* ---- PROMO: TMA-like portrait carousel, one active + peek of next ----
     Overrides the @820 desktop rule (.promo-card { flex: 0 0 100%; height: 200px })
     so phones stop showing a stretched 16:9 hero. Cards become portrait posters,
     scroll-snap to start, and the next card peeks ~48px on the right.
     Desktop uses image_pc; mobile swaps to the square selection.image via
     --promo-bg-mobile so the portrait crop does not destroy desktop art. */
  .promo-section { padding: 18px 0 6px; }
  .promo-carousel {
    border-radius: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
  }
  .promo-track { gap: 12px; }
  .promo-card {
    flex: 0 0 calc(100% - 60px);
    height: auto;
    aspect-ratio: 270 / 378;
    padding: 0;
    border-radius: 18px;
    scroll-snap-align: start;
  }
  .promo-image { background-image: var(--promo-bg-mobile); }
  .promo-arrow { display: none; }
  .promo-dots { margin-top: 12px; }

  /* ---- SECTION HEAD: compact glass-pill, title doesn't get crushed ----
     Base.css sets align-items:baseline + section-title font-size:24px. At phone
     widths the 24px title + 38px glass-bar collide visually. Switch to center
     alignment, shrink the title, cap the pill at 32px, and keep "Все игры"
     visible as a tight, single-line link. Carousel arrows already drop on phones
     (touch swipe replaces them). */
  .section-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .section-title {
    font-size: 17px;
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
  }
  .section-head .right { height: 32px; flex-shrink: 0; }
  .section-head .right .carr-btn { display: none; }
  .section-link {
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .section { padding: 28px 0 0; }
  .section-head { margin-bottom: 14px; }

  /* Promo: keep portrait dimensions from @600; only tune ancillary variants
     (.promo-spring/.promo-india/.promo-psplus aren't used in the live markup —
     it's just <a class="promo-card promo-image" style="--promo-bg…"> — but
     the rules are kept for reference). */
  .promo-card h3 { font-size: 19px; }
  .promo-spring .big { font-size: 52px; }
  .promo-spring .big .pct { font-size: 28px; }
  .promo-india .rs-card { width: 78px; }
  .promo-psplus h3 { font-size: 16px; max-width: 65%; }
  .promo-dots { margin-top: 12px; }

  .subs-wrapper { padding: 32px 0 0; }
  .subs-outer-head { margin-bottom: 14px; }
  .subs-outer-head h2 { font-size: 20px; }
  .subs-panel { padding: 16px; border-radius: 18px; }
  .subs-panel-top { margin-bottom: 20px; }
  .subs-tabs { width: 100%; }
  .subs-tab { flex: 1; padding: 9px 12px; }

  /* PS/EA chip row: avoid nowrap caption overflow on 360px */
  .subs-subhead { flex-wrap: wrap; gap: 10px; margin: 2px 0 14px; }
  .subs-subhead .hr { display: none; }
  .subs-subhead .caption { white-space: normal; font-size: 12px; flex-basis: 100%; }

  .sc-body { padding: 14px 14px 16px; gap: 10px; }
  .sc-price { font-size: 22px; }
  .sc-features li { font-size: 12.5px; gap: 8px; }

  .ea-banner { padding: 16px; gap: 14px; }
  .ea-banner .ea-info h3 { font-size: 19px; }
  .ea-banner .ea-info p { font-size: 12.5px; margin-bottom: 10px; }
  .ea-banner .ea-info li { font-size: 12.5px; }
  .ea-banner .ea-price { font-size: 26px; }

  /* Cover heart: smaller cards → tame absolute heart and float badge */
  .game-fav { width: 32px; height: 32px; top: 6px; right: 6px; }
  .game-fav svg { width: 22px; height: 22px; }
  .game-sub-float img { width: 24px; height: 24px; }
  .game-platforms { bottom: 6px; left: 6px; gap: 3px; }

  .game-info { padding: 8px 2px 0; }
  .game-name { font-size: 13px; }
  .game-edition { font-size: 11px; }
  .game-price { font-size: 14px; }
}
