/* =====================================================
   single.css — game card page (redesign)
   ===================================================== */

:root {
  --bg: #08090c;
  --bg-gradient-top: #142042;
  --bg-elevated: rgba(255, 255, 255, 0.03);
  --bg-elevated-hover: rgba(255, 255, 255, 0.05);
  --bg-sticky: rgba(8, 9, 12, 0.85);

  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-blue: rgba(74, 124, 255, 0.4);

  --text: #f5f6f8;
  --text-muted: #8a92a8;
  --text-dim: #4f6080;

  --gold: #d4af6a;
  --gold-bright: #e8c47e;
  --blue: #4a7cff;
  --blue-bright: #6b94ff;
  --red-bright: #ff7878;
  --green-bright: #5ed4a3;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;

  /* Safe area tokens */
  --tg-safe-area-inset-top: 0px;
  --tg-content-safe-area-inset-top: 0px;
  --tg-safe-area-inset-bottom: 0px;
  --tg-content-safe-area-inset-bottom: 0px;
  --app-safe-area-top: max(
    env(safe-area-inset-top, 0px),
    var(--tg-safe-area-inset-top, 0px),
    var(--tg-content-safe-area-inset-top, 0px)
  );
  --app-safe-area-bottom: max(
    env(safe-area-inset-bottom, 0px),
    var(--tg-safe-area-inset-bottom, 0px),
    var(--tg-content-safe-area-inset-bottom, 0px)
  );
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* ============ PHONE SHELL ============ */
.phone {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, var(--bg-gradient-top) 0%, var(--bg) 60%);
  position: relative;
  overflow: hidden;
  padding-bottom: calc(180px + var(--app-safe-area-bottom));
}

.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  z-index: 1;
}

/* ============ HERO COVER ============ */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover; background-repeat: no-repeat;
  background-position: 50% 39%;
  background-color: var(--bg-gradient-top);
  margin-top: -4px;
  margin-bottom: 3px;
  overflow: hidden;
}

.hero-platforms {
  position: absolute;
  bottom: 44px;
  left: 20px;
  z-index: 5;
  display: flex;
  gap: 5px;
}

.hero-platform {
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* ============ CONTENT ============ */
.content {
  position: relative;
  z-index: 2;
  padding: 26px 20px 20px;
  margin-top: -26px;
  border-radius: 24px 24px 0 0;
  background: radial-gradient(ellipse at top, var(--bg-gradient-top) 0%, var(--bg) 60%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.28) inset,
    0 2px 0 rgba(255,255,255,0.08) inset;
}

/* ============ TITLE ============ */
.game-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 4px;
}

.game-edition-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 1em;
}

/* ============ PS PLUS TOGGLE ============ */
.psplus-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: linear-gradient(160deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
}

.psplus-opt {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  text-decoration: none;
}
.psplus-opt:hover { color: var(--text); }
.psplus-opt.active {
  background: linear-gradient(135deg, #ffcc00 0%, #e8a800 100%);
  color: #0a0c12;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(255, 204, 0, 0.2);
}

/* ============ EA PLAY TOGGLE ============ */
.ea-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: linear-gradient(160deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
}

.ea-opt {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  text-decoration: none;
}
.ea-opt:hover { color: var(--text); }
.ea-opt.active {
  background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%);
  color: #FFECEC;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(229, 57, 53, 0.28);
}

/* ============ PRICE PLATE ============ */
.price-plate {
  position: relative;
  padding: 18px 22px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
  overflow: hidden;
}

.price-current {
  font-family: 'Geist', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.price-current .currency { margin-left: 4px; }
.price-current .sep { display: inline-block; width: 0.2em; }

.price-old-row {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.price-old-row .was {
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.3);
  font-weight: 500;
}

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  background: linear-gradient(135deg, #2f5cd8 0%, #6a91ff 100%);
  color: #fff;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 10px rgba(47,92,216,0.35);
}

.ea-discount-badge {
  background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%);
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.28);
}

