:root {
  --catalog-ink-dark: #0d101b;
  --catalog-ink-light: #f6f6ff;
  --catalog-surface-dark: rgba(17, 23, 41, 0.88);
  --catalog-surface-light: rgba(255, 255, 255, 0.92);
  --catalog-border-dark: rgba(148, 163, 184, 0.22);
  --catalog-border-light: rgba(15, 23, 42, 0.12);
  --catalog-accent-primary: #8b5cf6;
  --catalog-accent-secondary: #ec4899;
  --catalog-radius-sm: 12px;
  --catalog-radius-md: 18px;
  --catalog-radius-lg: 26px;
}

.catalog-toolbar {
  padding: 1.35rem 0 2rem;
  position: relative;
  z-index: 5;
}

.catalog-toolbar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.gift-cards-page .catalog-toolbar-controls {
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}

.gift-cards-page .catalog-controls-end {
  flex: 0 0 auto;
}

.games-controls {
  width: 100%;
  padding: clamp(0.8rem, 2vw, 1.25rem);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(6, 10, 22, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 40px rgba(6, 8, 18, 0.45);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .games-controls {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(248, 250, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 16px 34px rgba(148, 163, 184, 0.25);
}

.catalog-filters,
.games-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#giftCardFilterButtons {
  flex: 1 1 auto;
  min-width: 0;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(248, 250, 255, 0.82);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background 0.28s cubic-bezier(0.25, 0.1, 0.25, 1),
    border 0.28s cubic-bezier(0.25, 0.1, 0.25, 1),
    color 0.28s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.filter-btn i {
  font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.5);
  color: #f472b6;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
}

.filter-btn.active {
  background: rgba(99, 102, 241, 0.28);
  border-color: rgba(99, 102, 241, 0.7);
  color: #f472b6;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
}

.filter-btn:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.3);
}

html[data-theme="light"] .filter-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(51, 65, 85, 0.85);
}

html[data-theme="light"] .filter-btn:hover,
html[data-theme="light"] .filter-btn:focus-visible {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
  color: #db2777;
}

html[data-theme="light"] .filter-btn.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.45);
  color: #db2777;
}

.catalog-controls-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.catalog-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.82);
}

.sort-label-emoji {
  font-size: 0.95rem;
}

html[data-theme="light"] .sort-label {
  color: rgba(71, 85, 105, 0.78);
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.35);
  color: rgba(226, 232, 240, 0.9);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
    border 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
    color 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.sort-button .sort-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.sort-button .sort-current i {
  color: rgba(250, 204, 21, 0.9);
}

.sort-button > i {
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.8);
}

.sort-button:hover,
.sort-button:focus-visible {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  color: #f472b6;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.4);
}

.sort-button.active {
  background: rgba(99, 102, 241, 0.28);
  border-color: rgba(99, 102, 241, 0.7);
  color: #f472b6;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.45);
}

.sort-button:active {
  transform: translateY(-0.5px) scale(0.992);
}

html[data-theme="light"] .sort-button {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.4);
  color: rgba(30, 41, 59, 0.78);
}

html[data-theme="light"] .sort-button > i {
  color: rgba(71, 85, 105, 0.75);
}

html[data-theme="light"] .sort-button:hover,
html[data-theme="light"] .sort-button:focus-visible {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.5);
  color: #db2777;
}

.gift-card-meta-line {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.85);
}

html[data-theme="light"] .gift-card-meta-line {
  color: rgba(71, 85, 105, 0.78);
}

.gift-card-delivery-note {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.82);
}

html[data-theme="light"] .gift-card-delivery-note {
  color: rgba(30, 41, 59, 0.74);
}

.gift-card-price-cluster {
  gap: 0.35rem;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
}

html[data-theme="light"] .sort-current i {
  color: rgba(55, 65, 81, 0.78);
}

.sort-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  display: none;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(10, 14, 22, 0.95);
  box-shadow: 0 12px 32px rgba(6, 8, 18, 0.4);
  z-index: 900;
}

.sort-dropdown.show {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

html[data-theme="light"] .sort-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.25);
}


.sort-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    border 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-option:hover,
.sort-option:focus-visible {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.35);
  color: #f472b6;
  transform: translateX(6px) scale(1.01);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
  outline: none;
}

.sort-option.active {
  background: rgba(99, 102, 241, 0.24);
  border-color: rgba(99, 102, 241, 0.5);
  color: #f472b6;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
}

.sort-option:active {
  transform: translateX(2px) scale(0.995);
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: calc(var(--catalog-radius-md) + 6px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  background:
    radial-gradient(140% 120% at 15% 20%, rgba(79, 70, 229, 0.18), transparent 52%),
    radial-gradient(130% 110% at 85% 12%, rgba(14, 165, 233, 0.16), transparent 58%),
    rgba(6, 9, 20, 0.88);
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.75), rgba(16, 185, 129, 0.65), rgba(236, 72, 153, 0.6));
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.game-card::after {
  content: '';
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(55% 55% at 22% 20%, rgba(16, 185, 129, 0.35), transparent 68%),
    radial-gradient(65% 60% at 76% 18%, rgba(59, 130, 246, 0.32), transparent 72%),
    radial-gradient(80% 75% at 50% 100%, rgba(236, 72, 153, 0.35), transparent 75%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-12px) scale(1.01);
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow:
    0 42px 80px rgba(14, 23, 42, 0.65),
    0 22px 40px rgba(16, 185, 129, 0.18);
}

.game-card:hover::before,
.game-card:focus-visible::before {
  opacity: 1;
}

.game-card:hover::after,
.game-card:focus-visible::after {
  opacity: 1;
}


.game-card:focus-visible {
  outline: none;
}

.game-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 8;
  overflow: hidden;
  border-radius: calc(var(--catalog-radius-md) + 2px) calc(var(--catalog-radius-md) + 2px) var(--catalog-radius-md) var(--catalog-radius-md);
  background:
    radial-gradient(circle at 25% 20%, rgba(236, 72, 153, 0.24), transparent 62%),
    radial-gradient(circle at 72% 15%, rgba(59, 130, 246, 0.18), transparent 70%),
    rgba(11, 15, 24, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  --badge-offset: clamp(12px, 1.8vw, 18px);
}

.game-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1.5px rgba(10, 14, 24, 0.65),
    inset 0 -22px 32px rgba(8, 10, 20, 0.45);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.18), transparent 62%);
  pointer-events: none;
  z-index: 2;
}

.game-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(190deg, transparent 0%, rgba(6, 8, 18, 0.85) 88%),
    radial-gradient(120% 65% at 50% 100%, rgba(5, 8, 20, 0.65), transparent 80%);
  opacity: 0.7;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  pointer-events: none;
  will-change: opacity;
}

.game-card:hover .game-card-image::after,
.game-card:focus-visible .game-card-image::after {
  opacity: 0.38;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: absolute;
  inset: 0;
  display: block;
  min-width: 100%;
  will-change: transform;
  min-height: 100%;
  border-radius: inherit;
  z-index: 1;
  filter: saturate(1.05);
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.4) 25%, rgba(51, 65, 85, 0.4) 50%, rgba(30, 41, 59, 0.4) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.game-card-image img[src]:not([src=""]) {
  animation: none;
  background: transparent;
}

