/* Obsidian Depth Design System */
:root {
  --surface: #15121b;
  --surface-dim: #15121b;
  --surface-bright: #3b3742;
  --background: #101014;
  --primary: #26BBFF;
  --primary-neon: #26BBFF;
  --secondary: #adc6ff;
  --secondary-electric: #26BBFF;
  --text-primary: #ffffff;
  --text-secondary: #cbc3d7;
  --text-muted: #958ea0;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-full: 9999px;

  --font-heading: 'Inter Tight', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  padding-top: 146px;
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-nav {
  background: #101014;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  z-index: 2000;
  overflow: visible;
}

.sticky-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header-top {
  min-height: 64px;
  max-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
  overflow: visible;
  opacity: 1;
  transition:
    max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    min-height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-header.is-scrolled .header-top {
  min-height: 0;
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-trigger::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 20px;
  display: none;
}

.menu-trigger.is-open::after {
  display: block;
}

.epic-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.epic-menu-toggle {
  width: 22px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.78);
}

.epic-logo {
  width: 132px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  line-height: 0;
}

.epic-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.menu-trigger.is-open .brand-chevron {
  transform: rotate(180deg);
}

.store-wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0;
}

.primary-nav,
.desktop-nav {
  display: none;
  align-items: center;
}

@media (min-width: 1024px) {
  .primary-nav,
  .desktop-nav {
    display: flex;
  }
}

.primary-nav {
  gap: 30px;
}

.top-nav-link {
  color: #f1f1f1;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-nav-link:hover {
  color: #ffffff;
}

.has-chevron::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  z-index: 2200;
  display: grid;
  grid-template-columns: 300px 380px;
  min-width: 680px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 100%, rgba(114, 96, 166, 0.32), transparent 46%),
    linear-gradient(135deg, rgba(48, 52, 55, 0.92), rgba(30, 31, 37, 0.9));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  visibility: hidden;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(8px) scale(0.985);
  transform-origin: top left;
  transition:
    opacity 0.2s ease 0.12s,
    transform 0.2s ease 0.12s,
    visibility 0s linear 0.34s;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.mobile-mega-header,
.mobile-mega-title,
.mega-menu-close {
  display: none;
}

.menu-trigger.is-open .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s, 0s, 0s;
}

.mega-column {
  padding: 26px 34px 28px;
  min-width: 0;
}