/* Rating variant: two-column price + rating plate */
.price-plate--with-rating {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.price-plate--with-rating .pp-half {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-plate--with-rating .pp-half + .pp-half {
  border-left: 1px solid rgba(255,255,255,0.08);
}
.price-plate--with-rating .price-current {
  font-size: 26px;
  font-weight: 800;
}
.price-plate--with-rating .price-old-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
}
.price-plate--with-rating .discount-badge {
  position: static;
  padding: 3px 7px;
  font-size: 11px;
  border-radius: 5px;
  box-shadow: none;
}
.pp-rate-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pp-star {
  color: #ffc94a;
  display: inline-flex;
  align-items: center;
}
.pp-star svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.pp-rate-num {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.pp-cap {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
  margin-left: 3px;
}
.pp-bar {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}
.pp-bar-fill {
  height: 100%;
  background: #ffc94a;
  border-radius: 3px;
}
.pp-reviews {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ============ EDITIONS CAROUSEL ============ */
.editions {
  margin-bottom: 22px;
}

.editions-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.editions-wrap {
  position: relative;
}

.editions-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.editions-track::-webkit-scrollbar { display: none; }

.editions-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 30px;
  border-radius: 6px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}
.editions-arrow:hover { color: var(--blue-bright); border-color: var(--border-blue); }
.editions-arrow.hidden { opacity: 0; pointer-events: none; }
.editions-arrow.left { left: -10px; }
.editions-arrow.right { right: -10px; }
.editions-arrow svg { width: 14px; height: 14px; stroke-width: 2.5; }

.edition-chip {
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: calc((100% - 16px) / 3);
  scroll-snap-align: start;
  padding: 12px 10px;
  background: linear-gradient(160deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
  text-decoration: none;
  color: inherit;
}
.edition-chip:hover { border-color: var(--border-blue); }
.edition-chip.active {
  border-color: var(--blue);
  background: rgba(74, 124, 255, 0.08);
}

.edition-chip-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  min-height: 2.4em;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: center;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.edition-chip-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.edition-chip-discount {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2f5cd8 0%, #6a91ff 100%);
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: -0.02em;
}

.edition-chip-price {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.edition-chip.active .edition-chip-price { color: var(--blue-bright); }

/* ============ TIMER ============ */
.timer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(122, 88, 203, 0.12) 0%, rgba(26, 148, 255, 0.1) 100%);
  border: 1px solid rgba(122, 88, 203, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.timer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(26, 148, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.timer-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a58cb 0%, #1a94ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(122, 88, 203, 0.35);
}
.timer-icon svg { width: 20px; height: 20px; color: #fff; }

.timer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  white-space: nowrap;
}

.timer-values {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.timer-unit {
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 6px 8px 4px;
  min-width: 42px;
}

.timer-num {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.timer-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-top: 3px;
}

/* ============ INFO SECTION (edition contents / addons header) ============ */
.info-section {
  margin-bottom: 20px;
}
.info-section-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 50%, rgba(255,255,255,0.003) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.05) inset;
}

.info-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text);
}
.info-list-item .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============ PS PLUS BANNER ============ */
.psplus-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
  box-shadow:
    0 0 16px rgba(245,197,24,0.08),
    0 0 4px rgba(245,197,24,0.12),
    0 4px 16px rgba(0,0,0,0.25),
    inset 0 0 20px rgba(245,197,24,0.03);
  animation: psplusPulse 3s ease-in-out infinite alternate;
  -webkit-tap-highlight-color: transparent;
}
@keyframes psplusPulse {
  0% { box-shadow: 0 0 16px rgba(245,197,24,0.06), 0 0 4px rgba(245,197,24,0.1), 0 4px 16px rgba(0,0,0,0.25), inset 0 0 20px rgba(245,197,24,0.02); }
  100% { box-shadow: 0 0 24px rgba(245,197,24,0.12), 0 0 8px rgba(245,197,24,0.18), 0 4px 16px rgba(0,0,0,0.25), inset 0 0 30px rgba(245,197,24,0.05); }
}
.psplus-banner:active { transform: scale(0.98); }

.psplus-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.psplus-banner-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.psplus-banner-body { flex: 1; min-width: 0; }
.psplus-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.psplus-banner-title span { color: #f5c518; font-weight: 800; }
.psplus-banner-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-top: 2px;
}

.psplus-banner-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.psplus-banner-arrow svg { width: 16px; height: 16px; color: #f5c518; stroke-width: 2.5; }

/* ============ EA PLAY BANNER ============ */
.eaplay-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(230,8,8,0.25);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
  box-shadow:
    0 0 16px rgba(230,8,8,0.1),
    0 0 4px rgba(230,8,8,0.15),
    0 4px 16px rgba(0,0,0,0.25),
    inset 0 0 20px rgba(230,8,8,0.04);
  animation: eaplayPulse 3s ease-in-out infinite alternate;
  -webkit-tap-highlight-color: transparent;
}
@keyframes eaplayPulse {
  0% { box-shadow: 0 0 16px rgba(230,8,8,0.08), 0 0 4px rgba(230,8,8,0.12), 0 4px 16px rgba(0,0,0,0.25), inset 0 0 20px rgba(230,8,8,0.03); }
  100% { box-shadow: 0 0 26px rgba(230,8,8,0.18), 0 0 8px rgba(230,8,8,0.25), 0 4px 16px rgba(0,0,0,0.25), inset 0 0 32px rgba(230,8,8,0.07); }
}
.eaplay-banner:active { transform: scale(0.98); }