/* ARK image positioning - shift up to show title better */
.game-card-image img[data-game-id="18"] {
  object-position: center 35%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.game-card.gift-card {
  border-color: rgba(248, 113, 113, 0.35);
  background:
    radial-gradient(110% 90% at 12% 18%, rgba(236, 72, 153, 0.18), transparent 65%),
    radial-gradient(120% 100% at 88% 12%, rgba(59, 130, 246, 0.2), transparent 70%),
    rgba(6, 8, 18, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(248, 250, 255, 0.02),
    0 32px 60px rgba(8, 9, 18, 0.55);
}

html[data-theme="light"] .game-card.gift-card {
  background:
    radial-gradient(120% 100% at 15% 15%, rgba(236, 72, 153, 0.12), transparent 70%),
    radial-gradient(130% 110% at 80% 10%, rgba(96, 165, 250, 0.14), transparent 75%),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(236, 72, 153, 0.38);
}

.game-card.gift-card .game-card-image {
  aspect-ratio: 5 / 6.6;
  border-bottom-color: rgba(248, 250, 255, 0.08);
}

.gift-card-value-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  padding: 0.75rem 1rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(244, 63, 94, 0.35));
  border: 1px solid rgba(248, 113, 113, 0.45);
  box-shadow:
    0 20px 38px rgba(244, 63, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  min-width: 120px;
}

.gift-card-value-badge .value-currency {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.gift-card-value-badge .value-amount {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.gift-card-value-badge .value-note {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
  text-transform: uppercase;
}

html[data-theme="light"] .gift-card-value-badge {
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(236, 72, 153, 0.18));
  border-color: rgba(248, 113, 113, 0.35);
  color: rgba(153, 27, 27, 0.9);
  box-shadow: 0 18px 32px rgba(248, 113, 113, 0.18);
}

.game-card.gift-card.gift-card-ticket {
  padding: 0;
  border-radius: 28px;
  border: 1px solid rgba(248, 250, 255, 0.08);
  background:
    radial-gradient(130% 120% at 10% 10%, rgba(236, 72, 153, 0.12), transparent 55%),
    radial-gradient(120% 120% at 90% 0%, rgba(14, 165, 233, 0.14), transparent 60%),
    rgba(6, 8, 18, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 24px 60px rgba(7, 10, 20, 0.55);
}

html[data-theme="light"] .game-card.gift-card.gift-card-ticket {
  background:
    radial-gradient(130% 120% at 10% 0%, rgba(236, 72, 153, 0.12), transparent 55%),
    radial-gradient(120% 120% at 90% 0%, rgba(14, 165, 233, 0.14), transparent 60%),
    rgba(248, 250, 255, 0.98);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 22px 48px rgba(148, 163, 184, 0.25);
}

.gift-card-ticket-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 19, 35, 0.85), rgba(6, 8, 18, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .gift-card-ticket-inner {
  background:
    linear-gradient(135deg, rgba(248, 250, 255, 0.95), rgba(236, 239, 255, 0.95));
  border-color: rgba(148, 163, 184, 0.3);
}

.gift-card-banner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

.gift-card-banner-left {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.gift-card-cover {
  width: 84px;
  height: 84px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .gift-card-cover {
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.2);
}

.gift-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gift-card-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.gift-card-banner-copy .gift-card-pill-row {
  margin-bottom: 0.15rem;
}

.gift-card-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
  width: fit-content;
}

html[data-theme="light"] .gift-card-category-tag {
  background: rgba(226, 232, 240, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
  color: rgba(30, 41, 59, 0.75);
}

.gift-card-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: #f8fafc;
}

html[data-theme="light"] .gift-card-title {
  color: rgba(15, 23, 42, 0.92);
}

.gift-card-banner-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.gift-card-meta-line {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.85);
}

html[data-theme="light"] .gift-card-meta-line {
  color: rgba(71, 85, 105, 0.78);
}

.gift-card-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0.35rem;
  width: 100%;
}

.gift-card-detail-chips:empty {
  display: none;
}

.gift-card-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.1rem 0 0.1rem;
  width: 100%;
}

.gift-card-quick-facts:empty {
  display: none;
}

.gift-card-fact {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.92);
}

.gift-card-fact i {
  font-size: 0.85rem;
  color: rgba(129, 140, 248, 0.95);
}

html[data-theme="light"] .gift-card-fact {
  background: rgba(226, 232, 240, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: rgba(30, 41, 59, 0.75);
}

.gift-card-highlights {
  list-style: none;
  margin: 0.15rem 0 0.1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.2rem 0.75rem;
}

.gift-card-highlights li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
}

.gift-card-highlights li i {
  font-size: 0.75rem;
  color: rgba(79, 70, 229, 0.85);
}

html[data-theme="light"] .gift-card-highlights li {
  color: rgba(30, 41, 59, 0.78);
}

.game-card.gift-card .game-card-badge-row {
  align-items: flex-start;
  pointer-events: none;
}

.game-card-emoji-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0.15rem;
  padding: 0.1rem 0;
}

.badge-emoji {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

html[data-theme="light"] .badge-emoji {
  background: rgba(248, 250, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.35);
  color: #1f2937;
  box-shadow: 0 10px 18px rgba(148, 163, 184, 0.25);
}

.gift-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: rgba(191, 219, 254, 0.92);
}

.gift-meta-chip i {
  font-size: 0.85rem;
  color: rgba(125, 211, 252, 0.95);
}

html[data-theme="light"] .gift-meta-chip {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.25);
  color: rgba(31, 41, 55, 0.78);
}

.gift-card-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.2rem;
  width: 100%;
}

.gift-card-feature-chips:empty {
  display: none;
}

.gift-feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  background: rgba(78, 205, 196, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(191, 253, 246, 0.92);
}

.gift-feature-chip[data-chip-index="1"] {
  background: rgba(79, 70, 229, 0.16);
  border-color: rgba(99, 102, 241, 0.3);
  color: rgba(209, 213, 255, 0.94);
}

.gift-feature-chip[data-chip-index="2"] {
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.28);
  color: rgba(255, 228, 242, 0.95);
}

.gift-feature-chip i {
  font-size: 0.75rem;
  color: currentColor;
}

.gift-card-price-caption {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
  font-weight: 700;
}

.gift-card-delivery-note {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.82);
}

.gift-card-description {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.6;
  margin: 0.2rem 0 0.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gift-card-description:empty {
  display: none;
}

html[data-theme="light"] .gift-card-description {
  color: rgba(30, 41, 59, 0.84);
}

.gift-card-discount-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 241, 242, 0.95);
  margin-top: 0.3rem;
}

.gift-card-discount-chip i {
  font-size: 0.8rem;
  color: inherit;
}

html[data-theme="light"] .gift-card-discount-chip {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.4);
  color: #b91c1c;
}

.gift-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gift-card-meta-row .game-card-platform-logos {
  flex: 1 1 auto;
  min-width: 0;
}

.gift-card-meta-row .chip-wishlist {
  margin-left: 0;
}

.gift-card-ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  margin-top: 0.1rem;
}

html[data-theme="light"] .gift-card-ticket-footer {
  border-color: rgba(148, 163, 184, 0.35);
}

.gift-card-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
}

.gift-card-price-stack .game-card-price {
  gap: 0.35rem;
}

.gift-card-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.gift-cards-page .gift-card-actions {
  width: 100%;
  justify-content: flex-end;
}

.gift-card-actions .btn-quick-add {
  min-width: 160px;
  justify-content: center;
  padding: 0.6rem 1.2rem;
}

.gift-card-actions .btn-quick-add span {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.gift-cards-page .gift-card-actions .btn-quick-add {
  min-width: min(220px, 100%);
  width: 100%;
  max-width: 280px;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  min-height: 48px;
  justify-content: center;
  gap: 0.55rem;
}

.gift-cards-page .game-card .btn-quick-add span {
  font-size: 0.8rem;
  white-space: nowrap;
}

.gift-cards-page .game-card .btn-quick-add i {
  font-size: 0.95rem;
}

.gift-card-pill-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gift-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.95);
}

html[data-theme="light"] .gift-card-pill {
  background: rgba(226, 232, 240, 0.75);
  border-color: rgba(148, 163, 184, 0.45);
  color: rgba(30, 41, 59, 0.8);
}

.gift-card-pill-emoji {
  font-size: 0.95rem;
}

.gift-card-pill-label {
  line-height: 1;
}

.gift-card-pill.pill-hot {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}

.gift-card-pill.pill-new {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.32);
}

.gift-card-pill.pill-star {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.35);
}

.gift-card-pill.pill-coins {
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.32);
}

.gift-card-meta-row + .gift-card-detail-chips {
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .gift-card-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .gift-card-banner-right {
    justify-content: flex-start;
  }

  .gift-card-ticket-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .gift-card-actions {
    width: 100%;
  }

  .gift-card-actions .btn-quick-add {
    width: 100%;
  }
}

html[data-theme="light"] .gift-card-price-caption {
  color: rgba(15, 23, 42, 0.65);
}

html[data-theme="light"] .gift-card-delivery-note {
  color: rgba(30, 41, 59, 0.74);
}

.game-card.gift-card .btn-quick-add {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.82), rgba(98, 102, 241, 0.82));
  border-color: rgba(236, 72, 153, 0.4);
}

/* Gift card cards inherit default action layout */

.game-card.gift-card .btn-quick-add:hover,
.game-card.gift-card .btn-quick-add:focus-visible {
  box-shadow: 0 18px 36px rgba(79, 70, 229, 0.3);
}

.game-card:hover .game-card-image img,
.game-card:focus-visible .game-card-image img {
  transform: scale(1.08);
  filter: saturate(1.05);
}


.game-card-badge-row {
  position: absolute;
  top: var(--badge-offset, 18px);
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  z-index: 6;
  pointer-events: none;
  height: 32px;
  min-height: 32px;
}

.game-card-badges,
.game-card-badges-right {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  align-self: center;
  gap: 0.4rem;
  pointer-events: none;
}

.game-card-badges-right {
  justify-content: flex-end;
  margin-left: auto;
}

.game-card-badges:empty,
.game-card-badges-right:empty {
  display: none;
}

.game-card-badge {
  --card-badge-height: 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: var(--card-badge-height);
  min-height: var(--card-badge-height);
  max-height: var(--card-badge-height);
  min-width: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(59, 130, 246, 0.9));
  border: 1px solid transparent;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.28);
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.35s ease;
}

.game-card-badge.is-emoji {
  font-size: 1.05rem;
  letter-spacing: 0;
  padding: 0 0.9rem;
  min-width: 42px;
}

