:root {
  --mmorpg-bg: #0d0f14;
  --mmorpg-bg-card: #141822;
  --mmorpg-border: #2a2f3d;
  --mmorpg-border-glow: #4a5568;
  --mmorpg-gold: #c9a227;
  --mmorpg-gold-dim: #8b7355;
  --mmorpg-gold-glow: rgba(201, 162, 39, 0.35);
  --mmorpg-text: #e8e6e3;
  --mmorpg-text-muted: #9ca3af;
  --mmorpg-accent: #7c9cbf;
  --mmorpg-font-title: "Cinzel", "Cinzel Decorative", Georgia, serif;
  --mmorpg-font-body: "Lato", system-ui, sans-serif;
  
  --mmorpg-page-max-width: 1200px;
  --mmorpg-page-padding-x: 1.5rem;
  
  --mmorpg-footer-mobile-max-width: 400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #FFD745 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: #FFD745;
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: #AE8924;
}

body.index-mmorpg {
  margin: 0;
  min-height: 100vh;
  font-family: var(--mmorpg-font-body);
  color: var(--mmorpg-text);
  background: var(--mmorpg-bg);
  position: relative;
  overflow-x: hidden;
}

.mmorpg-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(124, 156, 191, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #0d0f14 0%, #12151c 50%, #0d0f14 100%);
  pointer-events: none;
}

.trustpilot-topbar {
  position: relative;
  z-index: 11;
  background: transparent;
  margin-top: 0.5rem;
  padding: 0.3rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trustpilot-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem 0.5rem;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1.2;
}

.trustpilot-topbar-rating {
  font-weight: 700;
  color: #fff;
}

.trustpilot-topbar-stars {
  color: #00b67a;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.trustpilot-topbar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #737373;
  flex-shrink: 0;
}

.trustpilot-topbar-reviews {
  color: #a3a3a3;
  font-size: 0.85rem;
}

.trustpilot-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  color: #00b67a;
  padding: 0.15rem 0.4rem;
  margin-left: 0.1rem;
  font-weight: 700;
  font-size: 0.8rem;
}

.trustpilot-topbar-badge i {
  font-size: 0.75rem;
}

.trustpilot-topbar-link:hover .trustpilot-topbar-stars {
  color: #00d68f;
}

.trustpilot-topbar-link:hover .trustpilot-topbar-badge {
  color: #00d68f;
}

.mmorpg-header {
  position: relative;
  z-index: 20;
  padding: 1rem 1.5rem;
  background: transparent;
}

.mmorpg-header-inner {
  max-width: var(--mmorpg-page-max-width);
  margin: 0 auto;
  padding: 0 var(--mmorpg-page-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mmorpg-gold-dim), var(--mmorpg-gold));
  color: #0d0f14;
  border-radius: 8px;
  font-size: 1.25rem;
}

img.img-fallback-error { display: none !important; }
.logo-fallback-hidden { display: none !important; }
.logo-fallback-visible { display: flex !important; }

.site-title {
  margin: 0;
  font-family: var(--mmorpg-font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mmorpg-text);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.85rem;
  color: var(--mmorpg-text-muted);
  margin-left: 0.25rem;
}

.header-links {
  display: flex;
  gap: 1.25rem;
}

.header-links a {
  color: var(--mmorpg-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.header-links a:hover {
  color: var(--mmorpg-gold);
}

.header-right-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.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;
}

.header-game-search-wrap {
  position: relative;
  z-index: 100;
}

.header-game-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--mmorpg-border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 640px;
  max-width: 880px;
}

.header-game-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0.75rem 0 1rem;
  background: transparent;
  border: none;
  color: var(--mmorpg-text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.header-game-search-input::placeholder {
  color: var(--mmorpg-text-muted);
}

.header-game-search-input:focus {
  box-shadow: none;
}

.header-game-search-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--mmorpg-text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.header-game-search-btn:hover {
  color: var(--mmorpg-gold);
}

.header-game-search-form:focus-within {
  border-color: var(--mmorpg-border-glow);
  box-shadow: 0 0 0 1px var(--mmorpg-border-glow);
}

@media (max-width: 640px) {
  .header-game-search-form {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

.header-game-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  padding: 0.35rem 0 0.4rem;
  background: var(--mmorpg-bg-card);
  border: 1px solid var(--mmorpg-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1100;
  scroll-padding-bottom: 0.5rem;
  isolation: isolate;
}

.header-game-search-dropdown:empty,
.header-game-search-dropdown[hidden] {
  display: none !important;
}

.header-game-search-dropdown-empty {
  padding: 1rem 1rem;
  color: var(--mmorpg-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.header-game-search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.75rem 1rem;
  color: var(--mmorpg-text);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--mmorpg-border);
  transition: background 0.15s, color 0.15s;
  box-sizing: border-box;
}

.header-game-search-dropdown-item:last-child {
  border-bottom: none;
}

.header-game-search-dropdown-item:hover,
.header-game-search-dropdown-item:focus {
  background: rgba(201, 162, 39, 0.12);
  color: var(--mmorpg-gold);
  outline: none;
}

.header-game-search-dropdown-item-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mmorpg-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-game-search-dropdown-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-game-search-dropdown-item-icon {
  color: var(--mmorpg-text-muted);
  font-size: 1.5rem;
}

.header-game-search-dropdown-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.header-game-search-dropdown-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-game-search-dropdown-item-meta {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--mmorpg-text-muted);
  font-weight: 400;
}

.header-game-search-dropdown-item:hover .header-game-search-dropdown-item-meta,
.header-game-search-dropdown-item:focus .header-game-search-dropdown-item-meta {
  color: rgba(201, 162, 39, 0.85);
}

.header-games-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--mmorpg-text);
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.header-games-btn:hover {
  color: var(--mmorpg-gold);
}

.header-games-btn.is-active {
  color: var(--mmorpg-gold);
  font-weight: 600;
}

.header-games-btn i {
  font-size: 1rem;
}

.header-games-btn-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  justify-content: center;
  border-radius: 8px;
  color: var(--mmorpg-text);
}
.header-games-btn-icon i {
  font-size: 1.35rem;
}
.header-games-btn-icon:hover {
  color: var(--mmorpg-gold);
  background: rgba(255, 255, 255, 0.06);
}
.header-games-btn-icon.is-active {
  color: var(--mmorpg-gold);
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 769px) {
  .header-search-toggle-btn {
    display: none !important;
  }

  
  .mmorpg-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.6rem 0;
    background: rgba(13, 15, 20, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .mmorpg-header.is-scrolled {
    background: rgba(13, 15, 20, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .mmorpg-header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding: 0 1.5rem;
  }

  
  .header-left-group {
    flex: 0 0 auto;
    margin-right: 1.25rem;
  }

  
  .header-nav-group {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  
  .header-nav-group .header-game-search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 560px;
  }

  
  .header-game-search-form {
    min-width: 280px;
    max-width: 100%;
    width: 100%;
  }

  
  .header-right-wrap {
    flex: 0 0 auto;
    margin-left: 1.25rem;
    gap: 0.5rem;
  }

}

@media (min-width: 1024px) {
  .header-nav-group .header-game-search-wrap {
    max-width: 680px;
  }
}

@media (min-width: 1440px) {
  .mmorpg-header-inner {
    padding: 0 2rem;
  }

  .header-nav-group .header-game-search-wrap {
    max-width: 780px;
  }
}

.header-search-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--mmorpg-text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.header-search-toggle-btn:hover {
  color: var(--mmorpg-gold);
  background: rgba(255, 255, 255, 0.06);
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-link:hover .site-title {
  color: var(--mmorpg-gold);
}

.logo-link:hover .logo-icon {
  background: linear-gradient(135deg, var(--mmorpg-gold), var(--mmorpg-gold-dim));
}

.header-lang-wrap {
  position: relative;
}

.header-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--mmorpg-border);
  border-radius: 8px;
  color: var(--mmorpg-text);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.header-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--mmorpg-border-glow);
}

