/* ==========================================================================
   MODEX OFFICIAL STORE - MASTER PRODUCT CARDS & CATALOG GRID
   Strict Modex Brand Contract: Obsidian #0B0D12, Surface #141821, Purple #8B5CF6
   ========================================================================== */

/* Grid Layout for Store Cards */
.resource-grid,
.store-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 22px !important;
  margin-top: 24px !important;
  margin-bottom: 32px !important;
}

@media (min-width: 1200px) {
  .resource-grid,
  .store-cards-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .resource-grid,
  .store-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 580px) {
  .resource-grid,
  .store-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Master Product Card */
.store-product-card {
  background: #141821;
  border: 1px solid #252A36;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.store-product-card:hover {
  transform: translateY(-3px);
  border-color: #8B5CF6;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.6), 0 0 16px rgba(139, 92, 246, 0.2);
}

/* Media Thumbnail Container */
.store-card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0B0D12;
  overflow: hidden;
}

.store-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.store-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-product-card:hover .store-card-thumb {
  transform: scale(1.04);
}

.store-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0F131D;
  gap: 8px;
}

.store-placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B5CF6;
}

.store-placeholder-icon .icon {
  width: 32px;
  height: 32px;
}

.store-card-placeholder small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #959CAD;
}

/* Badges Overlay */
.store-card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.badge-store-free {
  background: rgba(139, 92, 246, 0.14);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #C4B5FD;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-store-paid {
  background: #8B5CF6;
  border: 1px solid #9D74FF;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.35);
}

.badge-store-paid .icon {
  width: 11px;
  height: 11px;
}

.badge-store-video {
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-store-video .icon {
  width: 12px;
  height: 12px;
  color: #EF4444;
}

/* Bookmark Action Button */
.store-card-bookmark {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 3;
}

[dir="rtl"] .store-card-bookmark {
  right: auto;
  left: 8px;
}

.store-card-bookmark .save-resource-button {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #959CAD;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.store-card-bookmark .save-resource-button .icon {
  width: 14px;
  height: 14px;
}

.store-card-bookmark .save-resource-button:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #A78BFA;
  border-color: #8B5CF6;
}

.store-card-bookmark .save-resource-button.is-saved {
  background: #8B5CF6;
  color: #FFFFFF;
  border-color: #9D74FF;
}

/* Card Body */
.store-card-body {
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta Pill Line */
.store-card-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
}

.store-game-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1;
}

.store-game-icon-mini {
  width: 13px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.store-game-tag.tag-fivem {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #F59E0B;
}

.store-game-tag.tag-mta {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #06B6D4;
}

.store-game-tag.tag-samp {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.25);
  color: #FB7185;
}

.store-game-tag.tag-minecraft {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10B981;
}

.store-game-tag.tag-roblox {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #A78BFA;
}

.store-cat-tag {
  color: #959CAD;
  font-weight: 500;
}

.store-rating-tag {
  margin-left: auto;
  color: #F59E0B;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.store-rating-tag .icon {
  width: 12px;
  height: 12px;
  fill: #F59E0B;
}

[dir="rtl"] .store-rating-tag {
  margin-left: 0;
  margin-right: auto;
}

/* Product Title */
.store-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px 0;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-title a {
  color: #F4F6FB;
  text-decoration: none;
  transition: color 0.15s;
}

.store-card-title a:hover {
  color: #A78BFA;
}

/* Seller / Verified Line */
.store-card-seller {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #959CAD;
  margin-bottom: 12px;
}

.seller-badge-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #959CAD;
}

.seller-badge-verified .icon {
  width: 13px;
  height: 13px;
  color: #8B5CF6;
  flex-shrink: 0;
}

.store-card-downloads {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748B;
  font-weight: 600;
}

.store-card-downloads .icon {
  width: 12px;
  height: 12px;
}

/* Card Footer */
.store-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #252A36;
  gap: 10px;
}