.game-card-badge > * {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.custom-order-card {
  cursor: pointer;
}

.custom-order-card .game-card-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.35rem 1.4rem 1.55rem;
  background:
    radial-gradient(110% 110% at 15% 10%, rgba(59, 130, 246, 0.4), transparent 55%),
    radial-gradient(120% 120% at 85% 20%, rgba(236, 72, 153, 0.38), transparent 58%),
    linear-gradient(135deg, rgba(13, 23, 44, 0.95), rgba(15, 39, 68, 0.9));
}

.custom-order-card .game-card-image::after {
  opacity: 0.2;
  background: linear-gradient(190deg, transparent 0%, rgba(7, 10, 22, 0.6) 96%);
}

.custom-order-card-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
  width: 100%;
  z-index: 4;
}

.custom-order-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(129, 140, 248, 0.35));
  box-shadow:
    0 18px 36px rgba(56, 189, 248, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #e0f2fe;
  font-size: 1.6rem;
}

.custom-order-card-note {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.78);
}

.custom-order-card-tag {
  display: inline-block;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(15, 23, 42, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.9);
}

html[data-theme="light"] .custom-order-card-tag {
  background: rgba(191, 219, 254, 0.65);
  border-color: rgba(59, 130, 246, 0.45);
  color: rgba(30, 64, 175, 0.85);
}

.custom-order-card .game-card-chip-row {
  gap: 0.3rem;
}

.custom-order-card .game-card-chip.platform {
  background: rgba(99, 102, 241, 0.26);
  border-color: rgba(129, 140, 248, 0.42);
  color: rgba(224, 243, 255, 0.95);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.custom-order-card .game-card-chip.region {
  background: rgba(16, 185, 129, 0.26);
  border-color: rgba(16, 185, 129, 0.4);
  color: rgba(240, 253, 244, 0.95);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.custom-order-card .custom-order-hint {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
  text-align: center;
}

.custom-order-card .game-card-price-cluster {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  margin-bottom: 0.08rem;
}


.custom-order-card .game-card-content.game-card-content-overlay {
  padding: 0.65rem 1.1rem 1rem;
  background: linear-gradient(195deg, rgba(5, 7, 18, 0.45), rgba(8, 12, 24, 0.92) 65%, rgba(5, 8, 20, 0.96));
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  height: 185px;
  min-height: 185px;
}

.custom-order-card:hover .game-card-content.game-card-content-overlay,
.custom-order-card:focus-within .game-card-content.game-card-content-overlay {
  height: auto;
  min-height: 185px;
  max-height: 300px;
}

.custom-order-card .game-card-content.game-card-content-overlay::before {
  opacity: 0.6;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(90% 60% at 50% 0%, rgba(236, 72, 153, 0.15), transparent 70%);
}

.custom-order-card:hover .game-card-content.game-card-content-overlay::before,
.custom-order-card:focus-within .game-card-content.game-card-content-overlay::before {
  opacity: 1;
}

.custom-order-card .game-card-overlay-top {
  min-height: auto;
  gap: 0.18rem;
  padding-top: clamp(0.08rem, 0.5vw, 0.2rem);
  margin-top: auto;
}

.custom-order-card .game-card-overlay-top .game-card-title {
  margin-top: 0;
}

.custom-order-card .game-card-overlay-top .game-card-meta-line {
  margin-top: clamp(0.1rem, 0.6vw, 0.2rem);
  margin-bottom: 0.16rem;
}

.custom-order-card .game-card-overlay-top .game-card-chip-row {
  margin-bottom: clamp(0.18rem, 0.75vw, 0.28rem);
  padding-top: 0;
}

.custom-order-card .game-card-title,
.custom-order-card .game-card-meta-line {
  text-align: center;
}

.custom-order-card .btn-quick-add {
  transform: translateY(0.25rem);
}

.custom-order-card .btn-quick-add i {
  font-size: 1.1rem;
}

.custom-order-card .btn-quick-add span {
  font-size: 0.82rem;
}

.custom-order-card .btn-quick-add:hover,
.custom-order-card .btn-quick-add:focus-visible {
  letter-spacing: 0.11em;
}

html[data-theme="light"] .custom-order-card .game-card-image {
  background:
    radial-gradient(110% 110% at 15% 10%, rgba(59, 130, 246, 0.25), transparent 55%),
    radial-gradient(120% 120% at 85% 20%, rgba(236, 72, 153, 0.28), transparent 58%),
    linear-gradient(135deg, rgba(244, 247, 255, 0.98), rgba(224, 242, 254, 0.94));
}

html[data-theme="light"] .custom-order-card-icon {
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.5), rgba(196, 181, 253, 0.52));
  color: rgba(49, 46, 129, 0.9);
}

html[data-theme="light"] .custom-order-card .custom-order-hint {
  color: rgba(71, 85, 105, 0.72);
}

.game-card-badge.badge-top {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.95) 0%, 
    rgba(255, 165, 0, 0.92) 50%, 
    rgba(255, 140, 0, 0.9) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(255, 215, 0, 0.35),
    0 0 0 1px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.badge-top::after {
  display: none;
}

.game-card-badge.badge-top:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(255, 215, 0, 0.45),
    0 0 0 1px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.badge-new {
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.95) 0%, 
    rgba(139, 92, 246, 0.92) 50%, 
    rgba(124, 58, 237, 0.9) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(168, 85, 247, 0.35),
    0 0 0 1px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.badge-new::after {
  display: none;
}