.mega-column + .mega-column {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.mega-column h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 37px;
  width: 100%;
  padding: 0 12px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mega-item:hover {
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  border-left-color: rgba(255, 255, 255, 0.34);
  border-right-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.menu-icon {
  width: 18px;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #262832;
  font-size: 0.45rem;
  font-weight: 600;
  line-height: 1;
}

.fortnite-icon {
  background: transparent;
  color: #ffffff;
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

.epic-mini {
  border-radius: 2px 2px 5px 5px;
  font-size: 0.42rem;
}

.mega-divider {
  height: 1px;
  margin: 24px -32px 24px;
  background: rgba(255, 255, 255, 0.09);
}

.distribute-menu {
  left: -26px;
  grid-template-columns: 360px;
  min-width: 360px;
}

.distribute-menu .mega-column {
  padding: 24px 24px 26px;
}

.epic-mega-menu {
  left: -18px;
}

.epic-mega-menu .mega-column-wide {
  min-width: 380px;
}

.store-subnav {
  position: relative;
  z-index: 30;
  min-height: 82px;
  max-height: 82px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px 22px clamp(24px, 12.5vw, 238px);
  background: #101014;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
  transform: translateY(0);
  opacity: 1;
  transition:
    max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    min-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-header.is-scrolled .store-subnav {
  transform: translateY(0);
}

.store-subnav .desktop-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.header-search {
  position: relative;
  z-index: 40;
  width: min(100%, 260px);
  flex: 0 0 auto;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  height: 46px;
  background: #202126;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 0 18px 0 46px;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-neon);
  box-shadow: 0 0 0 1px var(--primary-neon), inset 0 0 10px rgba(38, 187, 255, 0.1);
}

.search-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%);
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: white;
}

.search-btn svg {
  width: 17px;
  height: 17px;
}

.search-close-btn {
  display: none;
}

.search-results-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 2600;
  width: min(535px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 108px));
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(35, 35, 44, 0.98), rgba(52, 58, 72, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.header-search.is-results-open .search-results-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.search-results-inner {
  max-height: min(448px, calc(100vh - 180px));
  overflow-y: auto;
  padding: 20px 22px 10px;
}

.search-results-heading {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-result-item {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  color: #ffffff;
  text-align: left;
}

.search-result-item:hover .search-result-title {
  color: #26BBFF;
}

.search-result-item img {
  width: 40px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-type {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.search-result-title {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  transition: color 0.16s ease;
}

.search-no-results {
  padding: 18px 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
}

.search-view-all {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 22px 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.search-view-all:hover {
  color: #26BBFF;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.main-header svg path {
  stroke-width: 1.65;
}

.globe-btn,
.signin-btn,
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-picker {
  position: relative;
  display: inline-flex;
}

.globe-btn {
  width: 38px;
  color: rgba(255, 255, 255, 0.84);
}

.globe-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.globe-btn svg {
  width: 20px;
  height: 20px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 160;
  width: min(224px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 92px));
  overflow-y: auto;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(35, 35, 40, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.language-picker.is-open .language-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.language-menu button {
  position: relative;
  width: 100%;
  min-height: 38px;
  padding: 0 18px 0 42px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.language-menu button[aria-checked="true"]::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid #26BBFF;
  border-bottom: 1.6px solid #26BBFF;
  transform: translateY(-60%) rotate(-45deg);
}

.signin-btn {
  padding: 0 16px;
  background: #34343a;
  color: #ffffff;
}

.signin-btn:hover {
  background: #45454d;
}

.download-btn {
  padding: 0 18px;
  background: #26BBFF;
  color: #071016;
}

.download-btn:hover {
  background: #26BBFF;
}

.mobile-menu-btn {
  display: none;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-menu-btn span {
  width: 17px;
  height: 1.5px;
  border-radius: var(--radius-full);
  background: currentColor;
}

.mobile-menu-panel,
.mobile-discover-menu {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-top: 128px;
  }

  .main-header {
    background: #101014;
  }

  .header-top {
    min-height: 70px;
    max-height: 70px;
    gap: 12px;
    padding: 14px 30px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  }

  .header-left {
    gap: 12px;
  }

  .epic-menu-trigger {
    position: static;
  }

  .epic-logo {
    width: 106px;
    height: 28px;
  }

  .brand-chevron {
    width: 9px;
    height: 9px;
  }

  .epic-menu-toggle {
    width: 18px;
    height: 28px;
  }

  .mega-menu {
    position: fixed;
    inset: 0;
    z-index: 2300;
    grid-template-columns: 1fr;
    align-content: start;
    min-width: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: none;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    padding: 18px 20px 34px;
    border: 0;
    border-radius: 0;
    background: #101014;
    box-shadow: none;
    pointer-events: none;
    transform: none;
    transform-origin: center;
    transition:
      opacity 0.2s ease,
      visibility 0s linear 0.24s;
  }

  .mega-menu::-webkit-scrollbar {
    display: none;
  }

  .menu-trigger.is-open .mega-menu {
    pointer-events: auto;
    transform: none;
  }

  .mega-menu::before {
    display: none;
  }

  .mobile-mega-header {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
  }

  .mobile-mega-header .epic-logo {
    width: 116px;
    height: 30px;
  }

  .mega-menu-close {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
  }

  .mega-menu-close span {
    position: absolute;
    width: 20px;
    height: 1.8px;
    border-radius: var(--radius-full);
    background: currentColor;
  }

  .mega-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .mega-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-mega-title {
    display: block;
    margin: 0 0 30px 10px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.78rem;
    font-weight: 800;
    line-height: 1;
  }

  .mega-column {
    padding: 0;
  }

  .epic-mega-menu .mega-column-wide {
    min-width: 0;
  }

  .mega-column + .mega-column {
    border-left: 0;
    border-top: 0;
    margin-top: 30px;
  }

  .mega-column h3 {
    margin: 0 0 12px 10px;
    font-size: 1.08rem;
    font-weight: 800;
  }

  .mega-item {
    min-height: 39px;
    gap: 13px;
    padding: 0 0 0 22px;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .mega-item + .mega-item {
    margin-top: 3px;
  }

  .mega-item:hover {
    border: 0;
    background: transparent;
  }

  .menu-icon {
    width: 19px;
    min-width: 19px;
    height: 19px;
    background: rgba(255, 255, 255, 0.94);
    color: #101014;
    font-size: 0.46rem;
    font-weight: 800;
  }

  .mega-divider {
    display: block;
    height: 0;
    margin: 24px 0 0;
    border: 0;
    background: transparent;
  }

  .distribute-menu {
    left: 0;
    right: auto;
    top: 0;
    width: 100vw;
  }

  .store-wordmark {
    font-size: 1.05rem;
    line-height: 1;
  }

  .header-right {
    position: relative;
    gap: 7px;
  }

  .language-picker,
  .signin-btn {
    display: none;
  }

  .download-btn {
    min-height: 23px;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 0;
    font-weight: 700;
  }

  .download-btn::before {
    content: "Install";
    font-size: 0.72rem;
    line-height: 1;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .mobile-menu-btn span {
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 2250;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    display: block;
    padding: 24px 28px 40px;
    border: 0;
    border-radius: 0;
    background: #101014;
    box-shadow: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
    transform-origin: center;
    transition: opacity 0.18s ease, visibility 0s linear 0.18s;
  }

  .mobile-menu-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .mobile-menu-top,
  .mobile-menu-actions,
  .mobile-menu-account {
    display: flex;
    align-items: center;
  }

  .mobile-menu-top {
    justify-content: space-between;
    margin-bottom: 34px;
  }

  .mobile-menu-store {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
  }

  .mobile-menu-actions {
    gap: 8px;
  }

  .mobile-menu-install {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 5px;
    background: #26BBFF;
    color: #071016;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobile-menu-close {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
  }

  .mobile-menu-close span {
    position: absolute;
    width: 18px;
    height: 1.7px;
    border-radius: var(--radius-full);
    background: currentColor;
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu-account {
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 26px;
  }

  .mobile-language-toggle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
  }

  .mobile-language-toggle svg {
    width: 19px;
    height: 19px;
  }

  .mobile-menu-signin {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .mobile-language-list {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: -12px 0 24px;
  }

  .mobile-language-list.is-open {
    display: grid;
  }

  .mobile-language-list button {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 500;
    text-align: left;
  }

  .mobile-language-list button[aria-checked="true"] {
    background: rgba(38, 187, 255, 0.18);
    color: #ffffff;
  }

  .mobile-menu-title {
    margin: 0 0 26px 20px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
  }

  .mobile-menu-links {
    display: grid;
    gap: 18px;
    padding-left: 22px;
  }

  .mobile-menu-links > a,
  .mobile-distribute-toggle {
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: left;
  }

  .mobile-distribute-list {
    display: none;
    gap: 12px;
    padding: 0 0 6px 18px;
    margin-top: -6px;
  }

  .mobile-distribute-list.is-open {
    display: grid;
  }

  .mobile-distribute-list a {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem;
    font-weight: 500;
  }

  .store-subnav {
    position: relative;
    min-height: 58px;
    max-height: 58px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0;
    padding: 0 30px;
    overflow: visible;
    z-index: 90;
  }

  .store-subnav.search-active {
    grid-template-columns: 1fr;
  }

  .header-search {
    width: 44px;
    height: 44px;
    grid-column: 1;
    justify-self: start;
    transition: width 0.2s ease;
  }

  .search-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    transition: width 0.2s ease;
  }

  .search-input {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    caret-color: transparent;
  }

  .search-input::placeholder {
    color: transparent;
  }

  .search-input:focus {
    border-color: transparent;
    box-shadow: none;
  }

  .search-btn {
    left: 50%;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.72);
    transform: translate(-50%, -50%);
  }

  .search-btn svg {
    width: 17px;
    height: 17px;
  }

  .header-search.is-open {
    position: relative;
    left: auto;
    right: auto;
    grid-column: 1 / -1;
    justify-self: stretch;
    z-index: 8;
    width: 100%;
    background: #101014;
  }

  .header-search.is-open .search-wrapper {
    width: 100%;
  }

  .header-search.is-open .search-input {
    width: 100%;
    padding: 0 44px 0 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    background: #202126;
    color: var(--text-primary);
    caret-color: var(--text-primary);
  }

  .header-search.is-open .search-input::placeholder {
    color: rgba(255, 255, 255, 0.46);
  }

  .header-search.is-open .search-input:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 0 1px var(--primary-neon), inset 0 0 10px rgba(38, 187, 255, 0.1);
  }

  .header-search.is-open .search-btn {
    left: 18px;
    transform: translateY(-50%);
  }

  .header-search.is-open .search-close-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
  }

  .search-close-btn span {
    position: absolute;
    width: 14px;
    height: 1.5px;
    border-radius: var(--radius-full);
    background: currentColor;
  }

  .search-close-btn span:first-child {
    transform: rotate(45deg);
  }

  .search-close-btn span:last-child {
    transform: rotate(-45deg);
  }

  .store-subnav.search-active .mobile-discover-menu {
    display: none;
  }

  .store-subnav .desktop-nav {
    display: none;
  }

  .mobile-discover-menu {
    position: relative;
    grid-column: 2;
    display: inline-flex;
    justify-self: center;
    align-items: center;
    z-index: 210;
  }

  .mobile-discover-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .mobile-discover-toggle::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }

  .mobile-discover-toggle.is-open::after {
    margin-top: 2px;
    transform: rotate(225deg);
  }

  .mobile-discover-panel {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    z-index: 2300;
    width: min(calc(100vw - 60px), 372px);
    display: grid;
    gap: 0;
    padding: 54px 26px 30px;
    border: 0;
    border-radius: 0;
    background: #101014;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -6px);
    transform-origin: top center;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }

  .mobile-discover-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }

  .mobile-discover-panel a {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .mobile-discover-panel a:last-child {
    border-bottom: 0;
  }

  .mobile-discover-panel a:hover,
  .mobile-discover-panel a.is-active {
    background: transparent;
    color: #ffffff;
  }
}

/* Main Container padding */
main {
  padding-top: 30px;
  padding-bottom: 64px;
}

.sale-promo-banner {
  position: relative;
  scroll-margin-top: 146px;
  width: calc(100% - 48px);
  max-width: 1704px;
  min-height: clamp(380px, 36vw, 640px);
  margin: 0 auto 46px;
  overflow: hidden;
  border-radius: 0;
  background: #111116;
}

.sale-promo-banner img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sale-promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  text-align: center;
  background:
    linear-gradient(to bottom, rgba(16, 16, 20, 0) 58%, var(--background) 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0.16) 100%);
}

.sale-promo-content {
  position: relative;
  z-index: 3;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.sale-promo-content h1 {
  margin-bottom: clamp(34px, 4.8vw, 62px);
  font-family: "Arial Narrow", "Inter Tight", var(--font-heading);
  font-size: clamp(2.9rem, 6.8vw, 5.85rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.32), 0 12px 34px rgba(0, 0, 0, 0.46);
}

.sale-promo-content h2 {
  margin-bottom: 12px;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
  line-height: 1.25;
}

.sale-promo-content p {
  max-width: 430px;
  margin: 0 auto 28px;
  color: #ffffff;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.55;
}

.sale-promo-btn {
  width: min(216px, 70vw);
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #ffffff;
  color: #050505;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.sale-promo-btn:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
}

.sale-promo-pill {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.36);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 767px) {
  main {
    padding-top: 0;
  }

  .sale-promo-banner {
    width: 100%;
    min-height: min(690px, calc(100svh - 74px));
    margin-bottom: 34px;
  }

  .sale-promo-banner img {
    object-position: center top;
  }

  .sale-promo-overlay {
    align-items: flex-start;
    padding: clamp(92px, 16vh, 128px) 28px 42px;
    background:
      linear-gradient(to bottom, rgba(16, 16, 20, 0.52) 0%, rgba(16, 16, 20, 0.18) 34%, rgba(16, 16, 20, 0.72) 76%, #101014 100%),
      radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.68) 100%),
      linear-gradient(to right, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.56) 100%);
  }

  .sale-promo-content {
    width: min(330px, 100%);
  }

  .sale-promo-content h1 {
    margin-bottom: 22px;
    font-size: clamp(3rem, 12vw, 4rem);
    line-height: 0.96;
    text-shadow: 0 10px 32px rgba(0, 0, 0, 0.7), 0 0 22px rgba(255, 255, 255, 0.2);
  }

  .sale-promo-content h2 {
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.22;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
  }

  .sale-promo-content p {
    max-width: 300px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    line-height: 1.48;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.78);
  }

  .sale-promo-btn {
    width: min(210px, 72vw);
    height: 38px;
    margin-bottom: 18px;
    font-size: 0.8rem;
  }

  .sale-promo-pill {
    min-height: 20px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.48);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    font-size: 0.68rem;
  }
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
  align-items: start;
  width: 100%;
  max-width: 1704px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .hero-section {
    gap: 20px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1180px) {
  .hero-section {
    grid-template-columns: minmax(0, 1280px) clamp(240px, 21vw, 300px);
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    padding-left: 48px;
    padding-right: 48px;
  }
}