.store-card-price-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-price-amount {
  font-size: 15px;
  font-weight: 800;
  color: #F4F6FB;
  letter-spacing: -0.01em;
}

.store-price-free {
  font-size: 14px;
  font-weight: 800;
  color: #A78BFA;
  letter-spacing: 0.04em;
}

.store-price-sub {
  font-size: 10px;
  color: #64748B;
  margin-top: 2px;
}

/* CTA Buttons */
.store-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.store-card-cta .icon {
  width: 13px;
  height: 13px;
}

.store-card-cta.cta-free {
  background: #1B2230;
  border: 1px solid #303848;
  color: #E2E8F0;
}

.store-card-cta.cta-free:hover {
  background: #8B5CF6;
  border-color: #9D74FF;
  color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.store-card-cta.cta-buy {
  background: #8B5CF6;
  border: 1px solid #9D74FF;
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
}

.store-card-cta.cta-buy:hover {
  background: #9D74FF;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}


/* ==========================================================================
   STOREFRONT GUARANTEE STRIP (CALM MODEX BRAND TOKENS)
   ========================================================================== */
.store-guarantee-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 32px 0 !important;
  padding: 18px 22px !important;
  background: #141821 !important;
  border: 1px solid #252A36 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 992px) {
  .store-guarantee-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .store-guarantee-strip {
    grid-template-columns: 1fr !important;
  }
}

.guarantee-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.guarantee-icon-wrap {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  background: rgba(139, 92, 246, 0.12) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #A78BFA !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.guarantee-icon-wrap .icon {
  width: 18px !important;
  height: 18px !important;
}

.guarantee-item strong {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  margin-bottom: 2px !important;
}

.guarantee-item small {
  display: block !important;
  font-size: 11px !important;
  color: #959CAD !important;
}


/* ==========================================================================
   STORE CATALOG BANNER & FAST GAME SWITCHER
   ========================================================================== */
.store-catalog-hero {
  margin-bottom: 28px;
}

.store-catalog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A78BFA;
  margin-bottom: 8px;
}

.store-catalog-eyebrow .icon {
  width: 14px;
  height: 14px;
}

.store-catalog-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.store-catalog-sub {
  font-size: 14px;
  color: #959CAD;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

/* 5-Game Quick Switcher Pills */
.store-game-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.store-game-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #141821;
  border: 1px solid #252A36;
  border-radius: 8px;
  padding: 8px 16px;
  color: #959CAD;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.store-game-pill:hover {
  background: #1B2230;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.16);
}

.store-game-pill.is-active {
  background: rgba(139, 92, 246, 0.15);
  border-color: #8B5CF6;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.store-pill-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-game-pill:hover .store-pill-icon {
  transform: scale(1.12);
}