.header-lang-flag {
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.header-lang-code {
  font-weight: 600;
}

.header-lang-chevron {
  font-size: 0.75rem;
  opacity: 0.8;
  transition: transform 0.2s;
}

.header-lang-btn[aria-expanded="true"] .header-lang-chevron {
  transform: rotate(180deg);
}

.header-lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.35rem;
  min-width: 140px;
  background: var(--mmorpg-bg-card);
  border: 1px solid var(--mmorpg-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 0.35rem;
  z-index: 100;
}

.header-lang-dropdown[hidden] {
  display: none;
}

.header-lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: var(--mmorpg-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.header-lang-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mmorpg-gold);
}

.header-currency-wrap {
  position: relative;
}

.header-currency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--mmorpg-border);
  border-radius: 8px;
  color: var(--mmorpg-text);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.header-currency-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--mmorpg-border-glow);
}

.header-currency-icon {
  font-size: 1rem;
  opacity: 0.9;
}

.header-currency-chevron {
  font-size: 0.75rem;
  opacity: 0.8;
  transition: transform 0.2s;
}

.header-currency-btn[aria-expanded="true"] .header-currency-chevron {
  transform: rotate(180deg);
}

.header-currency-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  min-width: 120px;
  max-width: 200px;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--mmorpg-bg-card);
  border: 1px solid var(--mmorpg-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 0.4rem;
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: var(--mmorpg-border-glow) transparent;
}

.header-currency-dropdown::-webkit-scrollbar {
  width: 6px;
}

.header-currency-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.header-currency-dropdown::-webkit-scrollbar-thumb {
  background: var(--mmorpg-border-glow);
  border-radius: 3px;
}

.header-currency-dropdown[hidden] {
  display: none;
}

.header-currency-options {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.header-currency-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: var(--mmorpg-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.header-currency-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mmorpg-gold);
}