.game-card-badge.badge-new:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(168, 85, 247, 0.45),
    0 0 0 1px rgba(168, 85, 247, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.badge-hot {
  background: linear-gradient(135deg, 
    rgba(239, 68, 68, 0.95) 0%, 
    rgba(220, 38, 38, 0.92) 50%, 
    rgba(185, 28, 28, 0.9) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(239, 68, 68, 0.35),
    0 0 0 1px rgba(239, 68, 68, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.badge-hot::after {
  display: none;
}

.game-card-badge.badge-hot:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(239, 68, 68, 0.45),
    0 0 0 1px rgba(239, 68, 68, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.badge-star {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 0.95) 0%, 
    rgba(255, 165, 0, 0.92) 50%, 
    rgba(255, 140, 0, 0.9) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(255, 215, 0, 0.35),
    0 0 0 1px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.badge-star::after {
  display: none;
}

.game-card-badge.badge-star:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(255, 215, 0, 0.45),
    0 0 0 1px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.discount {
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.95) 0%, 
    rgba(185, 28, 28, 0.92) 50%, 
    rgba(153, 27, 27, 0.9) 100%);
  border: 1.5px solid rgba(220, 38, 38, 0.4);
  letter-spacing: 0.06em;
  padding: 0 1rem;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 
    0 8px 32px rgba(220, 38, 38, 0.4),
    0 0 0 1px rgba(220, 38, 38, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: shimmer-discount 3s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.game-card-badge.discount::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  animation: shimmer-discount 3s ease-in-out infinite;
}

.game-card-badge.discount::after {
  content: '💰';
  margin-left: 0.35rem;
  font-size: 0.85em;
}

.game-card-badge.discount:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(220, 38, 38, 0.5),
    0 0 0 1px rgba(220, 38, 38, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Additional badge types */
.game-card-badge.nemokamas,
.game-card-badge.free {
  background: linear-gradient(135deg, 
    rgba(34, 197, 94, 0.95) 0%, 
    rgba(22, 163, 74, 0.92) 50%, 
    rgba(21, 128, 61, 0.9) 100%);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.35),
    0 0 0 1px rgba(34, 197, 94, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.nemokamas::after,
.game-card-badge.free::after {
  display: none;
}

.game-card-badge.nemokamas:hover,
.game-card-badge.free:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(34, 197, 94, 0.45),
    0 0 0 1px rgba(34, 197, 94, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.hitas,
.game-card-badge.hit {
  background: linear-gradient(135deg, 
    rgba(236, 72, 153, 0.95) 0%, 
    rgba(219, 39, 119, 0.92) 50%, 
    rgba(190, 24, 93, 0.9) 100%);
  border: 1.5px solid rgba(236, 72, 153, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(236, 72, 153, 0.35),
    0 0 0 1px rgba(236, 72, 153, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.hitas::after,
.game-card-badge.hit::after {
  display: none;
}

.game-card-badge.hitas:hover,
.game-card-badge.hit:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(236, 72, 153, 0.45),
    0 0 0 1px rgba(236, 72, 153, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.nuolaida,
.game-card-badge.sale,
.game-card-badge.SALE {
  background: linear-gradient(135deg, 
    rgba(249, 115, 22, 0.95) 0%, 
    rgba(234, 88, 12, 0.92) 50%, 
    rgba(194, 65, 12, 0.9) 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(249, 115, 22, 0.35),
    0 0 0 1px rgba(249, 115, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.nuolaida::after,
.game-card-badge.sale::after,
.game-card-badge.SALE::after {
  display: none;
}

.game-card-badge.nuolaida:hover,
.game-card-badge.sale:hover,
.game-card-badge.SALE:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(249, 115, 22, 0.45),
    0 0 0 1px rgba(249, 115, 22, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-badge.popular {
  background: linear-gradient(135deg, 
    rgba(168, 85, 247, 0.95) 0%, 
    rgba(139, 92, 246, 0.92) 50%, 
    rgba(124, 58, 237, 0.9) 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  color: #fff;
  box-shadow: 
    0 8px 32px rgba(168, 85, 247, 0.35),
    0 0 0 1px rgba(168, 85, 247, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: gradient-shift 3s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card-badge.popular::after {
  display: none;
}

.game-card-badge.popular:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(168, 85, 247, 0.45),
    0 0 0 1px rgba(168, 85, 247, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.game-card-content {
  position: relative;
  padding: 1.35rem 1.35rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
  z-index: 2;
}

.game-card-content::before {
  content: '';
  position: absolute;
  left: -1.35rem;
  right: -1.35rem;
  top: -1.35rem;
  height: clamp(4.2rem, 18vw, 7rem);
  background: linear-gradient(to top, rgba(13, 16, 28, 0.94), rgba(13, 16, 28, 0));
  opacity: 0;
  transition: opacity 0.32s ease, height 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
  z-index: -1;
}

.game-card:hover .game-card-content,
.game-card:focus-within .game-card-content {
  transform: translateY(calc(-1 * var(--card-lift-distance)));
}

.game-card:hover .game-card-content::before,
.game-card:focus-within .game-card-content::before {
  opacity: 1;
  height: clamp(5rem, 20vw, 8.5rem);
}

/* Persistent price footer keeps pricing visible even when collapsed */
.game-card-lower {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding: 0.2rem 0 0.35rem;
}

.game-card-content.game-card-content-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 1rem 0.75rem;
  margin: 0;
  border-radius: 0 0 calc(var(--catalog-radius-md) - 2px) calc(var(--catalog-radius-md) - 2px);
  background: linear-gradient(195deg, rgba(5, 7, 18, 0.45), rgba(8, 12, 24, 0.92) 65%, rgba(5, 8, 20, 0.96));
  box-shadow: 0 -16px 36px rgba(5, 7, 18, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: flex-end;
  transform: translateY(0);
  transition:
    background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background, box-shadow, height, transform;
  overflow: hidden;
  z-index: 4;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  height: 165px;
  min-height: 165px;
}

.game-card:hover .game-card-content.game-card-content-overlay,
.game-card:focus-within .game-card-content.game-card-content-overlay {
  height: auto;
  min-height: 165px;
  max-height: 280px;
  transform: translateY(-2px);
  border-top: 1px solid rgba(99, 102, 241, 0.35);
}

.game-card-content-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.18), transparent 52%),
    radial-gradient(80% 45% at 50% 0%, rgba(14, 165, 233, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

.game-card:hover .game-card-content-overlay,
.game-card:focus-within .game-card-content-overlay {
  background: linear-gradient(198deg, rgba(7, 12, 26, 0.72), rgba(6, 10, 22, 0.95) 60%, rgba(4, 7, 18, 0.97));
  box-shadow: 
    0 -22px 44px rgba(6, 8, 18, 0.7),
    0 0 32px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(99, 102, 241, 0.12);
}

.game-card:hover .game-card-content-overlay::before,
.game-card:focus-within .game-card-content-overlay::before {
  opacity: 1;
}

.game-card-overlay-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  flex: 0 0 auto;
  justify-content: flex-start;
  min-height: auto;
  padding-top: 0;
  margin-top: auto;
}

.game-card-overlay-top .game-card-platform-logos {
  order: 0;
}

.game-card-overlay-top .game-card-chip-row {
  order: 1;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0.25rem;
  padding-top: 0;
}

.game-card-overlay-top .game-card-title {
  order: 2;
  margin: 0;
}

.game-card-overlay-top .game-card-meta-line {
  order: 3;
  margin: 0.15rem 0 0;
}

.game-card-meta-line {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="light"] .game-card-content.game-card-content-overlay {
  background: linear-gradient(190deg, rgba(244, 247, 255, 0.95), rgba(229, 237, 255, 0.97));
  box-shadow: 0 -18px 42px rgba(148, 163, 184, 0.35);
}

html[data-theme="light"] .game-card:hover .game-card-content.game-card-content-overlay,
html[data-theme="light"] .game-card:focus-within .game-card-content.game-card-content-overlay {
  background: linear-gradient(188deg, rgba(236, 241, 255, 0.98), rgba(224, 229, 255, 0.98));
  box-shadow: 0 -26px 54px rgba(148, 163, 184, 0.42);
}

html[data-theme="light"] .game-card-meta-line {
  color: rgba(55, 65, 81, 0.76);
}

.catalog-body .bundle-games-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.catalog-body .bundle-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.92);
}

.catalog-body .bundle-game-pill:last-child {
  letter-spacing: 0.05em;
}

html[data-theme="light"] .catalog-body .bundle-game-pill {
  background: rgba(191, 219, 254, 0.6);
  border-color: rgba(59, 130, 246, 0.35);
  color: rgba(30, 64, 175, 0.88);
}

.catalog-body .bundle-savings-note {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(125, 211, 252, 0.9);
}

html[data-theme="light"] .catalog-body .bundle-savings-note {
  color: rgba(15, 118, 110, 0.8);
}

.game-card-price-cluster {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.35rem;
  transition: transform 0.32s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
  margin-bottom: 0.14rem;
}

.game-card-discount-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.95) 0%, 
    rgba(185, 28, 28, 0.9) 100%);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  box-shadow: 
    0 6px 20px rgba(220, 38, 38, 0.4),
    0 0 16px rgba(220, 38, 38, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  animation: discount-pulse 2s ease-in-out infinite;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

@keyframes discount-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 6px 20px rgba(220, 38, 38, 0.4),
      0 0 16px rgba(220, 38, 38, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 
      0 8px 24px rgba(220, 38, 38, 0.5),
      0 0 24px rgba(220, 38, 38, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  }
}

.game-card:hover .game-card-price-cluster,
.game-card:focus-within .game-card-price-cluster {
  transform: translateY(-0.22rem);
}

.game-card-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  z-index: 2;
  transition: transform 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}

.game-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.32rem;
}

.game-card-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.game-card-chip-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.game-card-chip-row > .game-card-chip-group {
  flex: 1 1 auto;
  min-width: 0;
}

.game-card-chip-row > .game-card-platform-logos {
  flex: 0 0 auto;
}


.game-card-platform-logos {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.18rem 0.3rem;
  margin-bottom: 0;
  margin-right: auto;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.74));
  box-shadow: 0 8px 18px rgba(6, 10, 24, 0.32);
  align-self: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 100%;
}

.game-card-platform-logos .platform-logo {
  position: relative;
}

.platform-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background:
    radial-gradient(circle at 40% 25%, rgba(94, 234, 212, 0.22), transparent 62%),
    linear-gradient(155deg, rgba(13, 18, 32, 0.9), rgba(15, 23, 42, 0.88));
  box-shadow: 0 6px 14px rgba(6, 10, 24, 0.38);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  overflow: hidden;
}

.platform-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.16rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.42);
}

.platform-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 16px 28px rgba(6, 10, 22, 0.55);
}

.platform-logo-fallback {
  color: #f8fafc;
  font-size: 0.9rem;
}

.platform-logo-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.32);
}

html[data-theme="light"] .game-card-platform-logos {
  background: linear-gradient(150deg, rgba(248, 250, 255, 0.95), rgba(224, 231, 255, 0.82));
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow: 0 8px 16px rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .platform-logo {
  background:
    radial-gradient(circle at 40% 25%, rgba(59, 130, 246, 0.14), transparent 62%),
    linear-gradient(150deg, rgba(250, 250, 255, 0.95), rgba(226, 232, 240, 0.92));
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 7px 14px rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .platform-logo img {
  background: rgba(226, 232, 240, 0.38);
}

html[data-theme="light"] .platform-logo-fallback {
  color: #0f172a;
}

html[data-theme="light"] .platform-logo-more {
  color: #1f2937;
  background: rgba(148, 163, 184, 0.26);
  border-color: rgba(148, 163, 184, 0.36);
}

.gift-cards-page .game-card-platform-logos {
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 18px;
  border-color: rgba(236, 72, 153, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 27, 75, 0.78));
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.55);
}

.gift-cards-page .game-card-platform-logos .platform-logo,
.gift-cards-page .game-card-platform-logos .platform-logo-more {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  border-color: rgba(236, 72, 153, 0.25);
  background:
    radial-gradient(circle at 60% 35%, rgba(244, 114, 182, 0.18), transparent 58%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(13, 20, 38, 0.92));
  box-shadow: 0 10px 24px rgba(8, 11, 26, 0.55);
  position: relative;
  overflow: visible;
}

.gift-cards-page .game-card-platform-logos .platform-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.gift-cards-page .game-card-platform-logos .platform-logo:hover img,
.gift-cards-page .game-card-platform-logos .platform-logo:focus-visible img {
  transform: translateY(-1px) scale(1.04);
}

.gift-cards-page .game-card-platform-logos .platform-logo i {
  color: #fef3c7;
  font-size: 0.95rem;
}

.gift-cards-page .game-card-platform-logos .platform-logo::after {
  content: attr(title);
  position: absolute;
  bottom: -1.45rem;
  left: 50%;
  transform: translate(-50%, 2px);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 255, 0.82);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gift-cards-page .game-card-platform-logos .platform-logo:hover::after,
.gift-cards-page .game-card-platform-logos .platform-logo:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -2px);
}

.gift-cards-page .game-card-platform-logos .platform-logo-more {
  font-size: 0.7rem;
  color: #fdf2f8;
}

.gift-cards-page .game-card-platform-logos .platform-logo-more::after {
  content: none;
}

html[data-theme="light"] .gift-cards-page .game-card-platform-logos {
  border-color: rgba(236, 72, 153, 0.28);
  background: linear-gradient(140deg, rgba(253, 244, 255, 0.96), rgba(240, 249, 255, 0.92));
  box-shadow: 0 14px 26px rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .gift-cards-page .game-card-platform-logos .platform-logo,
html[data-theme="light"] .gift-cards-page .game-card-platform-logos .platform-logo-more {
  border-color: rgba(236, 72, 153, 0.22);
  background:
    radial-gradient(circle at 60% 35%, rgba(236, 72, 153, 0.12), transparent 58%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  color: #7e22ce;
}

html[data-theme="light"] .gift-cards-page .game-card-platform-logos .platform-logo img {
  filter: drop-shadow(0 4px 5px rgba(148, 163, 184, 0.45));
}

html[data-theme="light"] .gift-cards-page .game-card-platform-logos .platform-logo::after {
  color: rgba(55, 65, 81, 0.82);
}

@media (max-width: 640px) {
  .game-card-platform-logos {
    gap: 0.18rem;
    padding: 0.16rem 0.28rem;
  }

  .platform-logo,
  .platform-logo-more {
    width: 22px;
    height: 22px;
  }

  .platform-logo-more {
    font-size: 0.6rem;
  }
}

.chip-wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 14px;
  border: 1.5px solid rgba(248, 113, 113, 0.85);
  background: transparent;
  color: rgba(248, 113, 113, 0.9);
  cursor: pointer;
  transition:
    border 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

.game-card-actions .chip-wishlist {
  margin-left: 0;
}

.chip-wishlist::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(248, 113, 113, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.chip-wishlist i {
  pointer-events: none;
  font-size: 1rem;
}

.chip-wishlist:hover,
.chip-wishlist:focus-visible {
  outline: none;
  color: #fff;
  background-color: rgba(248, 113, 113, 0.12);
  box-shadow: 0 8px 18px rgba(248, 113, 113, 0.24);
  transform: translateY(-1px);
  animation: wishlistPop 0.35s ease;
}

.chip-wishlist:hover::after,
.chip-wishlist:focus-visible::after {
  opacity: 1;
}

.chip-wishlist.active {
  color: #fff;
  background-color: rgba(248, 113, 113, 0.18);
  box-shadow: 0 10px 22px rgba(248, 113, 113, 0.26);
}

html[data-theme="light"] .chip-wishlist {
  border-color: rgba(239, 68, 68, 0.6);
  color: rgba(185, 28, 28, 0.85);
}

html[data-theme="light"] .chip-wishlist:hover,
html[data-theme="light"] .chip-wishlist:focus-visible {
  color: #fff;
  background-color: rgba(248, 113, 113, 0.35);
}

html[data-theme="light"] .chip-wishlist.active {
  color: #fff;
}

.chip-wishlist.requires-auth {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.chip-wishlist.requires-auth:hover,
.chip-wishlist.requires-auth:focus-visible {
  transform: none;
  animation: none;
  background-color: transparent;
  color: rgba(248, 113, 113, 0.6);
}

@keyframes wishlistPop {
  0% {
    transform: translateY(0) scale(1);
  }
  60% {
    transform: translateY(-2px) scale(1.03);
  }
  100% {
    transform: translateY(-1px) scale(1.01);
  }
}

.game-card-chip.platform {
  background:
    radial-gradient(140% 120% at 20% 15%, rgba(59, 130, 246, 0.25), transparent 58%),
    linear-gradient(135deg, rgba(129, 140, 248, 0.55), rgba(14, 165, 233, 0.52));
  border-color: rgba(129, 140, 248, 0.7);
  color: rgba(224, 242, 254, 0.95);
  box-shadow:
    0 8px 18px rgba(14, 165, 233, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.game-card-chip.region {
  background:
    radial-gradient(140% 120% at 10% 15%, rgba(34, 197, 94, 0.3), transparent 60%),
    linear-gradient(135deg, rgba(16, 185, 129, 0.6), rgba(236, 201, 75, 0.5));
  border-color: rgba(52, 211, 153, 0.72);
  color: rgba(240, 253, 244, 0.95);
  box-shadow:
    0 8px 18px rgba(16, 185, 129, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.bundles-page .game-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem 0.28rem 0.45rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(13, 23, 40, 0.55);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.bundles-page .games-grid .game-card {
  cursor: pointer;
}

.bundles-page .games-grid .game-card button {
  cursor: pointer;
}

.bundles-page .game-card-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 140% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0.65;
  pointer-events: none;
}

.bundles-page .game-card-chip .chip-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

.bundles-page .game-card-chip .chip-label {
  position: relative;
  z-index: 2;
}

.bundles-page .game-card-chip.platform {
  border-color: rgba(59, 130, 246, 0.55);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.35), transparent 65%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.88), rgba(8, 47, 73, 0.85));
}

.bundles-page .game-card-chip.platform .chip-icon {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(13, 42, 78, 0.8);
  color: #93c5fd;
  font-size: 0.78rem;
}

.bundles-page .game-card-chip.region {
  border-color: rgba(16, 185, 129, 0.5);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(16, 185, 129, 0.32), transparent 65%),
    linear-gradient(135deg, rgba(10, 54, 46, 0.9), rgba(4, 47, 27, 0.85));
}

.bundles-page .game-card-chip.region .chip-icon {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(5, 46, 32, 0.8);
  color: #6ee7b7;
  font-size: 0.78rem;
}

html[data-theme="light"] .bundles-page .game-card-chip {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: rgba(30, 41, 59, 0.9);
}

html[data-theme="light"] .bundles-page .game-card-chip.platform {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(191, 219, 254, 0.9), transparent 60%),
    linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(219, 234, 254, 0.88));
  border-color: rgba(99, 102, 241, 0.28);
}

html[data-theme="light"] .bundles-page .game-card-chip.region {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(187, 247, 208, 0.9), transparent 60%),
    linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(217, 249, 237, 0.88));
  border-color: rgba(16, 185, 129, 0.28);
}

html[data-theme="light"] .bundles-page .game-card-chip .chip-icon {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(37, 99, 235, 0.9);
}

html[data-theme="light"] .bundles-page .game-card-chip.region .chip-icon {
  color: rgba(5, 122, 85, 0.9);
}

.bundles-page .game-card-chip.platform,
.bundles-page .game-card-chip.region {
  position: relative;
  padding-left: 1.85rem;
  min-height: 34px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.bundles-page .game-card-chip.platform::before,
.bundles-page .game-card-chip.region::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  color: inherit;
  opacity: 0.85;
}

.bundles-page .game-card-chip.platform::before {
  content: '\f0c0';
  background: rgba(59, 130, 246, 0.25);
}

.bundles-page .game-card-chip.region::before {
  content: '\f1b3';
  background: rgba(16, 185, 129, 0.25);
}


.custom-order-card .game-card-chip {
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 12px;
}

.custom-order-card .game-card-chip.platform {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(129, 140, 248, 0.45);
  color: rgba(199, 210, 254, 0.95);
}

.custom-order-card .game-card-chip.region {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(125, 211, 252, 0.42);
  color: rgba(191, 219, 254, 0.95);
}

html[data-theme="light"] .game-card-chip {
  background: rgba(248, 250, 255, 0.92);
  color: rgba(45, 55, 72, 0.78);
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="light"] .game-card-chip.platform {
  background:
    radial-gradient(140% 120% at 20% 20%, rgba(191, 219, 254, 0.9), transparent 60%),
    linear-gradient(135deg, rgba(199, 210, 254, 0.9), rgba(191, 219, 254, 0.85));
  border-color: rgba(99, 102, 241, 0.35);
  color: rgba(30, 41, 59, 0.9);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.18);
}

html[data-theme="light"] .game-card-chip.region {
  background:
    radial-gradient(140% 120% at 15% 20%, rgba(187, 247, 208, 0.9), transparent 58%),
    linear-gradient(135deg, rgba(134, 239, 172, 0.9), rgba(253, 230, 138, 0.85));
  border-color: rgba(52, 211, 153, 0.35);
  color: rgba(22, 101, 52, 0.95);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.16);
}