.store-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.store-pill-dot.all { background: #CBD5E1; }
.store-pill-dot.fivem { background: #F59E0B; }
.store-pill-dot.mta { background: #06B6D4; }
.store-pill-dot.samp { background: #EC4899; }
.store-pill-dot.minecraft { background: #10B981; }
.store-pill-dot.roblox { background: #8B5CF6; }

/* ==========================================================================
   USER HEADER SUITE (Avatar with Online Dot, Shopping Cart, Crypto Wallet)
   Matches media_1794329067008_f2cf5657.png
   ========================================================================== */
.user-header-suite,
.guest-header-suite {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

.guest-header-suite .header-cart-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

[dir="rtl"] .guest-header-suite .auth-actions {
  padding-left: 0 !important;
  padding-right: 14px !important;
  border-left: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 1. User Avatar Dropdown */
.header-avatar-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-avatar-dropdown summary {
  list-style: none !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  outline: none;
}

.header-avatar-dropdown summary::-webkit-details-marker,
.header-avatar-dropdown summary::marker {
  display: none !important;
}

.user-avatar-circle-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #8B5CF6;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.header-avatar-dropdown summary:hover .user-avatar-img {
  transform: scale(1.05);
  border-color: #A78BFA;
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.55);
}

.user-avatar-status-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #38BDF8;
  border: 2px solid #0B0D12;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
  pointer-events: none;
}

[dir="rtl"] .user-avatar-status-dot {
  right: auto;
  left: -1px;
}

/* 2. Shopping Cart Button */
.header-cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F4F6FB;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.header-cart-btn:hover {
  background: #1B2230;
  border-color: rgba(139, 92, 246, 0.45);
  color: #A78BFA;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-cart-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: block;
}

.header-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background: #8B5CF6 !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 19px !important;
  border-radius: 999px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B0D12 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

[dir="rtl"] .header-cart-badge {
  right: auto;
  left: -5px;
}

/* 3. Crypto Wallet Pill */
.header-crypto-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #141824 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px;
  padding: 6px 14px 6px 8px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.header-crypto-wallet-pill:hover {
  background: #1B2230 !important;
  border-color: rgba(139, 92, 246, 0.45) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.crypto-usdt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crypto-usdt-icon svg {
  display: block;
}

.crypto-wallet-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

[dir="rtl"] .crypto-wallet-info {
  text-align: right;
}

.crypto-wallet-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.header-crypto-wallet-pill:hover .crypto-wallet-label {
  color: #CBD5E1 !important;
}

.crypto-wallet-balance {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  line-height: 1.25 !important;
  letter-spacing: -0.3px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Dropdown Menu Positioning for Header Avatar & Notification Menus */
body > header.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
}

.header-avatar-dropdown .account-menu,
.account-dropdown .account-menu,
#site-notif-menu {
  z-index: 100000 !important;
}

.header-avatar-dropdown .account-menu {
  top: calc(100% + 12px) !important;
  right: 0 !important;
  left: auto !important;
}

[dir="rtl"] .header-avatar-dropdown .account-menu {
  left: 0 !important;
  right: auto !important;
}

/* Modex Pro Avatar Dropdown Menu (Strictly 4 Clean Items) */
.header-avatar-dropdown .account-menu {
  width: 230px !important;
  background: #12141e !important;
  border: 1px solid #282a3a !important;
  border-radius: 10px !important;
  padding: 8px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.12) !important;
}

.account-menu-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 10px 10px !important;
  border-bottom: 1px solid #232736 !important;
  margin-bottom: 6px !important;
}

.account-menu-heading strong {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 130px !important;
}

.account-role-badge-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #cfb9f4 !important;
  background: #231934 !important;
  border: 1px solid #473557 !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  text-transform: capitalize !important;
}

.account-menu > a,
.account-menu button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 9px 10px !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  color: #c4c2d3 !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

.account-menu > a .icon,
.account-menu button .icon {
  width: 16px !important;
  height: 16px !important;
  color: #a78bfa !important;
  flex-shrink: 0 !important;
}

.account-menu > a:hover {
  background: #1c182b !important;
  color: #ffffff !important;
}

.account-menu > a:hover .icon {
  color: #c4b5fd !important;
}

.account-menu form {
  margin: 6px 0 0 !important;
  padding: 6px 0 0 !important;
  border-top: 1px solid #232736 !important;
}

.account-menu form button {
  color: #9ca3af !important;
}

.account-menu form button:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #fca5a5 !important;
}

.account-menu form button:hover .icon {
  color: #ef4444 !important;
}

/* Responsiveness */
@media (max-width: 800px) {
  .user-header-suite {
    gap: 8px;
  }
  .header-crypto-wallet-pill {
    padding: 5px 10px 5px 6px;
  }
  .crypto-wallet-label {
    display: none;
  }
  .crypto-wallet-balance {
    font-size: 12px;
  }
  .user-avatar-circle-wrap,
  .user-avatar-img {
    width: 36px;
    height: 36px;
  }
  .header-cart-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .crypto-wallet-balance {
    display: none;
  }
  .header-crypto-wallet-pill {
    padding: 6px;
    border-radius: 12px;
  }
}

/* ==========================================================================
   MINIMALIST FOOTER SOCIAL & SUPPORT ICONS
   Replaces text links with Discord, YouTube, and Support Icons
   ========================================================================== */
footer .footer-actions-col,
.home-discovery footer .footer-actions-col {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
}

[dir="rtl"] footer .footer-actions-col,
[dir="rtl"] .home-discovery footer .footer-actions-col {
  justify-content: flex-start !important;
}

.footer-social-icons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.footer-icon-btn {
  width: 44px !important;
  height: 44px !important;
  background: #141824 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94A3B8 !important;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  flex-shrink: 0;
}

.footer-icon-svg {
  display: block;
  transition: transform 0.2s ease;
}

/* Discord hover */
.footer-discord-btn:hover {
  background: #5865F2 !important;
  border-color: #5865F2 !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.45) !important;
}

.footer-discord-btn:hover .footer-icon-svg {
  transform: scale(1.1);
}

/* YouTube hover */
.footer-youtube-btn:hover {
  background: #FF0000 !important;
  border-color: #FF0000 !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.45) !important;
}

.footer-youtube-btn:hover .footer-icon-svg {
  transform: scale(1.1);
}

/* Support hover (Modex purple) */
.footer-support-btn:hover {
  background: #8B5CF6 !important;
  border-color: #8B5CF6 !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.45) !important;
}

.footer-support-btn:hover .footer-icon-svg {
  transform: scale(1.1);
}

@media (max-width: 800px) {
  footer .footer-actions-col,
  .home-discovery footer .footer-actions-col {
    justify-content: center !important;
    margin-top: 16px !important;
  }
}



/* Full-Width Elegant Header Alignment - No Squeezed 1060px Box */
header/* --- BuiltByBit Inspired Contained Header & Cohesive Layout --- */
.site-header,
.home-discovery header.site-header {
  padding-left: max(24px, calc((100vw - 1320px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1320px) / 2)) !important;
  min-height: 64px !important;
  height: 64px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  gap: 20px !important;
  background: rgba(14, 16, 23, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid #1E2330 !important;
}

[dir="rtl"] .site-header,
[dir="rtl"] .home-discovery header.site-header {
  padding-left: max(24px, calc((100vw - 1320px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1320px) / 2)) !important;
}

header.site-header .brand {
  margin-left: 0 !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 22px !important;
}

header.site-header #site-navigation {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: 14px !important;
  margin-right: 0 !important;
}

[dir="rtl"] header.site-header #site-navigation {
  margin-left: 0 !important;
  margin-right: 14px !important;
}

header.site-header #site-navigation > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 6px 13px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  white-space: nowrap !important;
}

header.site-header #site-navigation > a .icon {
  width: 15px !important;
  height: 15px !important;
  color: #64748B !important;
  transition: color 0.15s ease !important;
}

header.site-header #site-navigation > a:hover {
  color: #FFFFFF !important;
  background: #171C28 !important;
  border-color: #273044 !important;
}

header.site-header #site-navigation > a:hover .icon {
  color: #A78BFA !important;
}

/* BuiltByBit-style active tab box */
header.site-header #site-navigation > a.active {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  background: #192032 !important;
  border-color: #333F5E !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

header.site-header #site-navigation > a.active .icon {
  color: #A78BFA !important;
}

header.site-header .account-nav {
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

[dir="rtl"] header.site-header .account-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* Custom Sleek Dark Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #0B0D12;
}
::-webkit-scrollbar-thumb {
  background: #232938;
  border-radius: 5px;
  border: 2px solid #0B0D12;
}
::-webkit-scrollbar-thumb:hover {
  background: #8B5CF6;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #232938 #0B0D12;
}