.header-currency-option.is-active {
  background: rgba(201, 162, 39, 0.15);
  color: var(--mmorpg-gold);
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.header-currency-option.is-active:hover {
  background: rgba(201, 162, 39, 0.2);
  color: var(--mmorpg-gold);
}

.header-currency-option[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  
  .mmorpg-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0;
    background: rgba(13, 15, 20, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  }

  .mmorpg-header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem var(--mmorpg-page-padding-x);
    max-width: none;
  }

  .header-left-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .header-nav-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .header-right-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .header-nav-group .header-game-search-wrap {
    display: none !important;
  }

  .logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .header-logo-img {
    height: 42px;
    max-width: 150px;
  }

  .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .header-games-btn-icon,
  .header-search-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(42, 47, 61, 0.95);
    color: var(--mmorpg-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  }

  .header-games-btn-icon:hover,
  .header-search-toggle-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--mmorpg-gold);
  }

  .header-games-btn-icon.is-active {
    background: rgba(201, 162, 39, 0.14);
    border-color: rgba(201, 162, 39, 0.4);
    color: var(--mmorpg-gold);
  }

  .mmorpg-header.is-search-open .header-search-toggle-btn {
    background: rgba(201, 162, 39, 0.14);
    border-color: rgba(201, 162, 39, 0.4);
    color: var(--mmorpg-gold);
  }

  .header-search-toggle-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--mmorpg-gold-glow);
  }

  .header-games-btn-icon i {
    font-size: 1.1rem;
  }

  .header-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 40px;
    min-height: 40px;
    padding: 0 0.65rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(42, 47, 61, 0.95);
    color: var(--mmorpg-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
  }

  .header-lang-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--mmorpg-gold);
  }

  .header-lang-flag {
    width: 18px;
    height: 14px;
  }

  .header-lang-chevron {
    display: none;
  }

  .header-currency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 40px;
    min-height: 40px;
    padding: 0 0.65rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(42, 47, 61, 0.95);
    color: var(--mmorpg-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
  }

  .header-currency-btn:hover {
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--mmorpg-gold);
  }

  .header-currency-chevron {
    display: none;
  }

  .header-game-search-form {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 48px;
    min-height: 48px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--mmorpg-border);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  }

  .header-game-search-input {
    padding: 0 1rem 0 1.25rem;
    font-size: 16px; 
    -webkit-appearance: none;
    appearance: none;
  }

  .header-game-search-btn {
    width: 48px;
    height: 48px;
    min-height: 48px;
    flex-shrink: 0;
    color: var(--mmorpg-text-muted);
  }

  .header-game-search-btn:hover {
    color: var(--mmorpg-gold);
  }

  .header-game-search-form:focus-within {
    border-color: var(--mmorpg-gold-dim);
    box-shadow: 0 0 0 2px var(--mmorpg-gold-glow), 0 2px 12px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 480px) {
  .mmorpg-header-inner {
    padding: 0.5rem var(--mmorpg-page-padding-x);
    gap: 0.4rem;
  }

  .header-right-wrap {
    gap: 0.3rem;
  }

  .header-logo-img {
    height: 38px;
    max-width: 130px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 9px;
  }

  .header-lang-btn,
  .header-currency-btn {
    height: 36px;
    min-height: 36px;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    border-radius: 9px;
  }

  .header-lang-flag {
    width: 16px;
    height: 12px;
  }

  .header-game-search-form {
    height: 44px;
    min-height: 44px;
  }

  .header-game-search-btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

.game-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.game-search-overlay[hidden] {
  display: none;
}

.game-search-modal-box {
  background: var(--mmorpg-bg-card);
  border: 1px solid var(--mmorpg-border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 420px;
  overflow: visible;
}

.game-search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--mmorpg-border);
}

.game-search-modal-title {
  margin: 0;
  font-family: var(--mmorpg-font-title);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mmorpg-text);
}

.game-search-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--mmorpg-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.game-search-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--mmorpg-text);
}

.game-search-modal-body {
  padding: 1.5rem;
  overflow: visible;
}

.game-search-modal-wrap .header-game-search-form {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 48px;
  min-height: 48px;
}

.game-search-modal-wrap .header-game-search-dropdown {
  max-height: 280px;
  overflow-y: auto;
}

@keyframes popInModal {
  from { transform: scale(0.92) translateY(-10px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);     opacity: 1; }
}

@media (max-width: 768px) {
  .game-search-overlay {
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .game-search-modal-box {
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    border: 1px solid var(--mmorpg-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    overflow: visible;
    animation: popInModal 0.22s cubic-bezier(0.34, 1.36, 0.64, 1);
    padding-bottom: 0;
  }

  .game-search-modal-box::before {
    display: none;
  }

  .game-search-modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--mmorpg-border);
  }

  .game-search-modal-title {
    font-size: 1.1rem;
  }

  .game-search-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.1rem;
  }

  .game-search-modal-body {
    padding: 1.1rem 1.25rem 1.4rem;
  }

  .game-search-modal-wrap .header-game-search-form {
    height: 52px;
    min-height: 52px;
    border-radius: 14px;
    font-size: 16px;
  }

  .game-search-modal-wrap .header-game-search-input {
    font-size: 16px;
    padding: 0 1rem 0 1.25rem;
    -webkit-appearance: none;
    appearance: none;
  }

  .game-search-modal-wrap .header-game-search-btn {
    width: 52px;
    height: 52px;
    min-height: 52px;
  }

  .game-search-modal-wrap .header-game-search-dropdown {
    max-height: min(40vh, 280px);
    border-radius: 0 0 14px 14px;
  }
}

.mmorpg-main {
  position: relative;
  z-index: 5;
  padding: 0.75rem var(--mmorpg-page-padding-x) 4rem;
  max-width: var(--mmorpg-page-max-width);
  margin: 0 auto;
}

body.index-mmorpg .wrap {
  max-width: var(--mmorpg-page-max-width);
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 var(--mmorpg-page-padding-x);
  flex: 1;
}

body.index-mmorpg .topbar-inner {
  max-width: var(--mmorpg-page-max-width);
  margin: 0 auto;
  padding: 10px var(--mmorpg-page-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-block {
  text-align: center;
  padding: 2.5rem 1rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--mmorpg-font-title);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--mmorpg-text);
  margin: 0 0 0.5rem;
  letter-spacing: 0.05em;
}

.hero-desc {
  margin: 0;
  color: var(--mmorpg-text-muted);
  font-size: 1.05rem;
}

.promo-banner-card {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.promo-banner-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--mmorpg-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  background: #0c0f18;
}

.promo-banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  z-index: 0;
}

.promo-banner-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(10, 13, 20, 0.97) 0%,
      rgba(12, 15, 24, 0.92) 30%,
      rgba(14, 17, 28, 0.72) 55%,
      rgba(14, 17, 28, 0.18) 80%,
      transparent 100%
    );
  pointer-events: none;
}

.promo-banner-overlay {
  position: relative;
  z-index: 2;
  padding: 2.5rem 3rem;
  max-width: 520px;
}