.game-card-title {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.24;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
  color: #ffffff;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 0, 0, 0.5);
}

.game-card:hover .game-card-title,
.game-card:focus-visible .game-card-title {
  color: var(--catalog-accent-primary);
}

 

.price-old {
  text-decoration: line-through;
  color: rgba(148, 163, 184, 0.6);
  font-weight: 600;
}

.game-card-discount {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(249, 115, 22, 0.92));
  color: #fff;
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.32);
}

.price-current {
  font-size: 1.36rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--catalog-accent-primary), var(--catalog-accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-card-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.55rem;
  overflow: hidden;
  width: 100%;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 0.38s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.25s ease,
    margin-top 0.32s ease;
  margin-top: 0;
  z-index: 3;
}

.game-card:hover .game-card-actions,
.game-card:focus-within .game-card-actions {
  max-height: 6rem;
  opacity: 1;
  pointer-events: auto;
  margin-top: 0.55rem;
  overflow: visible;
}

.game-card:hover .game-card-price-row,
.game-card:focus-within .game-card-price-row {
  transform: translateY(-0.45rem);
}

@media (hover: none) {
  .game-card {
    --card-lift-distance: 0;
  }

  .game-card-content {
    transform: none !important;
  }

  .game-card-content.game-card-content-overlay {
    transform: translateY(0) !important;
  }

  .game-card-content::before {
    opacity: 0 !important;
  }

  .game-card-lower {
    margin-top: auto;
  }

  .game-card-actions {
    width: 100%;
    margin: 0;
    max-height: none;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .btn-quick-add {
    transform: none !important;
  }

  .game-card.gift-card .game-card-actions {
    flex-wrap: wrap;
  }

  .game-card.gift-card .game-card-actions .btn-quick-add {
    width: 100%;
  }
}

.btn-quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.95rem 1.35rem;
  border-radius: calc(var(--catalog-radius-sm) - 2px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  flex: 1 1 auto;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(20, 184, 166, 0.12));
  color: #ecfeff;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: translateY(0.35rem);
  transition:
    transform 0.26s cubic-bezier(0.18, 0.89, 0.32, 1.28),
    letter-spacing 0.24s ease,
    box-shadow 0.28s ease,
    border 0.28s ease;
  box-shadow: 0 22px 46px rgba(8, 11, 24, 0.56);
}