.hero-main {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 1280px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

@media (min-width: 1180px) {
  .hero-main {
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: 720px;
  }
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
  transform: scale(1.05);
  z-index: 1;
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 16, 0.28) 0%, rgba(5, 4, 16, 0.12) 28%, transparent 62%),
    linear-gradient(to top, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 44%, transparent 72%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 4vw, 48px) clamp(22px, 4vw, 48px) 58px;
}

.hero-content {
  max-width: min(520px, 84%);
  animation: slideUp 0.8s ease-out forwards;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.4vw, 1.72rem);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition: all 0.5s ease;
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

.platform-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 88%;
  transition: all 0.5s ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  background: #f4f4f6;
  color: #17171b;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(38, 187, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  background: #ffffff;
}

.btn-primary:hover::before {
  left: 100%;
}

.hero-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  display: none;
}

.price-val {
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.5s ease;
}

.hero-pagination {
  position: absolute;
  bottom: 28px;
  left: clamp(22px, 4vw, 48px);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.mobile-card-pagination {
  display: none;
}

/* Sidebar */
.hero-sidebar {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: auto;
  border: none;
  background: transparent;
}

@media (min-width: 1180px) {
  .hero-sidebar {
    height: 100%;
  }
}

.sidebar-header {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sidebar-header svg {
  width: 24px;
  height: 24px;
  color: var(--primary-neon);
}

.sidebar-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: hidden;
  overflow-x: hidden;
  padding-right: 0;
}

@media (min-width: 640px) and (max-width: 767px) {
  .sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .sidebar-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.game-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-height: 64px;
  flex: 1;
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-primary);
  text-align: left;
  overflow: hidden;
  transition: background 0.18s ease;
}