.promo-banner-title {
  font-family: var(--mmorpg-font-title);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  color: #fff;
  margin: 0 0 0.7rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.promo-banner-sub {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.75rem;
  line-height: 1.6;
  max-width: 380px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.promo-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(6px);
}

.promo-banner-btn:hover {
  background: rgba(201, 162, 39, 0.14);
  border-color: var(--mmorpg-gold);
  color: var(--mmorpg-gold);
  box-shadow: 0 0 18px rgba(201, 162, 39, 0.22);
}

.promo-banner-btn i {
  font-size: 0.85em;
  transition: transform 0.2s;
}

.promo-banner-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .promo-banner-wrap {
    min-height: 220px;
  }
  .promo-banner-bg-img {
    object-position: 70% center;
  }
  .promo-banner-wrap::before {
    background: linear-gradient(to right,
      rgba(10, 13, 20, 0.97) 0%,
      rgba(12, 15, 24, 0.9) 40%,
      rgba(14, 17, 28, 0.75) 65%,
      rgba(14, 17, 28, 0.3) 100%
    );
  }
  .promo-banner-overlay {
    padding: 1.75rem 1.75rem;
    max-width: 100%;
  }
  .promo-banner-sub {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .promo-banner-wrap {
    min-height: 200px;
  }
  .promo-banner-wrap::before {
    background: linear-gradient(to right,
      rgba(10, 13, 20, 0.98) 0%,
      rgba(10, 13, 20, 0.95) 50%,
      rgba(10, 13, 20, 0.7) 100%
    );
  }
  .promo-banner-overlay {
    padding: 1.5rem 1.25rem;
  }
}

.promo-banner-right {
  width: 100%;
  max-width: 280px;
  padding: 1.25rem 1.5rem;
  background: var(--mmorpg-bg-card);
  border-left: 1px solid var(--mmorpg-border);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.12);
}

@media (max-width: 768px) {
  .promo-banner-right {
    max-width: none;
    border-left: none;
    border-top: 1px solid var(--mmorpg-border);
  }
}

.promo-banner-right-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mmorpg-gold);
  margin-bottom: 1rem;
}

.promo-store-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.promo-store-list li {
  margin-bottom: 0.5rem;
}

.promo-store-list li:last-child {
  margin-bottom: 0;
}

.promo-store-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mmorpg-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--mmorpg-text);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.promo-store-item:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--mmorpg-gold-dim);
  box-shadow: 0 2px 12px var(--mmorpg-gold-glow);
}

.promo-store-thumb {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mmorpg-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-store-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-store-thumb i {
  font-size: 1.25rem;
  color: var(--mmorpg-text-muted);
}

.promo-store-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mmorpg-text);
}

.promo-store-item:hover .promo-store-name {
  color: var(--mmorpg-gold);
}

.trustpilot-strip {
  background: transparent;
  padding: 0.5rem 1.5rem 0.25rem;
  display: flex;
  justify-content: center;
}

.trustpilot-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem 0.75rem;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
  justify-content: center;
}

.trustpilot-strip-rating {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.trustpilot-strip-stars {
  color: #00b67a;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.trustpilot-strip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #737373;
  flex-shrink: 0;
}

.trustpilot-strip-reviews {
  font-size: 0.9rem;
  color: #a3a3a3;
}

.trustpilot-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #00b67a;
  color: #fff;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  margin-left: 0.25rem;
}

.trustpilot-strip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.trustpilot-strip-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.trustpilot-strip-link:hover .trustpilot-strip-stars {
  color: #00d68f;
}

.trustpilot-strip-link:hover .trustpilot-strip-badge {
  background: #00d68f;
}

.categories-section {
  margin-top: 1rem;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem 0;
}

.categories-section-title {
  font-family: var(--mmorpg-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mmorpg-gold);
  margin: 0;
  letter-spacing: 0.02em;
}

.section-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.4rem 0.9rem;
  background: rgba(150, 150, 150, 0.12);
  border: 1px solid rgba(160, 160, 160, 0.35);
  border-radius: 999px;
  color: #b0b0b0;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.section-view-all-btn:hover {
  background: rgba(180, 180, 180, 0.2);
  border-color: #c0c0c0;
  color: #e8e8e8;
  box-shadow: 0 0 10px rgba(180, 180, 180, 0.25);
}

.section-view-all-btn i {
  font-size: 0.78em;
  transition: transform 0.2s;
}

.section-view-all-btn:hover i {
  transform: translateX(3px);
}

.game-type-section {
  margin-top: 2.5rem;
}

.page-games .game-type-section,
.page-games .categories-section {
  margin-top: 0;
  padding-top: 0;
}

.page-games .game-type-section + .game-type-section {
  border-top: 1px solid var(--mmorpg-border);
  padding-top: 1rem;
  margin-top: 0.75rem;
}

.page-games .category-scroll-outer,
.page-games .category-full-grid-outer {
  margin-top: 0;
}

.games-page-intro {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0 0.5rem;
  max-width: 100%;
}

.games-page-title {
  font-family: var(--mmorpg-font-title);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--mmorpg-text);
  flex-shrink: 0;
  white-space: nowrap;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.games-page-sub {
  font-family: var(--mmorpg-font-body);
  font-size: 1rem;
  color: var(--mmorpg-text-muted);
  margin: 0;
}

.store-games-section .store-content-header {
  max-width: 720px;
}

.games-page-type-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0 0.5rem;
}

.games-type-btn {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--mmorpg-bg-card);
  border: 1px solid var(--mmorpg-border);
  border-radius: 10px;
  color: var(--mmorpg-text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.games-type-btn:hover {
  border-color: var(--mmorpg-gold-dim);
  color: var(--mmorpg-gold);
  box-shadow: 0 0 16px var(--mmorpg-gold-glow);
}

.games-type-btn.is-active {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--mmorpg-gold);
  color: var(--mmorpg-gold);
  box-shadow: 0 0 16px var(--mmorpg-gold-glow);
  font-weight: 700;
}