.btn-quick-add::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 140deg at 50% 50%, rgba(56, 189, 248, 0.75), rgba(129, 140, 248, 0.65), rgba(236, 72, 153, 0.7), rgba(56, 189, 248, 0.75));
  opacity: 0.7;
  filter: blur(0.5px);
  transition: opacity 0.35s ease, filter 0.35s ease;
  z-index: 0;
}

.btn-quick-add::after {
  content: '';
  position: absolute;
  inset: 1.8px;
  border-radius: calc(var(--catalog-radius-sm) - 3px);
  background:
    linear-gradient(165deg, rgba(11, 16, 26, 0.92), rgba(6, 9, 18, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

.btn-quick-add i,
.btn-quick-add span {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.btn-quick-add i {
  font-size: 1.05rem;
}

.game-card:hover .btn-quick-add,
.btn-quick-add:is(:focus-visible, :focus) {
  transform: translateY(0);
  box-shadow: 0 24px 54px rgba(14, 165, 233, 0.28);
  border-color: rgba(56, 189, 248, 0.55);
}

.game-card:hover .btn-quick-add::before,
.btn-quick-add:is(:focus-visible, :focus)::before {
  opacity: 0.95;
  filter: blur(0);
}

.game-card:hover .btn-quick-add::after,
.btn-quick-add:is(:focus-visible, :focus)::after {
  background:
    linear-gradient(170deg, rgba(12, 18, 32, 0.94), rgba(10, 17, 38, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 36px rgba(14, 165, 233, 0.22);
}

.btn-quick-add:hover,
.btn-quick-add:focus-visible {
  outline: none;
  letter-spacing: 0.1em;
}

/* Catalog grid uses tighter quick-add buttons so the compact cards stay balanced */
.catalog-body .games-grid .game-card-actions {
  gap: 0.4rem;
}

.catalog-body .games-grid .btn-quick-add {
  padding: 0.78rem 1.05rem;
  gap: 0.4rem;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  transform: translateY(0.32rem);
  box-shadow: 0 18px 34px rgba(8, 11, 24, 0.48);
}

.catalog-body .games-grid .btn-quick-add i {
  font-size: 0.95rem;
}

.catalog-body .games-grid .btn-quick-add span {
  font-size: 0.78rem;
}

.btn-quick-add:hover i,
.btn-quick-add:focus-visible i {
  transform: translateX(4px) scale(1.04);
}

.btn-quick-add:hover span,
.btn-quick-add:focus-visible span {
  transform: translateX(3px);
}

.btn-quick-add:active {
  transform: translateY(0.12rem) scale(0.985);
  box-shadow: 0 16px 32px rgba(8, 11, 24, 0.52);
}

body.custom-order-open .btn-quick-add {
  transform: translateY(0.45rem) !important;
  box-shadow: 0 22px 46px rgba(8, 11, 24, 0.56) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

body.custom-order-open .btn-quick-add::before {
  opacity: 0.7 !important;
  filter: blur(0.5px) !important;
}

body.custom-order-open .btn-quick-add::after {
  background: linear-gradient(165deg, rgba(11, 16, 26, 0.92), rgba(6, 9, 18, 0.95)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.btn-quick-add[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.7;
  transform: translateY(0.45rem) !important;
  box-shadow: 0 24px 54px rgba(14, 165, 233, 0.18) !important;
  pointer-events: none;
}

.btn-quick-add[aria-disabled="true"]::before {
  opacity: 0.55 !important;
}

.btn-quick-add[aria-disabled="true"] span,
.btn-quick-add[aria-disabled="true"] i {
  opacity: 0.85;
}

.btn-quick-add[data-auth-locked="true"] {
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) !important;
  border-color: rgba(236, 72, 153, 0.62);
  box-shadow: 0 26px 58px rgba(236, 72, 153, 0.26) !important;
}

.btn-quick-add[data-auth-locked="true"]::before {
  opacity: 0.95 !important;
  animation: authLockedGlow 4.8s linear infinite;
  transform-origin: 50% 50%;
}

.btn-quick-add[data-auth-locked="true"]::after {
  background: linear-gradient(168deg, rgba(24, 18, 40, 0.96), rgba(18, 27, 52, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 34px rgba(236, 72, 153, 0.22);
}

.btn-quick-add[data-auth-locked="true"] span,
.btn-quick-add[data-auth-locked="true"] i {
  opacity: 1;
}

.custom-order-card[data-auth-required="true"] .game-card-content {
  box-shadow: inset 0 0 0 1px rgba(236, 72, 153, 0.18);
}

.custom-order-card[data-auth-required="true"] .custom-order-card-icon {
  box-shadow:
    0 20px 40px rgba(236, 72, 153, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.game-card-badge-row.has-left-badge,
.game-card-badge-row.has-right-badge {
  --badge-offset: 18px;
}

.game-card-badge-row.has-left-badge .game-card-badges,
.game-card-badge-row.has-right-badge .game-card-badges-right {
  display: inline-flex;
  align-items: center;
  height: 36px;
}

.game-card-badge-row.has-left-badge .game-card-badge,
.game-card-badge-row.has-right-badge .game-card-badge {
  animation: badgePulseScale 2s ease-in-out infinite;
}

@keyframes badgePulseScale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes diamondPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 20px 44px rgba(168, 85, 247, 0.35),
      0 0 24px rgba(56, 189, 248, 0.3);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
      0 25px 52px rgba(168, 85, 247, 0.45),
      0 0 36px rgba(56, 189, 248, 0.45);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 20px 44px rgba(168, 85, 247, 0.35),
      0 0 24px rgba(56, 189, 248, 0.3);
  }
}

@keyframes diamondSheen {
  0% {
    transform: translateX(-90%) rotate(18deg);
    opacity: 0;
  }
  35% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(140%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes badgeFlarePulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 22px 44px rgba(249, 115, 22, 0.4),
      0 0 32px rgba(249, 115, 22, 0.3);
  }
  50% {
    transform: translateY(-1px) scale(1.05);
    box-shadow:
      0 26px 52px rgba(249, 115, 22, 0.55),
      0 0 40px rgba(249, 115, 22, 0.45);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 22px 44px rgba(249, 115, 22, 0.4),
      0 0 32px rgba(249, 115, 22, 0.3);
  }
}

/* Badge animations for premium design */
@keyframes gradient-shift {
  0%, 100% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.1) saturate(1.15);
  }
}

@keyframes badge-shine {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes shimmer-discount {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes flameRise {
  0% {
    transform: translateY(30%) scale(0.85);
    opacity: 0.65;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-30%) scale(1.1);
    opacity: 0;
  }
}

@keyframes rocketTrail {
  0% {
    transform: translateX(-80%) scaleX(0.5);
    opacity: 0;
  }
  35% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(140%) scaleX(1.15);
    opacity: 0;
  }
}

@keyframes starPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 18px 38px rgba(250, 204, 21, 0.35),
      0 0 24px rgba(245, 158, 11, 0.3);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
    box-shadow:
      0 24px 46px rgba(250, 204, 21, 0.5),
      0 0 36px rgba(245, 158, 11, 0.45);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 18px 38px rgba(250, 204, 21, 0.35),
      0 0 24px rgba(245, 158, 11, 0.3);
  }
}

@keyframes starSparkle {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  40% {
    transform: scale(1) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: scale(0.4) rotate(25deg);
    opacity: 0;
  }
}

@keyframes discountNeonPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 18px 40px rgba(59, 130, 246, 0.35),
      0 0 28px rgba(129, 140, 248, 0.35);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow:
      0 24px 56px rgba(59, 130, 246, 0.5),
      0 0 44px rgba(129, 140, 248, 0.55);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 18px 40px rgba(59, 130, 246, 0.35),
      0 0 28px rgba(129, 140, 248, 0.35);
  }
}

@keyframes discountSweep {
  0% {
    transform: translateX(-70%) skewX(-8deg);
    opacity: 0;
  }
  35% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(120%) skewX(-8deg);
    opacity: 0;
  }
}

@keyframes discountBadgePulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 28px rgba(251, 146, 60, 0.28);
  }
  50% {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 18px 34px rgba(251, 146, 60, 0.38);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 28px rgba(251, 146, 60, 0.28);
  }
}

@keyframes authLockedGlow {
  0% {
    filter: blur(0.35px);
    transform: rotate(0deg);
  }
  50% {
    filter: blur(0);
    transform: rotate(180deg);
  }
  100% {
    filter: blur(0.35px);
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-card-badge.discount,
  .game-card-badge.badge-hot,
  .game-card-badge.badge-top,
  .game-card-badge.badge-star {
    animation: none;
    transform: translateY(0);
  }

  .game-card-badge.badge-hot::before,
  .game-card-badge.badge-hot::after,
  .game-card-badge.badge-top::after,
  .game-card-badge.badge-star::before,
  .game-card-badge.badge-star::after,
  .game-card-badge.discount::after,
  .btn-quick-add[data-auth-locked="true"]::before {
    animation: none;
  }
}

html[data-theme="light"] .btn-quick-add {
  color: #0f172a;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.7), rgba(167, 243, 208, 0.68));
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 20px 42px rgba(148, 163, 184, 0.26);
}

html[data-theme="light"] .btn-quick-add::before {
  opacity: 0.6;
}

html[data-theme="light"] .btn-quick-add::after {
  background: linear-gradient(170deg, rgba(240, 249, 255, 0.96), rgba(224, 242, 254, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .btn-quick-add[data-auth-locked="true"] {
  border-color: rgba(236, 72, 153, 0.58);
  box-shadow: 0 26px 58px rgba(236, 72, 153, 0.24) !important;
}

html[data-theme="light"] .btn-quick-add[data-auth-locked="true"]::after {
  background: linear-gradient(168deg, rgba(253, 242, 248, 0.96), rgba(233, 213, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 34px rgba(236, 72, 153, 0.18);
}

.games-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 1rem;
}

.pagination-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(8, 12, 22, 0.82);
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, border 0.18s ease, background 0.18s ease;
}

.pagination-btn:hover,
.pagination-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.15);
  outline: none;
}

.pagination-btn.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.2));
  border-color: rgba(139, 92, 246, 0.6);
  color: #fff;
}