@media (min-width: 1180px) {
  .game-row {
    min-height: 0;
    padding: 10px;
  }
}

.game-row::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.game-row.active::before {
  opacity: 1;
  animation: gameRowProgress var(--hero-progress-duration, 5s) linear forwards;
}

.hero-sidebar.is-paused .game-row.active::before {
  animation-play-state: paused;
}

@keyframes gameRowProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.game-thumb {
  width: 40px;
  height: 53px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.game-thumb::after,
.category-card::after,
.mega-sale-thumb::after,
.discover-thumb::after,
.card-thumb::after,
.release-thumb::after,
.article-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 255, 255, 0.12);
  transition: opacity 0.25s ease;
}

.game-row:hover .game-thumb img {
  filter: brightness(1.08);
}

.game-row:hover .game-thumb::after {
  opacity: 1;
}

.game-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.game-info h3 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  line-height: 16.67px;
}

.rating {
  display: none;
}

.price-group {
  display: none;
  align-items: baseline;
  gap: 8px;
}

.game-row:hover,
.game-row.active {
  background: rgba(28, 28, 32, 0.92);
}

.price-old {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 16.67px;
  text-decoration: line-through;
}

.price-new {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 16.67px;
}

@media (max-width: 767px) {
  .hero-section {
    gap: 0;
    margin-bottom: 44px;
    padding-left: 16px;
    padding-right: 0;
    overflow: hidden;
  }

  .hero-main {
    display: none;
  }

  .hero-sidebar {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .sidebar-list {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 4px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-list::-webkit-scrollbar {
    display: none;
  }

  .sidebar-list.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }

  .game-row {
    flex: 0 0 min(242px, calc(100vw - 96px));
    width: min(242px, calc(100vw - 96px));
    min-height: 318px;
    align-items: flex-end;
    padding: 0;
    border-radius: 10px;
    scroll-snap-align: start;
    background: #17171c;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  }

  .game-row::before {
    display: none;
  }

  .game-row::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(to top, rgba(4, 4, 8, 0.94) 0%, rgba(4, 4, 8, 0.58) 38%, rgba(4, 4, 8, 0.05) 72%),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent 34%);
  }

  .game-row.active,
  .game-row:hover {
    background: #17171c;
  }

  .game-row.active {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .game-thumb {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
  }

  .game-thumb img {
    filter: brightness(0.9);
  }

  .game-row:hover .game-thumb img {
    filter: brightness(1);
  }

  .game-info {
    z-index: 2;
    width: 100%;
    min-height: 132px;
    justify-content: flex-end;
    padding: 18px 16px 20px;
  }

  .game-info h3 {
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
    font-size: 0.96rem;
    line-height: 1.18;
  }

  .rating,
  .price-group {
    display: flex;
  }

  .rating {
    order: -1;
    width: max-content;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffd66b;
    font-size: 0.64rem;
    letter-spacing: -0.03em;
  }

  .price-group {
    gap: 8px;
    align-items: center;
  }

  .price-old,
  .price-new {
    font-size: 0.78rem;
    line-height: 1;
  }

  .mobile-card-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 16px);
    margin-top: 14px;
  }

  .mobile-card-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
  }

  .mobile-card-dot.active {
    width: 6px;
    background: #ffffff;
    transform: scale(1.12);
  }
}

/* Store Catalog */
.store-page-main {
  min-height: calc(100vh - 146px);
  padding-top: 34px;
}

.store-page-section {
  scroll-margin-top: 136px;
  margin-bottom: 64px;
  padding-top: 2px;
}

.store-page-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.store-page-kicker {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.store-page-header h1,
.store-page-header h2 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
}

.store-page-meta {
  min-height: 18px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.store-filter-shell {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.store-filter-btn {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.store-filter-btn:hover,
.store-filter-shell.is-open .store-filter-btn {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.store-filter-btn svg {
  width: 16px;
  height: 16px;
}

.store-filter-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 48px));
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(25, 25, 31, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
}

.store-filter-shell.is-open .store-filter-panel {
  display: grid;
}

.store-filter-panel label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 600;
}

.category-page .store-filter-panel label:first-child {
  display: none;
}

.store-filter-panel select {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: #111116;
  color: #ffffff;
  padding: 0 10px;
  font: inherit;
}

.store-catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 18px;
}

.store-catalog-grid.is-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
}

.store-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.store-card-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  margin-bottom: 9px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.store-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.store-card-thumb .store-card-rating {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: auto;
  padding: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  transition: none;
}

.store-card:hover .store-card-thumb img {
  filter: brightness(1.08);
  transform: scale(1.015);
}

.store-card:hover .store-card-thumb .store-card-rating {
  filter: none;
  transform: none;
}

.store-card-type {
  display: none;
}