.games-type-btn:focus-visible {
  outline: 2px solid var(--mmorpg-gold);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .games-page-type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0;
    margin-top: 1.25rem;
  }

  .games-type-btn {
    white-space: normal;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    font-size: 0.82rem;
    gap: 0.35rem;
    min-height: 72px;
    line-height: 1.3;
    border-radius: 12px;
  }

  .games-type-btn i {
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  .games-type-btn:only-child {
    grid-column: 1 / -1;
    max-width: 220px;
    margin: 0 auto;
    flex-direction: row;
    padding: 0.65rem 1.25rem;
    min-height: auto;
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  .games-type-btn:only-child i {
    font-size: 1rem;
  }
}

.games-empty {
  text-align: center;
  padding: 4rem 1.5rem;
}

.games-empty-text {
  font-size: 1.1rem;
  color: var(--mmorpg-text-muted);
  margin: 0 0 1.5rem 0;
}

.categories-inner {
  width: 100%;
}

.category-scroll-outer {
  position: relative;
  display: flex;
  align-items: center;
}

.category-scroll-btns {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 4px;
}

.category-scroll-btns button {
  pointer-events: all;
}

.category-scroll-outer::after {
  display: none;
}

.category-scroll-outer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to left, transparent, var(--mmorpg-bg) 88%);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-scroll-outer:has(.category-scroll-prev:not(.hidden))::before {
  opacity: 1;
}

.category-scroll-wrap {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 8px;
  margin: -6px 0 -8px;
}

.category-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
}

.category-full-grid-outer {
  width: 100%;
}

.category-full-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  flex-wrap: unset;
  width: 100% !important;
  gap: 1.25rem;
}

.category-full-grid .category-card-wrap {
  width: 100%;
  min-width: 0;
}

@media (max-width: 768px) {
  /* Ana sayfa + /games: mobilde yan yana 3 kart (auto-fill dar ekranda 2 sütun veriyordu) */
  .category-full-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

@media (max-width: 480px) {
  .category-full-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
}

.category-card-wrap {
  margin: 0;
  flex: 0 0 auto;
  width: 175px;
  min-width: 175px;
  display: flex;
}

@media (max-width: 1200px) {
  .category-card-wrap {
    width: 160px;
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .category-card-wrap {
    width: 145px;
    min-width: 145px;
  }
  .card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: unset !important;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .category-card-wrap {
    width: 130px;
    min-width: 130px;
  }
  .category-grid {
    gap: 0.75rem;
  }
  .card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.82rem !important;
    padding: 0.55rem 0.7rem 0.3rem !important;
    min-height: unset !important;
    word-break: break-word;
  }
  .card-cta {
    font-size: 0.78rem;
    padding: 0 0.7rem 0.6rem;
    gap: 0.3rem;
  }
  .categories-section-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --mmorpg-page-padding-x: 1rem;
  }
  .category-card-wrap {
    width: 120px;
    min-width: 120px;
  }
  .card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.78rem !important;
    padding: 0.5rem 0.6rem 0.25rem !important;
    min-height: unset !important;
    word-break: break-word;
  }
  .card-cta {
    font-size: 0.75rem;
    padding: 0 0.6rem 0.55rem;
  }
  .section-title-row {
    margin-bottom: 0.9rem;
  }
  .game-type-section {
    margin-top: 2rem;
  }
}

.category-scroll-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--mmorpg-border-glow);
  background: rgba(20, 24, 34, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--mmorpg-gold);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  z-index: 11;
}

.category-scroll-btn:hover {
  background: rgba(201, 162, 39, 0.18);
  border-color: var(--mmorpg-gold);
  color: #fff;
  box-shadow: 0 0 16px var(--mmorpg-gold-glow);
  transform: scale(1.08);
}

.category-scroll-btn:active {
  transform: scale(0.96);
}

.category-scroll-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.category-scroll-btn.hidden {
  display: none;
}

@media (max-width: 768px) {
  .category-scroll-btns {
    display: none;
  }
  .category-scroll-outer::after,
  .category-scroll-outer::before {
    display: none;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  background: var(--mmorpg-bg-card);
  border: 1px solid var(--mmorpg-border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.category-card:hover {
  border-color: var(--mmorpg-gold-dim);
  box-shadow: 0 0 24px var(--mmorpg-gold-glow);
}

.category-card:focus-visible {
  outline: 2px solid var(--mmorpg-gold);
  outline-offset: 2px;
}

.card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  opacity: 0;
  background: linear-gradient(135deg, transparent 40%, var(--mmorpg-gold-glow) 100%);
  pointer-events: none;
  transition: opacity 0.25s;
}

.category-card:hover .card-glow {
  opacity: 1;
}

.card-frame {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.15);
  pointer-events: none;
}

.card-img-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: var(--mmorpg-border);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--mmorpg-text-muted);
  background: linear-gradient(145deg, #1a1d28, #141822);
}

.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 1rem 1.25rem 0.5rem;
  flex-shrink: 0;
  font-family: var(--mmorpg-font-title);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--mmorpg-text);
  letter-spacing: 0.02em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem 1rem;
  flex-shrink: 0;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--mmorpg-gold);
  font-weight: 600;
  transition: gap 0.2s;
}

.category-card:hover .card-cta {
  gap: 0.75rem;
}

.card-cta i {
  font-size: 0.85em;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--mmorpg-text-muted);
}

.empty-state i {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-state p {
  margin: 0;
  font-size: 1.1rem;
}

.mmorpg-footer {
  position: relative;
  z-index: 5;
  margin-top: auto;
  font-family: var(--mmorpg-font-body);
  font-size: 1rem;
  line-height: 1.5;
}

.mmorpg-footer-dark {
  background: #0a0a0a;
  border-top: 1px solid #222;
  color: #e5e5e5;
}

.mmorpg-footer-list-game {
  max-width: var(--mmorpg-page-max-width);
  margin: 0 auto;
  padding: 1.5rem var(--mmorpg-page-padding-x) 0;
}

.footer-list-game-block {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(30, 28, 24, 0.8);
  border: 1px solid rgba(180, 150, 80, 0.25);
  border-radius: 12px;
  flex-wrap: wrap;
}

.footer-list-game-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(180, 150, 80, 0.2);
  border-radius: 10px;
  color: #b4964a;
  font-size: 1.5rem;
}

