:root {
  --hl-bg: #f4f5f7;
  --hl-surface: #ffffff;
  --hl-text: #111827;
  --hl-text-soft: #374151;
  --hl-muted: #6b7280;
  --hl-border: #e5e7eb;
  --hl-border-strong: #d1d5db;
  --hl-accent: #111111;
  --hl-accent-hover: #000000;
  --hl-blue: #c9a227;
  --hl-blue-hover: #b8921f;
  --hl-accent-grad: linear-gradient(165deg, #f7f1d6 0%, #eadba6 46%, #dcc56e 100%);
  --hl-accent-text-grad: linear-gradient(180deg, #f4ebc8 0%, #e4d08c 48%, #c9a227 100%);
  --hl-hero-ink: #07080c;
  --hl-link: #111827;
  --hl-trust: #00b67a;
  --hl-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  --hl-shadow-lg: 0 18px 50px rgba(17, 24, 39, 0.12);
  --hl-radius: 16px;
  --hl-radius-sm: 12px;
  --hl-page: 1280px;
  --hl-pad: 1.5rem;
  --hl-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #c4c8d0 transparent;
}

html::-webkit-scrollbar,
*::-webkit-scrollbar { width: 8px; height: 8px; }
html::-webkit-scrollbar-track,
*::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb { background: #c4c8d0; border-radius: 4px; }

body.home-light {
  margin: 0;
  min-height: 100vh;
  font-family: var(--hl-font);
  color: var(--hl-text);
  background: var(--hl-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.home-light .mmorpg-bg { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img.img-fallback-error { display: none !important; }
.logo-fallback-hidden { display: none !important; }
.logo-fallback-visible { display: flex !important; }

/* ── Header ── */
body.home-light .mmorpg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--hl-border);
  box-shadow: none;
}

body.home-light .mmorpg-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

body.home-light .mmorpg-header-inner {
  max-width: var(--hl-page);
  margin: 0 auto;
  padding: 0.7rem var(--hl-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

body.home-light .header-left-group,
body.home-light .header-nav-group,
body.home-light .header-right-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.home-light .header-nav-group { flex: 1; min-width: 0; }
body.home-light .header-right-wrap { flex-shrink: 0; }

body.home-light .logo-link,
body.home-light .logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

body.home-light .header-logo-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

body.home-light .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hl-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 1.15rem;
}

body.home-light .header-games-btn-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--hl-text-soft);
  text-decoration: none;
  background: transparent;
  border: none;
  transition: background 0.15s, color 0.15s;
}

body.home-light .header-games-btn-icon i { font-size: 1.25rem; }
body.home-light .header-games-btn-icon:hover,
body.home-light .header-games-btn-icon.is-active {
  background: #f3f4f6;
  color: var(--hl-text);
}

body.home-light .header-search-toggle-btn {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 10px;
  color: var(--hl-text-soft);
  cursor: pointer;
}

body.home-light .header-search-toggle-btn:hover { background: #f3f4f6; color: var(--hl-text); }

body.home-page .header-search-toggle-btn,
body.home-page .header-games-btn,
body.home-page .mmorpg-header .header-game-search-wrap:not(.game-search-modal-wrap) {
  display: none !important;
}

body.home-page .header-nav-group { flex: 0 0 auto; }

body.home-page .mmorpg-header {
  position: sticky;
  top: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.home-page .mmorpg-header.is-scrolled {
  background: rgba(7, 8, 12, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.home-page .hl-main,
body.page-home main {
  margin-top: 0;
}

body.home-page .logo-icon {
  background: var(--hl-blue);
  color: #0d0f14;
}

body.home-page .header-lang-btn,
body.home-page .header-currency-btn {
  height: 40px;
  padding: 0 0.95rem;
  background: #2a2d36;
  border: none;
  border-radius: 999px;
  color: #fff;
}

body.home-page .header-lang-btn:hover,
body.home-page .header-currency-btn:hover {
  background: #353944;
  border: none;
}

body.home-page .header-lang-dropdown,
body.home-page .header-currency-dropdown {
  background: #1b1e26;
  border-color: #2e3340;
}

body.home-page .header-lang-option,
body.home-page .header-currency-option { color: #e5e7eb; }
body.home-page .header-lang-option:hover,
body.home-page .header-currency-option:hover { background: #2a2d36; color: #fff; }
body.home-page .header-lang-option.is-active,
body.home-page .header-currency-option.is-active {
  background: var(--hl-blue);
  color: #0d0f14;
}

body.home-light .header-lang-wrap,
body.home-light .header-currency-wrap { position: relative; }

body.home-light .header-lang-btn,
body.home-light .header-currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 40px;
  padding: 0 0.7rem;
  background: #fff;
  border: 1px solid var(--hl-border);
  border-radius: 10px;
  color: var(--hl-text);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

body.home-light .header-lang-btn:hover,
body.home-light .header-currency-btn:hover {
  border-color: var(--hl-border-strong);
  background: #f9fafb;
}

body.home-light .header-lang-flag { border-radius: 2px; object-fit: cover; }
body.home-light .header-lang-chevron,
body.home-light .header-currency-chevron {
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
body.home-light .header-lang-btn[aria-expanded="true"] .header-lang-chevron,
body.home-light .header-currency-btn[aria-expanded="true"] .header-currency-chevron {
  transform: rotate(180deg);
}

body.home-light .header-lang-dropdown,
body.home-light .header-currency-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--hl-border);
  border-radius: 12px;
  box-shadow: var(--hl-shadow-lg);
  padding: 0.35rem;
  z-index: 120;
}

body.home-light .header-lang-dropdown[hidden],
body.home-light .header-currency-dropdown[hidden] { display: none; }

body.home-light .header-lang-option,
body.home-light .header-currency-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--hl-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

body.home-light .header-lang-option:hover,
body.home-light .header-currency-option:hover { background: #f3f4f6; }
body.home-light .header-lang-option.is-active,
body.home-light .header-currency-option.is-active {
  background: #111;
  color: #fff;
}
body.home-light .header-currency-option[hidden] { display: none !important; }
body.home-light .header-currency-options { display: flex; flex-direction: column; }

/* Compact header search (games page) */
body.games-page .header-game-search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
}

body.games-page .header-game-search-form {
  display: flex;
  align-items: center;
  height: 42px;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
}

body.games-page .header-game-search-form:focus-within {
  background: #fff;
  border-color: var(--hl-border-strong);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

body.games-page .header-game-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--hl-text);
  outline: none;
}

body.games-page .header-game-search-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--hl-muted);
  cursor: pointer;
}

/* Search dropdown */
body.home-light .header-game-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--hl-border);
  border-radius: 14px;
  box-shadow: var(--hl-shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 1100;
  padding: 0.35rem;
}

body.home-light .header-game-search-dropdown[hidden],
body.home-light .header-game-search-dropdown:empty { display: none !important; }

body.home-light .header-game-search-dropdown-empty {
  padding: 1rem;
  text-align: center;
  color: var(--hl-muted);
  font-size: 0.9rem;
}

body.home-light .header-game-search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--hl-text);
}

body.home-light .header-game-search-dropdown-item:hover {
  background: #f3f4f6;
}

body.home-light .header-game-search-dropdown-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.home-light .header-game-search-dropdown-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-light .header-game-search-dropdown-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.home-light .header-game-search-dropdown-item-title {
  font-weight: 600;
  font-size: 0.92rem;
}

body.home-light .header-game-search-dropdown-item-meta {
  font-size: 0.78rem;
  color: var(--hl-muted);
}

body.home-light .game-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(17, 24, 39, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1.25rem 1.25rem;
}

body.home-light .game-search-overlay[hidden] { display: none; }

body.home-light .game-search-modal-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--hl-shadow-lg);
  overflow: visible;
}