.store-card h3 {
  min-width: 0;
  height: 17px;
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-card-price-row {
  min-height: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.store-card-discount {
  min-width: 40px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--primary-neon);
  color: #061018;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.store-card-old,
.store-card-price {
  font-size: 13px;
  line-height: 17px;
}

.store-card-old {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: line-through;
}

.store-card-price {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .store-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .store-page-header {
    align-items: flex-start;
  }

  .store-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
}

@media (max-width: 460px) {
  .store-page-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .store-page-header > div:first-child {
    min-width: 0;
  }

  .store-page-header h1,
  .store-page-header h2 {
    font-size: 22px;
    line-height: 1;
  }

  .store-filter-shell {
    width: auto;
    margin-left: auto;
  }

  .store-filter-btn {
    width: auto;
    height: 30px;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border-radius: 6px;
    font-size: 12px;
  }

  .store-filter-btn svg {
    width: 14px;
    height: 14px;
  }

  .store-filter-panel {
    left: auto;
    right: 0;
    width: min(300px, calc(100vw - 48px));
  }

  .store-card-type {
    min-height: 13px;
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 13px;
  }

  .store-card h3 {
    height: 15px;
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 15px;
  }

  .store-card-price-row {
    min-height: 17px;
    gap: 7px;
  }

  .store-card-discount {
    min-width: 39px;
    height: 17px;
    font-size: 11px;
  }

  .store-card-old,
  .store-card-price {
    font-size: 12px;
    line-height: 15px;
  }
}

/* Store Game Details */
.game-detail-page {
  padding-top: 2px;
  padding-bottom: 72px;
}

.game-detail-back {
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.game-detail-back:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.game-detail-heading {
  margin-bottom: 24px;
}

.game-detail-heading h1 {
  max-width: min(920px, 100%);
  margin-bottom: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  font-weight: 800;
  line-height: 1.02;
}

.game-detail-heading span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 500;
}

.game-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(24px, 3vw, 44px) clamp(28px, 4.2vw, 72px);
  align-items: start;
}

.game-detail-main {
  grid-column: 1 / -1;
  min-width: 0;
}

.game-detail-gallery {
  position: relative;
  aspect-ratio: 1920 / 620;
  overflow: visible;
  border-radius: 8px;
  background: #15151a;
}

.game-detail-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.game-detail-media.active {
  opacity: 1;
  transform: scale(1);
}

.game-detail-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.56);
  color: #ffffff;
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.game-detail-gallery:hover .game-detail-arrow,
.game-detail-gallery:focus-within .game-detail-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.game-detail-arrow:hover {
  background: rgba(0, 0, 0, 0.74);
}

.game-detail-arrow svg {
  width: 20px;
  height: 20px;
}

.game-detail-arrow-prev {
  left: 18px;
}

.game-detail-arrow-next {
  right: 18px;
}

.game-detail-thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.game-detail-thumb {
  width: 96px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.58;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.game-detail-thumb:hover,
.game-detail-thumb.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.78);
}

.game-detail-thumb.active {
  transform: translateY(-1px);
}

.game-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-detail-info-section {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.82);
}

.game-detail-lead {
  max-width: 980px;
  margin-bottom: 42px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.game-detail-taxonomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-bottom: 44px;
}

.game-detail-taxonomy-group + .game-detail-taxonomy-group {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.game-detail-taxonomy h2 {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 500;
}

.game-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-detail-tags span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.game-detail-copy {
  max-width: 980px;
}

.game-detail-copy h2 {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.game-detail-copy h3 {
  margin-bottom: 22px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.32;
}

.game-detail-copy p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.62;
}

.game-detail-copy em {
  color: rgba(255, 255, 255, 0.86);
}

.game-system-requirements {
  margin-top: 58px;
}

.game-system-requirements > h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.game-system-card {
  padding: 44px 54px;
  border-radius: 10px;
  background: #202126;
}

.game-system-tabs {
  margin-bottom: 42px;
}

.game-system-tabs span {
  position: relative;
  display: inline-flex;
  min-height: 24px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
}

.game-system-tabs span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: #26BBFF;
}

.game-system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 8vw, 120px);
}

.game-system-column h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.game-system-column dl {
  display: grid;
  gap: 17px;
}