.footer-list-game-text {
  flex: 1;
  min-width: 180px;
}

.footer-list-game-title {
  display: block;
  font-family: var(--mmorpg-font-title);
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer-list-game-desc {
  font-size: 0.9rem;
  color: #a3a3a3;
  margin: 0;
  line-height: 1.4;
}

.footer-list-game-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(180deg, #9a8535 0%, #7a6828 100%);
  color: #f5f0e0;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(180, 150, 80, 0.35);
}

.footer-list-game-btn:hover {
  color: #f5f0e0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 576px) {
  .mmorpg-footer-list-game {
    padding: 1rem 1rem 0;
  }
  .footer-list-game-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }
  .footer-list-game-btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col-brand .footer-brand,
  .footer-col-brand .footer-brand-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-col-brand .footer-tagline {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .footer-col-brand .footer-email-list {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }
  .footer-col-brand .footer-merchant-actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
  }
  .footer-col-brand .footer-merchant-actions .footer-help-center {
    flex: 1;
    min-width: 0;
    justify-content: center;
    padding: 0.35rem 1rem;
    font-size: 0.9rem;
  }
  
  .footer-col-three {
    align-items: stretch;
  }
  .footer-col-three .footer-block {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-col-three .footer-block:not(.footer-block-collapsible) .footer-list {
    text-align: left;
  }
}

.mmorpg-footer-grid {
  max-width: var(--mmorpg-page-max-width);
  margin: 0 auto;
  padding: 3.5rem var(--mmorpg-page-padding-x) 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2.8fr;
  gap: 2rem 5rem;
  text-align: left;
  align-items: start;
}

@media (max-width: 992px) {
  .mmorpg-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .mmorpg-footer-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 2rem;
    max-width: var(--mmorpg-footer-mobile-max-width);
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
  }
}

.footer-col-three {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  align-items: flex-start;
}

.footer-col-three .footer-block {
  flex: 1;
  min-width: 0;
}

@media (min-width: 769px) {
  .footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    color: #fff;
    display: block;
    width: 100%;
  }

  .footer-heading::after {
    transition: opacity 0.2s, background 0.2s;
  }

  .footer-block:hover .footer-heading::after {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.7) 0%, rgba(201, 162, 39, 0.35) 100%);
  }

  .footer-list li {
    margin-bottom: 0.5rem;
  }

  .footer-list a {
    font-size: 0.9rem;
    padding: 0.25rem 0;
    color: #b8b8b8;
    transition: color 0.2s, padding-left 0.2s;
  }

  .footer-list a:hover {
    color: var(--mmorpg-gold);
    padding-left: 0.25rem;
  }

  .footer-col-three .footer-block {
    flex: 1;
    min-width: 140px;
  }

  .footer-block-companies .footer-heading {
    margin-bottom: 1rem;
  }

  .footer-companies-list li {
    padding: 0.6rem 0;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .footer-companies-list li:hover {
    color: #fff;
  }

  .footer-company-name {
    font-size: 0.9rem;
    color: #e8e8e8;
  }

  .footer-company-address {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (max-width: 992px) {
  .footer-col-three {
    flex-wrap: wrap;
    gap: 1.75rem 2rem;
  }
}

@media (max-width: 576px) {
  .footer-col-three {
    flex-direction: column;
    gap: 1.75rem;
  }
}

.footer-col-brand .footer-brand {
  font-family: var(--mmorpg-font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.footer-brand-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 100%;
}

.footer-email-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
}

.footer-email-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #d4d4d4;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.footer-email-item i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-email-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mmorpg-gold);
}

.footer-help-center {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #d4d4d4;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  max-width: 280px;
}

.footer-help-center:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mmorpg-gold);
}

.footer-help-center i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-merchant-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
}
.footer-merchant-actions .footer-help-center {
  flex: 1;
  max-width: none;
  margin-top: 0;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
}
.footer-merchant-actions .footer-help-center:first-child {
  background: linear-gradient(135deg, var(--mmorpg-gold) 0%, var(--mmorpg-gold-dim) 100%);
  border: 1px solid rgba(201, 162, 39, 0.6);
  color: #0d0f14;
  font-weight: 600;
}
.footer-merchant-actions .footer-help-center:first-child:hover {
  background: linear-gradient(135deg, #d4af37 0%, var(--mmorpg-gold) 100%);
  color: #0d0f14;
  box-shadow: 0 0 16px var(--mmorpg-gold-glow);
}
.footer-merchant-actions .footer-help-center:last-child {
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--mmorpg-gold);
  color: var(--mmorpg-gold);
}
.footer-merchant-actions .footer-help-center:last-child:hover {
  background: rgba(201, 162, 39, 0.25);
  color: #fff;
  box-shadow: 0 0 12px var(--mmorpg-gold-glow);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.65rem;
  position: relative;
  border-bottom: none;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.5) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 1px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.35rem;
}

.footer-list a {
  display: inline-block;
  color: #a3a3a3;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--mmorpg-gold);
}

.footer-block {
  flex: 1;
  min-width: 0;
}

@media (max-width: 576px) {
  .footer-heading {
    margin-bottom: 0.75rem;
  }

  .footer-list li {
    margin-bottom: 0.5rem;
  }
}