body.home-light .game-search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem 0.25rem;
}

body.home-light .game-search-modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

body.home-light .game-search-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 10px;
  cursor: pointer;
  color: var(--hl-text-soft);
}

body.home-light .game-search-modal-body { padding: 0.75rem 1.15rem 1.15rem; }
body.home-light .game-search-modal-wrap .header-game-search-form {
  display: flex;
  height: 48px;
  background: #f3f4f6;
  border-radius: 12px;
}
body.home-light .game-search-modal-wrap .header-game-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 1rem;
  font: inherit;
  outline: none;
}
body.home-light .game-search-modal-wrap .header-game-search-btn {
  width: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--hl-muted);
}

/* ── Main ── */
.hl-main { position: relative; z-index: 1; }

.hl-wrap {
  max-width: var(--hl-page);
  margin: 0 auto;
  padding: 0 var(--hl-pad);
}

/* ── Hero ── */
.hl-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 62vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 0 32px;
  background: var(--hl-hero-ink);
  overflow: visible;
}

.hl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hl-hero-grid {
  position: absolute;
  inset: -4%;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  transform: scale(1.04);
  filter: saturate(0.86) brightness(0.86);
  animation: hlHeroGridDrift 28s ease-in-out infinite alternate;
}

@keyframes hlHeroGridDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.06) translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hl-hero-grid { animation: none; }
}