.game-system-column dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.game-system-column dd {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.game-detail-sidebar {
  grid-column: 2;
  grid-row: 2;
  position: sticky;
  top: 104px;
  min-width: 0;
  display: block;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.game-detail-sidebar.is-fixed {
  position: fixed;
  top: 104px;
  left: var(--detail-sidebar-left);
  width: var(--detail-sidebar-width);
  z-index: 20;
}

.game-detail-sidebar.is-stopped {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  width: var(--detail-sidebar-width);
}

.game-rating-box {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 106px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  color: #ffffff;
}

.game-rating-mark {
  width: 41px;
  min-height: 41px;
  display: block;
  overflow: hidden;
  background: #ffffff;
}

.game-rating-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.game-rating-box strong {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.game-rating-box p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.game-rating-copy p:first-of-type {
  position: relative;
  margin-bottom: 19px;
}

.game-rating-copy p:first-of-type::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.game-detail-type {
  display: none;
}

.game-detail-price-line {
  min-height: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 14px;
}

.game-detail-discount {
  min-width: 44px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #26BBFF;
  color: #061018;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.game-detail-old-price {
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: line-through;
}

.game-detail-current-price {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 18px;
}

.game-detail-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.game-detail-buy-row {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
}

.game-detail-get,
.game-detail-cart,
.game-detail-wishlist,
.game-detail-secondary button {
  min-height: 46px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.game-detail-get {
  background: #26BBFF;
  color: #04111a;
}

.game-detail-cart,
.game-detail-wishlist,
.game-detail-secondary button {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.game-detail-cart,
.game-detail-wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.game-detail-cart svg,
.game-detail-wishlist svg {
  width: 18px;
  height: 18px;
}

.game-detail-meta {
  display: grid;
  margin-bottom: 28px;
}

.game-detail-meta div {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.game-detail-meta dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.game-detail-meta dd {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.game-detail-meta a {
  color: #26BBFF;
}

.game-detail-platform {
  display: flex;
  justify-content: flex-end;
}

.game-detail-platform svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.game-detail-secondary {
  display: flex;
  justify-content: center;
}

.game-detail-secondary button {
  min-width: 112px;
  min-height: 34px;
}

.game-detail-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
}

.game-detail-share svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 980px) {
  .game-detail-layout {
    grid-template-columns: 1fr;
  }

  .game-detail-main,
  .game-detail-info-section,
  .game-detail-sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .game-detail-sidebar {
    position: static;
    max-width: 520px;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .game-detail-page {
    padding-top: 0;
    padding-bottom: 52px;
  }

  .game-detail-heading {
    margin-bottom: 14px;
  }

  .game-detail-heading h1 {
    margin-bottom: 0;
    font-size: 1.35rem;
    line-height: 1.12;
  }

  .game-detail-layout {
    gap: 0;
  }

  .game-detail-main {
    display: block;
  }

  .game-detail-gallery {
    width: 100%;
    min-height: 132px;
    aspect-ratio: 1920 / 620;
    display: block;
    border-radius: 7px;
    margin-bottom: 0;
  }

  .game-detail-media.active {
    z-index: 1;
    display: block;
  }

  .game-detail-arrow {
    display: none;
  }

  .game-detail-arrow-prev {
    left: 10px;
  }

  .game-detail-arrow-next {
    right: 10px;
  }

  .game-detail-thumbs {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 16px;
  }

  .game-detail-thumb {
    width: 74px;
    height: 42px;
  }

  .game-detail-sidebar {
    width: 100%;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .game-rating-box {
    min-height: 96px;
    grid-template-columns: 42px minmax(0, 1fr);
    border-width: 1px;
  }

  .game-detail-actions {
    margin-top: 14px;
  }

  .game-detail-price-line {
    margin: 10px 0 12px;
    gap: 8px;
  }

  .game-detail-current-price {
    font-size: 14px;
  }

  .game-detail-buy-row {
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 8px;
  }

  .game-detail-get,
  .game-detail-wishlist {
    min-height: 44px;
    font-size: 13px;
  }

  .game-detail-cart {
    width: 46px;
    min-height: 44px;
  }

  .game-detail-meta {
    margin-top: 22px;
  }

  .game-detail-secondary {
    margin-bottom: 26px;
  }

  .game-detail-info-section {
    margin-top: 0;
    padding-top: 18px;
  }

  .game-detail-lead,
  .game-detail-copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .game-detail-lead {
    margin-bottom: 30px;
  }

  .game-detail-taxonomy {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 34px;
  }

  .game-detail-taxonomy-group + .game-detail-taxonomy-group {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .game-detail-copy h2 {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .game-detail-copy h3 {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .game-system-requirements {
    margin-top: 42px;
  }

  .game-system-requirements > h2 {
    font-size: 18px;
  }

  .game-system-card {
    padding: 28px 18px;
    border-radius: 8px;
  }

  .game-system-tabs {
    margin-bottom: 32px;
  }

  .game-system-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .game-system-column {
    padding: 18px 16px;
    border: 1px solid rgba(38, 187, 255, 0.24);
    border-radius: 8px;
    background: rgba(38, 187, 255, 0.07);
  }

  .game-system-column:nth-child(2) {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
  }

  .game-system-column h3 {
    color: #26BBFF;
  }

  .game-system-column:nth-child(2) h3 {
    color: #ffffff;
  }

  .game-system-column dl {
    gap: 14px;
  }
}

/* Category Strip */
.category-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .category-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .category-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  --cat-accent-rgb: 79, 185, 253;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:nth-child(1) {
  --cat-accent-rgb: 67, 218, 129;
}

.category-card:nth-child(2) {
  --cat-accent-rgb: 66, 169, 220;
}

.category-card:nth-child(3) {
  --cat-accent-rgb: 238, 100, 178;
}

.category-card:nth-child(4) {
  --cat-accent-rgb: 180, 46, 118;
}

.category-card:nth-child(5) {
  --cat-accent-rgb: 224, 70, 104;
}

.category-card:nth-child(6) {
  --cat-accent-rgb: 79, 185, 253;
}

.category-card::after {
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, rgba(var(--cat-accent-rgb), 0.18), transparent 44%),
    linear-gradient(to top, rgba(var(--cat-accent-rgb), 0.16), transparent 58%);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(var(--cat-accent-rgb), 0.18);
}

.category-card:hover::after {
  opacity: 1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.category-card:hover img {
  filter: brightness(1.08);
  opacity: 1;
}

.category-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.2) 42%, transparent 68%);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  transition: background 0.3s ease;
}

.category-card:hover .category-label {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.64) 0%, rgba(var(--cat-accent-rgb), 0.1) 48%, transparent 72%);
}

@media (max-width: 767px) {
  .category-strip {
    gap: 14px;
    margin-bottom: 46px;
  }

  .category-card {
    border-radius: 7px;
  }

  .category-label {
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }
}

/* Mega Sale Spotlight */
.mega-sale-section {
  position: relative;
  margin-bottom: 64px;
  padding-top: 2px;
}

.mega-sale-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.mega-sale-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
}

.mega-sale-title svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.mega-sale-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.mega-sale-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mega-sale-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.mega-sale-arrow svg {
  width: 16px;
  height: 16px;
}

.mega-sale-layout {
  display: grid;
  grid-template-columns: 324px minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

.mega-sale-poster {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #19181f;
}

.mega-sale-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  opacity: 0.86;
  filter: saturate(1.06) contrast(1.04);
}

.mega-sale-poster-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(108, 86, 255, 0.46), transparent 31%),
    linear-gradient(180deg, rgba(13, 13, 18, 0.08), rgba(13, 13, 18, 0.34)),
    linear-gradient(90deg, rgba(18, 14, 30, 0.18), rgba(18, 14, 30, 0.62));
}

.mega-sale-poster-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 72px;
  padding: 34px 28px;
}

.mega-sale-poster-copy span {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 0.92;
  text-align: center;
  text-shadow: 0 0 18px rgba(189, 232, 255, 0.52), 0 6px 18px rgba(0, 0, 0, 0.48);
}

.mega-sale-deals-btn {
  min-width: 118px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  color: #050505;
  font-size: 0.83rem;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mega-sale-deals-btn:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
}

.mega-sale-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  column-gap: clamp(30px, 5vw, 82px);
  row-gap: 28px;
  align-content: center;
  overflow: hidden;
  max-height: calc(3 * 70px + 2 * 28px);
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mega-sale-games.is-changing {
  opacity: 0;
  transform: translateX(8px);
}

.mega-sale-game {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  cursor: pointer;
  min-height: 70px;
}

.mega-sale-thumb {
  position: relative;
  width: 54px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.mega-sale-play {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.mega-sale-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.mega-sale-game:hover .mega-sale-thumb img {
  filter: brightness(1.08);
}

.mega-sale-game:hover .mega-sale-thumb::after {
  opacity: 1;
}

.mega-sale-info {
  min-width: 0;
  padding-top: 1px;
}

.mega-sale-info h3 {
  margin-bottom: 9px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-sale-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin: -2px 0 7px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.mega-sale-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.mega-sale-discount {
  min-width: 43px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--primary-neon);
  color: #071018;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.mega-sale-old {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  text-decoration: line-through;
}

.mega-sale-new {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}

@media (max-width: 1180px) {
  .mega-sale-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
  }

  .mega-sale-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    column-gap: 34px;
    max-height: calc(3 * 70px + 2 * 28px);
  }
}

@media (max-width: 820px) {
  .mega-sale-layout {
    grid-template-columns: 1fr;
  }

  .mega-sale-poster {
    height: 260px;
  }

  .mega-sale-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    column-gap: 18px;
    row-gap: 20px;
    max-height: calc(3 * 70px + 2 * 20px);
  }
}