.footer-company-name {
  font-weight: 700;
  color: #d4d4d4;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.footer-company-address,
.footer-company-reg {
  font-size: 0.85rem;
  color: #a3a3a3;
  line-height: 1.5;
  margin: 0 0 0.35rem;
}

.footer-trustpilot {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  max-width: 260px;
}

.footer-trustpilot-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.footer-trustpilot-star {
  color: #00b67a;
  font-size: 1.1rem;
}

.footer-trustpilot-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #d4d4d4;
}

.footer-trustpilot-site {
  font-size: 0.8rem;
  color: #737373;
  margin: 0 0 0.5rem;
}

.footer-trustpilot-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.footer-stars {
  color: #eab308;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-rating-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d4d4d4;
}

.footer-trustpilot-desc {
  font-size: 0.8rem;
  color: #737373;
  margin: 0 0 0.75rem;
}

.footer-trustpilot-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  background: rgba(0, 182, 122, 0.2);
  color: #00b67a;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-trustpilot-btn:hover {
  background: rgba(0, 182, 122, 0.35);
  color: #00d68f;
}

.footer-trustpilot-btn i {
  font-size: 0.75em;
}

.mmorpg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem var(--mmorpg-page-padding-x);
  text-align: center;
  max-width: 100%;
}

.footer-block-companies {
  max-width: 100%;
}

.footer-companies-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-companies-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: #a3a3a3;
}

.footer-companies-list li:first-child {
  padding-top: 0;
}

.footer-companies-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-companies-list .footer-flag-img {
  flex-shrink: 0;
  margin-top: 0.15rem;
  border-radius: 2px;
  width: 22px;
  height: 16px;
  object-fit: cover;
}

.footer-company-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.footer-company-name {
  font-weight: 600;
  color: #e5e5e5;
  font-size: 0.85rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-company-address {
  font-size: 0.75rem;
  color: #737373;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 992px) {
  .footer-companies-list li {
    padding: 0.5rem 0;
  }
}

.footer-heading-toggle {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: default;
  text-align: left;
}

.footer-block-collapsible .footer-heading-chevron {
  display: none;
}

@media (max-width: 768px) {
  .footer-col-three {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }

  .footer-col-three .footer-block-collapsible {
    text-align: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: background 0.2s, border-color 0.2s;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }

  .footer-col-three .footer-block-collapsible:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .footer-block-collapsible .footer-heading-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 2.5rem;
    margin: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
  }

  .footer-block-collapsible .footer-heading-toggle:hover {
    color: var(--mmorpg-gold);
  }

  .footer-block-collapsible .footer-heading-toggle .footer-heading {
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
  }

  .footer-block-collapsible .footer-heading-toggle .footer-heading::after {
    display: none;
  }

  .footer-block-collapsible .footer-heading-chevron {
    display: inline-block;
    position: absolute;
    right: 1rem;
    font-size: 0.9rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
  }

  .footer-block-collapsible.is-open .footer-heading-chevron {
    transform: rotate(180deg);
  }

  .footer-block-collapsible .footer-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: center;
    padding: 0;
    margin: 0.5rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-block-collapsible .footer-list li {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 0;
    border-bottom: none;
  }

  .footer-block-collapsible .footer-list li:last-child {
    padding-bottom: 0;
  }

  .footer-block-collapsible .footer-list a {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    color: #b3b3b3;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }

  .footer-block-collapsible .footer-list a:hover {
    color: var(--mmorpg-gold);
    background: rgba(255, 255, 255, 0.04);
  }

  .footer-block-collapsible.is-open .footer-list {
    max-height: 500px;
  }
}

@media (max-width: 576px) {
  .footer-block-companies {
    width: 100%;
  }
  .footer-companies-list {
    margin-top: 0.5rem;
  }
  .footer-companies-list li {
    padding: 0.85rem 1rem;
    min-width: 0;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer-companies-list li:last-child {
    margin-bottom: 0;
  }
  .footer-company-name {
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .footer-company-name,
  .footer-company-address {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .footer-company-address {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #8a8a8a;
  }
  .footer-companies-list .footer-flag-img {
    margin-top: 0.2rem;
  }
}

.mmorpg-footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #555;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {

  .mmorpg-footer .mmorpg-footer-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }

  .mmorpg-footer .footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mmorpg-footer .footer-col-brand .footer-brand,
  .mmorpg-footer .footer-col-brand .footer-brand-logo {
    display: block;
    margin: 0 auto 0.75rem;
  }

  .mmorpg-footer .footer-col-brand .footer-logo-img {
    height: 44px;
  }

  .mmorpg-footer .footer-col-brand .footer-tagline {
    margin: 0 auto 1.5rem;
    max-width: 300px;
    font-size: 0.875rem;
    color: #6a6a6a;
    line-height: 1.65;
    text-align: center;
    font-style: italic;
  }

  .mmorpg-footer .footer-col-brand .footer-email-list {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 0.875rem;
    align-items: stretch;
    gap: 0.45rem;
  }

  .mmorpg-footer .footer-col-brand .footer-email-item {
    justify-content: flex-start;
    padding: 0.75rem 1.1rem;
    font-size: 0.875rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
  }

  .mmorpg-footer .footer-col-brand .footer-merchant-actions {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .mmorpg-footer .footer-col-brand .footer-merchant-actions .footer-help-center {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 0;
    max-width: none;
    min-height: 46px;
    gap: 0.5rem;
    box-sizing: border-box;
  }

  .mmorpg-footer .footer-col-three {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mmorpg-footer .footer-col-three .footer-block-collapsible {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid transparent;
    border-radius: 10px;
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    transition: background 0.2s, border-color 0.2s, border-left-color 0.2s;
  }

  .mmorpg-footer .footer-col-three .footer-block-collapsible:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.13);
  }

  .mmorpg-footer .footer-col-three .footer-block-collapsible.is-open {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(201, 162, 39, 0.25);
    border-left-color: rgba(201, 162, 39, 0.65);
  }

  .mmorpg-footer .footer-block-collapsible .footer-heading-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 1rem;
    margin: 0;
    background: transparent;
    border: none;
    color: #bbb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
  }

  .mmorpg-footer .footer-block-collapsible .footer-heading-toggle:hover {
    color: var(--mmorpg-gold);
  }

  .mmorpg-footer .footer-block-collapsible .footer-heading-toggle .footer-heading {
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
    flex: 1;
    display: block;
  }

  .mmorpg-footer .footer-block-collapsible .footer-heading-toggle .footer-heading::after {
    display: none;
  }

  .mmorpg-footer .footer-block-collapsible .footer-heading-chevron {
    display: inline-flex;
    position: static;
    right: auto;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    font-size: 0.72rem;
    transition: transform 0.25s ease, background 0.2s, color 0.2s;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.75rem;
  }

  .mmorpg-footer .footer-block-collapsible.is-open .footer-heading-chevron {
    transform: rotate(180deg);
    background: rgba(201, 162, 39, 0.15);
    color: var(--mmorpg-gold);
  }

  .mmorpg-footer .footer-block-collapsible .footer-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: left;
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.5rem;
  }

  .mmorpg-footer .footer-block-collapsible.is-open .footer-list {
    max-height: 1200px;
    padding: 0 0.75rem 1rem;
  }

  .mmorpg-footer .footer-block-collapsible .footer-list li {
    text-align: left;
    margin: 0;
    padding: 0;
    border: none;
  }

  .mmorpg-footer .footer-block-collapsible .footer-list a {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.65rem;
    color: #777;
    font-size: 0.82rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    min-height: 36px;
    line-height: 1.3;
    text-decoration: none;
  }

  .mmorpg-footer .footer-block-collapsible .footer-list a:hover {
    color: var(--mmorpg-gold);
    background: rgba(201, 162, 39, 0.07);
    border-color: rgba(201, 162, 39, 0.18);
  }

  .mmorpg-footer .footer-col-three .footer-block-companies .footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    grid-template-columns: unset;
  }

  .mmorpg-footer .footer-col-three .footer-block-companies.is-open .footer-list {
    padding: 0.25rem 0.75rem 0.75rem;
  }

  .mmorpg-footer .footer-companies-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
  }

  .mmorpg-footer .footer-companies-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.9rem 1rem 0.9rem 0.875rem;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 2px solid transparent;
    margin-bottom: 0;
    transition: background 0.2s, border-left-color 0.2s;
  }

  .mmorpg-footer .footer-companies-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0.9rem;
  }

  .mmorpg-footer .footer-companies-list li:first-child {
    padding-top: 0.9rem;
  }

  .mmorpg-footer .footer-companies-list li:hover {
    background: rgba(201, 162, 39, 0.04);
    border-left-color: rgba(201, 162, 39, 0.55);
  }

  .mmorpg-footer .footer-companies-list .footer-flag-img {
    flex-shrink: 0;
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    align-self: flex-start;
    margin-top: 0.1rem;
  }

  .mmorpg-footer .footer-company-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
  }

  .mmorpg-footer .footer-company-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #dcdcdc;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    letter-spacing: 0.02em;
  }

  .mmorpg-footer .footer-company-address {
    font-size: 0.7rem;
    color: #686868;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .mmorpg-footer .mmorpg-footer-bottom {
    padding: 0.875rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mmorpg-footer .mmorpg-footer-bottom p {
    font-size: 0.78rem;
    color: #3d3d3d;
    letter-spacing: 0.01em;
    margin: 0;
  }

  .mmorpg-footer .mmorpg-footer-list-game {
    padding: 1rem 1.5rem 0;
  }

  .mmorpg-footer .footer-list-game-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .mmorpg-footer .footer-list-game-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

}