.pagination-btn[disabled] {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.no-games {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  padding: clamp(2.5rem, 4vw, 3rem);
  border-radius: var(--catalog-radius-lg);
  border: 1px dashed rgba(139, 92, 246, 0.35);
  background: rgba(11, 15, 24, 0.72);
  color: rgba(226, 232, 240, 0.78);
}

html[data-theme="light"] .no-games {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(71, 85, 105, 0.75);
  border-color: rgba(139, 92, 246, 0.25);
}

.toast-container {
  position: fixed;
  top: clamp(18px, 4vw, 30px);
  right: clamp(18px, 5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  z-index: 12000;
  pointer-events: none;
}

@media (max-width: 640px) {
  .toast-container {
    left: 16px;
    right: 16px;
    top: 18px;
  }
}

.toast {
  --toast-accent: #8b5cf6;
  min-width: clamp(240px, 28vw, 340px);
  max-width: clamp(260px, 32vw, 380px);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.88rem 1.1rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(135deg, rgba(17, 20, 36, 0.95), rgba(10, 12, 24, 0.98));
  color: #e2e8f0;
  box-shadow: 0 26px 48px rgba(8, 11, 24, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  pointer-events: auto;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--toast-accent), transparent 72%);
  opacity: 0.85;
}

.toast::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.22), transparent 55%),
    radial-gradient(circle at 85% 120%, rgba(236, 72, 153, 0.16), transparent 65%);
  opacity: 0.75;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--toast-accent), rgba(255, 255, 255, 0.12));
  color: #fff;
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.32);
  position: relative;
  z-index: 1;
}

.toast-content {
  position: relative;
  z-index: 1;
  font-size: 0.93rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.toast.toast-success,
.toast-success {
  --toast-accent: #22c55e;
}

.toast.toast-warning,
.toast-warning {
  --toast-accent: #f59e0b;
}

.toast.toast-error,
.toast-error {
  --toast-accent: #ef4444;
}

.toast.toast-info,
.toast-info {
  --toast-accent: #3b82f6;
}

html[data-theme="light"] .toast {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.96), rgba(241, 244, 255, 0.94));
  border-color: rgba(148, 163, 184, 0.32);
  color: rgba(30, 41, 59, 0.9);
  box-shadow: 0 20px 42px rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .toast::after {
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.28), transparent 55%),
    radial-gradient(circle at 85% 120%, rgba(236, 72, 153, 0.22), transparent 65%);
}

html[data-theme="light"] .toast-icon {
  box-shadow: 0 12px 26px rgba(139, 92, 246, 0.22);
}

.custom-order-modal {
  position: fixed;
  inset: 0;
  display: flex;
  --custom-order-safe-offset: calc(var(--header-height, 76px) + var(--nav-height, 64px) + clamp(1.8rem, 3.2vw, 2.6rem));
  --custom-order-padding-inline: clamp(1rem, 3vw, 1.6rem);
  --custom-order-padding-bottom: clamp(1.6rem, 3vw, 2.2rem);
  align-items: center;
  justify-content: center;
  padding:
    var(--custom-order-safe-offset)
    var(--custom-order-padding-inline)
    var(--custom-order-padding-bottom);
  background: rgba(4, 6, 12, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  z-index: 3200;
  overflow: visible;
}

.custom-order-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}

body.custom-order-open {
  overflow: hidden;
}

.custom-order-dialog {
  position: relative;
  width: min(520px, calc(100% - 2 * var(--custom-order-padding-inline)));
  border-radius: var(--catalog-radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.2rem);
  background: rgba(12, 18, 34, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 44px 90px rgba(6, 8, 16, 0.58);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  margin: 0;
  max-height: calc(100vh - (var(--custom-order-safe-offset) + var(--custom-order-padding-bottom)));
}

@supports (height: 100dvh) {
  .custom-order-dialog {
    max-height: calc(100dvh - (var(--custom-order-safe-offset) + var(--custom-order-padding-bottom)));
  }
}

.custom-order-modal.open .custom-order-dialog {
  transform: translateY(0);
  opacity: 1;
}

html[data-theme="light"] .custom-order-dialog {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow: 0 40px 90px rgba(148, 163, 184, 0.28);
}

.custom-order-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border 0.22s ease;
}

.custom-order-close:hover,
.custom-order-close:focus-visible {
  transform: rotate(90deg);
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.5);
  outline: none;
}

.custom-order-dialog-header {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.custom-order-dialog-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.custom-order-dialog-header p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

html[data-theme="light"] .custom-order-dialog-header p {
  color: rgba(71, 85, 105, 0.78);
}

.custom-order-form {
  display: grid;
  gap: 0.85rem;
}

.custom-order-form .form-field {
  display: grid;
  gap: 0.35rem;
}

.custom-order-form label {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.custom-order-form .field-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: rgba(191, 219, 254, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
}

.custom-order-form .form-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.8);
}

html[data-theme="light"] .custom-order-form .field-hint-icon {
  background: rgba(191, 219, 254, 0.6);
  border-color: rgba(59, 130, 246, 0.4);
  color: rgba(37, 99, 235, 0.82);
}