@media (max-width: 767px) {
  .mega-sale-section {
    margin-bottom: 52px;
  }

  .mega-sale-header {
    margin-bottom: 14px;
  }

  .mega-sale-layout {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #101014;
  }

  .mega-sale-poster {
    height: 212px;
    border-radius: 0;
  }

  .mega-sale-poster-img {
    object-position: 62% center;
    opacity: 0.72;
    filter: saturate(0.95) contrast(1.08) brightness(0.86);
    transform: scale(1.03);
  }

  .mega-sale-poster-shade {
    background:
      radial-gradient(circle at 22% 18%, rgba(96, 79, 190, 0.46), transparent 34%),
      linear-gradient(180deg, rgba(16, 16, 20, 0.08) 0%, rgba(16, 16, 20, 0.22) 48%, rgba(16, 16, 20, 0.58) 100%),
      linear-gradient(90deg, rgba(16, 16, 20, 0.16), rgba(16, 16, 20, 0.72));
  }

  .mega-sale-poster-copy {
    justify-content: flex-start;
    gap: 34px;
    padding: 22px 22px 0;
  }

  .mega-sale-poster-copy span {
    margin-top: 4px;
    font-size: clamp(3rem, 15vw, 4.05rem);
    line-height: 0.84;
    text-shadow: 0 0 16px rgba(189, 232, 255, 0.36), 0 8px 20px rgba(0, 0, 0, 0.54);
  }

  .mega-sale-deals-btn {
    min-width: 104px;
    height: 28px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
  }

  .mega-sale-nav {
    display: none;
  }

  .mega-sale-games {
    order: 2;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 10px;
    align-content: start;
    padding: 12px 0 18px 10px;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
  }

  .mega-sale-games.is-dragging {
    cursor: grabbing;
  }

  .mega-sale-game {
    grid-column: 1;
    min-height: 72px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .mega-sale-thumb {
    width: 58px;
    height: 72px;
  }

  .mega-sale-info h3 {
    margin-bottom: 7px;
    font-size: 12.5px;
    line-height: 15px;
  }

  .mega-sale-price-row {
    gap: 7px;
  }

  .mega-sale-discount {
    min-width: 39px;
    height: 17px;
    font-size: 11px;
  }

  .mega-sale-old,
  .mega-sale-new {
    font-size: 12px;
    line-height: 15px;
  }

  .mega-sale-game-preview {
    grid-column: 2;
    width: 52px;
    min-width: 52px;
    grid-template-columns: 52px;
    gap: 0;
    opacity: 0.66;
    pointer-events: none;
  }

  .mega-sale-game-preview:nth-child(4) {
    grid-row: 1;
  }

  .mega-sale-game-preview:nth-child(5) {
    grid-row: 2;
  }

  .mega-sale-game-preview:nth-child(6) {
    grid-row: 3;
  }

  .mega-sale-game-preview .mega-sale-thumb {
    width: 52px;
    height: 72px;
    border-radius: 6px 0 0 6px;
  }

  .mega-sale-game-preview .mega-sale-info {
    display: none;
  }
}

@media (max-width: 620px) {
  .mega-sale-games {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .mega-sale-games {
    grid-template-columns: minmax(0, 1fr) 30px;
  }
}

/* Discover Something New */
.discover-new-section {
  margin-bottom: 64px;
}

.discover-new-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.discover-new-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-primary);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
}