@media (min-width: 769px) {
  .footer-block-companies .footer-heading-toggle {
    cursor: default;
    pointer-events: none;
  }

  .footer-block-companies .footer-heading-chevron {
    display: none;
  }

  .footer-block-companies .footer-companies-list {
    max-height: none !important;
    overflow: visible !important;
  }

  .footer-col-three {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.55fr;
    gap: 0 3rem;
    align-items: start;
  }

  .footer-col-three .footer-block {
    flex: unset;
    min-width: 0;
  }

  .footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-col-brand .footer-email-list {
    width: 100%;
  }

  .footer-col-brand .footer-merchant-actions {
    width: 100%;
  }

  .footer-list a {
    font-size: 0.875rem;
  }

  .footer-companies-list li {
    padding: 0.65rem 0;
  }
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .header-games-btn-icon,
  .header-search-toggle-btn,
  .header-nav-group {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: #111318;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4);
  }

  .mobile-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.55rem 0.25rem 0.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.18s, background 0.18s;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav-item i {
    font-size: 1.3rem;
    line-height: 1;
    transition: color 0.18s;
  }

  .mobile-bottom-nav-item:active,
  .mobile-bottom-nav-item:hover {
    color: var(--mmorpg-gold);
    background: rgba(201, 162, 39, 0.06);
  }

  .mobile-bottom-nav-item.is-active {
    color: var(--mmorpg-gold);
  }

  .mobile-bottom-nav-item.is-active i {
    filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.5));
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .mmorpg-header-inner {
    align-items: flex-start;
    gap: 0.85rem 1rem;
  }

  .header-left-group {
    margin-right: 0.5rem;
  }

  .header-nav-group {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: stretch;
  }

  .header-nav-group .header-game-search-wrap {
    max-width: none;
    width: 100%;
  }

  .header-game-search-form {
    min-width: 0;
  }

  .header-right-wrap {
    margin-left: auto;
    gap: 0.5rem;
    justify-content: flex-end;
  }
}