.eaplay-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eaplay-banner-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}
.eaplay-banner-body { flex: 1; min-width: 0; }
.eaplay-banner-title { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.eaplay-banner-title span { color: #ff2626; font-weight: 800; }
.eaplay-banner-sub { font-size: 11px; color: rgba(255,255,255,0.45); font-weight: 500; margin-top: 2px; }
.eaplay-banner-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(230,8,8,0.12);
  border: 1px solid rgba(230,8,8,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eaplay-banner-arrow svg { width: 16px; height: 16px; color: #ff2626; stroke-width: 2.5; }

/* ============ INFO TABLE ============ */
.info-table {
  background: linear-gradient(160deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
}
.info-row + .info-row { border-top: 1px solid var(--border); }
.info-key { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.info-val { font-size: 13px; color: var(--text); font-weight: 600; }

/* ============ FEATURE CARDS (coop / EA Play) ============ */
.coop-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
}
.coop-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(74, 124, 255, 0.1);
  border: 1px solid rgba(74, 124, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-bright);
}
.coop-icon svg { width: 18px; height: 18px; }
.coop-info { flex: 1; min-width: 0; }
.coop-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.coop-sub { font-size: 10px; color: var(--text-dim); }
.coop-badge {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.coop-badge--yes {
  background: rgba(94, 212, 163, 0.12);
  border: 1px solid rgba(94, 212, 163, 0.25);
  color: var(--green-bright);
}
/* ============ ADDON CARDS ============ */
.addon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 50%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.06) inset, 0 -1px 0 rgba(0,0,0,0.12) inset;
}
.addon-card + .addon-card { margin-top: 8px; }
.addon-card:hover { background: var(--bg-elevated-hover); border-color: var(--border-blue); }

.addon-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-size: cover; background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-elevated);
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
}

.addon-info { flex: 1; min-width: 0; }
.addon-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.addon-type { font-size: 10px; color: var(--text-muted); }

.addon-price {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.addon-price .currency { margin-left: 2px; }

/* CTA styles moved to purchase_cta.css */

/* ===== PREORDER — release-timer (4 ячейки + JS countdown) + ПРЕДЗАКАЗ-label ===== */
.release-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
  padding: 14px 12px;
  background: linear-gradient(160deg, rgba(212,175,106,0.08), rgba(212,175,106,0.02));
  border: 1px solid rgba(212,175,106,0.25);
  border-radius: 12px;
  margin: 16px 0 14px;
  position: relative;
}
/* DISCOUNT-variant (синий) — отличается от preorder (золотой). */
.release-timer.discount-timer {
  background: linear-gradient(160deg, rgba(74,124,255,0.12), rgba(74,124,255,0.03));
  border-color: rgba(74,124,255,0.32);
  margin: 0;
}
.release-timer.discount-timer .rt-num { color: #6b94ff; }
.release-timer.discount-timer .rt-sep { color: rgba(107,148,255,0.45); }

/* Подзаголовок «До конца скидки» — над плашкой */
.discount-timer-wrap { margin: 16px 0 14px; }
.discount-timer-heading {
  font: 700 11px/1 'Geist', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(107,148,255,.85);
  margin: 0 4px 8px;
}
.release-timer .rt-cell { text-align: center; flex: 1; }
.release-timer .rt-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-bright, #e8c47e);
  font-family: 'Geist', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}
.release-timer .rt-lbl {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
  font-weight: 700;
}
.release-timer .rt-sep {
  font-size: 16px;
  font-weight: 800;
  color: rgba(212,175,106,0.35);
  line-height: 1;
  margin-bottom: 14px;
}

.preorder-tag {
  display: inline-block;
  margin-left: 12px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-bright, #e8c47e);
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(232,196,126,0.25);
  vertical-align: middle;
}

/* ============ SCREENSHOTS GALLERY ============ */
/* Лента скринов с skeleton-плейсхолдером и плавным fade-in */
.screenshots-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.screenshots-track::-webkit-scrollbar { display: none; }
.screenshot-thumb {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 135px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: shotShimmer 1.4s ease-in-out infinite;
}
.screenshot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .35s ease;
}
.screenshot-thumb.loaded {
  background: none;
  animation: none;
}
.screenshot-thumb.loaded img { opacity: 1; }
@keyframes shotShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img-wrap {
  position: relative;
  max-width: 96vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 96vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  transform: scale(.96);
  transition: transform .25s ease, opacity .2s ease;
  opacity: 0;
}
.lightbox-overlay.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-close svg { width: 18px; height: 18px; stroke-width: 2.2; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s, opacity .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
.lightbox-nav.disabled { opacity: .3; cursor: default; pointer-events: none; }
.lightbox-nav svg { width: 22px; height: 22px; stroke-width: 2.2; }
.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  font: 600 13px/1 'Geist', sans-serif;
  pointer-events: none;
}