html[data-theme="light"] .custom-order-form .form-hint {
  color: rgba(71, 85, 105, 0.72);
}

.custom-order-form input,
.custom-order-form textarea {
  padding: 0.75rem 0.95rem;
  border-radius: var(--catalog-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(9, 13, 22, 0.75);
  color: inherit;
  font: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.custom-order-form input:focus,
.custom-order-form textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

html[data-theme="light"] .custom-order-form input,
html[data-theme="light"] .custom-order-form textarea {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

.custom-order-form textarea {
  min-height: 120px;
  resize: vertical;
}

.custom-order-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--catalog-radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.55), rgba(236, 72, 153, 0.5));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.custom-order-submit:hover,
.custom-order-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(139, 92, 246, 0.36);
  outline: none;
}

.custom-order-submit.is-loading {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

.custom-order-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.custom-order-feedback[data-state="error"] {
  color: #f97316;
}

.custom-order-feedback[data-state="success"] {
  color: #34d399;
}

.custom-order-success {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--catalog-radius-sm);
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(9, 20, 15, 0.82);
  color: rgba(240, 253, 244, 0.92);
  font-size: 0.92rem;
  gap: 0.6rem;
  align-items: center;
}

.custom-order-modal.success .custom-order-form {
  display: none;
}

.custom-order-modal.success .custom-order-success {
  display: inline-flex;
}

html[data-theme="light"] .custom-order-success {
  background: rgba(236, 253, 245, 0.9);
  color: rgba(6, 95, 70, 0.88);
}

.game-detail-page {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

.game-detail-container {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 4vw, 2.8rem);
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.78);
}

.detail-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.detail-breadcrumb a:hover {
  color: var(--catalog-accent-primary);
}

html[data-theme="light"] .detail-breadcrumb {
  color: rgba(71, 85, 105, 0.78);
}

.game-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 3vw, 2.5rem);
}

@media (max-width: 1024px) {
  .game-detail-hero {
    grid-template-columns: 1fr;
  }
}

.detail-media {
  display: grid;
  gap: 1rem;
}

.detail-cover {
  position: relative;
  border-radius: var(--catalog-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.22), transparent 70%), rgba(8, 12, 22, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.28);
  box-shadow: 0 30px 70px rgba(8, 12, 22, 0.55);
  cursor: zoom-in;
}

.detail-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, transparent 20%, rgba(5, 6, 12, 0.82) 100%);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.detail-cover:hover img {
  transform: scale(1.04);
}

.detail-cover .detail-platform-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(9, 12, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.detail-thumb {
  position: relative;
  border-radius: var(--catalog-radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid transparent;
  background: rgba(15, 20, 32, 0.75);
  cursor: pointer;
  transition: transform 0.18s ease, border 0.18s ease, box-shadow 0.18s ease;
}

.detail-thumb.active {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.28);
}

.detail-thumb:hover {
  transform: translateY(-3px);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.6rem, 3vw, 2rem);
  border-radius: var(--catalog-radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.24);
  background: rgba(9, 12, 22, 0.82);
  box-shadow: 0 26px 60px rgba(5, 8, 16, 0.45);
  position: sticky;
  top: calc(var(--header-height, 76px) + var(--nav-height, 64px) + 24px);
}

html[data-theme="light"] .detail-info {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 26px 60px rgba(148, 163, 184, 0.28);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.detail-heading {
  display: grid;
  gap: 0.6rem;
}

.detail-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.26);
  font-size: 0.8rem;
  font-weight: 600;
}

.detail-price {
  display: grid;
  gap: 0.5rem;
}

.detail-price .detail-original {
  text-decoration: line-through;
  color: rgba(148, 163, 184, 0.6);
  font-weight: 600;
}

.detail-price .detail-current {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--catalog-accent-primary), var(--catalog-accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-price .detail-discount {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(236, 72, 153, 0.2);
  color: #fce7f3;
}

html[data-theme="light"] .detail-price .detail-discount {
  color: rgba(190, 24, 93, 0.88);
}

.detail-price-note {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.78);
}

.detail-options {
  display: grid;
  gap: 1rem;
}

.option-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.82);
}

html[data-theme="light"] .option-label {
  color: rgba(71, 85, 105, 0.82);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
}

.option-tile {
  padding: 0.85rem;
  border-radius: var(--catalog-radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(12, 16, 28, 0.72);
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.option-tile:hover,
.option-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
  outline: none;
}

.option-tile.selected {
  border-color: rgba(139, 92, 246, 0.85);
  background: rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}

.detail-actions {
  display: grid;
  gap: 0.6rem;
}

.detail-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--catalog-radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.detail-button.primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.58), rgba(236, 72, 153, 0.52));
  border-color: rgba(139, 92, 246, 0.65);
  color: #fff;
}

.detail-button.secondary {
  background: rgba(12, 16, 28, 0.78);
  border-color: rgba(148, 163, 184, 0.28);
  color: inherit;
}

.detail-button:hover,
.detail-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(139, 92, 246, 0.32);
  outline: none;
}

.detail-features {
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.detail-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.detail-feature i {
  color: var(--catalog-accent-primary);
  font-size: 1.1rem;
}

.detail-section {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.8rem, 3vw, 2.2rem);
  border-radius: var(--catalog-radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: rgba(9, 12, 22, 0.82);
  box-shadow: 0 28px 60px rgba(6, 8, 16, 0.38);
}

html[data-theme="light"] .detail-section {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 28px 60px rgba(148, 163, 184, 0.24);
}

.detail-section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.detail-description {
  color: rgba(226, 232, 240, 0.8);
  font-size: 1rem;
  line-height: 1.8;
}

html[data-theme="light"] .detail-description {
  color: rgba(71, 85, 105, 0.78);
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.spec-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--catalog-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(12, 16, 28, 0.78);
  display: grid;
  gap: 0.65rem;
}

.spec-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.spec-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: rgba(226, 232, 240, 0.78);
}

html[data-theme="light"] .spec-card {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(55, 65, 81, 0.85);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1.2rem, 3vw, 1.8rem);
}

.related-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--catalog-radius-md);
  border: 1px solid rgba(139, 92, 246, 0.16);
  background: rgba(12, 16, 28, 0.78);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(139, 92, 246, 0.25);
}

.related-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-card:hover .related-image img {
  transform: scale(1.06);
}

.related-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.related-content {
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.related-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-price {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.related-price-old {
  text-decoration: line-through;
  color: rgba(148, 163, 184, 0.6);
}

.related-price-current {
  font-weight: 700;
  color: var(--catalog-accent-primary);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(92vw, 1200px);
  padding: 0 56px;
}

.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 16, 28, 0.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  transform: none;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(139, 92, 246, 0.35);
}

@media (max-width: 900px) {
  .catalog-body .container {
    width: min(100% - 2rem, 960px);
  }

  body.catalog-body {
    padding-top: calc(var(--header-height, 72px) + var(--nav-height, 60px) + 24px);
  }

  .catalog-toolbar {
    position: relative;
    z-index: 200;
    padding: 1.2rem 0 1.8rem;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  /* Invisible placeholders to keep grid rows consistent */
  .game-card.placeholder {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  .detail-info {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  body.catalog-body {
    padding-top: calc(var(--header-height, 68px) + var(--nav-height, 56px) + 16px);
  }

  .catalog-body .container {
    width: min(100% - 1.5rem, 640px);
  }

  .catalog-toolbar {
    padding: 1rem 0 1.4rem;
    position: relative;
    z-index: 200;
  }

  .catalog-toolbar-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .catalog-toolbar-head {
    gap: 1.1rem;
  }

  .catalog-toolbar-meta {
    width: 100%;
    justify-content: flex-start;
  }

  .catalog-order-btn {
    width: 100%;
    justify-content: center;
  }

  .catalog-controls-end {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .catalog-filters,
  .games-filters {
    gap: 0.45rem;
    justify-content: flex-start;
  }

  .catalog-sort {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .catalog-sort,
  .sort-button {
    width: 100%;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .pagination-btn {
    width: 40px;
    height: 40px;
  }

  .detail-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-section {
    padding: 1.4rem 1.2rem;
  }

  .detail-breadcrumb {
    flex-wrap: wrap;
  }

  /* Mobile: Mažesnis kortelės aukštis */
  .game-card-content.game-card-content-overlay,
  .custom-order-card .game-card-content.game-card-content-overlay {
    height: 145px;
    min-height: 145px;
  }

  .game-card:hover .game-card-content.game-card-content-overlay,
  .game-card:focus-within .game-card-content.game-card-content-overlay,
  .custom-order-card:hover .game-card-content.game-card-content-overlay,
  .custom-order-card:focus-within .game-card-content.game-card-content-overlay {
    height: auto;
    min-height: 145px;
    max-height: 260px;
  }
}