.discover-new-title svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.discover-new-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discover-new-arrow {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.discover-new-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.discover-new-arrow svg {
  width: 16px;
  height: 16px;
}

.discover-new-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.discover-new-grid.is-changing {
  opacity: 0;
  transform: translateX(8px);
}

.discover-card {
  min-width: 0;
  cursor: pointer;
}

.discover-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.discover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.discover-card:hover .discover-thumb img {
  filter: brightness(1.08);
}

.discover-card:hover .discover-thumb::after {
  opacity: 1;
}

.discover-meta {
  display: none;
}

.discover-card h3 {
  min-height: 17px;
  margin-bottom: 13px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.discover-price,
.discover-old {
  font-size: 14px;
  line-height: 17px;
}

.discover-price {
  color: #ffffff;
  font-weight: 600;
}

.discover-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.discover-discount {
  min-width: 42px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--primary-neon);
  color: #061018;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.discover-old {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
  text-decoration: line-through;
}

@media (max-width: 1180px) {
  .discover-new-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .discover-new-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

@media (max-width: 767px) {
  .discover-new-section {
    margin-bottom: 52px;
  }

  .discover-new-header {
    gap: 12px;
    margin-bottom: 14px;
  }

  .discover-new-title {
    min-width: 0;
    gap: 7px;
    font-size: 0.98rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .discover-new-title span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .discover-new-title svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .discover-new-nav {
    flex-shrink: 0;
    gap: 7px;
  }

  .discover-new-arrow {
    width: 28px;
    height: 28px;
  }

  .discover-new-grid {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 24px 14px;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
  }

  .discover-new-grid::-webkit-scrollbar {
    display: none;
  }

  .discover-card {
    scroll-snap-align: start;
  }

  .discover-thumb {
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .discover-meta {
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 13px;
  }

  .discover-card h3 {
    min-height: 15px;
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 15px;
  }

  .discover-price,
  .discover-old {
    font-size: 12px;
    line-height: 15px;
  }

  .discover-price-row {
    gap: 7px;
  }

  .discover-discount {
    min-width: 39px;
    height: 17px;
    font-size: 11px;
  }
}

/* Top Sellers Section */
.section-top-sellers {
  display: none;
  margin-bottom: 64px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header h2 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}

.btn-outline {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.grid-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .grid-games {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-games {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-games {
    grid-template-columns: repeat(6, 1fr);
  }
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.card-thumb {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.game-card:hover .card-thumb img {
  filter: brightness(1.08);
}

.game-card:hover .card-thumb::after {
  opacity: 1;
}

.badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-hot {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-new {
  background: rgba(255, 255, 255, 0.9);
  color: black;
}

.badge-sale {
  background: var(--primary-neon);
  color: white;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 16.67px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-rating {
  font-size: 0.75rem;
  color: #eab308;
  white-space: nowrap;
}

.card-price {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 16.67px;
}

.card-price-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== New Releases & Upcoming Section ===== */
.releases-section {
  display: none;
  margin-bottom: 64px;
}

.releases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .releases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.releases-col {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.releases-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.releases-header h2 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 20px;
}

.releases-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.release-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.release-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.release-thumb {
  width: 56px;
  height: 68px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.release-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.release-row:hover .release-thumb img {
  filter: brightness(1.08);
}

.release-row:hover .release-thumb::after {
  opacity: 1;
}

.release-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
  gap: 3px;
}

.release-info h3 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 16.67px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.release-rating {
  color: #eab308;
  font-size: 0.875rem;
  letter-spacing: 1px;
  line-height: 1;
}

.release-price {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 16.67px;
}

.release-price-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.release-price-old {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 16.67px;
  text-decoration: line-through;
}

/* ===== Latest Articles Section ===== */
.articles-section {
  margin-bottom: 64px;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-thumb {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.article-card:hover .article-thumb img {
  filter: brightness(1.08);
}

.article-card:hover .article-thumb::after {
  opacity: 1;
}

.article-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.article-day {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}

.article-month {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  z-index: 3;
}

.article-tag {
  display: inline-block;
  background: var(--primary-neon);
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.article-overlay h3 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-author {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.article-author strong {
  color: var(--text-secondary);
}

/* Footer */

.main-footer {
  background: #080808;
  border-top: 1px solid var(--glass-border);
  padding: 48px 0;
  margin-top: 64px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social-link {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.back-to-top {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 767px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 34px;
  }

  .footer-social-icons {
    gap: 16px;
    flex-shrink: 0;
  }

  .footer-social-link {
    width: 19px;
    height: 19px;
  }

  .back-to-top {
    min-height: 30px;
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    gap: 6px;
    white-space: nowrap;
  }

  .back-to-top svg {
    width: 13px;
    height: 13px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.brand-col .footer-logo {
  margin-bottom: 16px;
}

.footer-brand-logo {
  width: 164px;
  max-width: 100%;
  height: auto;
  display: block;
}

.brand-col p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.brand-col .footer-tagline {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-bottom-tagline {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 400;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 20px rgba(38, 187, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(38, 187, 255, 0.6);
  }

  100% {
    box-shadow: 0 0 20px rgba(38, 187, 255, 0.3);
  }
}

.btn-primary {
  animation: pulseGlow 3s infinite;
}

.search-match {
  outline: 2px solid var(--primary-neon);
  outline-offset: 4px;
}

.site-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 48px));
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(21, 18, 27, 0.94);
  color: var(--text-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.875rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Auth Modal */
.nexus-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.nexus-auth-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.nexus-auth-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 1rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
}
.nexus-auth-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}
.nexus-auth-close:hover { color: var(--text-primary); background: var(--glass-bg); }
.nexus-auth-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.75rem;
}
.nexus-auth-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
}
.nexus-auth-tab:hover { color: var(--text-primary); }
.nexus-auth-tab.active { color: var(--primary-neon); background: rgba(38, 187, 255, 0.08); }
.nexus-auth-field {
  margin-bottom: 1rem;
}
.nexus-auth-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.nexus-auth-field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
}
.nexus-auth-field input:focus { border-color: var(--primary-neon); }
.nexus-auth-error {
  min-height: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #ff5252;
}
.nexus-auth-submit {
  width: 100%;
  padding: 0.7rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary-neon);
  color: #000;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.nexus-auth-submit:hover { opacity: 0.9; }
.nexus-auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.nexus-auth-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.nexus-auth-switch {
  border: none;
  background: none;
  color: var(--primary-neon);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.25rem;
}
.nexus-auth-switch:hover { text-decoration: underline; }
.signin-btn.is-logged-in {
  color: var(--primary-neon) !important;
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--primary-neon);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge[hidden] { display: none; }

/* Reviews Section */
.nexus-reviews-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.nexus-reviews-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.nexus-reviews-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}
.nexus-reviews-avg {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.nexus-reviews-stars {
  color: #f5a623;
  letter-spacing: 1px;
}
.nexus-review-form {
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.nexus-review-form h3 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}
.nexus-star-input {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.nexus-star-input button {
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.1s;
  padding: 0;
  line-height: 1;
}
.nexus-star-input button.active,
.nexus-star-input button:hover { color: #f5a623; }
.nexus-review-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  resize: vertical;
  outline: none;
  margin-bottom: 0.75rem;
}
.nexus-review-form textarea:focus { border-color: var(--primary-neon); }
.nexus-review-form .nexus-auth-submit { max-width: 160px; }
.nexus-review-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.nexus-review-card:last-child { border-bottom: none; }
.nexus-review-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.nexus-review-meta strong {
  font-size: 0.85rem;
}
.nexus-review-meta .nexus-reviews-stars {
  font-size: 0.8rem;
}
.nexus-review-meta time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}
.nexus-review-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.nexus-review-login-prompt {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.nexus-review-login-prompt button {
  border: none;
  background: none;
  color: var(--primary-neon);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}