@media (max-width: 480px) {
  .lightbox-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .lightbox-counter { bottom: 12px; font-size: 12px; padding: 5px 12px; }
}

/* Таймер скидки в углу обложки — вариант 2B (стекло + золотая рамка), 31.05.2026 */
.hero-discount-timer{position:absolute;bottom:44px;right:20px;z-index:5;text-align:right;padding:7px 11px;background:rgba(10,12,18,.62);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(232,196,126,.5);border-radius:11px;}
.hero-discount-timer .hdt-lbl{font:700 8px/1 'Geist',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:rgba(232,196,126,.92);margin-bottom:5px;}
.hero-discount-timer .hdt-val{font:800 15px/1 'Geist Mono',monospace;color:#fff;letter-spacing:.01em;}
.hero-discount-timer .hdt-val i{font:700 9px/1 'Geist',sans-serif;font-style:normal;color:rgba(255,255,255,.6);margin:0 5px 0 1px;}


/* ============ SIMILAR-CAROUSEL-2026 (Похожие игры — карусель по эталону) ============ */
.similar { margin-top: 8px; margin-bottom: 20px; }
.similar-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.similar-title { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; color: var(--text); }
.similar-link { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #e8c47e; text-decoration: none; cursor: pointer; transition: gap .2s; background: none; }
.similar-link:hover { gap: 8px; }
.similar-link svg { width: 11px; height: 11px; }
.similar-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.similar-track::-webkit-scrollbar { display: none; }
.sim-card { flex-shrink: 0; width: 130px; cursor: pointer; text-decoration: none; color: inherit; scroll-snap-align: start; }
.sim-cover { width: 130px; height: 174px; border-radius: var(--radius-md); overflow: hidden; position: relative; border: 1px solid var(--border-strong); margin-bottom: 8px; background-color: #1a1a1a; background-size: cover; background-position: center; background-repeat: no-repeat; transition: border-color .3s; }
.sim-card:hover .sim-cover { border-color: var(--border-blue); }
.sim-platforms { position: absolute; bottom: 6px; left: 6px; display: flex; gap: 3px; }
.sim-plat { padding: 2px 5px; background: rgba(0,0,0,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.12); border-radius: 3px; font-size: 8px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.sim-name { font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sim-prices { display: flex; align-items: center; gap: 5px; }
.sim-discount { display: inline-flex; padding: 2px 5px; background: linear-gradient(135deg, #2f5cd8 0%, #6a91ff 100%); color: #fff; font-size: 9px; font-weight: 700; border-radius: 3px; }
.sim-price { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.sim-price .currency { color: inherit; margin-left: 2px; }
/* оверлей «Ещё» — все похожие сеткой */
.sim-all-overlay { position: fixed; inset: 0; z-index: 9000; background: radial-gradient(ellipse at top, var(--bg-gradient-top) 0%, var(--bg) 60%); transform: translateX(100%); transition: transform .3s cubic-bezier(.22,.61,.36,1); overflow-y: auto; }
.sim-all-overlay.open { transform: translateX(0); }
.sim-all-head { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(8,9,12,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); z-index: 2; }
.sim-all-back { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--text); padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sim-all-back svg { width: 18px; height: 18px; }
.sim-all-title { font-size: 17px; font-weight: 700; }
.sim-all-sub { font-size: 11px; color: var(--text-dim); margin-left: auto; font-weight: 600; }
.sim-all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; padding: 18px 20px 90px; }
.sim-all-grid .sim-card { width: auto; }
.sim-all-grid .sim-cover { width: 100%; height: auto; aspect-ratio: 130 / 174; }


/* ============ ADDON-CAROUSEL-2026 (Дополнения — карусель + «Посмотреть все») ============ */
.addon-c { margin-top: 8px; margin-bottom: 20px; }
.addon-c-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.addon-c-title { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; color: var(--text); }
.addon-c-link { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #e8c47e; text-decoration: none; cursor: pointer; transition: gap .2s; background: none; }
.addon-c-link:hover { gap: 8px; }
.addon-c-link svg { width: 11px; height: 11px; }
.addon-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.addon-track::-webkit-scrollbar { display: none; }
.addon-track .sim-card { width: 88px; }
.addon-track .sim-cover { width: 88px; height: 118px; margin-bottom: 6px; }
.addon-track .sim-name { font-size: 11px; min-height: 27px; margin-bottom: 3px; }
.addon-track .sim-price { font-size: 12px; }
.addon-all-list { padding: 14px 20px 90px; }
.addon-all-list .addon-card { margin-bottom: 8px; }

/* ===== Metascore + объединённый блок оценок (V5 цена-solo / V1 оценки) — 04.06 ===== */
.price-plate--solo{display:block;padding:0}
.price-plate--solo .pp-half{padding:16px 18px}
.price-plate--solo .price-current{font-size:28px;font-weight:800}
.price-plate--solo .price-old-row{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px}
.price-plate--solo .discount-badge{position:static;padding:3px 7px;font-size:11px;border-radius:5px;box-shadow:none}
.ratings-plate{display:grid;grid-template-columns:1fr 1fr;border-radius:12px;overflow:hidden;margin-bottom:20px;background:linear-gradient(160deg,rgba(255,255,255,0.065) 0%,rgba(255,255,255,0.02) 50%,rgba(255,255,255,0.005) 100%);border:1px solid rgba(255,255,255,0.06);border-top:1px solid rgba(255,255,255,0.18);box-shadow:0 4px 16px rgba(0,0,0,0.25)}
.ratings-plate .rp-half{padding:14px 16px;display:flex;align-items:center;gap:11px}
.ratings-plate .rp-half + .rp-half{border-left:1px solid rgba(255,255,255,0.08)}
.rp-hh b{font-size:18px;font-weight:800;line-height:1;display:block}
.rp-hh b small{font-size:11px;color:var(--text-dim,#8b8b97);font-weight:600}
.rp-hh span{font-size:11px;color:var(--text-dim,#8b8b97)}
.rp-half .pp-star{color:#ffc94a;display:inline-flex}
.rp-half .pp-star svg{width:22px;height:22px;fill:currentColor}
.ms-sq{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;font-weight:800;font-size:19px;flex:none;font-family:'Geist',sans-serif}
.ms-green{background:#54bd6a;color:#06250f}
.ms-yellow{background:#f2b53e;color:#3a2a05}
.ms-red{background:#ec5b5b;color:#fff}

/* compact ratings-plate (ТМА/мобайл — без переноса в узкой колонке), 05.06 */
.ratings-plate .rp-half{gap:9px;padding:13px 13px}
.ratings-plate .ms-sq{width:36px;height:36px;font-size:17px;border-radius:7px}
.ratings-plate .rp-hh b{font-size:17px}
.ratings-plate .rp-hh b small{font-size:10px}
.ratings-plate .rp-hh span{font-size:10px;white-space:nowrap;letter-spacing:-.1px}
.ratings-plate .rp-half .pp-star svg{width:20px;height:20px}

/* price-plate--solo = V5: цена слева крупно, -55% крупно справа по центру — 05.06 */
.price-plate--solo{position:relative}
.price-plate--solo .pp-half{padding:18px 22px}
.price-plate--solo .price-current{font-size:33px;font-weight:900;letter-spacing:-.02em;line-height:1}
.price-plate--solo .price-old-row{margin-top:9px}
.price-plate--solo .price-old-row .was{font-size:15px}
.price-plate--solo .discount-badge{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:17px;padding:9px 15px;border-radius:10px;box-shadow:0 3px 12px rgba(47,92,216,.35)}

/* combined plate V2 (ТМА+мобайл): компактная цена-строка сверху + слияние с плашкой оценок в одну карточку — 05.06 */
.price-plate--solo .pp-half{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px}
.price-plate--solo .price-current{font-size:24px;font-weight:900}
.price-plate--solo .price-old-row{margin-top:0}
.price-plate--solo .discount-badge{position:static!important;transform:none!important;top:auto;right:auto;font-size:12px;padding:4px 9px;border-radius:8px;box-shadow:none}
.price-plate--solo:has(+ .ratings-plate){margin-bottom:0;border-radius:14px 14px 0 0;border-bottom:none}
.price-plate--solo + .ratings-plate{margin-top:0;border-radius:0 0 14px 14px;border-top:1px solid rgba(255,255,255,.08)}