.hl-hero-tile {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #1a1a1c;
  aspect-ratio: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hl-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 7, 5, 0.46) 0%, rgba(8, 7, 5, 0.12) 36%, transparent 58%),
    radial-gradient(ellipse 80% 70% at 50% 42%, rgba(201, 162, 39, 0.08) 0%, rgba(18, 14, 8, 0.44) 48%, rgba(8, 7, 5, 0.84) 100%),
    linear-gradient(180deg, rgba(18, 14, 8, 0.44) 0%, rgba(12, 10, 6, 0.26) 42%, rgba(8, 7, 5, 0.70) 100%);
}

.hl-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 96px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--hl-bg) 45%, transparent) 42%,
    var(--hl-bg) 100%
  );
}

.hl-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px 56px;
  text-align: center;
}

.hl-hero-title {
  margin: 0 0 28px;
  font-size: clamp(1.35rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.hl-hero-accent {
  color: #e2cc7a;
  background-image: var(--hl-accent-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ps-hero-search-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hl-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.5rem;
  margin: 28px 0 0;
}

.hl-popular-label {
  width: 100%;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c5cad3;
  margin: 0 0 0.15rem;
}

.hl-popular-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: #2a2d36;
  color: #d7dbe3;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
}

.hl-popular-chip:hover { background: #353944; color: #fff; }

.hl-trustpilot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 22px;
  text-decoration: none;
  color: #d7dbe3;
  font-size: 0.88rem;
  font-weight: 600;
}

.hl-trustpilot-stars { color: var(--hl-trust); letter-spacing: 0.04em; }
.hl-trustpilot-name { color: var(--hl-trust); font-weight: 800; }
.hl-trustpilot:hover .hl-trustpilot-name { color: #00d68f; }

body.home-page .ps-hero-search-wrap .header-game-search-dropdown {
  background: #1b1e26;
  border-color: #2e3340;
}

body.home-page .ps-hero-search-wrap .header-game-search-dropdown-item { color: #e5e7eb; }
body.home-page .ps-hero-search-wrap .header-game-search-dropdown-item:hover { background: #2a2d36; }
body.home-page .ps-hero-search-wrap .header-game-search-dropdown-empty { color: #9aa1ae; }

/* ── Promo / Happy Hour ── */
.hl-promo {
  padding: 1.75rem 0 0;
}

.hl-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 320px);
  gap: 1rem;
  align-items: stretch;
}

.hl-promo-row--hh-only { grid-template-columns: minmax(0, 360px); }

body.home-light .promo-banner-wrap {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--hl-shadow);
}

body.home-light .promo-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-light .promo-banner-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.28) 70%, transparent 100%);
  z-index: 1;
}

body.home-light .promo-banner-overlay {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.8rem;
  max-width: 460px;
}

body.home-light .promo-banner-title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.home-light .promo-banner-sub {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.55;
}

body.home-light .promo-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: #fff;
  color: #111;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

body.home-light .promo-banner-btn:hover { background: #f3f4f6; }

body.home-light .promo-happy-hour {
  background: #fff;
  border: 1px solid var(--hl-border);
  border-radius: 18px;
  padding: 1.1rem 1rem 0.75rem;
  box-shadow: var(--hl-shadow);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

body.home-light .promo-hh-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

body.home-light .promo-hh-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff7ed;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

body.home-light .promo-hh-title {
  display: block;
  font-size: 0.95rem;
  color: var(--hl-text);
}

body.home-light .promo-hh-sub {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--hl-muted);
}

body.home-light .promo-hh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
}

body.home-light .promo-hh-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.2rem;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid #f3f4f6;
}

body.home-light .promo-hh-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home-light .promo-hh-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-light .promo-hh-name {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.home-light .promo-hh-pct {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ea580c;
  background: #fff7ed;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

body.home-light .promo-hh-empty {
  margin: 0;
  color: var(--hl-muted);
  font-size: 0.85rem;
}

/* ── Categories ── */
.hl-cats {
  padding: 2.25rem 0 3.25rem;
}

.hl-cats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.hl-cats-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hl-cats-all {
  color: var(--hl-text-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.hl-cats-all:hover { color: #111; }

.hl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ps-game-card-wrap { margin: 0; min-width: 0; }

.ps-game-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--hl-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ps-game-card:hover {
  transform: translateY(-3px);
  border-color: #d4d7de;
  box-shadow: var(--hl-shadow);
}

.ps-game-card-image {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.ps-game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-game-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hl-muted);
  font-size: 1.3rem;
}

.ps-game-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ps-game-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ps-game-card-action {
  font-size: 0.78rem;
  color: var(--hl-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ps-game-card:hover .ps-game-card-action { color: #111; }

.hl-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.hl-empty p { color: var(--hl-muted); }
.hl-empty a {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.6rem 1.1rem;
  background: #111;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* ── Footer (Play Sultan style) ── */
.hl-footer {
  --footer-accent: #ffffff;
  --footer-surface: rgba(28, 28, 32, 0.92);
  --footer-border: rgba(255, 255, 255, 0.08);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0;
  flex-shrink: 0;
  background: #0a0a0c;
  border-top: 1px solid var(--footer-border);
  color: rgba(255, 255, 255, 0.72);
}

.hl-footer .footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hl-footer .footer-bg-grid {
  position: absolute;
  inset: -6%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  padding: 12px;
  transform: scale(1.05);
  filter: saturate(0.85);
}

.hl-footer .footer-bg-tile {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hl-footer .footer-bg-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hl-footer .footer-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.82) 0%, rgba(10, 10, 12, 0.9) 45%, rgba(10, 10, 12, 0.96) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10, 10, 12, 0.35), rgba(10, 10, 12, 0.85) 70%);
}

.hl-footer .footer-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

.hl-footer .footer-grid {
  display: grid;
  gap: 36px;
}

.hl-footer .footer-cols-1 { grid-template-columns: 1fr; }
.hl-footer .footer-cols-2 { grid-template-columns: 1.5fr 1fr; }
.hl-footer .footer-cols-3 { grid-template-columns: 1.5fr 1fr 1fr; }
.hl-footer .footer-cols-4 { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }

.hl-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: #fff;
  text-decoration: none;
}

.hl-footer .footer-logo:hover { color: #fff; opacity: 0.9; }

.hl-footer .logo-img {
  height: 28px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}

.hl-footer .footer-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.hl-footer .footer-desc {
  margin: 0 0 18px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.65;
}

.hl-footer .footer-emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hl-footer .footer-email-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--footer-surface);
  border: 1px solid var(--footer-border);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.hl-footer .footer-email-item:hover {
  background: rgba(42, 42, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hl-footer .footer-email-item svg {
  color: var(--footer-accent);
  flex-shrink: 0;
}

.hl-footer .footer-emails-accordion .footer-accordion-toggle { margin-bottom: 14px; }

.hl-footer .footer-title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hl-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hl-footer .footer-links li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.15s;
}

.hl-footer .footer-links li a:hover { color: #fff; }

.hl-footer .footer-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  cursor: default;
}

.hl-footer .footer-accordion-icon {
  display: none;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease;
}

.hl-footer .footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid var(--footer-border);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.hl-footer .footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 36px;
}

.hl-footer .footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.hl-footer .trustpilot-footer-brand { margin-top: 16px; }
.hl-footer .trustpilot-footer-brand .trustpilot-inline { margin-top: 0; }

.hl-footer .trustpilot-inline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #00b67a;
  border: 1px solid #00a06a;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 182, 122, 0.2);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.hl-footer .trustpilot-inline:hover {
  background: #00a06a;
  border-color: #009060;
  box-shadow: 0 4px 14px rgba(0, 182, 122, 0.3);
  transform: translateY(-1px);
}

.hl-footer .trustpilot-ext-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}

.hl-footer .trustpilot-inline:hover .trustpilot-ext-icon {
  opacity: 1;
  transform: translateX(2px) translateY(-2px);
}

.hl-footer .trustpilot-logo {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hl-footer .trustpilot-inline-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.hl-footer .trustpilot-inline-rating {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.hl-footer .trustpilot-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 12px;
  flex-shrink: 0;
}

.hl-footer .trustpilot-star {
  width: 14px;
  height: 14px;
  position: relative;
}

.hl-footer .trustpilot-star-bg {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.hl-footer .trustpilot-star-bg.full { background: #fff; }
.hl-footer .trustpilot-star-bg.empty { background: rgba(255, 255, 255, 0.3); }

@media (min-width: 769px) {
  .hl-footer .footer-emails-accordion.footer-accordion-col { border-bottom: none; }
  .hl-footer .footer-emails-accordion .footer-accordion-toggle { display: none; }
  .hl-footer .footer-emails-accordion .footer-accordion-panel {
    max-height: none !important;
    overflow: visible;
    padding-bottom: 0 !important;
  }
  .hl-footer .trustpilot-footer-mobile { display: none !important; }
}

@media (max-width: 1024px) {
  .hl-footer .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 900px) {
  .hl-hero-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }
  .hl-footer .footer-bg-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .hl-footer .footer-bg-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .hl-footer .footer-bg-tile { border-radius: 12px; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --hl-pad: 1rem; }

  body.home-light .mmorpg-header-inner { padding: 0.55rem 1rem; }
  body.home-light .header-logo-img { height: 36px; max-width: 130px; }
  body.home-light .header-games-btn-icon,
  body.home-light .header-search-toggle-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  body.home-light .header-lang-btn,
  body.home-light .header-currency-btn {
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.75rem;
  }
  body.home-light .header-lang-chevron,
  body.home-light .header-currency-chevron { display: none; }

  body.games-page .header-nav-group .header-game-search-wrap:not(.game-search-modal-wrap) {
    display: none !important;
  }
  body.games-page .header-search-toggle-btn { display: flex; }

  body.home-page .hl-main { margin-top: -64px; }

  .hl-promo-row { grid-template-columns: 1fr; }
  body.home-light .promo-banner-wrap,
  body.home-light .promo-happy-hour { min-height: 0; }

  .hl-cats { padding: 1.5rem 0 2.25rem; }
  .hl-cats-title { font-size: 1.2rem; }
  .hl-cats-all { font-size: 0.78rem; }
  .hl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ps-game-card {
    flex-direction: column;
    text-align: center;
    padding: 0.85rem 0.55rem 0.75rem;
    gap: 0.5rem;
    border-radius: 14px;
  }
  .ps-game-card-image { width: 56px; height: 56px; }
  .ps-game-card-name { font-size: 0.82rem; }
  .ps-game-card-action { font-size: 0.7rem; }

  .hl-footer { margin-top: 40px; }
  .hl-footer .footer-main { padding: 28px 16px 20px; }
  .hl-footer .footer-grid { grid-template-columns: 1fr !important; gap: 0; }
  .hl-footer .footer-brand { margin-bottom: 20px; }
  .hl-footer .footer-desc { max-width: none; }
  .hl-footer .footer-emails-accordion { display: none !important; }
  .hl-footer .footer-accordion-col { border-bottom: 1px solid var(--footer-border); }
  .hl-footer .footer-accordion-col:last-of-type { border-bottom: none; }
  .hl-footer .footer-accordion-toggle {
    cursor: pointer;
    padding: 14px 0;
    margin-bottom: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .hl-footer .footer-accordion-icon { display: block; }
  .hl-footer .footer-accordion-col.is-open .footer-accordion-icon { transform: rotate(180deg); }
  .hl-footer .footer-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .hl-footer .footer-accordion-col.is-open .footer-accordion-panel {
    max-height: 600px;
    padding-bottom: 14px;
  }
  .hl-footer .footer-accordion-col .footer-links { padding-top: 2px; }
  .hl-footer .trustpilot-footer-brand:not(.trustpilot-footer-mobile) { display: none !important; }
  .hl-footer .footer-bottom { padding: 12px 16px; }
  .hl-footer .footer-bottom-inner { min-height: 0; gap: 10px; }
  .hl-footer .footer-bottom-trustpilot { width: 100%; }
  .hl-footer .footer-bottom-trustpilot .trustpilot-inline { width: 100%; box-sizing: border-box; }
  .hl-footer .footer-copyright {
    font-size: 0.72rem;
    line-height: 1.45;
    padding: 0 4px;
  }
}

@media (max-width: 640px) {
  .hl-hero {
    min-height: 420px;
    margin-bottom: 28px;
  }
  .hl-hero-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .hl-hero-tile { border-radius: 12px; }
  .hl-hero-inner { padding: 88px 16px 40px; }
  .hl-hero-title {
    margin-bottom: 22px;
    font-size: clamp(1.05rem, 4.8vw, 1.55rem);
  }
  .hl-popular { margin-top: 22px; }
  .hl-trustpilot { margin-top: 18px; }
}

@media (max-width: 480px) {
  .hl-grid { gap: 6px; }
  .ps-game-card-image { width: 48px; height: 48px; border-radius: 12px; }
}

/* ── PlaySultan header chrome ── */
body.home-light .hl-ps-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #07080c;
  border: none;
  box-shadow: none;
}

body.home-page .hl-ps-header {
  background: transparent;
}

body.home-light .hl-ps-header.is-scrolled,
body.games-page .hl-ps-header {
  background: #07080c;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.home-light .hl-ps-header-inner {
  max-width: var(--hl-page);
  width: 100%;
  margin: 0 auto;
  padding: 0.85rem var(--hl-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

body.home-light .hl-ps-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.home-light .hl-ps-pill.header-lang-btn,
body.home-light .hl-ps-pill.header-currency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 42px;
  min-height: 42px;
  padding: 0 1rem 0 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: none;
}

body.home-light .hl-ps-pill.header-lang-btn:hover,
body.home-light .hl-ps-pill.header-currency-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
}

body.home-light .header-lang-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

body.home-light .header-lang-chevron,
body.home-light .header-currency-chevron {
  display: inline-block;
  font-size: 0.68rem;
  opacity: 0.75;
  color: #fff;
}

body.home-light .hl-ps-dropdown {
  min-width: 88px;
  padding: 0.45rem;
  background: #1c1f28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

body.home-light .header-lang-option,
body.home-light .header-currency-option {
  color: #e8eaef;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

body.home-light .header-lang-option:hover,
body.home-light .header-currency-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.home-light .header-lang-option.is-active,
body.home-light .header-currency-option.is-active {
  background: rgba(201, 162, 39, 0.28);
  color: #f3e3a0;
  border: none;
}

body.home-light .hl-ps-lang-dropdown,
body.home-light .hl-ps-currency-dropdown {
  min-width: 88px;
  max-height: 320px;
}

body.home-light .hl-ps-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 520px;
  min-width: 180px;
}

body.home-light .hl-ps-search .header-game-search-form,
body.games-page .hl-ps-search .header-game-search-form {
  display: flex;
  align-items: center;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

body.home-light .hl-ps-search .header-game-search-input,
body.games-page .hl-ps-search .header-game-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  color: #fff;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

body.home-light .hl-ps-search .header-game-search-input::placeholder {
  color: #9aa1ae;
}

body.home-light .hl-ps-search .header-game-search-btn,
body.games-page .hl-ps-search .header-game-search-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: none;
  cursor: pointer;
}

body.home-light .hl-ps-search .header-game-search-dropdown {
  background: #1c1f28;
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  body.home-light .hl-ps-header-inner { padding: 0.65rem 1rem; }
  body.home-light .hl-ps-actions { gap: 0.4rem; }
  body.home-light .hl-ps-pill.header-lang-btn,
  body.home-light .hl-ps-pill.header-currency-btn {
    height: 36px;
    min-height: 36px;
    padding: 0 0.7rem;
    font-size: 0.78rem;
  }
  body.home-light .hl-ps-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
}
