:root {
  /* ── 1. NỀN & BỀ MẶT CẤU TRÚC ── */
  --color-bg: #090A12;
  /* 1. Nền chính toàn trang */
  --color-bg2: #111525;
  /* 2. Nền khu vực (Header, Footer, Topbar) */
  --color-bg3: #161b30;
  /* Nền sâu cấp 3 */
  --color-surface: #111525;
  /* Khối bề mặt thanh điều hướng */
  --color-surface2: #1a2035;
  /* Bề mặt khi hover / Table header */
  --color-card: #20263A;
  /* 5. Card / Container chính */
  --color-card-hover: #272f48;
  /* Card khi rê chuột */
  --color-border: rgba(139, 25, 255, 0.25);
  --color-border-subtle: rgba(161, 161, 181, 0.15);
  --color-bg-primary: #090A12;
  --color-bg-secondary: #111525;
  --bg: #090A12;

  /* ── 2. TÍM THƯƠNG HIỆU & MÀU PHỤ TRỢ ── */
  --color-primary: #8B19FF;
  /* 3. Tím thương hiệu chủ đạo */
  --color-primary-rgb: 139, 25, 255;
  --color-primary-light: #A855F7;
  /* 4. Tím phụ (hover, ánh sáng phát quang) */
  --color-primary-dark: #6d10c7;
  /* Tím đậm (active, viền có chiều sâu) */
  --color-primary-d: #6d10c7;
  /* Alias tương thích */
  --color-primary-hover: #A855F7;
  --color-primary-active: #6d10c7;
  --color-primary-glow: rgba(139, 25, 255, 0.45);
  --color-primary-glow-lg: 0 0 30px rgba(139, 25, 255, 0.65);
  --color-primary-bg: rgba(139, 25, 255, 0.12);
  --color-primary-border: rgba(139, 25, 255, 0.35);
  --color-accent: #A855F7;
  /* Tím phụ điểm nhấn */
  --color-blue: #38BDF8;
  --color-purple: #A855F7;

  /* ── 3. HỆ THỐNG MÀU CHỮ & ĐỘ TƯƠNG PHẢN (SÁNG RÕ TRÊN NỀN TỐI) ── */
  --color-text-bright: #FFFFFF;
  /* 6. Chữ chính (Heading, Tiêu đề) */
  --color-white: #FFFFFF;
  --color-text: #FFFFFF;
  /* Chữ hiển thị nổi bật trên nền tối */
  --color-text-dim: #A1A1B5;
  /* 7. Chữ phụ (Mô tả, nhãn phụ, ngày tháng) */
  --color-placeholder: #73738c;
  --nc: #FFFFFF;

  /* ── 4. TRẠNG THÁI & ĐIỂM NHẤN ĐẶC BIỆT ── */
  --color-status-online: #22C55E;
  /* 8. Trạng thái hoạt động (Server Online) */
  --color-green: #22C55E;
  --color-success: #22C55E;

  --color-highlight: #F59E0B;
  /* 9. Nhấn mạnh (Sao VIP, Vương miện, Hot) */
  --color-gold: #F59E0B;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  /* Cảnh báo lỗi / Server Offline */
  --color-info: #38BDF8;

  /* ── 5. MÀU CÁC DÒNG GAME MMORPG ── */
  --jx-color: #8B19FF;
  --kt-color: #22C55E;
  --sro-color: #38BDF8;
  --jx2-color: #A855F7;
  --gunny-color: #EF4444;
  --mobile-color: #06B6D4;
  --ktmobile-color: #14B8A6;

  /* ── 6. BO GÓC & ĐỔ BÓNG ESPORTS ── */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.6);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 24px rgba(139, 25, 255, 0.45);
  --shadow-glow-lg: 0 0 36px rgba(139, 25, 255, 0.65);

  /* ── 7. CHUYỂN ĐỘNG & FONT ── */
  --transition: 0.25s ease;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Roboto', sans-serif;
  --font-heading: 'Oswald', sans-serif;

  /* ── UNIFIED DESIGN TOKEN & LAYOUT API (PLAYRADARX MULTI-DEVICE UNIFICATION) ── */
  --prx-container-max: 1240px;
  --prx-sidebar-w: 300px;
  --prx-gutter: clamp(12px, 1.5vw, 24px);

  /* Fluid Typography API */
  --prx-fs-hero: clamp(1.35rem, 2.2vw + 0.6rem, 2.5rem);
  --prx-fs-section: clamp(1.1rem, 1.3vw + 0.5rem, 1.75rem);
  --prx-fs-card-title: clamp(0.95rem, 0.8vw + 0.4rem, 1.25rem);
  --prx-fs-body: clamp(0.85rem, 0.4vw + 0.5rem, 1.05rem);
  --prx-fs-meta: clamp(0.72rem, 0.3vw + 0.45rem, 0.9rem);

  /* Unified Card & Component API */
  --prx-card-radius: 12px;
  --prx-card-radius-sm: 8px;
  --prx-card-padding: clamp(12px, 1.2vw, 20px);
  --prx-card-border: 1px solid rgba(139, 25, 255, 0.22);
  --prx-card-bg: rgba(32, 38, 58, 0.85);
  --prx-card-hover-border: 1px solid rgba(139, 25, 255, 0.55);
  --prx-card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 25, 255, 0.25);

  /* ── 8. HỆ THỐNG SIZING CHUẨN HÓA (SCALE TOKENS) ── */
  --fs-xs:    0.714rem;  /* 10px */
  --fs-sm:    0.786rem;  /* 11px */
  --fs-base:  0.857rem;  /* 12px */
  --fs-md:    0.929rem;  /* 13px */
  --fs-lg:    1rem;      /* 14px */
  --fs-xl:    1.143rem;  /* 16px */
  --fs-2xl:   1.429rem;  /* 20px */
  --fs-3xl:   1.714rem;  /* 24px */

  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  12px;
  --sp-lg:  18px;
  --sp-xl:  24px;
  --sp-2xl: 36px;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.55;
  /* overflow-x: hidden removed per Zero Overflow standard */
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-white);
}

::-webkit-scrollbar-track {
  background: var(--color-bg2);
}

/* ===== MAIN NAV ===== */
.main-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  top: 0;
  z-index: 900;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  z-index: 200;
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: var(--color-text);
  font-size: 13px;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.dropdown li a:hover {
  background: rgba(139, 25, 255, 0.1);
  color: var(--color-primary);
  padding-left: 24px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 9px;
}

.section-header h2 i {
  color: var(--color-primary);
  font-size: 18px;
}

.section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
  border-radius: 2px;
}

.see-all {
  margin-left: auto;
  font-size: 13px;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-shrink: 0;
}

.see-all:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.cat-info h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2px;
}

.cat-info p {
  font-size: 12px;
  color: var(--color-text-dim);
}

.filter-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--color-surface);
  color: var(--color-text-dim);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-tab.active {
  background: var(--color-primary);
  color: #ffffff !important;
  border-color: var(--color-primary);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.server-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.server-game-badge {
  color: var(--color-text);
  letter-spacing: 0.3px;
}

.server-status.open {
  background: rgba(46, 204, 113, 0.15);
  color: var(--color-green);
}

.server-status.alpha {
  background: rgba(139, 25, 255, 0.15);
  color: var(--color-primary);
}

.server-status.beta {
  background: rgba(52, 152, 219, 0.15);
  color: var(--color-blue);
}

.server-name a {
  color: var(--color-white);
}

.server-name a:hover {
  color: var(--color-primary);
}

.server-meta span {
  font-size: 12px;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.server-meta span i {
  color: var(--color-primary);
  font-size: 10px;
}

.server-desc {
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stag-free {
  background: rgba(46, 204, 113, 0.15);
  color: var(--color-green);
}

.stag-new {
  background: rgba(52, 152, 219, 0.15);
  color: var(--color-blue);
}

.server-card-footer {
  display: flex;
  border-top: 1px solid var(--color-border);
}

.upcoming-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.upcoming-time {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 40px;
}

.upcoming-info a {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text);
  display: block;
}

.upcoming-info a:hover {
  color: var(--color-primary);
}

.rank {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--color-surface2);
  color: var(--color-text-dim);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-server-info a {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text);
  display: block;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-server-info a:hover {
  color: var(--color-primary);
}

.top-players {
  font-size: 10px;
  color: var(--color-text-dim);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.top-players i {
  color: var(--color-green);
  font-size: 9px;
}

.filter-form label {
  font-size: 12px;
  color: var(--color-text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-form select {
  padding: 8px 10px;
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.filter-form select:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* Stats Widget */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
}

.stat-item {
  background: var(--color-surface);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num-big {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label-small {
  font-size: 11px;
  color: var(--color-text-dim);
}

/* Ad Widget */
.ad-placeholder {
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  color: var(--color-text-dim);
  min-height: 120px;
  justify-content: center;
  border: 2px dashed var(--color-border);
  margin: 12px;
  border-radius: var(--radius);
}

.newsletter-form {
  display: flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 13px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--color-text-dim);
}

.newsletter-form button {
  padding: 9px 14px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-size: 14px;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: var(--color-primary-d);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: #ffffff !important;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 500;
}

.back-to-top:hover {
  background: var(--color-primary-d);
  transform: translateY(-2px);
}

.ad-label {
  font-size: 9px;
  color: var(--color-text-dim);
  text-align: center;
  margin-bottom: 3px;
  opacity: 0.6;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ad-placeholder-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  height: 300px;
  max-height: 460px;
  background: var(--color-surface);
  border: 2px dashed rgba(139, 25, 255, 0.4);
  border-radius: 6px;
  padding: 16px 8px;
  text-align: center;
  color: var(--color-text-dim);
  font-size: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ad-placeholder-float:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.ad-placeholder-float i {
  font-size: 28px;
  color: var(--color-primary);
  opacity: 0.7;
}

.ad-placeholder-float span {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
}

/* Sidebar ad placeholder (COMPACT) */
.ad-placeholder-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 180px;
  padding: 14px 10px;
  text-align: center;
  background: var(--color-bg3);
  border: 2px dashed rgba(139, 25, 255, 0.35);
  border-radius: var(--radius);
  color: var(--color-text-dim);
  font-size: 11px;
  transition: all 0.2s;
  text-decoration: none;
  width: 100%;
}

.ad-placeholder-sidebar:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.ad-price-hint {
  font-size: 11px;
  color: var(--color-primary);
  opacity: 0.8;
}

/* ===== SEARCH DROPDOWN ===== */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  display: none;
  z-index: 500;
  max-height: 320px;
  overflow-y: auto;
}

.sd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.15s;
  text-decoration: none;
}

.sd-name {
  flex: 1;
  font-size: 13px;
  color: var(--color-text);
}

.contact-method-btn i {
  font-size: 13px;
  color: var(--color-primary);
}

.ad-note-box {
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.ad-note-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ad-note-box h4 i {
  color: var(--color-primary);
}

.ad-note-box li {
  font-size: 13px;
  color: var(--color-text-dim);
}

/* ===== FILTER FORM ON CATEGORY PAGE ===== */
.filter-search-input,
.filter-select {
  padding: 7px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
}

.filter-search-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-dim);
}

.empty-state a {
  color: var(--color-primary);
}

/* ===== SEARCH BIG FORM ===== */
.search-form-big {
  display: flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  max-width: 600px;
}

.search-form-big input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--color-text);
  font-size: 15px;
  outline: none;
}

.search-form-big button {
  padding: 12px 20px;
  background: var(--color-primary);
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-form-big button:hover {
  background: var(--color-primary-d);
}

/* ===================================================
   PAGE HERO — dùng cho trang category, server-detail
=================================================== */
.page-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--color-primary);
  background: rgba(139, 25, 255, 0.07);
  flex-shrink: 0;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-dim);
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 8px rgba(139, 25, 255, 0.5);
}

.breadcrumb span,
.breadcrumb .breadcrumb-current {
  color: var(--color-primary);
  font-weight: 600;
}

/* ===================================================
   PAGE FILTER BAR — category page
=================================================== */
.page-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.filter-tabs-form .filter-tab {
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tabs-form .filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-tabs-form .filter-tab.active {
  background: var(--color-primary);
  color: #ffffff !important;
  border-color: var(--color-primary);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.filter-search-input {
  padding: 8px 12px;
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
  min-width: 180px;
  transition: border-color var(--transition);
  font-family: var(--font-main);
}

.filter-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.filter-search-input::placeholder {
  color: var(--color-text-dim);
}

.filter-select {
  padding: 8px 28px 8px 10px;
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%238888aa' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.sdi-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--color-text-dim);
}

.sdi-item i {
  color: var(--color-primary);
  font-size: 11px;
}

.sdi-item span {
  color: var(--color-text-dim);
}

/* ===================================================
   EMPTY STATE
=================================================== */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  color: var(--color-text-dim);
}

.empty-state a {
  color: var(--color-primary);
}

.empty-state a:hover {
  color: var(--color-white);
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.page-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.page-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  pointer-events: none;
}

.user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
  transition: all var(--transition);
}

.user-profile-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 20px;
  background: var(--color-surface, #141824);
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text, #a0aec0);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.cat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c, var(--color-primary));
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  z-index: 2;
}

.cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px -4px var(--c, var(--color-primary));
  background: var(--color-surface2, #1d2333);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 50%, var(--c, var(--color-primary)) 0%, transparent 75%);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--c, var(--color-primary));
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.cat-card:hover .cat-icon {
  background: var(--c, var(--color-primary));
  color: #000;
  border-color: var(--c, var(--color-primary));
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cat-info h3 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-white, #ffffff);
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.cat-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--c, var(--color-primary));
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0.5;
}

.cat-card:hover .cat-arrow {
  opacity: 1;
  background: var(--c, var(--color-primary));
  color: #000;
  border-color: var(--c, var(--color-primary));
  transform: translateX(2px);
}

.ad-sidebar-img:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 22px rgba(139, 25, 255, 0.4);
}

.top-ad-dot.active {
  width: 20px;
  height: 6px;
  border-radius: 10px;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(139, 25, 255, 0.6);
}

.fp-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.fp-badge-text strong {
  font-size: 13px;
  color: var(--color-white);
  font-family: var(--font-heading);
  letter-spacing: .3px;
}

.fp-badge-text small {
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.3;
}

.fp-badge-arrow {
  font-size: 11px;
  color: var(--color-primary);
  opacity: 0.6;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.sub-cat-card {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-top: 3px solid var(--c, var(--color-primary)) !important;
  border-radius: var(--radius) !important;
  padding: 14px 12px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  color: var(--color-text) !important;
}

.sub-cat-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  background: var(--color-surface2) !important;
  color: var(--color-white) !important;
}

.sub-cat-card i {
  font-size: 22px !important;
  color: var(--c, var(--color-primary)) !important;
}

.sub-cat-card span {
  font-family: var(--font-heading);
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--color-white) !important;
}

.sub-cat-card small {
  font-size: 11px !important;
  color: var(--color-text-dim) !important;
}

/* ── Server card meta — dùng FA icons đúng ─────── */
.server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 12px;
  color: var(--color-text-dim);
}

.server-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-text-dim);
}

.server-meta i {
  color: var(--color-primary);
  font-size: 11px;
  width: 14px;
  text-align: center;
}

.sdi-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-text-dim);
}

.sdi-item i {
  color: var(--color-primary);
  font-size: 11px;
  width: 13px;
  text-align: center;
}

.sdi-item span {
  font-weight: 600;
  color: var(--color-text);
  margin-right: 2px;
}

.page-hero-icon {
  width: 60px !important;
  height: 60px !important;
  font-size: 26px !important;
  border-radius: 12px !important;
  border: 2px solid var(--hero-color, var(--color-primary)) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 26px !important;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 5px;
}

/* ── Filter bar layout ───────────────────────────── */
.page-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.filter-search-input {
  padding: 7px 12px;
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
  width: 160px;
}

.filter-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.filter-select {
  padding: 7px 10px;
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 13px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 8px rgba(139, 25, 255, 0.5);
}

.breadcrumb>span.breadcrumb-current,
.breadcrumb>span:last-child {
  color: var(--color-primary);
  font-weight: 600;
}

.user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(139, 25, 255, 0.1);
  border: 1px solid rgba(139, 25, 255, 0.3);
  border-radius: 6px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.user-profile-btn:hover {
  background: rgba(139, 25, 255, 0.2);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.auth-tab h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--color-text-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-tab h2 i {
  color: var(--color-primary);
}

.auth-footer {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 212, 232, 0.1);
  font-size: 0.9rem;
  color: var(--color-text);
}

.auth-footer .link-primary {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* ── Meta tác giả/normal .normal-meta-item (category.ejs, server-detail.ejs) ── */
.normal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-text-dim);
}

/* ── Tên tác giả nhạt .normal-author (category.ejs, server-detail.ejs) ── */
.normal-author {
  font-size: 11px;
  font-style: italic;
  color: var(--color-text-dim);
  opacity: 0.85;
}

/* ── Khối nhãn/giá trị .cd-info-item (admin/contacts/detail.ejs:34) ── */
.cd-info-item {
  background: var(--color-bg3);
  padding: 10px 12px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

/* ── Checkbox chọn liên hệ .contact-checkbox (admin/contacts/list.ejs:69) ── */
.contact-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* ── Gợi ý ảnh trong bảng admin .td-image-hint (admin/ads/index.ejs:91) ── */
.td-image-hint {
  font-size: 11px;
  color: var(--color-text-dim);
}

/* ── Ô xem trước màu danh mục .cat-color-preview (admin/categories/index.ejs:77) ── */
.cat-color-preview {
  display: inline-block;
  width: 40px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

/* ── Icon danh mục .cat-icon-el (admin/categories/index.ejs:74) ── */
.cat-icon-el {
  font-size: 20px;
  color: var(--color-primary);
}

.normal-server-title a:hover {
  color: var(--color-primary, #ffb300);
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-text-bright);
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(139, 25, 255, 0.2);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--color-primary);
  min-width: 40px;
  text-align: center;
}

.stat-number {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-text-bright);
}

.stat-text {
  color: var(--color-text);
  font-size: 0.85rem;
}

.settings-tab-btn.active {
  color: #ffffff !important;
  background: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.3);
}

.pw-sub-tab-btn.active {
  color: #ffffff !important;
  background: var(--color-primary) !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.35);
}

.submit-sidebar-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(139, 25, 255, 0.2);
  border-radius: 8px;
  padding: 16px;
}

.submit-sidebar-card h4 {
  font-size: 0.95rem;
  color: var(--color-text-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.submit-sidebar-card h4 i {
  color: var(--color-primary);
}

.server-form {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(139, 25, 255, 0.2);
  border-radius: 12px;
  padding: 32px;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: var(--color-bg-primary);
  border: 2px solid rgba(212, 212, 232, 0.1);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  flex-wrap: wrap;
}

.editor-toolbar button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text);
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.editor-toolbar button:hover {
  background: rgba(139, 25, 255, 0.1);
  border-color: rgba(139, 25, 255, 0.3);
  color: var(--color-primary);
}

.editor-toolbar button:active {
  background: rgba(139, 25, 255, 0.2);
  border-color: var(--color-primary);
}

.editor-content {
  width: 100% !important;
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden !important;
  display: block;
  background: var(--color-bg-primary) !important;
  border: 2px solid rgba(212, 212, 232, 0.1) !important;
  border-top: none;
  border-radius: 0 0 6px 6px;
  color: var(--color-text) !important;
  padding: 12px;
  line-height: 1.6;
  box-sizing: border-box !important;
  outline: none;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.editor-content:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(139, 25, 255, 0.1) !important;
}

.normal-server-title a:hover {
  color: var(--color-primary, #ffb300);
}

.page-hero-icon {
  border-color: var(--cat-theme-color, var(--color-primary));
  color: var(--cat-theme-color, var(--color-primary));
}

.page-hero-meta-accent {
  color: var(--cat-theme-color, var(--color-primary));
}

.server-card-header {
  background: var(--cat-header-bg, #16162a);
  border-bottom: 2px solid var(--cat-theme-color, var(--color-primary));
}

.normal-title-wrap i {
  color: var(--color-primary, var(--color-primary));
  font-size: 15px;
}

.normal-server-title a:hover {
  color: var(--color-primary, #ffb300);
}

.user-servers-table .col-title a:hover {
  color: var(--color-primary);
}

.srv-table-search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(139, 25, 255, 0.15);
}

.srv-page-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
}

.contact-method-btn:hover {
  background: rgba(139, 25, 255, 0.15) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  transform: translateX(4px) !important;
}

/* ==============================================================================
   PLAYRADARX — LIGHT THEME DESIGN TOKENS ([data-theme="light"])
   Cung cấp giá trị biến màu sắc cho chế độ Eye-Comfort Soft Platinum
   ============================================================================== */
html[data-theme="light"],
body[data-theme="light"] {
  --color-bg: #e6e9ee;
  --color-bg2: #ffffff;
  --color-bg3: #f1f5f9;
  --color-surface: #ffffff;
  --color-surface2: #f1f5f9;
  --color-card: #ffffff;
  --color-card-hover: #f8fafc;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-border-subtle: rgba(0, 0, 0, 0.08);
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f1f5f9;
  --bg: #e6e9ee;

  --color-text: #1e293b;
  --color-text-main: #0f172a;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-text-bright: #0f172a;
  --color-white: #0f172a;
  --nc: #1e293b;

  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 26px rgba(15, 23, 42, 0.09);

  /* Modern.css Tokens */
  --mx-bg-base: #e6e9ee;
  --mx-bg-elevated: #ffffff;
  --mx-bg-surface: #ffffff;
  --mx-bg-card: #ffffff;
  --mx-bg-glass: rgba(255, 255, 255, 0.94);
  --mx-border-subtle: #cbd5e1;
  --mx-border-glow: rgba(2, 132, 199, 0.3);
  --mx-border-vip: rgba(139, 25, 255, 0.6);
  --mx-text-primary: #0f172a;
  --mx-text-secondary: #334155;
  --mx-text-muted: #64748b;
  --mx-text-gold: #b45309;
  --mx-shadow-card: 0 2px 10px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --mx-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.09), 0 0 14px rgba(139, 25, 255, 0.2);
  --mx-shadow-vip: 0 6px 20px rgba(139, 25, 255, 0.18);
}

/* ── MODULE: base/reset.css (742 dòng) ── */
/* ===================================================
   PLAYRADARX — Main Stylesheet
   Theme: Dark Gaming / Vietnamese MMORPG Portal
=================================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}

li {
  list-style: none !important;
  list-style-type: none !important;
}

li::marker,
ul::marker,
ol::marker {
  display: none !important;
  content: "" !important;
}

html {
  scroll-behavior: smooth;
}

/* Chuẩn Accessibility: Hiển thị focus indicator rõ ràng khi điều hướng bàn phím */
:focus-visible {
  outline: 2px solid var(--color-primary) !important;
  outline-offset: 2px !important;
}

/* Utility */
.hidden {
  display: none !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: #3b4252;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4c566a;
}

/* ===== UNIFIED FIXED HEADER & NAV (INTEGRATED) ===== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #11141d !important;
  border-bottom: 2px solid var(--color-primary) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  padding: 12px 0 !important;
}

/* 2. NÚT THÔNG TIN TÀI KHOẢN (HÌNH 1: [👤 admin]) */
.site-header .user-profile-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 16px !important;
  background: #1e2330 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

/* ── USER DROPDOWN XỔ XUỐNG ────────────────────────────── */
.site-header .user-dropdown-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.site-header .user-dropdown-body {
  padding: 6px 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* ===== MAIN LAYOUT ===== */
.main-content {
  padding: 28px 0 40px;
}

/* ===== SECTION HEADERS ===== */
.section {
  margin-bottom: 36px;
}

/* ===== CATEGORIES GRID ===== */
/* Note: Main responsive .categories-grid & .cat-card styles are defined in HOMEPAGE CARD STYLES section below */

.cat-info {
  z-index: 1;
}

/* Legacy .cat-arrow absolute position removed — using flexbox flow in HOMEPAGE CARD STYLES */

/* Category-specific colors */
.cat-jx {
  border-left: 3px solid var(--jx-color);
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* ===== SERVER CARDS ===== */
.server-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.server-card-body {
  padding: 14px;
  flex: 1;
}

/* Upcoming */
.upcoming-list {
  padding: 4px 0;
}

/* Top Server */
.top-server-list {
  padding: 2px 0;
}

/* Filter Widget */
.filter-form {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== HIDDEN (filter) ===== */
.server-card.hidden {
  display: none;
}

/* ===== AD SYSTEM STYLES ===== */
.ad-bar.ad-top {
  background: #08080e;
  border-bottom: 1px solid rgba(139, 25, 255, 0.2);
  padding: 10px 0;
  text-align: center;
}

/* Widescreen Banner Strip (728x90 Frame Ratio Capped at 70px Height) */
.ad-banner-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 960px !important;
  height: 70px !important;
  max-height: 70px !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  background: linear-gradient(90deg, #12121c 0%, #22180c 50%, #12121c 100%) !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(139, 25, 255, 0.05) !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

/* ===== CONTENT BANNERS (Trong Bài / Trang Chủ) ===== */
.ad-content-bar {
  padding: 16px 0;
  margin-bottom: 12px;
}

/* Float left/right skyscraper ads (160x600px) */
.ad-float {
  position: fixed;
  top: 260px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  transition: top 0.05s ease-out;
}

.ad-widget-body {
  padding: 12px 16px;
  text-align: center;
}

/* Hide float ads when viewport width is below 1380px to prevent overlapping container */
@media (max-width: 1380px) {
  .ad-float {
    display: none;
  }
}

/* ===== ADVERTISE PAGE (GLASSMORPHISM) ===== */
.ad-positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

/* Khuyến mãi & Quy trình */
.ad-promo-box {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ===== SIDEBAR UPDATES ===== */
.upcoming-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===================================================
   BREADCRUMB BAR
=================================================== */
.breadcrumb-bar {
  background: transparent !important;
  border-bottom: none !important;
  padding: 12px 0 6px;
}

/* ===================================================
   HEADER ACTIONS — user/admin buttons in header
=================================================== */
.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== HOMEPAGE CARD STYLES (using CSS variables --c, --gc, --nc) ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
}

/* ===== TỰA GAME VÀ DANH SÁCH MÁY CHỦ BÊN TRONG ===== */
.games-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== SIDEBAR AD COMPACT 300x250 MARQUEE SLIDER ===== */
.ad-sidebar-scroll-wrap {
  width: 100%;
  height: 250px;
  max-height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  padding: 0;
}

/* Gạch ngang vạch phân cách giữa 2 banner hình ảnh */
.ad-sidebar-item::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 25, 255, 0.7), transparent);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(139, 25, 255, 0.4);
}

/* Dots Indicator (Chấm slide đúng hình của Chủ nhân) */
.top-ad-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

/* (A1) Đã xoá khối keyframes marquee trùng — giữ bản gốc ở style.css:777 */

/* ── Sub-category grid đúng ─────────────────────── */
.sub-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
}

/* ── Page hero padding ──────────────────────────── */
.page-hero {
  padding: 28px 0 24px !important;
}

/* ── Section header gọn hơn ─────────────────────── */
.section-header {
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
}

/* ── Server list grid ───────────────────────────── */
.server-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 16px !important;
}

/* ── Breadcrumb Glassmorphism ─────────────────────── */
.breadcrumb-bar {
  padding: 12px 0 6px;
  background: transparent !important;
  border-bottom: none !important;
}

/* ── stag tags ──────────────────────────────────── */
.stag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  display: inline-block;
}

/* ── Server status pulse ─────────────────────────── */
.server-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════ */
/* ═ USER AUTHENTICATION UI (Frontend Login/Register) ═════════════ */
/* ════════════════════════════════════════════════════════════════ */

/* ── User Menu ────────────────────────────────────────────────── */
.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Form admin dạng cột .admin-form ── */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

/* ── Menu cha có submenu .has-dropdown (partials/header.ejs:185) ── */
.has-dropdown {
  position: relative;
}

/* ── DANH SÁCH SERVER THƯỜNG (CỐ ĐỊNH 2 TẦNG CHUẨN 1:1 TOÀN BỘ WEBSITE) ── */
.normal-servers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ══ USER DASHBOARD COMPONENT ══ */
@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── User Dashboard: Modular Settings Tabs ───────── */
.settings-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ══ SUBMIT & EDIT SERVER FORM COMPONENT ══ */
.submit-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1024px) {
  div[style*="display:grid"] {
    grid-template-columns: 1fr !important;
  }

  .submit-sidebar {
    position: static;
  }
}

/* ══ SERVER DETAIL PAGE COMPONENT ══ */
.page-hero {
  background: linear-gradient(135deg, #080610 0%, color-mix(in srgb, var(--server-color, var(--color-primary)) 12%, transparent) 50%, #080610 100%) !important;
  border-bottom: 2px solid color-mix(in srgb, var(--server-color, var(--color-primary)) 30%, transparent) !important;
}

/* ── DANH SÁCH SERVER LIÊN QUAN / KHÁC (CỐ ĐỊNH 2 TẦNG CHUẨN ĐẸP 1:1) ── */
.normal-servers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ══ CATEGORY & FILTER PAGE COMPONENT ══ */
/* ── Dynamic Category Theme ── */
.page-hero {
  background: var(--cat-hero-bg, #080610);
  border-bottom: var(--cat-hero-border, 2px solid rgba(139, 25, 255, 0.2));
}

/* ── Game Grid ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

/* ── KHU VỰC SERVER SIÊU VIP ── */
.vip-servers-section {
  margin-bottom: 25px;
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.08) 0%, rgba(26, 20, 35, 0.75) 50%, rgba(255, 87, 34, 0.06) 100%);
  border: 1px solid rgba(139, 25, 255, 0.45);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(139, 25, 255, 0.12), inset 0 0 15px rgba(139, 25, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Card Server VIP siêu HOT, cố định 2 tầng chuẩn như server thường */
.vip-server-card {
  background: rgba(18, 18, 28, 0.85);
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

/* ── KHU VỰC SERVER THƯỜNG ── */
.normal-servers-section {
  margin-top: 10px;
}

/* ── DANH SÁCH SERVER THƯỜNG (CỐ ĐỊNH 2 TẦNG CHUẨN 1:1 HÌNH 1) ── */
.normal-servers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ══ USER DASHBOARD: SERVER TABLE STYLING ══ */
.user-servers-table-wrap {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(15, 18, 28, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.user-servers-table tbody tr {
  transition: background 0.15s ease;
}

.user-servers-table tbody tr:hover {
  background: rgba(139, 25, 255, 0.035);
}

/* Cột Tên Server */
.user-servers-table .col-title {
  min-width: 200px;
  white-space: normal;
}

/* Cột Thể Loại / Tựa Game */
.user-servers-table .col-category {
  width: 135px;
  white-space: nowrap;
}

/* Cột Trạng Thái */
.user-servers-table .col-status {
  width: 105px;
  text-align: center;
  white-space: nowrap;
}

/* Cột Gói Ghim */
.user-servers-table .col-vip {
  width: 90px;
  text-align: center;
  white-space: nowrap;
}

/* Cột Lượt Xem */
.user-servers-table .col-views {
  width: 75px;
  text-align: center;
  white-space: nowrap;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
}

/* Cột Ngày Đăng */
.user-servers-table .col-date {
  width: 90px;
  text-align: center;
  white-space: nowrap;
  color: #94a3b8;
  font-size: 11.5px;
}

/* Cột Thao Tác */
.user-servers-table .col-actions {
  width: 80px;
  text-align: right;
  white-space: nowrap;
}

/* Toolbar & Pagination cho User Servers Table */
.srv-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   HỆ THỐNG GIAO DIỆN TỰA GAME & MÁY CHỦ GLASSMORPHISM ĐỒNG BỘ TOÀN SITE
   Loại bỏ dải nền đen thui cắt ngang, trong suốt kính mờ hòa vào hình nền theme
   ========================================================================== */

/* 1. KHỐI TỰA GAME TRANG CHỦ & TRANG TỰA GAME (ULTRA COMPACT & SLEEK) */
.games-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

/* 2. KHỐI THẺ MÁY CHỦ (SERVER CARDS - NORMAL & VIP) - ULTRA-COMPACT */
.vip-servers-section {
  padding: 8px 10px !important;
  margin-bottom: 12px !important;
  border-radius: 6px !important;
}

/* 3. KHỐI BỘ LỌC TỰA GAME & MÁY CHỦ (QUICK FILTER & TOOLBAR) */
.category-filter-bar,
.tua-game-toolbar {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  padding: 8px 12px !important;
  margin-bottom: 12px !important;
  gap: 10px !important;
}

/* 4. ĐƯỜNG KẺ SECTION VÀ TIÊU ĐỀ NẰM TRÊN HÌNH NỀN THEO MÙA */
.section-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 6. GIAO DIỆN TRANG LIÊN HỆ & SIDEBAR GLASSMORPHISM */
.contact-method-btn {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #e2e8f0 !important;
  transition: all 0.25s ease !important;
}

/* ══════════════════════════════════════════════════════════════════════
   CHUẨN HÓA NGHỆ THUẬT 4 MÙA PURE CSS (100% PURE CSS ART — 4 SEASONS)
   Xuân (Hoa Đào 5 Cánh) • Hạ (Đom Đóm & Nắng Vàng) • Thu (Lá Phong Đỏ) • Đông (Bông Tuyết Pha Lê)
   Dùng chung đồng bộ cho Trang Chủ (Home/Header) và Quản Trị (Admin Live Preview)
   ══════════════════════════════════════════════════════════════════════ */
.css-seasonal-particle {
  display: inline-block;
  pointer-events: none;
  position: relative;
  will-change: transform, opacity;
}

/* ── 1. MÙA XUÂN: HOA ANH ĐÀO 5 CÁNH CHUẨN (SPRING SAKURA BLOSSOM) ── */
.css-particle-sakura,
.css-particle-spring {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='sg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='35%25' stop-color='%23fbcfe8'/%3E%3Cstop offset='85%25' stop-color='%23f43f5e'/%3E%3Cstop offset='100%25' stop-color='%23be123c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(16,16)'%3E%3Cpath d='M0,0 C-4,-6 -6,-11 0,-15 C1,-15 1.5,-14 2,-14 C2.5,-14 3,-15 4,-15 C10,-11 8,-6 0,0' fill='url(%23sg)'/%3E%3Cpath d='M0,0 C-4,-6 -6,-11 0,-15 C1,-15 1.5,-14 2,-14 C2.5,-14 3,-15 4,-15 C10,-11 8,-6 0,0' fill='url(%23sg)' transform='rotate(72)'/%3E%3Cpath d='M0,0 C-4,-6 -6,-11 0,-15 C1,-15 1.5,-14 2,-14 C2.5,-14 3,-15 4,-15 C10,-11 8,-6 0,0' fill='url(%23sg)' transform='rotate(144)'/%3E%3Cpath d='M0,0 C-4,-6 -6,-11 0,-15 C1,-15 1.5,-14 2,-14 C2.5,-14 3,-15 4,-15 C10,-11 8,-6 0,0' fill='url(%23sg)' transform='rotate(216)'/%3E%3Cpath d='M0,0 C-4,-6 -6,-11 0,-15 C1,-15 1.5,-14 2,-14 C2.5,-14 3,-15 4,-15 C10,-11 8,-6 0,0' fill='url(%23sg)' transform='rotate(288)'/%3E%3Ccircle cx='0' cy='0' r='2.8' fill='%23fef08a'/%3E%3Ccircle cx='0' cy='0' r='1.3' fill='%23ea580c'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.65));
}

/* ── 2. MÙA HÈ: ĐOM ĐÓM & NẮNG VÀNG LẤP LÁNH (SUMMER SUNBEAM & SPARKLE) ── */
.css-particle-sparkles,
.css-particle-summer {
  width: 19px;
  height: 19px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3CradialGradient id='spg' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='25%25' stop-color='%23fef08a'/%3E%3Cstop offset='65%25' stop-color='%23facc15'/%3E%3Cstop offset='100%25' stop-color='rgba(234,179,8,0)'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M16,0 Q16,14 30,16 Q16,18 16,32 Q16,18 2,16 Q16,14 16,0 Z' fill='url(%23spg)'/%3E%3Ccircle cx='16' cy='16' r='4.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='16' r='7.5' fill='rgba(254,240,138,0.5)'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.9));
}

/* ── 3. MÙA THU: LÁ PHONG ĐỎ VÀNG KINH ĐIỂN (AUTUMN MAPLE LEAF) ── */
.css-particle-leaves,
.css-particle-autumn {
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='lg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23fbbf24'/%3E%3Cstop offset='45%25' stop-color='%23ea580c'/%3E%3Cstop offset='85%25' stop-color='%23b91c1c'/%3E%3Cstop offset='100%25' stop-color='%237f1d1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M16,2 L18.5,7.5 L24,4 L22,9.5 L28,11 L22.5,15 L26,19 L19.5,18.5 L18.5,23.5 L16,19.5 L13.5,23.5 L12.5,18.5 L6,19 L9.5,15 L4,11 L10,9.5 L8,4 L13.5,7.5 Z' fill='url(%23lg)' stroke='rgba(254,240,138,0.6)' stroke-width='0.5'/%3E%3Cpath d='M16,19.5 L16,29' stroke='%2378350f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

/* ── 4. MÙA ĐÔNG: BÔNG TUYẾT TINH THỂ PHA LÊ 6 CÁNH (CRYSTALLINE SNOWFLAKE) ── */
.css-particle-snow,
.css-particle-winter {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg transform='translate(16,16)' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'%3E%3Cline x1='0' y1='-14' x2='0' y2='14'/%3E%3Cpath d='M-3,-9 L0,-12 L3,-9 M-2,-5 L0,-7 L2,-5 M-3,9 L0,12 L3,9 M-2,5 L0,7 L2,5'/%3E%3Cg transform='rotate(60)'%3E%3Cline x1='0' y1='-14' x2='0' y2='14'/%3E%3Cpath d='M-3,-9 L0,-12 L3,-9 M-2,-5 L0,-7 L2,-5 M-3,9 L0,12 L3,9 M-2,5 L0,7 L2,5'/%3E%3C/g%3E%3Cg transform='rotate(120)'%3E%3Cline x1='0' y1='-14' x2='0' y2='14'/%3E%3Cpath d='M-3,-9 L0,-12 L3,-9 M-2,-5 L0,-7 L2,-5 M-3,9 L0,12 L3,9 M-2,5 L0,7 L2,5'/%3E%3C/g%3E%3Ccircle cx='0' cy='0' r='2.2' fill='%23ffffff' stroke='%2338bdf8' stroke-width='0.8'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 14px #38bdf8);
}

/* ── 5. PHONG CÁCH PHỤ TRỢ: CYBERPUNK GAMING NEON ── */
.css-particle-cyberpunk {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #c084fc 0%, #06b6d4 100%);
  clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
  box-shadow: 0 0 8px #c084fc, 0 0 14px #06b6d4;
}

/* ── CHUYỂN ĐỘNG VẬT LÝ QUỸ ĐẠO RƠI TRONG GIÓ (KEYFRAME ANIMATIONS) ── */
@keyframes seasonalFall {
  0% {
    transform: translateY(-30px) scale(var(--scale, 1)) rotate(0deg);
    opacity: 0;
  }

  6% {
    opacity: 0.95;
  }

  92% {
    opacity: 0.95;
  }

  100% {
    transform: translateY(105vh) scale(var(--scale, 1)) rotate(420deg);
    opacity: 0;
  }
}

/* ========================================================
   THANH THÔNG BÁO KHUYẾN MÃI NỔI BẬT TRÊN TRANG CHỦ (PROMO ALERT)
   ======================================================== */
.home-promo-alert-wrap {
  width: 100%;
  margin: 14px 0 16px;
  position: relative;
  z-index: 100;
  animation: promoSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── MODULE: base/typography.css (65 dòng) ── */
.ad-pos-info h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .page-hero-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .page-hero h1 {
    font-size: 22px;
  }
}

.section-header h2 {
  font-size: 17px !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   PREMIUM CYBERPUNK OTP VERIFICATION COMPONENT
   ══════════════════════════════════════════════════════════════════════════ */
#otpRegisterTab h2,
#forgotStepOtp h2 {
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-hero-content h1 {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.page-hero h1 {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-height: 1.3 !important;
}

.normal-title-wrap h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: 0.3px;
}

.normal-title-wrap h3 {
  font-size: 13px !important;
}

.section-header h2 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* ── MODULE: layout/grid.css (36 dòng) ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.ad-bar.ad-top .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.ad-content-bar .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

@media (min-width: 861px) {

  /* ── CỐ ĐỊNH SIDEBAR THANH PHẢI & CHỐNG TRÀN DÃN 100% TRÊN DESKTOP ── */
  .main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 24px !important;
    align-items: start !important;
  }
}

/* ── MODULE: layout/header.css (833 dòng) ── */
/* ===== TOPBAR ===== */
.topbar {
  background: #09090f;
  border-bottom: 1px solid var(--color-border);
  padding: 7px 0;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar span {
  color: var(--color-text-dim);
}

.topbar span a {
  color: var(--color-primary);
  font-weight: 500;
}

.topbar span a:hover {
  color: var(--color-white);
}

.topbar .fa-fire {
  color: var(--color-accent);
  margin-right: 5px;
}

.topbar-right {
  display: flex;
  gap: 14px;
}

.topbar-right a {
  color: var(--color-text-dim);
  font-size: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.topbar-right a:hover {
  background: var(--color-primary);
  color: #000;
}

.site-header .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 16px !important;
  width: 100% !important;
}

.site-header .logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.site-header .logo:hover {
  text-decoration: none !important;
}

.site-header .logo-icon,
.logo-icon {
  width: 48px !important;
  height: 48px !important;
  background: transparent !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 18px rgba(139, 25, 255, 0.55) !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

.site-header .logo-icon img,
.logo-icon img,
.logo-gif {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  display: block !important;
}

.site-header .logo-icon i,
.logo-icon i {
  color: #111525 !important;
}

.site-header .logo-text,
.logo-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
  justify-content: center !important;
}

.site-header .logo-main,
.logo-main {
  font-family: 'Oswald', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}

.site-header .logo-sub,
.logo-sub {
  font-size: 11px !important;
  color: #A1A1B5 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
}

.site-header .header-ad-slider {
  flex: 1 1 auto !important;
  max-width: 580px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

.site-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

/* 3. NÚT ĐĂNG XUẤT (HÌNH 1: [↪]) */
.site-header .logout-form {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* ── MOBILE HEADER RIGHT & MENU TOGGLE ── */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(20, 23, 34, 0.9);
  border: 1px solid rgba(139, 25, 255, 0.45);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  box-shadow: 0 0 10px rgba(139, 25, 255, 0.2);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: rgba(139, 25, 255, 0.2);
  border-color: var(--color-primary);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle.active {
  background: rgba(139, 25, 255, 0.25);
  border-color: #a855f7;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: #a855f7;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: #a855f7;
}

.btn-mobile-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(139, 25, 255, 0.35), rgba(109, 40, 217, 0.35));
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-mobile-login:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(139, 25, 255, 0.4);
}

.btn-mobile-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-mobile-user i {
  color: #00b1eb;
  font-size: 16px;
}

/* Mobile Drawer Profile & Guest Styling */
.mobile-guest-wrap {
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-guest-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.btn-m-drawer-login {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #8B19FF, #6d28d9) !important;
  border-radius: 6px !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(139, 25, 255, 0.35) !important;
}

.btn-m-drawer-register {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

.mobile-user-profile-wrap {
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-user-avatar {
  font-size: 32px;
  color: #00b1eb;
}

.mobile-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mobile-logout-btn {
  background: transparent;
  border: none;
  color: #ff6b6b;
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
}

/* ── RESPONSIVE MOBILE FIX (UI-01: Chống tràn ngang 375px/414px) ── */
@media (max-width: 768px) {
  .site-header {
    padding: 8px 0 !important;
  }

  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .site-header .logo {
    max-width: 220px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
  }

  .site-header .logo-img {
    height: 32px !important;
    width: auto !important;
  }

  .site-header .logo-text {
    font-size: 17px !important;
    white-space: nowrap !important;
  }

  .site-header .header-ad-slider {
    display: none !important;
  }

  .site-header .header-actions {
    display: none !important;
  }

  .mobile-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .nav-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .header-search-wrap {
    width: 100% !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
  }

  .header-search-form {
    width: 100% !important;
    background: #111525 !important;
    border: 1px solid rgba(139, 25, 255, 0.4) !important;
    border-radius: 24px !important;
    padding: 6px 14px 6px 18px !important;
  }

  .header-search-form input,
  #headerSearchInput {
    width: 100% !important;
    font-size: 13.5px !important;
  }

  .header-search-dropdown {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* ===== HEADER SEARCH BAR (DESKTOP & RESPONSIVE) ===== */
.header-search-wrap {
  position: relative;
  flex-shrink: 0;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 20px;
  padding: 4px 10px 4px 14px;
  transition: all 0.25s ease;
  width: 220px;
}

.header-search-form:hover,
.header-search-form:focus-within {
  background: rgba(255, 255, 255, 0.09);
  border-color: #8B19FF;
  box-shadow: 0 0 12px rgba(139, 25, 255, 0.4);
}

.header-search-form input,
#headerSearchInput {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: #FFFFFF !important;
  font-size: 13px !important;
  padding: 0 !important;
}

.header-search-form input::placeholder,
#headerSearchInput::placeholder {
  color: #A1A1B5 !important;
  opacity: 0.8;
}

.header-search-btn {
  background: transparent !important;
  border: none !important;
  color: #8B19FF !important;
  cursor: pointer;
  padding: 4px 6px !important;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-search-btn:hover {
  color: #A855F7 !important;
  transform: scale(1.1);
}

.header-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #161B2E;
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow: hidden;
}

.header-search {
  position: relative;
}

/* ===== TOP AD SLIDER CAROUSEL (Inside Header) ===== */
.header-ad-slider {
  flex: 1;
  max-width: 580px;
  margin: 0 15px;
  position: relative;
}

.header-ad-slider .ad-banner-img-only {
  width: 100% !important;
  max-width: 580px !important;
  height: 65px !important;
  max-height: 65px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 6px !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
  display: block !important;
  margin: 0 auto !important;
  transition: all 0.3s ease !important;
}

.header-ad-slider .ad-banner-img-only:hover {
  border-color: rgba(139, 25, 255, 0.85) !important;
  box-shadow: 0 5px 18px rgba(139, 25, 255, 0.3) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════════ */
/* ══ HỢP NHẤT TOÀN DIỆN FIXES.CSS VÀO STYLE.CSS (AUTH MODAL, 2-TIER CARDS, FORMS) ══ */
/* ═══════════════════════════════════════════════════════════════════════════════════ */
/* ===================================================
   UI FIXES — override style.css issues
=================================================== */

/* ── Logo icon lớn hơn ─────────────────────────── */
.logo-icon {
  width: 52px !important;
  height: 52px !important;
  font-size: 26px !important;
  border-radius: 10px !important;
}

.logo-main {
  font-size: 22px !important;
}

/* ── Header không wrap ở desktop ───────────────── */
.header-inner {
  flex-wrap: wrap;
}

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

/* ── Mobile Header & Logo Responsive ───────────── */
@media (max-width: 768px) {
  .logo {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .logo-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .logo-main {
    font-size: 18px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .logo {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .logo-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
  }

  .logo-main {
    font-size: 16px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .logo-sub {
    display: none !important;
  }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav-item>a {
    padding: 11px 10px !important;
    font-size: 12px !important;
  }

  .header-actions .btn-ad-link {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap !important;
  }

  .header-search {
    order: 3;
    width: 100%;
  }

  .nav-item>a i {
    display: inline !important;
  }

  .sub-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .server-list {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================================================================
   USER PROFILE DROPDOWN COMPONENT (Single Source of Truth)
   Di chuyển từ home.css về layout/header.css để dùng chung trên toàn hệ thống
   ============================================================================== */
.site-header .user-profile-btn:hover i {
  color: var(--color-primary) !important;
}

.site-header .user-dropdown-caret {
  font-size: 11px !important;
  color: #A1A1B5 !important;
  transition: transform 0.25s ease !important;
  margin-left: 2px !important;
}

.site-header .user-dropdown-wrap.open .user-dropdown-caret {
  transform: rotate(180deg) !important;
  color: var(--color-primary) !important;
}

.site-header .user-dropdown-wrap.open .user-profile-btn {
  background: #262c3d !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  box-shadow: 0 0 15px rgba(139, 25, 255, 0.25) !important;
}

.site-header .user-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 270px !important;
  background: linear-gradient(145deg, #161b28 0%, #0d1017 100%) !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(139, 25, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 10001 !important;
  animation: userDropdownAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-header .user-dropdown-wrap.open .user-dropdown-menu {
  display: flex !important;
}

@keyframes userDropdownAnim {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header .user-dropdown-header {
  padding: 14px 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.site-header .user-dd-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(139, 25, 255, 0.15) !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--color-primary) !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.site-header .user-dd-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.site-header .user-dd-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.site-header .user-dd-badge {
  display: inline-block !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  background: rgba(139, 25, 255, 0.2) !important;
  color: var(--color-primary) !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  width: fit-content !important;
}

.site-header .user-dd-badge-member {
  background: rgba(0, 177, 235, 0.15) !important;
  color: #00b1eb !important;
  border-color: rgba(0, 177, 235, 0.35) !important;
}

.site-header .user-dd-email {
  font-size: 11.5px !important;
  color: #8b949e !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.site-header .user-dd-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 18px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.site-header .user-dd-item i {
  width: 18px !important;
  font-size: 14.5px !important;
  text-align: center !important;
}

.site-header .user-dd-item:hover {
  background: rgba(139, 25, 255, 0.12) !important;
  color: #ffffff !important;
  padding-left: 22px !important;
}

.site-header .user-dropdown-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 0 !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

.site-header .user-dd-logout {
  color: #f87171 !important;
}

.site-header .user-dd-logout:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  padding-left: 22px !important;
}

/* ── MODULE: layout/navbar.css (139 dòng) ── */
/* ── MẶC ĐỊNH ẨN TUYỆT ĐỐI CÁC PHẦN TỬ CHỈ DÀNH CHO MOBILE TRÊN DESKTOP ── */
.mobile-only-auth,
.mobile-header-right,
.mobile-menu-toggle,
.mobile-guest-wrap,
.mobile-theme-selector,
.mobile-lang-selector,
.mobile-user-profile-wrap {
  display: none !important;
}

@media (min-width: 769px) {

  .mobile-only-auth,
  .mobile-header-right,
  .mobile-menu-toggle,
  .mobile-guest-wrap,
  .mobile-theme-selector,
  .mobile-lang-selector,
  .mobile-user-profile-wrap {
    display: none !important;
  }
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-item {
  position: relative;
  list-style: none !important;
  list-style-type: none !important;
}

.nav-item::marker,
.nav-list>li::marker {
  display: none !important;
  content: "" !important;
}

.nav-item>a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}

.nav-item>a i {
  font-size: 13px;
  color: var(--color-primary);
}

.nav-item:hover>a,
.nav-item.active>a {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: rgba(139, 25, 255, 0.06);
}

.nav-item:hover .dropdown {
  display: block;
}

/* ── Nav không wrap 2 dòng ──────────────────────── */
.nav-list {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-item>a {
  padding: 13px 14px !important;
  font-size: 13.5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.nav-item>a i {
  display: inline-flex !important;
  font-size: 13px !important;
  color: var(--color-primary) !important;
}

/* ── MAIN NAV STACKING CONTEXT ── */
.main-nav {
  position: relative;
  top: 0 !important;
  z-index: 999;
}

/* ── MOBILE BACKDROP & DRAWER ENHANCEMENT ── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-lang-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 10px 14px;
  background: rgba(139, 25, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius);
}

/* ── MODULE: layout/sidebar.css (371 dòng) ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.widget-title {
  padding: 7px 12px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-surface2);
  border-bottom: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-title i {
  color: var(--color-primary);
}

/* Submit Widget */
.widget-submit p {
  padding: 14px 16px 6px;
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.5;
}

/* ── Sidebar widget spacing ─────────────────────── */
.sidebar {
  gap: 16px !important;
}

.widget-title {
  font-size: 13px !important;
  padding: 10px 14px !important;
}

.sidebar {
  width: 320px !important;
  min-width: 300px !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  box-sizing: border-box !important;
}

.sidebar .widget {
  width: 100% !important;
  max-width: 320px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.sidebar .ad-sidebar-scroll-wrap {
  width: 300px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  height: 200px !important;
  max-height: 200px !important;
  overflow: hidden !important;
}

.sidebar .ad-sidebar-item {
  width: 300px !important;
  max-width: 100% !important;
  height: 200px !important;
  margin: 0 auto 10px auto !important;
  box-sizing: border-box !important;
}

.sidebar .ad-sidebar-img {
  width: 300px !important;
  max-width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 6px !important;
}

.sidebar .ad-placeholder-sidebar {
  width: 100% !important;
  max-width: 300px !important;
  height: 180px !important;
  padding: 14px 10px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 860px) {
  .main-grid {
    display: block !important;
    width: 100% !important;
  }

  .content-area {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
  }

  .sidebar {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin: 20px 0 30px 0 !important;
    align-items: stretch !important;
  }

  .sidebar .widget {
    width: 100% !important;
    margin: 0 !important;
  }

  .sidebar .ad-placeholder-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 130px !important;
    aspect-ratio: 300 / 250 !important;
    padding: 10px 8px !important;
    box-sizing: border-box !important;
  }

  .sidebar .ad-sidebar-scroll-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 300 / 250 !important;
    max-height: none !important;
  }

  .sidebar .ad-sidebar-item {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 300 / 250 !important;
    margin-bottom: 0 !important;
  }

  .sidebar .ad-sidebar-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 300 / 250 !important;
    border-radius: 8px !important;
  }
}

.sidebar-card {
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, rgba(139, 25, 255, 0.05) 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(139, 25, 255, 0.2);
  text-align: center;
}

.sidebar-user-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: radial-gradient(circle, var(--color-primary), rgba(139, 25, 255, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.sidebar-card h3 {
  margin: 12px 0;
  color: var(--color-text-bright);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-bg-secondary);
  padding: 12px;
  border-radius: 8px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-nav-item:hover {
  background: rgba(139, 25, 255, 0.1);
  color: var(--color-primary);
  padding-left: 20px;
}

.sidebar-nav-item.active {
  background: rgba(139, 25, 255, 0.2);
  color: var(--color-primary);
  font-weight: 600;
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
}

.sidebar-nav-item .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-bg-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  margin-left: auto;
}

.sidebar-section {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 212, 232, 0.1);
}

.sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sidebar-section label {
  display: block;
  font-size: 0.85rem;
  color: rgba(212, 212, 232, 0.7);
  margin-bottom: 4px;
  font-weight: 600;
}

.sidebar-section span {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
}

.sidebar .widget,
.widget-ad {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
}

.widget-title {
  padding: 7px 12px !important;
  font-size: 12.5px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 2px solid var(--color-primary) !important;
}

/* ==============================================================================
   TOP SERVER / MOST READ SIDEBAR WIDGET COMPONENT (Single Source of Truth)
   Di chuyển từ home.css về layout/sidebar.css để dùng chung trên toàn hệ thống
   ============================================================================== */
.top-server-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition);
}

.top-server-list li:last-child {
  border-bottom: none;
}

.top-server-list li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.top-server-list .rank {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin-top: 2px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  flex-shrink: 0 !important;
}

.top-server-list .rank-1 {
  background: linear-gradient(135deg, #8B19FF, #c084fc) !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(139, 25, 255, 0.5) !important;
}

.top-server-list .rank-2 {
  background: linear-gradient(135deg, #00b1eb, #38bdf8) !important;
  color: #fff !important;
  box-shadow: 0 0 8px rgba(0, 177, 235, 0.4) !important;
}

.top-server-list .rank-3 {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #fff !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4) !important;
}

.top-server-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.top-server-info a {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #f1f5f9 !important;
  line-height: 1.35 !important;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: color 0.2s;
}

.top-server-info a:hover {
  color: var(--color-primary) !important;
}

.top-players {
  font-size: 11px !important;
  color: var(--color-text-dim) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.top-players i {
  color: var(--color-primary) !important;
  font-size: 10px !important;
}

/* ── MODULE: layout/footer.css (356 dòng) ── */
/* ===== FOOTER ===== */
.site-footer {
  background: #09090f;
  border-top: 2px solid var(--color-primary);
  margin-top: 20px;
}

.footer-top {
  padding: 40px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo img,
.footer-logo-gif {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(139, 25, 255, 0.5);
  display: inline-block;
}

.footer-about p {
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition);
  padding: 2px 0;
}

.footer-col ul li a i {
  font-size: 9px;
  color: var(--color-primary);
}

.footer-col ul li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-col p {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-col p i {
  color: var(--color-primary);
}

.footer-bottom {
  background: #050508;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.8;
}

.footer-bottom strong {
  color: var(--color-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .main-grid {
    grid-template-columns: 1fr 290px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-right {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: relative;
    z-index: 999;
  }

  .nav-list {
    display: none;
    flex-direction: column;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-item>a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
  }

  .nav-item:hover>a,
  .nav-item.active>a {
    border-left-color: var(--color-primary);
    border-bottom-color: var(--color-border);
  }

  .dropdown {
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--color-bg3);
    display: none !important;
  }

  .nav-item:hover .dropdown {
    display: none !important;
  }

  .hero-banner {
    height: auto;
    min-height: 300px;
  }

  .hero-slide {
    position: relative;
    min-height: 300px;
  }

  .hero-slides {
    position: relative;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-btns {
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 10px 18px;
    font-size: 13px;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .server-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .hero-prev,
  .hero-next {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

/* Footer ad info */
.footer-ad-info {
  margin-bottom: 12px;
}

.footer-ad-info p {
  font-size: 12px;
  color: var(--color-text-dim);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-ad-info p i {
  color: var(--color-primary);
  font-size: 11px;
}

.footer-col .btn-footer-ad,
.btn-footer-ad {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin-top: 6px !important;
  padding: 4px 10px !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ea580c 100%) !important;
  color: #0b0f19 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.25) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-col .btn-footer-ad:hover,
.btn-footer-ad:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--color-primary) 100%) !important;
  color: #000000 !important;
  box-shadow: 0 3px 12px rgba(139, 25, 255, 0.4) !important;
  transform: translateY(-1px) !important;
  padding-left: 10px !important;
}

/* Tag nhãn nhỏ nhận diện Tài Trợ / Đối Tác trên góc banner ngang */
.footer-banner-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-banner-tag.sponsor {
  background: rgba(18, 18, 30, 0.82);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.footer-banner-tag.partner {
  background: rgba(18, 18, 30, 0.82);
  color: #00cec9;
  border: 1px solid rgba(0, 206, 201, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ── MODULE: components/buttons.css (1137 dòng) ── */
/* 1. NÚT ADMIN PANEL / ĐĂNG SERVER (HÌNH 1: [⚙ Admin Panel]) */
.site-header .btn-admin,
.site-header .btn-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 16px !important;
  background: var(--color-primary) !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary, #A855F7) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.35) !important;
  border: none !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.site-header .btn-admin:hover,
.site-header .btn-submit:hover {
  background: linear-gradient(135deg, #ffb738 0%, var(--color-primary) 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(139, 25, 255, 0.5) !important;
  color: #ffffff !important;
}

.site-header .btn-admin i,
.site-header .btn-submit i {
  font-size: 14px !important;
  color: #ffffff !important;
}

.site-header .btn-logout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  background: #251c24 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 8px !important;
  color: #ff6b6b !important;
  cursor: pointer !important;
  font-size: 15px !important;
  padding: 0 !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
}

.site-header .btn-logout:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #ff8787 !important;
  transform: translateY(-1px) !important;
}

/* 4. NÚT ĐĂNG NHẬP (HÌNH 2: [↪ Đăng Nhập]) */
.site-header .btn-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 18px !important;
  background: #141722 !important;
  border: 1.5px solid var(--color-primary) !important;
  border-radius: 8px !important;
  color: var(--color-primary) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
}

.site-header .btn-login:hover {
  background: rgba(139, 25, 255, 0.15) !important;
  border-color: #ffb738 !important;
  color: #ffb738 !important;
}

.site-header .btn-login i {
  font-size: 14px !important;
  color: var(--color-primary) !important;
}

/* 5. NÚT ĐĂNG KÝ (HÌNH 2: [👤+ Đăng Ký]) */
.site-header .btn-register {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 18px !important;
  background: var(--color-primary) !important;
  border: 1.5px solid var(--color-primary) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.35) !important;
  transition: all 0.22s ease !important;
  box-sizing: border-box !important;
}

.site-header .btn-register:hover {
  background: #ffb738 !important;
  border-color: #ffb738 !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(139, 25, 255, 0.5) !important;
}

.site-header .btn-register i {
  font-size: 14px !important;
  color: #000000 !important;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.4);
}

.btn-hero-primary:hover {
  background: var(--color-primary-d);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 25, 255, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-server {
  flex: 1;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(139, 25, 255, 0.07);
  transition: all var(--transition);
  border-right: 1px solid var(--color-border);
}

.btn-server:hover {
  background: var(--color-primary);
  color: #000;
}

.server-card-footer .btn-server:only-child {
  border-right: none;
}

.btn-server-link {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition);
}

.btn-server-link:hover {
  color: var(--color-white);
  background: var(--color-surface2);
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 30px;
  background: var(--color-surface2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-load-more:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-load-more .fa-spin {
  animation: spin 1s linear infinite;
}

.btn-widget-submit {
  display: block;
  margin: 0 16px 16px;
  padding: 10px;
  text-align: center;
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.35);
  transition: all var(--transition);
}

.btn-widget-submit:hover {
  background: linear-gradient(135deg, #ffb738 0%, #8B19FF 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.btn-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px;
  background: var(--color-primary);
  color: #ffffff !important;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}

.btn-filter:hover {
  background: var(--color-primary-d);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: all 0.2s;
}

.btn-play:hover {
  background: var(--color-primary-d);
  color: #000;
  transform: translateY(-2px);
}

.btn-back-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface2);
  color: var(--color-text);
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}

.btn-back-cat:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-advertise-submit {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #d48813 100%);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 12px rgba(139, 25, 255, 0.3);
  width: 100%;
}

.btn-advertise-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(139, 25, 255, 0.45);
}

.btn-filter-sm {
  padding: 7px 14px;
  background: var(--color-primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
}

/* ===== CONTACT PAGE ===== */
.btn-ad-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: rgba(139, 25, 255, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(139, 25, 255, 0.3);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-ad-link:hover {
  background: var(--color-primary);
  color: #000;
}

.btn-filter-sm {
  padding: 8px 16px;
  background: var(--color-primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
}

.btn-filter-sm:hover {
  background: var(--color-primary-d);
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.35);
  color: var(--color-primary);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-admin:hover {
  background: var(--color-primary);
  color: #000;
}

.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-login {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-login:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-register {
  background: var(--color-primary);
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
}

.btn-register:hover {
  background: var(--color-primary-d);
  color: #000;
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition);
}

.btn-logout:hover {
  border-color: #e74c3c;
  color: #ff6b6b;
  background: rgba(231, 76, 60, 0.1);
}

.btn-ad-link-header {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%);
  color: #fff;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-ad-link-header:hover {
  background: linear-gradient(135deg, #ffb738 0%, #8B19FF 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.btn-game {
  background: linear-gradient(90deg, #8B19FF, #5B00B8);
  color: #fff;
  padding: 5px 14px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 61, 0, 0.35);
}

.btn-game:hover {
  background: linear-gradient(90deg, #A855F7, #5B00B8);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(139, 25, 255, 0.55);
}

.btn-read-featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
  background: var(--color-primary);
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.35);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  line-height: 1.2;
}

.btn-read-featured:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ── Header actions compact ─────────────────────── */
.btn-ad-link {
  padding: 7px 12px !important;
  font-size: 12px !important;
}

.btn-submit {
  padding: 9px 14px !important;
  font-size: 13px !important;
}

.btn-filter-sm {
  padding: 7px 14px;
  background: var(--color-primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-filter-sm:hover {
  background: var(--color-primary-d);
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 6px;
  color: #ff6b6b;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0;
}

.btn-logout:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: #ff6b6b;
}

/* ── Login/Register Buttons ──────────────────────────────────── */
.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  background: transparent;
}

.btn-login:hover {
  background: rgba(139, 25, 255, 0.1);
}

.btn-register {
  background: var(--color-primary);
  color: #ffffff !important;
  border: 2px solid var(--color-primary);
}

.btn-register:hover {
  background: #e69a1f;
  border-color: #e69a1f;
}

/* ── Mobile responsive ───────────────────────────────────────── */
@media (max-width: 700px) {
  .user-profile-btn span {
    display: none;
  }

  .user-profile-btn {
    padding: 8px 12px;
  }

  .btn-login,
  .btn-register {
    padding: 7px 12px;
    font-size: 12px;
  }

  .btn-register {
    display: none;
  }
}

.btn-otp-action {
  background: linear-gradient(135deg, #22C55E 0%, #059669 100%);
  border: 1px solid #34d399;
  border-radius: 8px;
  padding: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.btn-otp-action:hover {
  background: linear-gradient(135deg, #34d399 0%, #22C55E 100%);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
}

.btn-otp-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Admin Button (for admin users in header) ────────────────────────────── */
.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-admin:hover {
  background: linear-gradient(135deg, #d35400, #ba4a00);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* ===================================================
   (A2) Bổ sung CSS cho các class dùng trong views
   nhưng CHƯA được định nghĩa ở bất kỳ file CSS nào
   (hoặc trong 16 khối <style> inline). Không dùng thuộc tính ép buộc.
=================================================== */

/* ── Nút cơ bản .btn (pages/error.ejs, server-detail.ejs) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ── Nút chính .btn-primary (pages/error.ejs) ── */
.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--color-primary-d);
  border-color: var(--color-primary-d);
  color: var(--color-white);
}

/* ── Nút yêu thích kiểu tim .btn-fav (server-detail.ejs:130) ── */
.btn-fav {
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-dim);
}

.btn-fav:hover {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-normal-view {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e0e0e0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s;
}

.btn-normal-view:hover {
  background: linear-gradient(90deg, #8B19FF, #5B00B8);
  border-color: transparent;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(255, 61, 0, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 8px 16px;
}

.btn-outline:hover {
  background: rgba(139, 25, 255, 0.1);
}

.btn-fav-del {
  background: none;
  border: none;
  color: #e25555;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ── Hashtag Suggestions & Chips Style ── */
.btn-suggested-tag {
  background: rgba(139, 25, 255, 0.1);
  border: 1px solid rgba(139, 25, 255, 0.35);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-suggested-tag:hover {
  background: rgba(139, 25, 255, 0.22);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-suggested-tag.active {
  background: var(--color-primary);
  color: #12121e;
  border-color: var(--color-primary);
  font-weight: 700;
}

.form-actions .btn {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(212, 212, 232, 0.2);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .server-form {
    padding: 24px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

.btn-normal-view {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e0e0e0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s;
}

.btn-normal-view:hover {
  background: linear-gradient(90deg, #8B19FF, #5B00B8);
  border-color: transparent;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(255, 61, 0, 0.4);
}

.btn-game-active {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: var(--cat-theme-color, var(--color-primary));
  color: #ffffff !important;
  font-weight: bold;
}

.btn-game-normal {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: rgba(212, 212, 232, 0.1);
  color: var(--color-text);
}

.btn-vip-view {
  background: linear-gradient(90deg, #8B19FF, #5B00B8);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(255, 61, 0, 0.35);
  transition: all 0.2s;
}

.btn-vip-view:hover {
  background: linear-gradient(90deg, #A855F7, #5B00B8);
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(139, 25, 255, 0.55);
  color: #fff;
}

.btn-normal-view {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e0e0e0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s;
}

.btn-normal-view:hover {
  background: linear-gradient(90deg, #8B19FF, #5B00B8);
  border-color: transparent;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(255, 61, 0, 0.4);
}

.btn-game {
  background: linear-gradient(135deg, rgba(139, 25, 255, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%) !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  color: #ffffff !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
  font-size: 10.5px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.btn-game:hover {
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%) !important;
  border-color: #8B19FF !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.btn-normal-view,
.btn-vip-view {
  font-size: 10.5px !important;
  padding: 2.5px 8px !important;
  border-radius: 3px !important;
  width: 100% !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.category-filter-bar .btn {
  height: 30px !important;
  padding: 3px 10px !important;
  font-size: 11.5px !important;
  border-radius: 4px !important;
}

.btn-read-featured {
  padding: 2.5px 8px !important;
  font-size: 10px !important;
  border-radius: 3px !important;
}

.server-form .btn-suggested-tag {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 4px 12px !important;
  transition: all 0.2s ease !important;
}

.server-form .btn-suggested-tag:hover,
.server-form .btn-suggested-tag.active {
  background: rgba(139, 25, 255, 0.18) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  transform: translateY(-1px) !important;
}

.server-form .form-actions .btn-primary {
  border-radius: 25px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.35) !important;
}

.server-form .form-actions .btn-outline {
  border-radius: 25px !important;
  padding: 12px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-hpa-cta {
  background: #0f172a;
  color: var(--color-primary) !important;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.btn-hpa-cta:hover {
  background: var(--color-primary);
  color: #0f172a !important;
  box-shadow: 0 6px 18px rgba(139, 25, 255, 0.5);
  transform: translateY(-1px);
}

.btn-hpa-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.btn-hpa-close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  .home-promo-alert {
    position: relative;
    padding-right: 40px;
  }

  .hpa-right {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-hpa-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .btn-hpa-close {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

/* ── PRX BRAND IDENTITY: 60-30-10 BUTTON HARMONIZATION ── */
.btn-primary,
button.btn-primary,
a.btn-primary,
.btn-submit-main,
.btn-auth-submit {
  background: linear-gradient(135deg, #8B19FF 0%, #A855F7 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 4px 18px rgba(139, 25, 255, 0.45) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.btn-submit-main:hover,
.btn-auth-submit:hover {
  background: linear-gradient(135deg, #9d3bff 0%, #b86bfc 100%) !important;
  color: #FFFFFF !important;
  border-color: #C77DFF !important;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.65) !important;
  transform: translateY(-2px) !important;
}

.btn-secondary,
button.btn-secondary,
a.btn-secondary,
.btn-game {
  background: rgba(139, 25, 255, 0.16) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  font-weight: 600 !important;
  box-shadow: 0 0 10px rgba(139, 25, 255, 0.2) !important;
  transition: all 0.22s ease !important;
}

.btn-secondary:hover,
button.btn-secondary:hover,
a.btn-secondary:hover,
.btn-game:hover {
  background: #8B19FF !important;
  color: #FFFFFF !important;
  border-color: #A855F7 !important;
  box-shadow: 0 0 18px rgba(139, 25, 255, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* ── MODULE: components/badges.css (121 dòng) ── */
.tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-dim);
  border: 1px solid var(--color-border);
}

.badge-cat {
  background: rgba(139, 25, 255, 0.15);
  color: var(--color-primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.badge-status {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.badge-status.status-open {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.badge-status.status-wait {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  line-height: 1.3;
}

.badge-status.is-active {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

.badge-status.is-hidden {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.25);
}

.badge-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.badge-status.is-active .badge-status-dot {
  background: #2ecc71;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

.badge-status.is-hidden .badge-status-dot {
  background: #e74c3c;
}

.badge-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 4px;
  background: rgba(139, 25, 255, 0.14);
  color: var(--color-primary);
  border: 1px solid rgba(139, 25, 255, 0.35);
  letter-spacing: 0.3px;
}

/* ── PRX BRAND IDENTITY: BADGES & STATUS HARMONIZATION ── */
.badge-vip,
.vip-badge,
.tag-vip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.25) 100%) !important;
  color: #F59E0B !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3) !important;
}

.status-online,
.badge-online,
.indicator-online {
  color: #22C55E !important;
}

.status-online::before,
.indicator-dot.online {
  background: #22C55E !important;
  box-shadow: 0 0 8px #22C55E !important;
}

.badge-tag,
.tag-chip,
.badge-category {
  background: rgba(139, 25, 255, 0.15) !important;
  border: 1px solid rgba(139, 25, 255, 0.3) !important;
  color: #A855F7 !important;
}

/* ── MODULE: components/forms.css (166 dòng) ── */
/* ── Form Controls (Dark Theme Chuẩn) ── */
.form-control {
  background: var(--color-bg, #0e0e18) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--color-text-bright, #ffffff) !important;
  padding: 12px 14px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-family: inherit !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.form-control:focus {
  outline: none !important;
  border-color: var(--color-primary, #8B19FF) !important;
  box-shadow: 0 0 0 3px rgba(139, 25, 255, 0.2) !important;
  background: rgba(22, 22, 34, 0.98) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212, 212, 232, 0.1);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h3 {
  font-size: 1.1rem;
  color: var(--color-text-bright);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section h3 i {
  color: var(--color-primary);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-bg-primary);
  border: 2px solid rgba(212, 212, 232, 0.1);
  color: var(--color-text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 25, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(212, 212, 232, 0.5);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4d4e8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group select option {
  background: #1a1a2e;
  color: #ffffff;
  padding: 8px;
}

.form-group select option:checked {
  background: var(--color-primary);
  color: #000;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.form-note {
  margin-top: 20px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--color-primary);
  border-radius: 6px;
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: #ffffff;
}

.form-note i {
  color: var(--color-primary);
  font-size: 1.1rem;
  min-width: 20px;
}

.category-filter-bar input[type="text"],
.category-filter-bar select {
  height: 30px !important;
  padding: 3px 8px 3px 28px !important;
  font-size: 11.5px !important;
  border-radius: 4px !important;
}

.server-form .form-group input,
.server-form .form-group textarea,
.server-form .form-group select {
  background: rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.server-form .form-group input:focus,
.server-form .form-group textarea:focus,
.server-form .form-group select:focus {
  border-color: var(--color-primary) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(139, 25, 255, 0.15) !important;
}

.server-form .form-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.server-form .form-note {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(139, 25, 255, 0.3) !important;
  border-left: 4px solid var(--color-primary) !important;
  border-radius: 10px !important;
  backdrop-filter: blur(8px) !important;
}

/* ── MODULE: components/cards.css (746 dòng) ── */
/* Thanh Header Tựa Game - Chuẩn dải ngang 1:1 hình 1 */
.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(25, 23, 38, 0.95);
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.game-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.game-card-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mô Tả Game Ở Dưới Game Header */
.game-card-desc {
  padding: 8px 16px;
  background: rgba(12, 12, 20, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #bbb;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  box-sizing: border-box;
}

.game-card-desc span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-desc i {
  color: rgba(139, 25, 255, 0.7);
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .game-card-header {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ── Card Hashtag Badge ──────────────────────────────────────────────────────── */
.card-hashtag-badge {
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.35);
  color: var(--color-primary);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.card-hashtag-badge:hover {
  background: var(--color-primary);
  color: #12121e;
  transform: translateY(-1px);
}

/* Tầng 1: Header của Card */
.normal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(25, 23, 38, 0.95);
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.normal-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.normal-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Tầng 2: Dải mô tả full-width chạy ngang 100% chuẩn như Hình 1 */
.normal-card-desc {
  padding: 8px 14px;
  background: rgba(12, 12, 20, 0.6);
  color: #8f9cae;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  box-sizing: border-box;
}

.normal-card-desc i {
  color: #4dd0e1;
  font-size: 11px;
  flex-shrink: 0;
  opacity: 0.85;
}

.normal-card-desc span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .normal-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .normal-card-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .normal-card-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }

  .normal-btn-wrap {
    width: 100%;
  }

  .btn-normal-view {
    width: 100%;
    justify-content: center;
  }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(212, 212, 232, 0.1);
}

.card-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.card-body {
  padding: 20px;
}

/* Tầng 1: Header của Card */
.normal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(25, 23, 38, 0.95);
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.normal-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.normal-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Tầng 2: Dải mô tả full-width chạy ngang 100% */
.normal-card-desc {
  padding: 8px 14px;
  background: rgba(12, 12, 20, 0.6);
  color: #8f9cae;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  box-sizing: border-box;
}

.normal-card-desc i {
  color: #4dd0e1;
  font-size: 11px;
  flex-shrink: 0;
  opacity: 0.85;
}

.normal-card-desc span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .normal-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .normal-card-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .normal-card-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }

  .normal-btn-wrap {
    width: 100%;
  }

  .btn-normal-view {
    width: 100%;
    justify-content: center;
  }
}

.game-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #16162a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  text-decoration: none;
  color: #d0d0e8;
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
}

.game-card:hover {
  border-color: var(--gc, var(--color-primary));
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.game-card.active {
  border-color: var(--gc, var(--color-primary));
  background: rgba(139, 25, 255, 0.06);
  box-shadow: 0 0 0 1px var(--gc, var(--color-primary));
}

.game-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gc, var(--color-primary));
  flex-shrink: 0;
}

.game-card.active .game-card-icon {
  background: rgba(139, 25, 255, 0.12);
  border-color: var(--gc, var(--color-primary));
}

.game-card-info {
  flex: 1;
  min-width: 0;
}

.game-card-name {
  font-weight: 600;
  font-size: 0.93rem;
  color: #e0e0e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card.active .game-card-name {
  color: var(--gc, var(--color-primary));
}

.game-card-count {
  font-size: 0.8rem;
  color: rgba(224, 224, 224, 0.5);
  margin-top: 2px;
}

.game-card-genre {
  font-size: 0.78rem;
  color: rgba(224, 224, 224, 0.4);
  margin-top: 2px;
}

.game-card-check {
  color: var(--gc, var(--color-primary));
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Tầng 1: Header của Card VIP */
.vip-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(25, 23, 38, 0.95);
  gap: 14px;
  border-bottom: 1px solid rgba(139, 25, 255, 0.15);
}

.vip-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.vip-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Tầng 2: Dải mô tả full-width chạy ngang 100% của Card VIP */
.vip-card-desc {
  padding: 8px 14px;
  background: rgba(12, 12, 20, 0.6);
  color: #8f9cae;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  box-sizing: border-box;
}

.vip-card-desc i {
  color: #8B19FF;
  font-size: 11px;
  flex-shrink: 0;
  opacity: 0.9;
}

.vip-card-desc span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tầng 1: Header của Card */
.normal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(25, 23, 38, 0.95);
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.normal-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.normal-card-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Tầng 2: Dải mô tả full-width chạy ngang 100% chuẩn như Hình 1 */
.normal-card-desc {
  padding: 8px 14px;
  background: rgba(12, 12, 20, 0.6);
  color: #8f9cae;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  box-sizing: border-box;
}

.normal-card-desc i {
  color: #4dd0e1;
  font-size: 11px;
  flex-shrink: 0;
  opacity: 0.85;
}

.normal-card-desc span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {

  .vip-card-header,
  .normal-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .vip-card-left,
  .normal-card-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .vip-card-right,
  .normal-card-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }

  .vip-btn-wrap,
  .normal-btn-wrap {
    width: 100%;
  }

  .btn-vip-view,
  .btn-normal-view {
    width: 100%;
    justify-content: center;
  }
}

.game-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 5px 10px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  gap: 6px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.game-card-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.game-card-right {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.game-card-desc {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 10px !important;
  background: rgba(0, 0, 0, 0.15) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
  color: #8896ab !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  min-height: unset !important;
  box-sizing: border-box !important;
}

.game-card-desc i {
  font-size: 9.5px !important;
  color: rgba(139, 25, 255, 0.6) !important;
  flex-shrink: 0 !important;
}

.game-card-desc span {
  flex: 1 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.normal-card-header,
.vip-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 5px 10px !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.normal-card-left,
.vip-card-left {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.normal-card-right,
.vip-card-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.card-hashtag-badge {
  font-size: 9.5px !important;
  padding: 1px 5px !important;
  border-radius: 2px !important;
}

.normal-card-desc,
.vip-card-desc {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 10px !important;
  min-height: unset !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  background: rgba(0, 0, 0, 0.15) !important;
  color: #8896ab !important;
  box-sizing: border-box !important;
}

.normal-card-desc i,
.vip-card-desc i {
  font-size: 9.5px !important;
  flex-shrink: 0 !important;
}

.normal-card-desc span,
.vip-card-desc span {
  flex: 1 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ── GAME & SERVER CARD RESPONSIVE FLEX-WRAP ── */
@media (max-width: 640px) {

  .game-card-header,
  .normal-card-header,
  .vip-card-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .normal-card-right,
  .vip-card-right,
  .game-card-right {
    width: 100% !important;
    justify-content: space-between !important;
    padding-top: 6px !important;
    border-top: 1px dashed rgba(139, 25, 255, 0.15) !important;
  }
}


/* ── PRX BRAND IDENTITY: GAME CARD & GROUP CONTAINER ── */
.game-group-container {
  background: #20263A !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
  transition: all 0.25s ease !important;
}

.game-group-container:hover {
  border-color: #8B19FF !important;
  box-shadow: 0 0 24px rgba(139, 25, 255, 0.45) !important;
  transform: translateY(-2px) !important;
}

.game-cat-badge {
  background: rgba(139, 25, 255, 0.2) !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  color: #A855F7 !important;
  font-weight: 600 !important;
}

.game-cat-badge i {
  color: #A855F7 !important;
}

.game-server-count {
  color: #A855F7 !important;
  background: rgba(139, 25, 255, 0.12) !important;
  border: 1px solid rgba(139, 25, 255, 0.3) !important;
}

.btn-game {
  background: rgba(139, 25, 255, 0.18) !important;
  border: 1px solid #8B19FF !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(139, 25, 255, 0.25) !important;
  transition: all 0.2s ease !important;
}

.btn-game:hover {
  background: #8B19FF !important;
  color: #ffffff !important;
  border-color: #A855F7 !important;
  box-shadow: 0 0 18px rgba(139, 25, 255, 0.65) !important;
}


/* ── PRX BRAND IDENTITY: 60-30-10 CARDS HARMONIZATION ── */
.game-group-container,
.normal-server-card {
  background: #20263A !important;
  border: 1px solid rgba(139, 25, 255, 0.22) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.65) !important;
  transition: all 0.25s ease !important;
}

.game-group-container:hover,
.normal-server-card:hover {
  border-color: #8B19FF !important;
  box-shadow: 0 0 22px rgba(139, 25, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

.game-title a,
.normal-server-title a {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  transition: color 0.2s ease !important;
}

.game-title a:hover,
.normal-server-title a:hover {
  color: #A855F7 !important;
}

.game-card-desc,
.normal-server-desc,
.normal-card-meta {
  color: #A1A1B5 !important;
}

.game-cat-badge {
  background: rgba(139, 25, 255, 0.18) !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  color: #A855F7 !important;
  font-weight: 600 !important;
}

.game-cat-badge i {
  color: #A855F7 !important;
}

.game-server-count {
  color: #A855F7 !important;
  background: rgba(139, 25, 255, 0.12) !important;
  border: 1px solid rgba(139, 25, 255, 0.28) !important;
}

/* Thẻ VIP giữ vương miện và viền ánh vàng kim #F59E0B */
.vip-server-card {
  background: #20263A !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(245, 158, 11, 0.25) !important;
}

.vip-server-card:hover {
  border-color: #F59E0B !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 158, 11, 0.45) !important;
  transform: translateY(-2px) !important;
}

/* ── MODULE: components/modals.css (478 dòng) ── */
/* ════════════════════════════════════════════════════════════════ */
/* ═ AUTH MODAL (Popup Login/Register) ═════════════════════════════ */
/* ════════════════════════════════════════════════════════════════ */

.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal.show {
  display: flex;
  opacity: 1;
}

.auth-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.auth-modal-content {
  position: relative;
  z-index: 10000;
  width: 100%;
  max-width: 420px;
  background: var(--color-bg-secondary);
  border: 2px solid rgba(139, 25, 255, 0.3);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 2px solid rgba(212, 212, 232, 0.2);
  border-radius: 50%;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.auth-modal-close:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.auth-modal .form-group {
  margin-bottom: 16px;
}

.auth-modal .form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.auth-modal .input-wrapper {
  display: flex;
  align-items: center;
  background: var(--color-bg-primary);
  border: 2px solid rgba(212, 212, 232, 0.1);
  border-radius: 8px;
  padding: 0 12px;
  transition: all 0.3s ease;
  height: 42px;
}

.auth-modal .input-wrapper:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 25, 255, 0.1);
}

.auth-modal .input-wrapper i {
  color: var(--color-primary);
  margin-right: 8px;
  font-size: 0.95rem;
}

.auth-modal .input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--color-text);
  padding: 0;
  outline: none;
  font-size: 0.95rem;
}

.auth-modal .input-wrapper input::placeholder {
  color: rgba(212, 212, 232, 0.5);
}

.auth-modal .btn-block {
  width: 100%;
  margin-top: 24px;
  height: 42px;
  font-size: 1rem;
  font-weight: 600;
}

/* ── AUTH TABS (LIFECYCLE MANAGEMENT) ── */
.auth-tab {
  display: none !important;
}

.auth-tab.active {
  display: block !important;
  animation: authFadeIn 0.25s ease-out;
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-tab h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-tab h2 i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.auth-footer {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  text-align: center;
}

.auth-footer p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.auth-footer .link-primary {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.auth-footer .link-primary:hover {
  text-decoration: underline;
  color: #a855f7;
}

#authAlerts {
  margin-bottom: 16px;
}

#authAlerts:empty {
  display: none;
  margin: 0;
}

/* ── UNIVERSAL NOTIFICATION ALERTS ── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.alert i {
  font-size: 1.15rem;
  min-width: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.alert-danger,
.auth-modal .alert-danger {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
}

.alert-danger strong,
.auth-modal .alert-danger strong {
  color: #f87171 !important;
  display: inline-block;
  margin-bottom: 2px;
}

.alert-danger ul,
.auth-modal .alert-danger ul {
  margin: 6px 0 0 0 !important;
  padding-left: 20px !important;
  list-style: disc !important;
}

.alert-danger ul li,
.auth-modal .alert-danger ul li {
  color: #fca5a5 !important;
  list-style: disc !important;
  font-size: 0.85rem !important;
  margin-top: 3px !important;
}

.alert-success,
.auth-modal .alert-success {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #6ee7b7 !important;
}

.alert-success strong,
.auth-modal .alert-success strong {
  color: #34d399 !important;
}

.alert-warning,
.auth-modal .alert-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fcd34d !important;
}

.alert-info,
.auth-modal .alert-info {
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  color: #93c5fd !important;
}

/* Light Theme overrides for alerts */
[data-theme="light"] .alert-danger,
[data-theme="light"] .auth-modal .alert-danger {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}

[data-theme="light"] .alert-danger strong,
[data-theme="light"] .auth-modal .alert-danger strong {
  color: #b91c1c !important;
}

[data-theme="light"] .alert-danger ul li,
[data-theme="light"] .auth-modal .alert-danger ul li {
  color: #991b1b !important;
}

[data-theme="light"] .alert-success,
[data-theme="light"] .auth-modal .alert-success {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  color: #166534 !important;
}

[data-theme="light"] .alert-success strong,
[data-theme="light"] .auth-modal .alert-success strong {
  color: #15803d !important;
}

@media (max-width: 600px) {
  .auth-modal-content {
    width: 90%;
    max-width: none;
    padding: 24px;
    border-radius: 8px;
  }

  .auth-tab h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .auth-modal .btn-block {
    margin-top: 16px;
  }
}

.otp-header-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(6, 78, 59, 0.1) 70%);
  border: 2px solid #22C55E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  animation: otpPulseGlow 2.5s infinite ease-in-out;
}

.otp-header-badge.warning {
  background: radial-gradient(circle, rgba(139, 25, 255, 0.25) 0%, rgba(180, 83, 9, 0.1) 70%);
  border-color: var(--color-primary);
  box-shadow: 0 0 25px rgba(139, 25, 255, 0.35);
}

.otp-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  padding: 5px 14px;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.otp-box-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 14px;
}

.otp-digit-cell {
  width: 46px;
  height: 54px;
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid rgba(16, 185, 129, 0.35);
  border-radius: 10px;
  color: #34d399;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  outline: none;
  font-family: 'Consolas', 'Courier New', monospace;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 0;
}

.otp-digit-cell.warning {
  border-color: rgba(139, 25, 255, 0.35);
  color: #facc15;
}

.otp-digit-cell:focus {
  border-color: #22C55E;
  background: rgba(6, 78, 59, 0.25);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.55), inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.otp-digit-cell.warning:focus {
  border-color: var(--color-primary);
  background: rgba(180, 83, 9, 0.25);
  box-shadow: 0 0 16px rgba(139, 25, 255, 0.55);
  transform: translateY(-2px);
}

.otp-grid-separator {
  width: 10px;
  height: 2px;
  background: rgba(148, 163, 184, 0.4);
  margin: 0 2px;
}

.otp-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
}

.otp-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #A1A1B5;
}

.otp-timer-badge strong {
  color: var(--color-primary);
  font-size: 13.5px;
  letter-spacing: 1px;
}

.otp-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

@media (max-width: 480px) {
  .otp-digit-cell {
    width: 38px;
    height: 48px;
    font-size: 20px;
  }

  .otp-box-grid {
    gap: 4px;
  }
}

/* ── OTP CELL RESPONSIVE SIZING (CLAMP) ── */
.otp-box-grid {
  display: flex !important;
  justify-content: center !important;
  gap: clamp(4px, 2vw, 10px) !important;
  width: 100% !important;
}

.otp-digit-cell {
  width: clamp(34px, 12vw, 44px) !important;
  height: clamp(42px, 14vw, 50px) !important;
  font-size: clamp(16px, 5vw, 22px) !important;
  min-width: 0 !important;
  text-align: center !important;
}

.auth-modal-content {
  max-height: calc(100vh - 40px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* ── MODULE: components/tables.css (41 dòng) ── */
/* ===================================================
   PAGINATION — dùng trên trang category / news
=================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination {
  margin-top: 14px !important;
  gap: 4px !important;
}

/* ── USER DASHBOARD TABLES SCROLL WRAP ── */
.user-servers-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.user-servers-table {
  min-width: 680px;
  width: 100%;
  border-collapse: collapse;
}

/* ── GENERIC RESPONSIVE TABLE WRAPPER (ZERO HORIZONTAL OVERFLOW) ── */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

/* ── MODULE: components/banner.css (318 dòng) ── */
/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.hero-slides {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-slide-bg-blur {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(25px) brightness(0.45);
  z-index: 0;
}

.hero-slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right 5% center;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-slide-bg-img {
    object-position: center center;
    opacity: 0.6;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-embed-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-embed-bg iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  pointer-events: none;
  opacity: 0.8;
  transform: scale(1.05);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
}

/* Hero Visual Circles */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-gfx-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: var(--color-primary);
}

/* Hero Controls */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
  z-index: 10;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-prev {
  left: 16px;
}

.hero-next {
  right: 16px;
}

.hero-prev:hover,
.hero-next:hover {
  background: var(--color-primary);
  color: #000;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-dot.active {
  background: var(--color-primary);
  width: 24px;
}

/* ===== MARQUEE ===== */
.marquee-bar {
  background: linear-gradient(90deg, #080610 0%, #1a1030 50%, #080610 100%);
  border-top: 1px solid rgba(139, 25, 255, 0.2);
  border-bottom: 1px solid rgba(139, 25, 255, 0.2);
  padding: 9px 0;
  overflow: hidden;
}

.marquee-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.marquee-label {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.marquee-label .fa-bell {
  animation: bellRing 2s ease infinite;
}

.marquee-wrap {
  flex: 1;
  overflow: hidden;
}

.marquee-content {
  display: inline-flex;
  gap: 30px;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  font-size: 13px;
  color: var(--color-text-dim);
}

.marquee-content span:first-child {
  color: var(--color-text);
}

@media (max-width: 420px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .stat-num-big {
    font-size: 22px;
  }
}

/* ── Topbar marquee fix ─────────────────────────── */
.marquee-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.marquee-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.marquee-content {
  display: inline-flex;
  gap: 24px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  font-size: 13px;
  color: var(--color-text-dim);
}

.marquee-content .sep {
  opacity: 0.4;
}

/* ── MODULE: components/cookie.css (149 dòng) ── */
/* ── COOKIE CONSENT BANNER (Nghị định 13/2023/NĐ-CP & An ninh Trải nghiệm) ── */
.prx-cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(18, 24, 38, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 24px rgba(139, 25, 255, 0.12);
  z-index: 999999;
  font-size: 13.5px;
  line-height: 1.55;
  color: #cbd5e1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  animation: prxCookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.prx-cookie-banner.show {
  display: flex !important;
}

.prx-cookie-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.prx-cookie-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(139, 25, 255, 0.14);
  border: 1px solid rgba(139, 25, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prx-cookie-icon-wrap i {
  font-size: 20px;
  color: var(--color-primary);
  filter: drop-shadow(0 2px 6px rgba(139, 25, 255, 0.45));
}

.prx-cookie-text {
  flex: 1;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.5;
}

.prx-cookie-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.prx-cookie-link:hover {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(139, 25, 255, 0.5);
}

.prx-cookie-actions {
  flex-shrink: 0;
}

.prx-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  background: linear-gradient(135deg, #8b19ff 0%, #6d0edb 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.45);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.prx-cookie-btn i,
.prx-cookie-btn span {
  color: #ffffff !important;
}

.prx-cookie-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #9d3bff 0%, #7c14e8 100%);
  box-shadow: 0 6px 22px rgba(139, 25, 255, 0.65);
  color: #ffffff !important;
  filter: brightness(1.1);
}

.prx-cookie-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.3);
}

@media (max-width: 640px) {
  .prx-cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .prx-cookie-content {
    gap: 10px;
  }

  .prx-cookie-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .prx-cookie-icon-wrap i {
    font-size: 18px;
  }

  .prx-cookie-text {
    font-size: 12.5px;
  }

  .prx-cookie-btn {
    width: 100%;
    padding: 10px;
  }
}

/* ── MODULE: components/loader.css (253 dòng) ── */
/* ── EXTRACTED FROM loading.ejs ── */
/* ── PRX PAGE TRANSITION LOADER ── */
.prx-loader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 14, 20, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Trạng thái mặc định luôn ẩn hoàn toàn & không chặn thao tác chuột */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.prx-loader-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* Top Glowing Slim Progress Bar */
.prx-loader-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.prx-loader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), #8B19FF, #ef4444);
  box-shadow: 0 0 12px rgba(139, 25, 255, 0.8), 0 0 4px #ef4444;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Center Container */
.prx-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 32px;
  border-radius: 16px;
  background: rgba(26, 26, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 25, 255, 0.1);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.prx-loader-overlay.active .prx-loader-content {
  transform: scale(1);
}

/* Radar Pulse Rings */
.prx-loader-radar-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prx-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.prx-ring-1 {
  border-color: rgba(139, 25, 255, 0.4);
  border-top-color: var(--color-primary);
  animation: prxRadarSpin 1.2s linear infinite;
}

.prx-ring-2 {
  inset: -6px;
  border: 1px dashed rgba(139, 25, 255, 0.25);
  animation: prxRadarSpinRev 2.4s linear infinite;
}

.prx-loader-sweep {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 280deg, rgba(139, 25, 255, 0.35) 360deg);
  animation: prxRadarSpin 1.2s linear infinite;
}

.prx-loader-icon {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: #0e0a1a;
  border: 1px solid rgba(139, 25, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 19px;
  box-shadow: 0 0 16px rgba(139, 25, 255, 0.35);
  animation: prxIconPulse 1.8s ease-in-out infinite;
}

/* Branding */
.prx-loader-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.prx-brand-accent {
  color: var(--color-primary);
}

.prx-loader-status {
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.prx-loader-dots::after {
  content: '...';
  display: inline-block;
  width: 14px;
  text-align: left;
  animation: prxDots 1.5s infinite steps(4, end);
}

/* Keyframe Animations */
@keyframes prxRadarSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes prxRadarSpinRev {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes prxIconPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(139, 25, 255, 0.25);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(139, 25, 255, 0.55);
    color: #fff;
  }
}

@keyframes prxDots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}

/* Style Bar & Minimalist */
.prx-style-bar .prx-loader-content {
  display: none !important;
}

.prx-style-bar.prx-loader-overlay {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.prx-content-minimal {
  padding: 14px 20px !important;
  gap: 8px !important;
}

.prx-content-minimal .prx-loader-radar-wrap {
  width: 48px !important;
  height: 48px !important;
}

.prx-content-minimal .prx-loader-icon {
  width: 30px !important;
  height: 30px !important;
  font-size: 13px !important;
}

.prx-content-minimal .prx-loader-brand {
  font-size: 14px !important;
}

/* Speed variants */
.prx-speed-fast.prx-loader-overlay {
  transition-duration: 0.15s !important;
}

.prx-speed-fast .prx-loader-progress-bar {
  transition-duration: 0.16s !important;
}

.prx-speed-smooth.prx-loader-overlay {
  transition-duration: 0.38s !important;
}

.prx-speed-smooth .prx-loader-progress-bar {
  transition-duration: 0.48s !important;
}

/* ── MODULE: modern.css (904 dòng) ── */
/* ==========================================================================
   PLAYRADARX v2 — MODERN GAMING UI DESIGN SYSTEM (MODERN.CSS)
   Aesthetic: Ultra-Deep Obsidian, Cyberpunk Accents & Glassmorphism
   Designed for Visual Excellence, 60fps Micro-interactions & High Legibility
   ========================================================================== */

:root {
  /* ── 1. Color Palette: Deep Obsidian Gaming Theme ── */
  --mx-bg-base: #07090e;
  --mx-bg-elevated: #0d121d;
  --mx-bg-surface: #131b2e;
  --mx-bg-card: rgba(32, 38, 58, 0.85);
  --mx-bg-glass: rgba(13, 18, 29, 0.82);
  --mx-border-subtle: rgba(255, 255, 255, 0.07);
  --mx-border-glow: #8B19FF;
  --mx-border-vip: rgba(139, 25, 255, 0.45);

  /* ── 2. Accent Lighting (Luminous Gradients) ── */
  --mx-cyan: #00f2fe;
  --mx-blue: #38bdf8;
  --mx-purple: #fbbf24;
  --mx-gold: var(--color-primary);
  --mx-gold-light: #fbbf24;
  --mx-emerald: #22C55E;
  --mx-rose: #f43f5e;

  /* ── 3. High-Fidelity Typography ── */
  --mx-text-primary: #f8fafc;
  --mx-text-secondary: #A1A1B5;
  --mx-text-muted: #64748b;
  --mx-text-gold: #fde047;

  /* ── 4. Spatial Tokens & Shadows ── */
  --mx-radius-sm: 6px;
  --mx-radius-md: 10px;
  --mx-radius-lg: 16px;
  --mx-radius-xl: 20px;
  --mx-shadow-card: 0 8px 32px -4px rgba(0, 0, 0, 0.5), 0 2px 8px -2px rgba(0, 0, 0, 0.4);
  --mx-shadow-hover: 0 16px 40px -8px rgba(0, 0, 0, 0.7), 0 0 24px -4px rgba(56, 189, 248, 0.2);
  --mx-shadow-vip: 0 12px 36px -6px rgba(0, 0, 0, 0.7), 0 0 28px -4px rgba(139, 25, 255, 0.3);
  --mx-blur: blur(16px);
  --mx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== GLOBAL BODY & BACKGROUND TEXTURE ===== */
body {
  background-color: var(--mx-bg-base) !important;
  color: var(--mx-text-primary) !important;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Subtle glowing background ambient spots */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 20%;
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== 1. ULTRA-PREMIUM GLASSMORPHIC HEADER ===== */
.site-header {
  background: var(--mx-bg-glass) !important;
  backdrop-filter: var(--mx-blur) saturate(180%) !important;
  -webkit-backdrop-filter: var(--mx-blur) saturate(180%) !important;
  border-bottom: 2px solid var(--mx-gold) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s var(--mx-ease) !important;
}

/* Luminous bottom accent line for header */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(139, 25, 255, 0.3) 25%, rgba(251, 191, 36, 0.75) 50%, rgba(139, 25, 255, 0.3) 75%, transparent);
  pointer-events: none;
}

/* Logo enhancement */
.site-header .logo h1,
.site-header .logo .logo-title {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #A1A1B5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

/* Navigation Links */
.nav-link {
  color: var(--mx-text-secondary) !important;
  font-weight: 500 !important;
  font-size: 14.5px !important;
  padding: 8px 14px !important;
  border-radius: var(--mx-radius-sm) !important;
  transition: all 0.2s var(--mx-ease) !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--mx-gold-light) !important;
  background: rgba(139, 25, 255, 0.12) !important;
  box-shadow: 0 0 12px rgba(139, 25, 255, 0.2);
}

/* Primary Action Buttons in Header */
.site-header .btn-admin,
.site-header .btn-submit {
  background: linear-gradient(135deg, #8B19FF 0%, var(--color-primary-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(139, 25, 255, 0.35) !important;
  border-radius: var(--mx-radius-md) !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.25s var(--mx-ease) !important;
}

.site-header .btn-admin:hover,
.site-header .btn-submit:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #8B19FF 100%) !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

/* ===== 2. HERO CAROUSEL LUXURY STYLING ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--mx-border-subtle);
  background: radial-gradient(ellipse at top, #111827 0%, var(--mx-bg-base) 80%) !important;
}

.hero-slide {
  transition: opacity 0.6s var(--mx-ease), transform 0.6s var(--mx-ease) !important;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.3) 0%, rgba(7, 9, 14, 0.7) 60%, var(--mx-bg-base) 100%) !important;
}

.hero-badge {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid var(--mx-cyan) !important;
  color: var(--mx-cyan) !important;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3) !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-family: 'Oswald', sans-serif !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  color: var(--mx-text-secondary) !important;
  font-size: 1.1rem !important;
  max-width: 620px;
  line-height: 1.7;
}

/* Hero Action Buttons */
.btn-hero-primary {
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%) !important;
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.8px;
  padding: 12px 28px !important;
  border-radius: var(--mx-radius-md) !important;
  box-shadow: 0 8px 25px rgba(139, 25, 255, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s var(--mx-ease) !important;
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 12px 32px rgba(139, 25, 255, 0.6) !important;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
  color: var(--mx-text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 12px 24px !important;
  border-radius: var(--mx-radius-md) !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.5px;
  transition: all 0.25s var(--mx-ease) !important;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* Hero Controls */
.hero-prev,
.hero-next {
  background: rgba(13, 18, 29, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 46px !important;
  height: 46px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.2s var(--mx-ease) !important;
}

.hero-prev:hover,
.hero-next:hover {
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%) !important;
  border-color: #8B19FF !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* ===== 3. CATEGORY CARDS — SLEEK GAMING TILES ===== */
.categories-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)) !important;
  gap: 14px !important;
}

.cat-card {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: var(--mx-bg-card) !important;
  backdrop-filter: var(--mx-blur) !important;
  -webkit-backdrop-filter: var(--mx-blur) !important;
  border: 1px solid var(--mx-border-subtle) !important;
  border-radius: var(--mx-radius-md) !important;
  padding: 12px 14px 12px 16px !important;
  box-shadow: var(--mx-shadow-card) !important;
  transition: all 0.22s var(--mx-ease) !important;
  overflow: hidden;
  text-decoration: none !important;
}

.cat-card:hover {
  transform: translateY(-2px) !important;
  border-color: var(--c, var(--mx-blue)) !important;
  box-shadow: 0 8px 22px -4px rgba(0, 0, 0, 0.6), 0 0 14px -2px var(--c, rgba(56, 189, 248, 0.3)) !important;
}

.cat-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  color: var(--c, var(--mx-gold));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s var(--mx-ease) !important;
}

.cat-card:hover .cat-icon {
  background: var(--c, var(--mx-gold)) !important;
  color: #0c0d14 !important;
  border-color: var(--c, var(--mx-gold)) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 4px 14px var(--c, rgba(139, 25, 255, 0.45)) !important;
}

.cat-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.cat-info h3 {
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  margin: 0 0 3px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.cat-info p {
  color: #cbd5e1 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
}

.cat-arrow {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  font-size: 10px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--c, var(--mx-gold)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.6 !important;
  transition: all 0.2s var(--mx-ease);
}

.cat-card:hover .cat-arrow {
  opacity: 1 !important;
  transform: translateX(2px) !important;
}

/* ===== 4. VIP SERVER CARDS — RADIANT GLOW & LUXURY BORDER ===== */
.vip-servers-section {
  background: linear-gradient(180deg, rgba(139, 25, 255, 0.05) 0%, transparent 100%);
  border: 1px solid rgba(139, 25, 255, 0.2);
  border-radius: 8px !important;
  padding: 8px 10px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 14px -6px rgba(139, 25, 255, 0.12) !important;
}

.vip-server-card {
  background: linear-gradient(135deg, rgba(26, 34, 52, 0.85) 0%, rgba(15, 22, 36, 0.95) 100%) !important;
  border: 1px solid var(--mx-border-vip) !important;
  border-radius: 6px !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  position: relative;
  transition: all 0.2s var(--mx-ease) !important;
  overflow: hidden !important;
}

.vip-server-card:hover {
  transform: translateY(-1px) !important;
  border-color: var(--mx-gold-light) !important;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.7), 0 0 16px 1px rgba(139, 25, 255, 0.25) !important;
}

.vip-tag-crown {
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 9.5px !important;
  letter-spacing: 0.5px;
  padding: 1.5px 6px !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4) !important;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vip-server-title a {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  text-decoration: none !important;
  transition: color 0.2s var(--mx-ease);
}

.vip-server-title a:hover {
  color: var(--mx-gold-light) !important;
}

.btn-vip-view {
  background: linear-gradient(135deg, #8B19FF 0%, var(--color-primary-dark) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 10.5px !important;
  padding: 2.5px 8px !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s var(--mx-ease);
}

.btn-vip-view:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #8B19FF 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(139, 25, 255, 0.45) !important;
}

/* Pulsing Online Dot */
.vip-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #22C55E;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ===== 5. REGULAR SERVER & GAME ITEMS ===== */
.game-group-container {
  background: var(--mx-bg-card) !important;
  backdrop-filter: var(--mx-blur) !important;
  border: 1px solid var(--mx-border-subtle) !important;
  border-radius: 6px !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: var(--mx-shadow-card) !important;
  transition: all 0.2s var(--mx-ease) !important;
  overflow: hidden !important;
}

.game-group-container:hover {
  transform: translateY(-1px) !important;
  border-color: #8B19FF !important;
  box-shadow: var(--mx-shadow-hover) !important;
}

.game-title a {
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s var(--mx-ease);
}

.game-title a:hover {
  color: var(--mx-cyan) !important;
}

.btn-game {
  background: linear-gradient(135deg, rgba(139, 25, 255, 0.22) 0%, rgba(168, 85, 247, 0.22) 100%) !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 10.5px !important;
  padding: 2px 8px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.2s var(--mx-ease) !important;
}

.btn-game:hover {
  background: linear-gradient(135deg, #8B19FF 0%, #5B00B8 100%) !important;
  border-color: #8B19FF !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* ===== 6. SIDEBAR & WIDGET CARDS ===== */
.sidebar .widget {
  background: var(--mx-bg-card) !important;
  backdrop-filter: var(--mx-blur) !important;
  border: 1px solid var(--mx-border-subtle) !important;
  border-radius: var(--mx-radius-lg) !important;
  padding: 20px !important;
  margin-bottom: 24px !important;
  box-shadow: var(--mx-shadow-card) !important;
}

.sidebar .widget-title {
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px;
  border-bottom: 2px solid rgba(139, 25, 255, 0.4) !important;
  padding-bottom: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .widget-title i {
  color: var(--mx-gold);
}

.top-server-list li {
  padding: 10px 8px !important;
  border-radius: var(--mx-radius-sm);
  transition: background 0.2s var(--mx-ease);
}

.top-server-list li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.top-server-list .rank {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

.top-server-list .rank-1 {
  background: linear-gradient(135deg, #8B19FF, var(--color-primary-dark)) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.top-server-list .rank-2 {
  background: linear-gradient(135deg, #A1A1B5, #64748b) !important;
  color: #fff !important;
}

.top-server-list .rank-3 {
  background: linear-gradient(135deg, #b45309, #78350f) !important;
  color: #fff !important;
}

/* ===== 7. NEWS CARDS ===== */
.news-card {
  background: var(--mx-bg-card) !important;
  border: 1px solid var(--mx-border-subtle) !important;
  border-radius: var(--mx-radius-lg) !important;
  box-shadow: var(--mx-shadow-card) !important;
  overflow: hidden;
  transition: all 0.28s var(--mx-ease) !important;
}

.news-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: var(--mx-shadow-hover) !important;
}

.news-card img {
  transition: transform 0.4s var(--mx-ease);
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-body h3 a,
.news-mini-body h4 a {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s var(--mx-ease);
}

.news-body h3 a:hover,
.news-mini-body h4 a:hover {
  color: var(--mx-gold-light) !important;
}

/* ===== 8. HIGH-END FORM CONTROLS & MODALS ===== */
html:not([data-theme="light"]) .form-control,
html:not([data-theme="light"]) input[type="text"]:not(#headerSearchInput):not(.otp-digit-cell):not(.search-form-big input):not(.srv-table-search input),
html:not([data-theme="light"]) input[type="password"],
html:not([data-theme="light"]) input[type="email"],
html:not([data-theme="light"]) input[type="tel"],
html:not([data-theme="light"]) input[type="number"],
html:not([data-theme="light"]) select,
html:not([data-theme="light"]) textarea {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: var(--mx-radius-sm) !important;
  transition: all 0.2s var(--mx-ease) !important;
}

html:not([data-theme="light"]) .form-control:focus,
html:not([data-theme="light"]) input[type="text"]:not(#headerSearchInput):not(.otp-digit-cell):not(.search-form-big input):not(.srv-table-search input):focus,
html:not([data-theme="light"]) input[type="password"]:focus,
html:not([data-theme="light"]) input[type="email"]:focus,
html:not([data-theme="light"]) input[type="tel"]:focus,
html:not([data-theme="light"]) input[type="number"]:focus,
html:not([data-theme="light"]) select:focus,
html:not([data-theme="light"]) textarea:focus {
  border-color: var(--mx-blue) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
  background: rgba(15, 23, 42, 0.95) !important;
  outline: none !important;
}

/* Dedicated OTP 6-cell styling */
html:not([data-theme="light"]) .otp-digit-cell {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  width: 44px !important;
  height: 50px !important;
  text-align: center !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.otp-digit-cell:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 14px rgba(139, 25, 255, 0.4) !important;
  background: rgba(26, 34, 52, 0.95) !important;
  outline: none !important;
}

/* Header Search Input Specific: Pure transparent input without dark box */
.header-search-form {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  transition: all 0.25s var(--mx-ease) !important;
}

.header-search-form:focus-within {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--mx-blue) !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25) !important;
}

.header-search-form input,
#headerSearchInput,
.search-form-big input,
.srv-table-search input {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.header-search-form input:focus,
#headerSearchInput:focus,
.search-form-big input:focus,
.srv-table-search input:focus {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Auth Modal Backdrop */
.modal-backdrop,
.auth-modal-overlay {
  background: rgba(7, 9, 14, 0.85) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.auth-modal-content,
.modal-content {
  background: linear-gradient(135deg, rgba(19, 27, 46, 0.95) 0%, rgba(13, 18, 29, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--mx-radius-xl) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.15) !important;
  color: #ffffff !important;
}

/* ===== 9. FOOTER ELEGANCE ===== */
.site-footer {
  background: #05070a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 50px !important;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3) 30%, rgba(139, 25, 255, 0.3) 70%, transparent);
}

.footer-col h4 {
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a:not(.btn-footer-ad) {
  color: var(--mx-text-secondary) !important;
  text-decoration: none !important;
  transition: all 0.2s var(--mx-ease);
}

.footer-col a:not(.btn-footer-ad):hover {
  color: var(--mx-gold-light) !important;
  padding-left: 4px;
}

.footer-col .btn-footer-ad,
.btn-footer-ad {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin-top: 6px !important;
  padding: 4px 10px !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, #5B00B8 100%) !important;
  color: #0b0f19 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.25) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-col .btn-footer-ad:hover,
.btn-footer-ad:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--color-primary) 100%) !important;
  color: #000000 !important;
  box-shadow: 0 3px 12px rgba(139, 25, 255, 0.4) !important;
  transform: translateY(-1px) !important;
  padding-left: 10px !important;
}

/* ===== 10. RESPONSIVE PERFECTION ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem !important;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cat-card {
    padding: 12px 10px !important;
  }

  .cat-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
}

/* ===== 11. P2-04 / FA-01: MOBILE THUMBNAIL RESILIENCE ===== */
.news-list-thumb {
  flex-shrink: 0 !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (max-width: 480px) {
  .news-list-card {
    min-width: 0 !important;
  }

  .news-list-thumb {
    flex-shrink: 0 !important;
    min-width: 84px !important;
    width: 84px !important;
    height: 84px !important;
    min-height: 84px !important;
    object-fit: cover !important;
  }

  .news-list-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

/* Accessibility: Tôn trọng tùy chọn giảm chuyển động của hệ điều hành (UX-001) */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibility: Skip Navigation Link & Semantic Main Landmark (UX-001) */
.skip-nav-link {
  position: absolute;
  top: -120px;
  left: 16px;
  background: var(--color-primary, var(--color-primary));
  color: #0b0e14;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 999999;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-nav-link:focus {
  top: 16px;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.site-main {
  display: block;
  min-height: calc(100vh - 380px);
  position: relative;
}

/* ── MODULE: lang.css (268 dòng) ── */
/* ==========================================================================
   PLAYRADARX — 6-LANGUAGE FONT SYNCHRONIZATION & SWITCHER SYSTEM
   Đồng bộ hóa Font chữ chuẩn cho 6 ngôn ngữ (1 Chính: VI + 5 Phụ: EN, ZH, JA, KO, RU)
   ========================================================================== */

:root {
  /* Stack Font đa ngôn ngữ hợp nhất (Hỗ trợ đầy đủ Tiếng Việt, Latin, Cyrillic, CJK Trung - Nhật - Hàn) */
  --prx-font-vi: 'Be Vietnam Pro', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --prx-font-en: 'Roboto', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --prx-font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Heiti SC', 'Roboto', sans-serif;
  --prx-font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Roboto', sans-serif;
  --prx-font-ko: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', 'NanumBarunGothic', 'Roboto', sans-serif;
  --prx-font-ru: 'Roboto', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --prx-heading-latin: 'Oswald', 'Be Vietnam Pro', 'Roboto', sans-serif;
  --prx-heading-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --prx-heading-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --prx-heading-ko: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;

  /* Mặc định: Ngôn ngữ chính Tiếng Việt (vi) */
  --font-main: var(--prx-font-vi);
  --font-heading: var(--prx-heading-latin);
}

/* 1. Ngôn ngữ chính: Tiếng Việt (VI) */
html[lang="vi"],
body[data-lang="vi"] {
  --font-main: var(--prx-font-vi);
  --font-heading: var(--prx-heading-latin);
}

/* 2. Ngôn ngữ phụ 1: Tiếng Anh (EN) */
html[lang="en"],
body[data-lang="en"] {
  --font-main: var(--prx-font-en);
  --font-heading: var(--prx-heading-latin);
}

/* 3. Ngôn ngữ phụ 2: Tiếng Trung Giản Thể (ZH) */
html[lang="zh"],
body[data-lang="zh"] {
  --font-main: var(--prx-font-zh);
  --font-heading: var(--prx-heading-zh);
  letter-spacing: 0.01em;
}

/* 4. Ngôn ngữ phụ 3: Tiếng Nhật (JA) */
html[lang="ja"],
body[data-lang="ja"] {
  --font-main: var(--prx-font-ja);
  --font-heading: var(--prx-heading-ja);
  letter-spacing: 0.01em;
}

/* 5. Ngôn ngữ phụ 4: Tiếng Hàn (KO) */
html[lang="ko"],
body[data-lang="ko"] {
  --font-main: var(--prx-font-ko);
  --font-heading: var(--prx-heading-ko);
  word-break: keep-all;
}

/* 6. Ngôn ngữ phụ 5: Tiếng Nga (RU - Cyrillic) */
html[lang="ru"],
body[data-lang="ru"] {
  --font-main: var(--prx-font-ru);
  --font-heading: var(--prx-heading-latin);
}

/* Đồng hóa toàn bộ phần tử văn bản & tiêu đề theo biến Font ngôn ngữ hiện hành */
html body {
  font-family: var(--font-main) !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body input,
html body button,
html body select,
html body textarea {
  font-family: var(--font-main) !important;
}

html body h1,
html body h2,
html body h3,
html body .section-title,
html body .logo-main,
html body .page-title,
html body .sidebar-widget-title,
html body .footer-col h4 {
  font-family: var(--font-heading) !important;
}

/* ==========================================================================
   MULTI-LANGUAGE SWITCHER DROPDOWN STYLES
   ========================================================================== */

.header-lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-header-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.btn-header-lang:hover,
.header-lang-wrap.open .btn-header-lang {
  background: #1e2330;
  border-color: #8B19FF;
  color: #8B19FF;
}

.btn-header-lang .lang-flag {
  font-size: 15px;
  line-height: 1;
}

.btn-header-lang .lang-code {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-header-lang .lang-caret {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.header-lang-wrap.open .btn-header-lang .lang-caret {
  transform: rotate(180deg);
  color: #8B19FF;
}

/* Dropdown Menu Ngôn Ngữ */
.header-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  background: #161a26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 16px rgba(139, 25, 255, 0.08);
  padding: 6px;
  z-index: 10000;
  display: none;
  flex-direction: column;
  gap: 3px;
  animation: prxLangFadeIn 0.2s ease-out forwards;
}

.header-lang-wrap.open .header-lang-menu {
  display: flex;
}

@keyframes prxLangFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-item:hover {
  background: rgba(139, 25, 255, 0.12);
  color: #8B19FF;
}

.lang-item.active {
  background: rgba(139, 25, 255, 0.18);
  color: #8B19FF;
  font-weight: 700;
}

.lang-item .lang-item-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-item .lang-item-name {
  flex: 1;
}

.lang-item .lang-check {
  font-size: 11px;
  color: #8B19FF;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lang-item.active .lang-check {
  opacity: 1;
}

/* Ẩn hoàn toàn thanh công cụ và banner của Google Translate để giữ trọn vẹn giao diện PlayRadarX */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

font {
  background: transparent !important;
  box-shadow: none !important;
}

iframe.skiptranslate,
.goog-te-banner-frame.skiptranslate,
body>.skiptranslate {
  display: none !important;
}

/* ── MODULE: theme.css (1485 dòng) ── */
/* ==========================================================================
   PLAYRADARX — THEME SWITCHER (LIGHT / DARK) STYLES
   Aesthetic: 
   - Dark Mode: Ultra-Deep Obsidian Gaming Theme
   - Light Mode: Eye-Comfort Soft Platinum / Slate Gaming Theme (Chống chói mắt)
   ========================================================================== */

/* ── 0. CÁC LỚP TIỆN ÍCH DÙNG CHUNG CẢ DARK & LIGHT MODE ────────────────── */
.games-filter-toolbar {
  background: rgba(15, 18, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.games-search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  outline: none;
  box-sizing: border-box;
}

.games-search-input:focus {
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.45);
}

.games-filter-label {
  font-size: 12px;
  color: #A1A1B5;
  margin-right: 4px;
}

.btn-game-active {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid var(--color-primary) !important;
}

.btn-game-normal {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-weight: 500 !important;
}

.btn-game-normal:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
}

/* Lớp tiện ích trang liên hệ (Dark Mode mặc định) */
.contact-glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.contact-card-title {
  color: #ffffff;
}

.contact-card-desc {
  color: #A1A1B5;
}

.contact-form-label {
  color: #ffffff;
}

.contact-form-input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-form-input.readonly-input {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
}

.contact-auth-badge {
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.contact-auth-user {
  color: #ffffff;
}

.contact-auth-email {
  color: #A1A1B5;
}

.contact-login-required {
  background: rgba(139, 25, 255, 0.04);
  border: 1px dashed rgba(139, 25, 255, 0.35);
}

.contact-login-title {
  color: #ffffff;
}

.contact-login-desc {
  color: #A1A1B5;
}

.contact-login-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #A1A1B5;
}

.btn-contact-register {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.ad-note-title {
  color: #ffffff;
}

.ad-note-desc {
  color: #A1A1B5;
}

.ad-policy-title {
  color: #ffffff;
}

.ad-policy-desc {
  color: #A1A1B5;
}

/* ── 1. NÚT CHUYỂN ĐỔI THEME TRẮNG / ĐEN (LIGHT / DARK) ─────────────────── */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-theme-toggle:hover {
  background: #1e2330;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 25, 255, 0.2);
}

.btn-theme-toggle .theme-icon-light {
  display: none;
}

.btn-theme-toggle .theme-icon-dark {
  display: inline-block;
}

/* Khi đang ở Light Theme (Chế độ Sáng — Dịu Mắt) */
html[data-theme="light"] .btn-theme-toggle .theme-icon-dark {
  display: none;
}

html[data-theme="light"] .btn-theme-toggle .theme-icon-light {
  display: inline-block;
  color: var(--color-primary-dark);
}

/* ── 2. BỘ TOKEN MÀU SÁNG DỊU MẮT (EYE-COMFORT SOFT PLATINUM) ───────────── */
html[data-theme="light"] {
  /* Nền trang chuyển sang tone xám dịu mắt #e6e9ee (tránh trắng toát gây lóa mắt) */
  --color-bg: #e6e9ee;
  --color-bg2: #ffffff;
  --color-bg3: #dfe3ea;
  --color-surface: #ffffff;
  --color-surface2: #f4f6fa;
  --color-border: #cbd5e1;
  --color-text: #1e293b;
  --color-text-dim: #64748b;
  --color-text-bright: #0f172a;
  --color-white: #0f172a;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f1f5f9;
  --bg: #e6e9ee;
  --nc: #1e293b;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 8px 26px rgba(15, 23, 42, 0.09);

  /* Bộ biến modern.css (--mx-*) chống chói */
  --mx-bg-base: #e6e9ee;
  --mx-bg-elevated: #ffffff;
  --mx-bg-surface: #ffffff;
  --mx-bg-card: #ffffff;
  --mx-bg-glass: rgba(255, 255, 255, 0.94);
  --mx-border-subtle: #cbd5e1;
  --mx-border-glow: rgba(2, 132, 199, 0.3);
  --mx-border-vip: rgba(139, 25, 255, 0.6);
  --mx-text-primary: #0f172a;
  --mx-text-secondary: #334155;
  --mx-text-muted: #64748b;
  --mx-text-gold: #b45309;
  --mx-shadow-card: 0 2px 10px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --mx-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.09), 0 0 14px rgba(139, 25, 255, 0.2);
  --mx-shadow-vip: 0 6px 20px rgba(139, 25, 255, 0.18);
}

/* ── 3. BODY & KHẮC PHỤC CHÓI LÓA ────────────────────────────────────────── */
html[data-theme="light"] body {
  background-color: #e6e9ee !important;
  background-image: none !important;
  color: #1e293b !important;
}

html[data-theme="light"] body::before,
html[data-theme="light"] body::after {
  display: none !important;
}

html[data-theme="light"] #seasonalBodyBgStyle {
  display: none !important;
}

/* ── 4. TOPBAR & THANH MARQUEE ──────────────────────────────────────────── */
html[data-theme="light"] .topbar {
  background: #dfe4ec !important;
  border-bottom: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

html[data-theme="light"] .topbar span,
html[data-theme="light"] .topbar .marquee-content span,
html[data-theme="light"] .topbar-right a {
  color: #334155 !important;
}

html[data-theme="light"] .topbar-right a:hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .marquee-bar {
  background: linear-gradient(90deg, #dfe4ec 0%, #edf1f7 50%, #dfe4ec 100%) !important;
}

/* ── 5. SITE HEADER, LOGO, NAV, SEARCH & USER DROPDOWNS ─────────────────── */
html[data-theme="light"] .site-header {
  background: #ffffff !important;
  border-bottom: 2px solid var(--color-primary) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] .site-header::after {
  display: none !important;
}

html[data-theme="light"] .logo-main,
html[data-theme="light"] .site-header .logo h1,
html[data-theme="light"] .site-header .logo .logo-title {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #0f172a !important;
  text-shadow: none !important;
}

html[data-theme="light"] .logo-sub {
  color: #475569 !important;
}

html[data-theme="light"] .nav-link {
  color: #1e293b !important;
  font-weight: 600 !important;
}

html[data-theme="light"] .nav-link:hover {
  color: var(--color-primary-dark) !important;
  background: rgba(139, 25, 255, 0.1) !important;
}

html[data-theme="light"] .nav-link.active {
  color: var(--color-primary-dark) !important;
  background: rgba(139, 25, 255, 0.15) !important;
}

html[data-theme="light"] .btn-header-lang,
html[data-theme="light"] .btn-theme-toggle {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

html[data-theme="light"] .btn-header-lang:hover,
html[data-theme="light"] .btn-theme-toggle:hover {
  background: #e2e8f0 !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .header-lang-menu {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .lang-item {
  color: #1e293b !important;
}

html[data-theme="light"] .lang-item:hover,
html[data-theme="light"] .lang-item.active {
  background: #f1f5f9 !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .site-header .user-profile-btn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .site-header .user-profile-btn i {
  color: #334155 !important;
}

html[data-theme="light"] .site-header .user-dropdown-wrap.open .user-profile-btn {
  background: #e2e8f0 !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .user-dropdown-menu {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .user-dropdown-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .site-header .user-dd-name {
  color: #0f172a !important;
}

html[data-theme="light"] .site-header .user-dd-role {
  color: #64748b !important;
}

html[data-theme="light"] .user-dd-item {
  color: #1e293b !important;
}

html[data-theme="light"] .user-dd-item:hover,
html[data-theme="light"] .site-header .user-dd-item:hover {
  background: #f1f5f9 !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .user-dropdown-footer,
html[data-theme="light"] .site-header .user-dropdown-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .header-search-form {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

html[data-theme="light"] .header-search-form:focus-within {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.18) !important;
}

html[data-theme="light"] #headerSearchInput {
  color: #0f172a !important;
}

html[data-theme="light"] #headerSearchInput::placeholder {
  color: #64748b !important;
}

html[data-theme="light"] .header-search-dropdown {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .header-search-dropdown a {
  color: #1e293b !important;
}

html[data-theme="light"] .header-search-dropdown a:hover {
  background: #f1f5f9 !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .nav-list {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

html[data-theme="light"] .nav-item.mobile-only-auth {
  border-top-color: #e2e8f0 !important;
}

html[data-theme="light"] .nav-item.mobile-only-auth button {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* ── 6. HERO BANNER & BREADCRUMBS ───────────────────────────────────────── */
html[data-theme="light"] .hero-banner {
  background: linear-gradient(135deg, #e2e8f0 0%, #edf2f7 50%, #e2e8f0 100%) !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .hero-slide {
  background: transparent !important;
}

html[data-theme="light"] .hero-bg-wrap {
  opacity: 0.28 !important;
}

html[data-theme="light"] .hero-slide-bg-blur {
  filter: blur(28px) brightness(1.15) !important;
}

html[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.4) 0%, rgba(241, 245, 249, 0.88) 60%, #e6e9ee 100%) !important;
}

html[data-theme="light"] .hero-badge {
  background: #ffffff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15) !important;
}

html[data-theme="light"] .hero-content h1,
html[data-theme="light"] .hero-content h2 {
  color: #0f172a !important;
  text-shadow: none !important;
}

html[data-theme="light"] .hero-content p {
  color: #334155 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .btn-hero-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .btn-hero-secondary:hover {
  background: #f8fafc !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .hero-prev,
html[data-theme="light"] .hero-next {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .hero-prev:hover,
html[data-theme="light"] .hero-next:hover {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .hero-dots .hero-dot {
  background: #cbd5e1 !important;
}

html[data-theme="light"] .hero-dots .hero-dot.active {
  background: var(--color-primary) !important;
}

html[data-theme="light"] .page-hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef2f6 100%) !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .page-hero.category-hero-dynamic {
  background: linear-gradient(135deg, #ffffff 0%, #eef2f6 100%) !important;
}

html[data-theme="light"] .page-hero-content h1 {
  color: #0f172a !important;
  text-shadow: none !important;
}

html[data-theme="light"] .page-hero-content p {
  color: #334155 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .page-hero-icon {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .page-hero-meta span {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

html[data-theme="light"] .breadcrumb {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] .breadcrumb a {
  color: #1e293b !important;
}

html[data-theme="light"] .breadcrumb .sep {
  color: #A1A1B5 !important;
}

html[data-theme="light"] .section-header {
  border-bottom: 2px solid #cbd5e1 !important;
}

html[data-theme="light"] .section-header h2 {
  color: #0f172a !important;
  text-shadow: none !important;
}

/* ── 7. DANH MỤC GAME, TỰA GAME & THẺ SEARCH BAR TRANG /TUA-GAME ───────── */
/* Xóa bỏ khối đen xì tại trang /tua-game (Ảnh 1) */
html[data-theme="light"] .games-filter-toolbar,
html[data-theme="light"] .main-col>div[style*="rgba(15,18,28,0.6)"],
html[data-theme="light"] div[style*="background:rgba(15,18,28,0.6)"],
html[data-theme="light"] .category-filter-bar,
html[data-theme="light"] .tua-game-toolbar {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .games-search-input,
html[data-theme="light"] input.games-search-input,
html[data-theme="light"] .games-filter-toolbar input,
html[data-theme="light"] .games-filter-toolbar input[name="q"],
html[data-theme="light"] form[action="/games"] input[name="q"],
html[data-theme="light"] form[action="/tua-game"] input[name="q"],
html[data-theme="light"] .main-col input[name="q"] {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .games-search-input:focus,
html[data-theme="light"] input.games-search-input:focus,
html[data-theme="light"] .games-filter-toolbar input:focus,
html[data-theme="light"] .games-filter-toolbar input[name="q"]:focus,
html[data-theme="light"] form[action="/tua-game"] input[name="q"]:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

html[data-theme="light"] .games-search-input::placeholder,
html[data-theme="light"] input.games-search-input::placeholder,
html[data-theme="light"] .games-filter-toolbar input::placeholder,
html[data-theme="light"] form[action="/games"] input[name="q"]::placeholder,
html[data-theme="light"] form[action="/tua-game"] input[name="q"]::placeholder {
  color: #64748b !important;
}

html[data-theme="light"] .games-filter-label {
  color: #334155 !important;
}

html[data-theme="light"] .btn-game-normal,
html[data-theme="light"] a[style*="background:rgba(255,255,255,0.08)"] {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

html[data-theme="light"] .btn-game-normal:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #A1A1B5 !important;
}

html[data-theme="light"] .btn-game-active {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .cat-card,
html[data-theme="light"] .game-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .cat-card:hover,
html[data-theme="light"] .game-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-2px) !important;
}

html[data-theme="light"] .cat-icon {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .cat-info h3,
html[data-theme="light"] .game-card-name {
  color: #0f172a !important;
}

html[data-theme="light"] .cat-info p,
html[data-theme="light"] .game-card-genre,
html[data-theme="light"] .game-card-count {
  color: #334155 !important;
}

html[data-theme="light"] .cat-arrow {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .game-group-container {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .game-card-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .game-title,
html[data-theme="light"] .game-title a {
  color: #0f172a !important;
}

html[data-theme="light"] .game-title a:hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .game-server-count {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .game-card-desc {
  background: #f8fafc !important;
  color: #334155 !important;
  border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .btn-game {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #b45309 !important;
}

html[data-theme="light"] .btn-game:hover {
  background: #8B19FF !important;
  color: #ffffff !important;
  border-color: #8B19FF !important;
}

/* ── 8. THẺ MÁY CHỦ VIP & MÁY CHỦ THƯỜNG ─────────────────────────────────── */
html[data-theme="light"] .vip-servers-section {
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%) !important;
  border: 1.5px solid #fcd34d !important;
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.1) !important;
}

html[data-theme="light"] .vip-heading {
  color: #b45309 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .vip-subtext {
  color: #475569 !important;
}

html[data-theme="light"] .vip-server-card {
  background: #ffffff !important;
  border: 1.5px solid #fcd34d !important;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.1) !important;
}

html[data-theme="light"] .vip-server-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 6px 18px rgba(139, 25, 255, 0.22) !important;
}

html[data-theme="light"] .vip-card-header {
  background: #fffbeb !important;
  border-bottom: 1px solid #fef3c7 !important;
}

html[data-theme="light"] .vip-server-title a {
  color: #0f172a !important;
}

html[data-theme="light"] .vip-server-title a:hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .vip-card-desc {
  background: #f8fafc !important;
  color: #334155 !important;
}

html[data-theme="light"] .normal-servers-section {
  border-top: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .normal-server-card,
html[data-theme="light"] .server-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] .normal-server-card:hover,
html[data-theme="light"] .server-card:hover {
  border-color: #A1A1B5 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
  transform: translateY(-1px) !important;
}

html[data-theme="light"] .normal-card-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .normal-server-title a {
  color: #0f172a !important;
}

html[data-theme="light"] .normal-server-title a:hover {
  color: #0284c7 !important;
}

html[data-theme="light"] .normal-author {
  color: #0369a1 !important;
  background: #e0f2fe !important;
}

html[data-theme="light"] .btn-normal-view {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .btn-normal-view:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

html[data-theme="light"] .normal-card-desc {
  background: #f8fafc !important;
  color: #334155 !important;
}

html[data-theme="light"] .normal-title-wrap h3 {
  color: #0f172a !important;
}

html[data-theme="light"] .normal-count-badge {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .server-detail-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .server-card-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .sdc-title {
  color: #0f172a !important;
}

html[data-theme="light"] .sdc-hashtags-section {
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .sdc-hashtags-section>span {
  color: #334155 !important;
}

html[data-theme="light"] .sdc-actions {
  border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] .sdc-info-item {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .sdc-info-label {
  color: #475569 !important;
}

html[data-theme="light"] .sdc-info-value {
  color: #0f172a !important;
}

html[data-theme="light"] .sdc-description {
  color: #1e293b !important;
}

/* ── 9. SIDEBAR WIDGETS & QUẢNG CÁO SIDEBAR (ẢNH 1, 2, 4) ───────────────── */
html[data-theme="light"] .sidebar .widget,
html[data-theme="light"] .widget-ad,
html[data-theme="light"] .widget-top {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
  color: #1e293b !important;
}

html[data-theme="light"] .sidebar .widget-title,
html[data-theme="light"] .widget-title {
  color: #0f172a !important;
  border-bottom: 2px solid var(--color-primary) !important;
  background: transparent !important;
}

html[data-theme="light"] .ad-placeholder-sidebar {
  background: #f8fafc !important;
  border: 1.5px dashed #cbd5e1 !important;
  border-radius: 8px !important;
  color: #334155 !important;
}

html[data-theme="light"] .ad-placeholder-sidebar h4 {
  color: #0f172a !important;
}

html[data-theme="light"] .ad-placeholder-sidebar p {
  color: #475569 !important;
}

html[data-theme="light"] .ad-placeholder-sidebar span[style*="var(--color-primary)"],
html[data-theme="light"] .ad-placeholder-sidebar div[style*="var(--color-primary)"] {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .top-server-list li {
  border-bottom: 1px solid #f1f5f9 !important;
}

html[data-theme="light"] .top-server-list li:hover {
  background: #f8fafc !important;
}

html[data-theme="light"] .top-server-info a {
  color: #0f172a !important;
}

html[data-theme="light"] .top-server-info a:hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .top-server-game {
  color: #475569 !important;
}

/* ── 10. TRANG TIN TỨC: SPOTLIGHT & DANH SÁCH LIST/GRID (ẢNH 2) ─────────── */
/* Xóa bỏ khối đen xì tại danh sách tin tức (Ảnh 2) */
html[data-theme="light"] .news-list-card,
html[data-theme="light"] .news-list .news-list-card,
html[data-theme="light"] .news-list.view-list .news-list-card,
html[data-theme="light"] .news-list.view-grid .news-list-card,
html[data-theme="light"] .news-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .news-list-card:hover,
html[data-theme="light"] .news-list .news-list-card:hover,
html[data-theme="light"] .news-list.view-list .news-list-card:hover,
html[data-theme="light"] .news-list.view-grid .news-list-card:hover,
html[data-theme="light"] .news-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .news-list-thumb {
  background: #e2e8f0 !important;
}

html[data-theme="light"] .news-list-thumb .news-thumb-placeholder {
  background: #f1f5f9 !important;
  color: #A1A1B5 !important;
}

html[data-theme="light"] .news-body h3 a,
html[data-theme="light"] .news-mini-body h4 a,
html[data-theme="light"] .news-list-title a,
html[data-theme="light"] .news-featured-title,
html[data-theme="light"] .news-featured-title a {
  color: #0f172a !important;
}

html[data-theme="light"] .news-body h3 a:hover,
html[data-theme="light"] .news-mini-body h4 a:hover,
html[data-theme="light"] .news-list-title a:hover,
html[data-theme="light"] .news-featured-title a:hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .news-excerpt,
html[data-theme="light"] .news-list-excerpt,
html[data-theme="light"] .news-featured-desc {
  color: #334155 !important;
}

html[data-theme="light"] .news-meta,
html[data-theme="light"] .news-list-meta {
  border-top: 1px solid #f1f5f9 !important;
  color: #475569 !important;
}

html[data-theme="light"] .news-featured-banner {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] .news-view-switch {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .view-btn {
  color: #475569 !important;
}

html[data-theme="light"] .view-btn:hover,
html[data-theme="light"] .view-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .news-filter-tabs .filter-tab {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

html[data-theme="light"] .news-filter-tabs .filter-tab:hover,
html[data-theme="light"] .news-filter-tabs .filter-tab.active {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .nd-article,
html[data-theme="light"] .nd-related-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .nd-title {
  color: #0f172a !important;
}

html[data-theme="light"] .nd-body {
  color: #1e293b !important;
}

html[data-theme="light"] .nd-related-body h4 a {
  color: #0f172a !important;
}

html[data-theme="light"] .nd-related-body h4 a:hover {
  color: var(--color-primary-dark) !important;
}

/* ── 11. TRANG LIÊN HỆ: NÚT MẠNG XÃ HỘI & FORM LIÊN HỆ (ẢNH 4) ─────────── */
/* Nâng cấp các nút liên hệ thanh lịch, icon sắc nét, chữ rõ ràng chống mờ */
html[data-theme="light"] .contact-glass-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .contact-card-title {
  color: #0f172a !important;
}

html[data-theme="light"] .contact-card-desc {
  color: #475569 !important;
}

html[data-theme="light"] .contact-method-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] .contact-method-btn:hover {
  background: #f8fafc !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(139, 25, 255, 0.15) !important;
}

html[data-theme="light"] .glass-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .glass-card h3 {
  color: #0f172a !important;
}

html[data-theme="light"] .ad-note-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 3px solid var(--color-primary) !important;
}

html[data-theme="light"] .ad-note-box h4,
html[data-theme="light"] .ad-note-title {
  color: #0f172a !important;
}

html[data-theme="light"] .ad-note-box p,
html[data-theme="light"] .ad-note-desc {
  color: #475569 !important;
}

html[data-theme="light"] .contact-auth-badge {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
}

html[data-theme="light"] .contact-auth-user {
  color: #0f172a !important;
}

html[data-theme="light"] .contact-auth-email {
  color: #475569 !important;
}

html[data-theme="light"] .contact-form-label {
  color: #0f172a !important;
}

html[data-theme="light"] .contact-form-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .contact-form-input.readonly-input {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
}

html[data-theme="light"] .contact-login-required {
  background: #ffffff !important;
  border: 1.5px dashed #cbd5e1 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] .contact-login-required h3,
html[data-theme="light"] .contact-login-title {
  color: #0f172a !important;
}

html[data-theme="light"] .contact-login-required p,
html[data-theme="light"] .contact-login-desc {
  color: #475569 !important;
}

html[data-theme="light"] .btn-contact-register {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .btn-contact-register:hover {
  background: #f8fafc !important;
  border-color: #A1A1B5 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .contact-login-footer {
  border-top: 1px solid #f1f5f9 !important;
  color: #64748b !important;
}

html[data-theme="light"] #generalContactForm label {
  color: #1e293b !important;
}

/* ── 12. TRANG ĐẶT QUẢNG CÁO (ẢNH 3) ────────────────────────────────────── */
html[data-theme="light"] .ad-pos-card,
html[data-theme="light"] .ad-step-card,
html[data-theme="light"] .ad-promo-box,
html[data-theme="light"] .advertise-form-wrap,
html[data-theme="light"] .ad-hotline-card,
html[data-theme="light"] .ad-policy-card,
html[data-theme="light"] .ad-policy-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
  color: #1e293b !important;
}

html[data-theme="light"] .ad-pos-card h3,
html[data-theme="light"] .ad-step-card h4,
html[data-theme="light"] .ad-hotline-card h3,
html[data-theme="light"] .ad-policy-title {
  color: #0f172a !important;
}

html[data-theme="light"] .ad-pos-info p,
html[data-theme="light"] .ad-step-card p,
html[data-theme="light"] .ad-hotline-card p,
html[data-theme="light"] .ad-policy-desc {
  color: #334155 !important;
}

/* 7 Hộp chính sách trong trang quảng cáo */
html[data-theme="light"] .ad-policy-grid>div,
html[data-theme="light"] div[style*="grid-template-columns:repeat(auto-fit,minmax(210px,1fr))"]>div,
html[data-theme="light"] div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"]>div {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .ad-policy-grid h4,
html[data-theme="light"] div[style*="grid-template-columns:repeat(auto-fit,minmax(210px,1fr))"] h4,
html[data-theme="light"] div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] h4 {
  color: #0f172a !important;
}

html[data-theme="light"] .ad-policy-grid p,
html[data-theme="light"] div[style*="grid-template-columns:repeat(auto-fit,minmax(210px,1fr))"] p,
html[data-theme="light"] div[style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] p {
  color: #334155 !important;
}

/* ── 13. BIỂU MẪU, INPUTS, SELECT, TEXTAREA & MODALS ─────────────────────── */
html[data-theme="light"] .form-control,
html[data-theme="light"] input[type="text"]:not(#headerSearchInput),
html[data-theme="light"] input[type="password"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="tel"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] .form-control:focus,
html[data-theme="light"] input[type="text"]:not(#headerSearchInput):focus,
html[data-theme="light"] input[type="password"]:focus,
html[data-theme="light"] input[type="email"]:focus,
html[data-theme="light"] input[type="tel"]:focus,
html[data-theme="light"] input[type="number"]:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  outline: none !important;
}

html[data-theme="light"] .form-control::placeholder,
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #64748b !important;
}

html[data-theme="light"] .otp-digit-cell {
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .otp-digit-cell:focus {
  border-color: var(--color-primary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(139, 25, 255, 0.2) !important;
}

html[data-theme="light"] .auth-modal-content,
html[data-theme="light"] .modal-content {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
  color: #1e293b !important;
}

html[data-theme="light"] #authModal h2,
html[data-theme="light"] #authModal h3,
html[data-theme="light"] #authModal h4 {
  color: #0f172a !important;
}

html[data-theme="light"] #authModal p {
  color: #334155 !important;
}

html[data-theme="light"] #authModal label {
  color: #1e293b !important;
}

html[data-theme="light"] #authModal .input-wrapper {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] #authModal .auth-footer {
  border-top: 1px solid #e2e8f0 !important;
}

html[data-theme="light"] #authModal .btn-toggle-eye {
  color: #64748b !important;
}

html[data-theme="light"] #authModal .otp-email-pill {
  background: #f1f5f9 !important;
  color: #0369a1 !important;
}

html[data-theme="light"] .prx-cookie-banner,
html[data-theme="light"] #prxCookieBanner {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15) !important;
  color: #1e293b !important;
}

html[data-theme="light"] .prx-cookie-icon-wrap {
  background: #fef3c7 !important;
  border: 1px solid #fde68a !important;
}

html[data-theme="light"] .prx-cookie-icon-wrap i {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .prx-cookie-text {
  color: #334155 !important;
}

html[data-theme="light"] .prx-cookie-link {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .prx-cookie-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  color: #0b0f19 !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
}

/* ── 14. TRANG DASHBOARD, ĐĂNG/SỬA SERVER, LEGAL & ERROR ────────────────── */
html[data-theme="light"] .sidebar-card,
html[data-theme="light"] .dashboard-card,
html[data-theme="light"] .welcome-card,
html[data-theme="light"] .user-servers-table-wrap,
html[data-theme="light"] .fav-server-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .welcome-text h2,
html[data-theme="light"] .dashboard-card h3 {
  color: #0f172a !important;
}

html[data-theme="light"] .user-servers-table th {
  background: #f8fafc !important;
  color: #334155 !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

html[data-theme="light"] .user-servers-table td {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #1e293b !important;
}

html[data-theme="light"] .user-servers-table .col-title a {
  color: #0f172a !important;
}

html[data-theme="light"] .settings-nav-tabs,
html[data-theme="light"] .pw-sub-nav-tabs {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] #settings-section label {
  color: #1e293b !important;
}

html[data-theme="light"] .server-form,
html[data-theme="light"] .submit-sidebar-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .server-form .form-section h3,
html[data-theme="light"] .submit-sidebar-card h4 {
  color: #0f172a !important;
}

html[data-theme="light"] .server-form .form-group label {
  color: #1e293b !important;
}

html[data-theme="light"] .server-form .editor-toolbar {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .server-form .editor-toolbar button {
  color: #1e293b !important;
}

html[data-theme="light"] .server-form .editor-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .server-form .btn-suggested-tag {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .legal-card,
html[data-theme="light"] .legal-toc,
html[data-theme="light"] .privacy-card,
html[data-theme="light"] .privacy-toc {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .legal-hero-title,
html[data-theme="light"] .privacy-hero-title,
html[data-theme="light"] .legal-card-header h2,
html[data-theme="light"] .privacy-card-header h2 {
  color: #0f172a !important;
}

html[data-theme="light"] .legal-hero-sub,
html[data-theme="light"] .privacy-hero-sub,
html[data-theme="light"] .legal-card p,
html[data-theme="light"] .privacy-card p,
html[data-theme="light"] .legal-list li,
html[data-theme="light"] .privacy-list li {
  color: #1e293b !important;
}

html[data-theme="light"] .legal-list li strong,
html[data-theme="light"] .privacy-list li strong {
  color: #0f172a !important;
}

html[data-theme="light"] .legal-toc-list a,
html[data-theme="light"] .privacy-toc-list a {
  color: #334155 !important;
}

html[data-theme="light"] .legal-toc-list a:hover,
html[data-theme="light"] .privacy-toc-list a:hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .error-page .btn-outline {
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  background: #ffffff !important;
}

/* ── 15. FOOTER ELEGANCE ────────────────────────────────────────────────── */
html[data-theme="light"] .site-footer {
  background: #ffffff !important;
  border-top: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

html[data-theme="light"] .site-footer::before {
  display: none !important;
}

html[data-theme="light"] .footer-top {
  border-bottom: 1px solid #f1f5f9 !important;
}

html[data-theme="light"] .footer-col h4 {
  color: #0f172a !important;
}

html[data-theme="light"] .footer-col a:not(.btn-footer-ad) {
  color: #475569 !important;
}

html[data-theme="light"] .footer-col a:not(.btn-footer-ad):hover {
  color: var(--color-primary-dark) !important;
}

html[data-theme="light"] .footer-bottom {
  background: #dfe4ec !important;
  border-top: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

/* ── MODULE: pages/home.css (3018 dòng) ── */
img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-main);
  border: none;
  outline: none;
}

.site-header .user-menu {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.site-header .user-profile-btn:hover {
  background: #262c3d !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.site-header .user-profile-btn i {
  font-size: 16px !important;
  color: #cbd5e1 !important;
}

.site-header .user-profile-btn:hover i {
  color: var(--color-primary) !important;
}

.site-header .user-dropdown-caret {
  font-size: 11px !important;
  color: #A1A1B5 !important;
  transition: transform 0.25s ease !important;
  margin-left: 2px !important;
}

.site-header .user-dropdown-wrap.open .user-dropdown-caret {
  transform: rotate(180deg) !important;
  color: var(--color-primary) !important;
}

.site-header .user-dropdown-wrap.open .user-profile-btn {
  background: #262c3d !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  box-shadow: 0 0 15px rgba(139, 25, 255, 0.25) !important;
}

.site-header .user-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 270px !important;
  background: linear-gradient(145deg, #161b28 0%, #0d1017 100%) !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(139, 25, 255, 0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 10001 !important;
  animation: userDropdownAnim 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-header .user-dropdown-wrap.open .user-dropdown-menu {
  display: flex !important;
}

@keyframes userDropdownAnim {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header .user-dropdown-header {
  padding: 14px 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.site-header .user-dd-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(139, 25, 255, 0.15) !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--color-primary) !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.site-header .user-dd-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.site-header .user-dd-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.site-header .user-dd-badge {
  display: inline-block !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  background: rgba(139, 25, 255, 0.2) !important;
  color: var(--color-primary) !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  width: fit-content !important;
}

.site-header .user-dd-badge-member {
  background: rgba(0, 177, 235, 0.15) !important;
  color: #00b1eb !important;
  border-color: rgba(0, 177, 235, 0.35) !important;
}

.site-header .user-dd-email {
  font-size: 11.5px !important;
  color: #8b949e !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.site-header .user-dd-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 18px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.site-header .user-dd-item i {
  width: 18px !important;
  font-size: 14.5px !important;
  text-align: center !important;
}

.site-header .user-dd-item:hover {
  background: rgba(139, 25, 255, 0.12) !important;
  color: #ffffff !important;
  padding-left: 22px !important;
}

.site-header .user-dropdown-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 0 !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

.site-header .user-dd-logout {
  color: #f87171 !important;
}

.site-header .user-dd-logout:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  padding-left: 22px !important;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.c1 {
  width: 400px;
  height: 400px;
  right: -100px;
  top: -100px;
}

.c2 {
  width: 240px;
  height: 240px;
  right: 120px;
  bottom: -60px;
}

.c3 {
  width: 120px;
  height: 120px;
  right: 260px;
  top: 80px;
  opacity: 0.07;
}

@keyframes bellRing {

  0%,
  100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(-15deg);
  }

  40% {
    transform: rotate(15deg);
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.cat-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 5px;
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  z-index: 1;
}

.cat-jx .cat-icon {
  color: var(--jx-color);
}

.cat-jx .cat-arrow {
  color: var(--jx-color);
}

.cat-jx .cat-card-bg {
  background: linear-gradient(135deg, rgba(232, 160, 32, 0.08) 0%, transparent 70%);
}

.cat-kt {
  border-left: 3px solid var(--kt-color);
}

.cat-kt .cat-icon {
  color: var(--kt-color);
}

.cat-kt .cat-arrow {
  color: var(--kt-color);
}

.cat-kt .cat-card-bg {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, transparent 70%);
}

.cat-sro {
  border-left: 3px solid var(--sro-color);
}

.cat-sro .cat-icon {
  color: var(--sro-color);
}

.cat-sro .cat-arrow {
  color: var(--sro-color);
}

.cat-sro .cat-card-bg {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
}

.cat-jx2 {
  border-left: 3px solid var(--jx2-color);
}

.cat-jx2 .cat-icon {
  color: var(--jx2-color);
}

.cat-jx2 .cat-arrow {
  color: var(--jx2-color);
}

.cat-jx2 .cat-card-bg {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, transparent 70%);
}

.cat-gunny {
  border-left: 3px solid var(--gunny-color);
}

.cat-gunny .cat-icon {
  color: var(--gunny-color);
}

.cat-gunny .cat-arrow {
  color: var(--gunny-color);
}

.cat-gunny .cat-card-bg {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
}

.cat-mobile {
  border-left: 3px solid var(--mobile-color);
}

.cat-mobile .cat-icon {
  color: var(--mobile-color);
}

.cat-mobile .cat-arrow {
  color: var(--mobile-color);
}

.cat-mobile .cat-card-bg {
  background: linear-gradient(135deg, rgba(26, 188, 156, 0.08) 0%, transparent 70%);
}

.cat-ktmobile {
  border-left: 3px solid var(--ktmobile-color);
}

.cat-ktmobile .cat-icon {
  color: var(--ktmobile-color);
}

.cat-ktmobile .cat-arrow {
  color: var(--ktmobile-color);
}

.cat-ktmobile .cat-card-bg {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
}

.server-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  border-color: rgba(139, 25, 255, 0.3);
}

.server-card[data-cat="kt"]:hover {
  border-color: rgba(46, 204, 113, 0.3);
}

.server-card[data-cat="sro"]:hover {
  border-color: rgba(52, 152, 219, 0.3);
}

.server-card[data-cat="gunny"]:hover {
  border-color: rgba(231, 76, 60, 0.3);
}

.server-card[data-cat="mobile"]:hover {
  border-color: rgba(26, 188, 156, 0.3);
}

.server-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
}

.server-card-header.jx {
  background: linear-gradient(90deg, rgba(232, 160, 32, 0.2), rgba(232, 160, 32, 0.05));
  border-bottom: 2px solid var(--jx-color);
}

.server-card-header.kt {
  background: linear-gradient(90deg, rgba(46, 204, 113, 0.2), rgba(46, 204, 113, 0.05));
  border-bottom: 2px solid var(--kt-color);
}

.server-card-header.sro {
  background: linear-gradient(90deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.05));
  border-bottom: 2px solid var(--sro-color);
}

.server-card-header.jx2 {
  background: linear-gradient(90deg, rgba(155, 89, 182, 0.2), rgba(155, 89, 182, 0.05));
  border-bottom: 2px solid var(--jx2-color);
}

.server-card-header.gunny {
  background: linear-gradient(90deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.05));
  border-bottom: 2px solid var(--gunny-color);
}

.server-card-header.mobile {
  background: linear-gradient(90deg, rgba(26, 188, 156, 0.2), rgba(26, 188, 156, 0.05));
  border-bottom: 2px solid var(--mobile-color);
}

.server-status {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.server-status .fa-circle {
  font-size: 7px;
}

.server-status.open .fa-circle {
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.server-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 9px;
  line-height: 1.4;
}

.server-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.stag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.stag-hot {
  background: rgba(231, 76, 60, 0.15);
  color: #ff6b6b;
}

.stag-stable {
  background: rgba(155, 89, 182, 0.15);
  color: #bb8fce;
}

.load-more-wrap {
  text-align: center;
  margin-top: 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.jx-bg {
  background: linear-gradient(135deg, #2a1800, #5c3400);
}

.kt-bg {
  background: linear-gradient(135deg, #0a2200, #1a5c00);
}

.sro-bg {
  background: linear-gradient(135deg, #001a2a, #00405c);
}

.gunny-bg {
  background: linear-gradient(135deg, #2a0000, #5c0000);
}

.upcoming-list li:last-child {
  border-bottom: none;
}

.upcoming-list li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.upcoming-info {
  flex: 1;
}

.upcoming-info span {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.label-jx {
  background: rgba(232, 160, 32, 0.15);
  color: var(--jx-color);
}

.label-kt {
  background: rgba(46, 204, 113, 0.15);
  color: var(--kt-color);
}

.label-sro {
  background: rgba(52, 152, 219, 0.15);
  color: var(--sro-color);
}

.label-gunny {
  background: rgba(231, 76, 60, 0.15);
  color: var(--gunny-color);
}

.top-server-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition);
}

.top-server-list li:last-child {
  border-bottom: none;
}

.top-server-list li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rank-1 {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #000;
}

.rank-2 {
  background: linear-gradient(135deg, #b0bec5, #78909c);
  color: #000;
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  color: #000;
}

.top-server-info {
  flex: 1;
  min-width: 0;
}

.ad-placeholder i {
  font-size: 28px;
  opacity: 0.4;
}

.ad-placeholder span {
  font-size: 14px;
  font-weight: 600;
}

.ad-placeholder small {
  font-size: 11px;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ad-bar.ad-top .ad-link {
  display: block;
  width: 100%;
  max-width: 960px;
}

.ad-banner-img-only {
  width: 100% !important;
  max-width: 960px !important;
  height: 90px !important;
  max-height: 90px !important;
  object-fit: contain !important;
  background: #08080e !important;
  object-position: center !important;
  border-radius: 6px !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  display: block !important;
  margin: 0 auto !important;
  transition: all 0.3s ease !important;
}

.ad-banner-img-only:hover {
  border-color: rgba(139, 25, 255, 0.8) !important;
  box-shadow: 0 6px 18px rgba(139, 25, 255, 0.25) !important;
}

.ad-banner-strip:hover {
  border-color: rgba(139, 25, 255, 0.8) !important;
  box-shadow: 0 6px 20px rgba(139, 25, 255, 0.25) !important;
  transform: translateY(-1px) !important;
}

.ad-banner-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 0.35 !important;
  transition: opacity 0.3s ease !important;
}

.ad-banner-strip:hover .ad-banner-img {
  opacity: 0.55 !important;
}

.ad-banner-overlay {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0 20px !important;
  gap: 16px !important;
}

.ad-badge {
  background: rgba(139, 25, 255, 0.25) !important;
  color: var(--color-primary) !important;
  border: 1px solid rgba(139, 25, 255, 0.5) !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}

.ad-banner-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 !important;
  text-align: left !important;
}

.ad-banner-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, #d48813 100%) !important;
  color: #000000 !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.3) !important;
  transition: all 0.2s ease !important;
}

.ad-banner-strip:hover .ad-banner-btn {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4) !important;
}

.ad-content-bar .ad-link {
  display: block;
  width: 100%;
  max-width: 960px;
  text-decoration: none;
}

.ad-content-banner-img {
  width: 100% !important;
  max-width: 960px !important;
  height: 95px !important;
  max-height: 95px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px !important;
  border: 1px solid rgba(139, 25, 255, 0.4) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
  margin: 0 auto !important;
  transition: all 0.3s ease !important;
}

.ad-content-banner-img:hover {
  border-color: rgba(139, 25, 255, 0.85) !important;
  box-shadow: 0 6px 22px rgba(139, 25, 255, 0.3) !important;
  transform: translateY(-2px) !important;
}

.ad-float-left {
  left: 8px;
}

.ad-float-right {
  right: 8px;
}

.ad-float-scroll-wrap {
  height: calc(100vh - 145px);
  max-height: calc(100vh - 150px);
  overflow: hidden;
  position: relative;
  width: 160px;
}

.ad-float-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-float-track.has-loop {
  animation: floatScrollUp 18s linear infinite;
}

.ad-float-scroll-wrap:hover .ad-float-track.has-loop {
  animation-play-state: paused;
}

@keyframes floatScrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.ad-float-item {
  position: relative;
  width: 160px;
  flex-shrink: 0;
}

.ad-skyscraper-img {
  width: 160px;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  background: #08080e;
  border-radius: 6px;
  border: 1px solid rgba(139, 25, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  display: block;
  transition: all 0.3s ease;
}

.ad-skyscraper-img:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139, 25, 255, 0.3);
}

.ad-placeholder-float small {
  font-size: 10px;
  opacity: 0.7;
}

.ad-placeholder-sidebar i {
  font-size: 20px;
  opacity: 0.35;
}

.ad-placeholder-sidebar span {
  font-size: 12px;
  font-weight: 600;
}

.ad-placeholder-sidebar small {
  font-size: 10px;
  opacity: 0.6;
}

.sd-item:last-child {
  border-bottom: none;
}

.sd-item:hover {
  background: rgba(139, 25, 255, 0.07);
}

.sd-badge {
  font-size: 11px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  white-space: nowrap;
}

.sd-status {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.sd-open {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.sd-alpha {
  background: rgba(139, 25, 255, 0.15);
  color: var(--color-primary);
}

.sd-soon {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
}

.ad-pos-card {
  background: #20263A;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ad-pos-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(139, 25, 255, 0.5);
}

.ad-pos-preview {
  height: 52px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
}

.ad-pos-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ad-pos-info p {
  font-size: 0.74rem;
  color: #A1A1B5;
  line-height: 1.38;
  margin-bottom: 8px;
}

.ad-pos-specs {
  font-size: 0.72rem;
  color: #A1A1B5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.ad-pos-specs>span {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 6px !important;
  line-height: 1.35 !important;
  width: 100% !important;
}

.ad-pos-specs>span i {
  flex-shrink: 0 !important;
  font-size: 11px !important;
  width: 14px !important;
  margin-top: 2px !important;
}

.ad-pos-specs>span>span {
  flex-shrink: 0 !important;
  min-width: 78px !important;
  max-width: 95px !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

.ad-pos-specs span strong,
.ad-pos-specs span .spec-val {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  display: block !important;
  text-align: right !important;
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.3 !important;
  font-weight: 500 !important;
}

.ad-pos-specs strong span,
.ad-pos-specs strong b {
  display: inline !important;
  font-size: 0.72rem !important;
}

.ad-pos-price {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ad-pos-price,
.ad-pos-price>span:first-child {
  font-size: 0.68rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-left: 0;
}

.ad-pos-price>div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 1.25;
}

.ad-pos-price strong {
  font-size: 1.05rem;
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
}

.ad-pos-price span {
  font-size: 0.7rem;
  color: #A1A1B5;
  margin-left: 2px;
}

.ad-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.ad-promo-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 12px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ad-promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 25, 255, 0.4);
}

.ad-step-card {
  background: #20263A;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.ad-step-card:hover {
  transform: translateY(-2px);
}

.ad-hotline-card {
  background: #20263A;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.ad-policy-card {
  background: rgba(139, 25, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 25, 255, 0.25);
  border-radius: 10px;
  padding: 14px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-method-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.ad-note-box ul {
  list-style: disc;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upcoming-cat {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 2px;
}

.upcoming-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.status-open {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.status-alpha {
  background: rgba(139, 25, 255, 0.15);
  color: var(--color-primary);
}

.status-beta {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
}

.status-soon {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tabs-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tabs-form .filter-tab {
  padding: 6px 14px;
  font-size: 13px;
}

.empty-state i {
  font-size: 40px;
  opacity: 0.2;
  display: block;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 15px;
  margin-bottom: 14px;
}

.page-hero-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-hero-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-hero-meta i {
  font-size: 12px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  background: #20263A;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 6px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
  color: #cbd5e1;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  margin: 0 2px;
}

.filter-tabs-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-select option {
  background: #140f24;
  color: #d4d4e8;
}

.empty-state i {
  font-size: 48px;
  opacity: 0.18;
  display: block;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.cat-card:hover .cat-card-bg {
  opacity: 0.2;
}

.cat-info {
  flex: 1;
  min-width: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cat-info p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.game-group-container {
  background: #20263A;
  border: 1px solid rgba(139, 25, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.game-group-container:hover {
  border-color: rgba(139, 25, 255, 0.6);
  box-shadow: 0 4px 18px rgba(139, 25, 255, 0.2);
}

.game-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #A855F7;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.game-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.game-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.game-title a:hover {
  color: #8B19FF;
  text-shadow: 0 0 8px rgba(139, 25, 255, 0.5);
}

.game-server-count {
  font-size: 11.5px;
  font-weight: 600;
  color: #A855F7;
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.ad-sidebar-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.ad-sidebar-track.has-loop {
  animation: sidebarScrollUp 14s linear infinite;
}

.ad-sidebar-scroll-wrap:hover .ad-sidebar-track.has-loop {
  animation-play-state: paused;
}

@keyframes sidebarScrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.ad-sidebar-item {
  width: 100%;
  height: 250px;
  margin-bottom: 16px;
  flex-shrink: 0;
  position: relative;
}

.ad-sidebar-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid rgba(139, 25, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  display: block;
  transition: all 0.3s ease;
}

.top-ad-slider {
  position: relative;
  width: 100%;
}

.top-ad-slides {
  position: relative;
  width: 100%;
}

.top-ad-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.top-ad-slide.active {
  display: block;
  opacity: 1;
}

.top-ad-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.top-ad-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.fp-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.page-hero-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.page-hero-content p {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 9px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-meta span {
  font-size: 12px !important;
  padding: 3px 10px !important;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filter-tabs-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  background: #20263A;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 6px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb .sep {
  font-size: 10px;
  opacity: 0.65;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 2px;
}

.stag-free {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.stag-hot {
  background: rgba(231, 76, 60, 0.15);
  color: #ff6b6b;
}

.stag-new {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
}

.stag-stable {
  background: rgba(155, 89, 182, 0.15);
  color: #bb8fce;
}

.stag-rate {
  background: rgba(139, 25, 255, 0.15);
  color: var(--color-primary);
}

.server-status .fa-circle {
  font-size: 7px;
}

.server-status.open {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.server-status.alpha {
  background: rgba(139, 25, 255, 0.15);
  color: var(--color-primary);
}

.server-status.beta {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
}

.server-status.soon {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
}

.server-status.open .fa-circle {
  animation: blink 1.5s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

.user-profile-btn i {
  font-size: 1.2rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-tab {
  display: none;
}

.auth-tab.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.auth-footer p {
  margin: 0;
}

.auth-footer .link-primary:hover {
  text-decoration: underline;
}

#authAlerts {
  margin-bottom: 16px;
}

@keyframes otpPulseGlow {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.55);
  }
}

.content-area {
  min-width: 0 !important;
  max-width: 100% !important;
}

.page-hero-content {
  min-width: 0 !important;
}

.normal-server-card {
  background: #20263A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.normal-server-card:hover {
  background: rgba(28, 26, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.normal-game-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfd8dc;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.normal-server-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.normal-server-title a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.normal-author {
  color: #4dd0e1;
  background: rgba(77, 208, 225, 0.08);
  border: 1px solid rgba(77, 208, 225, 0.2);
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 120px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.normal-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 105px;
  flex-shrink: 0;
}

.server-btn-time {
  font-size: 10.5px;
  color: #A855F7;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.2;
}

.server-btn-time i {
  font-size: 9.5px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-card {
  background: linear-gradient(135deg, rgba(139, 25, 255, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
  border: 2px solid rgba(139, 25, 255, 0.2);
}

.welcome-stat {
  text-align: center;
  padding: 16px;
}

.settings-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.pw-sub-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pw-sub-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pw-sub-tab-btn:not(.active) i {
  color: #60a5fa;
}

.pw-sub-tab-btn.active i {
  color: #ffffff !important;
}

.settings-tab-pane {
  display: none;
}

.settings-tab-pane.active {
  display: block;
  animation: fadeInPane 0.25s ease;
}

@keyframes fadeInPane {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submit-sidebar-card ul {
  padding-left: 16px;
}

.submit-sidebar-card li {
  font-size: 0.9rem;
  color: rgba(212, 212, 232, 0.8);
  margin-bottom: 8px;
  list-style: none;
}

.selected-tag-chip {
  background: rgba(46, 213, 115, 0.15);
  border: 1px solid rgba(46, 213, 115, 0.4);
  color: #2ed573;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: fadeInTag 0.2s ease;
}

.selected-tag-remove {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.selected-tag-remove:hover {
  background: #e74c3c;
}

@keyframes fadeInTag {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.editor-separator {
  width: 1px;
  height: 24px;
  background: rgba(212, 212, 232, 0.2);
  margin: 0 4px;
}

.editor-content:empty::before {
  content: attr(data-placeholder);
  color: rgba(212, 212, 232, 0.4);
  pointer-events: none;
}

.editor-content b,
.editor-content strong {
  font-weight: 600;
}

.editor-content i,
.editor-content em {
  font-style: italic;
}

.editor-content u {
  text-decoration: underline;
}

.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.alert i {
  font-size: 1.2rem;
  min-width: 24px;
}

.alert-danger {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #ff6b6b;
}

.alert-danger strong {
  color: #ff6b6b;
}

.alert-danger ul li {
  color: #ff8787;
}

.alert-success {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(46, 213, 115, 0.5);
  color: #2ed573;
}

.page-hero-icon {
  border-color: var(--server-color, var(--color-primary)) !important;
  color: var(--server-color, var(--color-primary)) !important;
}

.page-hero-meta-accent {
  color: var(--server-color, var(--color-primary)) !important;
}

.content-area {
  min-width: 0 !important;
  max-width: 100% !important;
}

.page-hero-content {
  min-width: 0;
}

.page-hero-text {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.normal-server-card {
  background: #20263A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.normal-server-card:hover {
  background: rgba(28, 26, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.normal-game-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfd8dc;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.normal-server-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.normal-server-title a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.2s;
}

.normal-author {
  color: #4dd0e1;
  background: rgba(77, 208, 225, 0.08);
  border: 1px solid rgba(77, 208, 225, 0.2);
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 120px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.normal-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 105px;
  flex-shrink: 0;
}

.server-btn-time {
  font-size: 10.5px;
  color: #A855F7;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.2;
}

.server-btn-time i {
  font-size: 9.5px;
}

.server-hashtag-tag {
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.35);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.server-hashtag-tag:hover {
  background: var(--color-primary);
  color: #12121e;
  transform: translateY(-1px);
}

.vip-servers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4500, #8B19FF, #ff4500);
  box-shadow: 0 0 10px #8B19FF;
}

.vip-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(139, 25, 255, 0.25);
  flex-wrap: wrap;
  gap: 8px;
}

.vip-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-fire-icon {
  color: #8B19FF;
  font-size: 16px;
  filter: drop-shadow(0 0 6px rgba(139, 25, 255, 0.8));
  animation: vipCrownPulse 1.8s infinite alternate;
}

@keyframes vipCrownPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px #8B19FF);
  }

  100% {
    transform: scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 0 10px #ff4500);
  }
}

.vip-badge-hot-tag {
  background: linear-gradient(90deg, #5B00B8, #8B19FF);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  box-shadow: 0 0 8px rgba(255, 61, 0, 0.6);
  text-transform: uppercase;
}

.vip-heading {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffca28;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 202, 40, 0.35);
}

.vip-pulse-dot {
  width: 7px;
  height: 7px;
  background: #00e676;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00e676;
  animation: vipBlink 1.2s infinite;
}

@keyframes vipBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.vip-subtext {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 5px;
}

.vip-subtext i {
  color: #8B19FF;
}

.vip-servers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vip-server-card:hover {
  background: rgba(35, 28, 48, 0.95);
  border-color: #8B19FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.25);
}

.vip-tag-crown {
  background: linear-gradient(135deg, #8B19FF, #ff5722);
  color: #000;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 179, 0, 0.4);
}

.vip-game-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vip-server-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.vip-server-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.vip-server-title a:hover {
  color: #8B19FF;
  text-shadow: 0 0 8px rgba(139, 25, 255, 0.5);
}

.vip-meta-item {
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
}

.vip-author {
  color: #4dd0e1;
  background: rgba(77, 208, 225, 0.1);
  border: 1px solid rgba(77, 208, 225, 0.25);
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 120px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.vip-date {
  color: #A855F7;
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.3);
}

.vip-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 105px;
  flex-shrink: 0;
}

.normal-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.normal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.normal-count-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #bbb;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.normal-server-card {
  background: #20263A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.normal-server-card:hover {
  background: rgba(28, 26, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.normal-game-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfd8dc;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.normal-server-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.normal-server-title a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.2s;
}

.normal-author {
  color: #4dd0e1;
  background: rgba(77, 208, 225, 0.08);
  border: 1px solid rgba(77, 208, 225, 0.2);
  font-weight: 600;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 120px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.normal-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 105px;
  flex-shrink: 0;
}

.server-btn-time {
  font-size: 10.5px;
  color: #A855F7;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.2;
}

.server-btn-time i {
  font-size: 9.5px;
}

.user-servers-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: auto;
}

.user-servers-table th {
  padding: 12px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #A1A1B5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.user-servers-table td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.user-servers-table .col-title a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.user-servers-table .col-category .cat-name {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}

.user-servers-table .col-category .game-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #A1A1B5;
  font-size: 11px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}

.srv-btn-view-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.srv-btn-view-pill:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #60a5fa;
  transform: translateY(-1px);
}

.srv-table-search {
  position: relative;
  flex: 1;
  max-width: 320px;
  min-width: 200px;
}

.srv-table-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 12.5px;
  background: rgba(15, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.srv-table-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  pointer-events: none;
}

.srv-table-filter-pills {
  display: flex;
  gap: 6px;
}

.srv-filter-pill {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #A1A1B5;
  cursor: pointer;
  transition: all 0.2s;
}

.srv-filter-pill:hover,
.srv-filter-pill.active {
  background: rgba(139, 25, 255, 0.15);
  border-color: rgba(139, 25, 255, 0.4);
  color: var(--color-primary);
}

.srv-table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 12.5px;
  color: #A1A1B5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 10px;
}

.srv-page-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.srv-page-btn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #A1A1B5;
  cursor: pointer;
  transition: all 0.15s;
}

.srv-page-btn:hover:not(:disabled) {
  background: rgba(139, 25, 255, 0.15);
  border-color: rgba(139, 25, 255, 0.35);
  color: var(--color-primary);
}

.srv-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.game-group-container {
  background: #20263A !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

.game-group-container:hover {
  background: rgba(15, 23, 42, 0.82) !important;
  border-color: rgba(139, 25, 255, 0.38) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 10px rgba(139, 25, 255, 0.1) !important;
}

.game-cat-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  background: rgba(139, 25, 255, 0.1) !important;
  border: 1px solid rgba(139, 25, 255, 0.2) !important;
  color: #A855F7 !important;
  padding: 1.5px 6px !important;
  border-radius: 3px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.game-title {
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  flex: 1 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.game-title a {
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.game-title a:hover {
  color: var(--color-primary) !important;
  text-shadow: 0 0 8px rgba(139, 25, 255, 0.5) !important;
}

.game-server-count {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #A855F7 !important;
  background: rgba(139, 25, 255, 0.12) !important;
  border: 1px solid rgba(139, 25, 255, 0.25) !important;
  padding: 2px 7px !important;
  border-radius: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

.vip-section-header {
  margin-bottom: 6px !important;
  gap: 6px !important;
}

.vip-heading {
  font-size: 12.5px !important;
}

.vip-servers-list,
.normal-servers-list {
  gap: 5px !important;
}

.normal-server-card,
.vip-server-card {
  background: #20263A !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.vip-server-card {
  border-color: rgba(139, 25, 255, 0.35) !important;
}

.normal-server-card:hover,
.vip-server-card:hover {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(139, 25, 255, 0.5) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

.vip-sub-meta-row,
.normal-sub-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-top: 2px !important;
}

.normal-game-badge,
.vip-game-badge {
  border-radius: 3px !important;
  padding: 2px 7px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.vip-tag-crown {
  padding: 1.5px 6px !important;
  font-size: 9.5px !important;
  border-radius: 3px !important;
  gap: 3px !important;
}

.normal-server-title,
.vip-server-title {
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.normal-server-title a,
.vip-server-title a {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #fff !important;
}

.normal-author,
.vip-author {
  font-size: 10px !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  min-width: unset !important;
  max-width: 110px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.normal-btn-wrap,
.vip-btn-wrap {
  width: 82px !important;
  gap: 1px !important;
  flex-shrink: 0 !important;
}

.server-btn-time {
  font-size: 9px !important;
  white-space: nowrap !important;
}

.category-filter-bar form {
  gap: 8px !important;
}

.category-filter-bar select {
  padding-left: 8px !important;
}

.normal-section-header {
  margin-bottom: 8px !important;
}

.normal-count-badge {
  font-size: 10px !important;
  padding: 1px 6px !important;
  border-radius: 3px !important;
}

.page-btn {
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 8px !important;
  font-size: 11.5px !important;
  border-radius: 4px !important;
}

.server-form {
  background: #20263A !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}

.submit-sidebar-card {
  background: #20263A !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 20px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}

.server-form .editor-toolbar {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: none !important;
  border-radius: 8px 8px 0 0 !important;
}

.server-form .editor-content {
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  color: #fff !important;
}

.ad-placeholder-sidebar {
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px dashed rgba(255, 255, 255, 0.15) !important;
  height: 180px !important;
  padding: 14px 10px !important;
}

@keyframes seasonalSway {
  0% {
    margin-left: -22px;
  }

  100% {
    margin-left: 22px;
  }
}

@keyframes promoSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-promo-alert {
  background: linear-gradient(135deg, #dc2626 0%, #5B00B8 45%, var(--color-primary-dark) 75%, #b91c1c 100%);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
}

.home-promo-alert::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: promoShine 4s infinite linear;
}

@keyframes promoShine {
  0% {
    left: -100%;
  }

  35% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.hpa-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hpa-badge-flash {
  background: #0f172a;
  color: var(--color-primary);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 25, 255, 0.4);
}

.hpa-discount-pill {
  background: #fff;
  color: #dc2626;
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  padding: 3px 9px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: pulseDiscount 1.5s infinite;
}

@keyframes pulseDiscount {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.hpa-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hpa-title {
  margin: 0;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.hpa-desc {
  margin: 0;
  color: #fef2f2;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.92;
}

.hpa-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.hpa-countdown {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fef08a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes prxCookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── MODULE: pages/server-detail.css (266 dòng) ── */
/* ===== SERVER DETAIL CARD ===== */
.server-detail-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sdc-header {
  padding: 18px 22px 14px;
}

.sdc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.sdc-title-row h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-white);
}

.sdc-status {
  flex-shrink: 0;
}

.sdc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdc-body {
  padding: 20px 22px;
}

.sdc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.sdc-info-item {
  background: var(--color-bg3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sdc-info-item i {
  color: var(--color-primary);
  font-size: 14px;
}

.sdc-info-item span {
  font-size: 11px;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sdc-info-item strong {
  font-size: 15px;
  color: var(--color-white);
}

.sdc-description h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sdc-description h3 i {
  color: var(--color-primary);
}

.sdc-description p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.sdc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .advertise-layout {
    grid-template-columns: 1fr;
  }

  .sdc-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ad-positions-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   SERVER DETAIL INFO — inline stats dưới description
=================================================== */
.server-detail-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

/* ── Server detail info grid ────────────────────── */
.server-detail-info {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--color-border) !important;
}

.server-detail-card {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.sdc-title-row {
  min-width: 0 !important;
  max-width: 100% !important;
}

.sdc-title-row h2 {
  min-width: 0 !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.sdc-description {
  min-width: 0 !important;
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.sdc-desc-content {
  min-width: 0 !important;
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.sdc-desc-content div,
.sdc-desc-content p {
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.sdc-desc-content a {
  color: var(--color-primary, #8B19FF) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  word-break: break-all !important;
  cursor: pointer !important;
  transition: color 0.15s ease, opacity 0.15s ease !important;
}

.sdc-desc-content a:hover {
  color: #ffb74d !important;
  text-decoration: underline !important;
  opacity: 0.9 !important;
}

.sdc-header {
  border-bottom: 3px solid var(--server-color, var(--color-primary)) !important;
}

.sdc-title-row h2 i {
  color: var(--server-color, var(--color-primary)) !important;
}

.server-detail-card {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.sdc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.sdc-title-row h2 {
  flex: 1;
  min-width: 0;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  margin: 0;
  line-height: 1.3;
}

.sdc-status {
  flex-shrink: 0;
}

.sdc-description {
  min-width: 0;
  max-width: 100%;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.sdc-desc-content {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  max-width: 100%;
}

.sdc-desc-content div,
.sdc-desc-content p {
  margin-bottom: 8px;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.sdc-desc-content a {
  color: var(--color-primary, #8B19FF);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all !important;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.sdc-desc-content a:hover {
  color: #ffb74d;
  text-decoration: underline;
  opacity: 0.9;
}

.sdc-desc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* ── MODULE: pages/news.css (2268 dòng) ── */
/* ===== NEWS SECTION (COMPACT & SLEEK) ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.news-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 25, 255, 0.25);
}

.news-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-mini-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.news-featured .news-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 185px;
  overflow: hidden;
  position: relative;
}

.news-featured .news-body {
  padding: 8px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.news-featured .news-body h3 {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

.news-featured .news-body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.news-featured .news-body h3 a:hover {
  color: var(--color-primary);
}

.news-featured .news-body p {
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.4;
  margin: 0;
}

.news-card:not(.news-featured) {
  display: flex;
  gap: 0;
}

.news-card:not(.news-featured) .news-thumb {
  width: 90px;
  flex-shrink: 0;
}

.news-card:not(.news-featured) .news-body {
  padding: 12px;
}

.news-card:not(.news-featured) .news-body h3 {
  font-size: 13px;
}

.news-thumb {
  position: relative;
  overflow: hidden;
}

.news-featured .news-thumb {
  height: 200px;
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.2);
}

.news-thumb-placeholder:not(.news-featured .news-thumb-placeholder) {
  font-size: 24px;
  min-height: 100%;
}

.news-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
}

.news-body h3 {
  margin-bottom: 6px;
  line-height: 1.4;
}

.news-body h3 a {
  color: var(--color-text);
}

.news-body h3 a:hover {
  color: var(--color-primary);
}

.news-meta {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: var(--color-text-dim);
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-meta i {
  color: var(--color-primary);
}

/* --- News media (ảnh/video) --- */
.news-media-link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.news-featured .news-media-link {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 */
  background: #000;
}

.news-video-wrap iframe,
.news-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.news-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  position: relative;
}

.news-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.news-card:hover .news-thumb-img img {
  transform: scale(1.04);
}

/* --- Tag badges trên ảnh --- */
.news-tag-badges {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  z-index: 2;
}

.news-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--tag-bg, #888);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

/* --- News excerpt --- */
.news-excerpt {
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- News mini card (bài phụ: tỉ lệ 16:9 full cảnh, siêu gọn gàng) --- */
.news-mini {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 12px !important;
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px !important;
  transition: all var(--transition) !important;
  flex: 1 !important;
}

.news-mini:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3) !important;
  border-color: rgba(139, 25, 255, 0.4) !important;
}

.news-mini-thumb {
  position: relative !important;
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: block !important;
  background: #0b0e14 !important;
}

.news-mini-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform .3s ease !important;
}

.news-mini:hover .news-mini-thumb img {
  transform: scale(1.05);
}

.news-thumb-placeholder-sm {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, .25);
  background: linear-gradient(135deg, color-mix(in srgb, var(--nc) 30%, #111), color-mix(in srgb, var(--nc) 50%, #222));
}

.news-mini-tag {
  position: absolute;
  bottom: 2px;
  left: 3px;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  color: #fff;
  background: var(--tag-bg, #888);
  letter-spacing: .3px;
  text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  z-index: 2;
}

.news-mini-body {
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.news-mini-body h4 {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-mini-body h4 a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.news-mini-body h4 a:hover {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .hero-content {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-banner {
    height: 340px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-featured {
    grid-row: span 1;
  }

  .hero-stats {
    gap: 18px;
  }
}

/* ===== NEWS DETAIL ===== */
.news-detail-body {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.news-detail-body h2,
.news-detail-body h3 {
  color: var(--color-white);
  margin: 18px 0 8px;
  font-family: var(--font-heading);
}

.news-detail-body p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* News Placeholder & Badges */
.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: linear-gradient(135deg, rgba(139, 25, 255, 0.15), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-thumb-placeholder i {
  font-size: 44px;
  color: var(--nc, var(--color-primary));
  opacity: 0.5;
}

.news-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--nc, var(--color-primary));
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ===================================================
   NEWS DETAIL PAGE  —  nd-* namespace
=================================================== */

/* Article wrapper (Glassmorphism) */
.nd-article {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ── MEDIA HERO (ảnh / video) ── */
.nd-media {
  position: relative;
  width: 100%;
  padding-top: 52%;
  /* ~16:9 */
  background: #000;
  overflow: hidden;
}

.nd-media iframe,
.nd-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.nd-media.nd-media-img {
  padding-top: 0;
  height: 420px;
}

.nd-media.nd-media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

/* ── HEADER (tags / category / title / meta) ── */
.nd-header {
  padding: 22px 24px 0;
}

.nd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.nd-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  background: var(--tag-bg, #888);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.nd-cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--cat-color, var(--color-primary)) 18%, transparent);
  color: var(--cat-color, var(--color-primary));
  border: 1px solid color-mix(in srgb, var(--cat-color, var(--color-primary)) 35%, transparent);
  margin-bottom: 10px;
}

.nd-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin: 10px 0 14px;
}

.nd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--color-text-dim);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.nd-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nd-meta i {
  color: var(--color-primary);
}

.nd-meta em {
  font-style: normal;
  color: var(--color-text);
}

/* ── LEAD (excerpt quote) ── */
.nd-lead {
  margin: 20px 24px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background: rgba(139, 25, 255, .07);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── BODY CONTENT ── */
.nd-body {
  padding: 4px 24px 24px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.85;
}

.nd-body h1,
.nd-body h2,
.nd-body h3,
.nd-body h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  margin: 22px 0 10px;
}

.nd-body h2 {
  font-size: 20px;
}

.nd-body h3 {
  font-size: 17px;
}

.nd-body p {
  margin-bottom: 14px;
}

.nd-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.nd-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 14px auto;
}

.nd-body ul,
.nd-body ol {
  padding-left: 22px;
  margin-bottom: 14px;
  list-style: disc;
}

.nd-body ol {
  list-style: decimal;
}

.nd-body blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 10px 16px;
  margin: 16px 0;
  background: rgba(139, 25, 255, .06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-text-dim);
  font-style: italic;
}

.nd-body pre,
.nd-body code {
  background: var(--color-bg2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  padding: 2px 7px;
}

.nd-body pre {
  padding: 14px 18px;
  overflow-x: auto;
  margin-bottom: 14px;
}

/* ── FOOTER (share / source) ── */
.nd-footer {
  display: none !important;
}

.nd-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nd-share-label {
  font-size: 13px;
  color: var(--color-text-dim);
}

.nd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.nd-share-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
  color: #fff;
}

.nd-share-fb {
  background: #1877f2;
}

.nd-share-tg {
  background: #26a5e4;
}

.nd-source {
  font-size: 12px;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nd-source i {
  color: var(--color-primary);
}

.nd-source span {
  color: var(--color-text);
}

/* ── RELATED SECTION ── */
.nd-related {
  margin-top: 0;
}

.nd-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.nd-related-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.nd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  border-color: rgba(139, 25, 255, 0.45);
}

.nd-related-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  height: auto;
  flex-shrink: 0;
  text-decoration: none;
}

.nd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.nd-related-card:hover .nd-related-thumb img {
  transform: scale(1.05);
}

.nd-related-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(139, 25, 255, .25);
  background: linear-gradient(135deg, var(--color-surface2), var(--color-bg2));
}

.nd-related-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nd-related-body h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.nd-related-body h4 a {
  color: var(--color-text);
}

.nd-related-body h4 a:hover {
  color: var(--color-primary);
}

.nd-related-body p {
  font-size: 12px;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .nd-title {
    font-size: 20px;
  }

  .nd-media.nd-media-img {
    height: 200px;
  }

  .nd-header {
    padding: 14px 14px 0;
  }

  .nd-lead {
    margin: 14px;
  }

  .nd-body {
    padding: 4px 14px 16px;
    font-size: 14px;
  }

  .nd-footer {
    padding: 12px 14px;
  }

  .nd-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   NEWS LISTING PAGE (views/pages/news.ejs)
=================================================== */

/* Container & layout */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

/* Individual card (Glassmorphism) */
.news-list-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.news-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 25, 255, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 18px rgba(139, 25, 255, 0.25);
}

/* Thumbnail */
.news-list-thumb {
  width: 250px;
  min-height: 165px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #0d0d12;
  display: block;
}

.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-list-card:hover .news-list-thumb img {
  transform: scale(1.06);
}

.news-list-thumb .news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, rgba(20, 20, 28, 0.95), rgba(35, 30, 20, 0.95));
}

/* Video play indicator */
.news-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  box-shadow: 0 0 14px rgba(139, 25, 255, 0.5);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 2;
}

.news-thumb-play.lg {
  width: 54px;
  height: 54px;
  font-size: 20px;
}

.news-thumb-play.sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
  box-shadow: 0 0 8px rgba(139, 25, 255, 0.4);
}

.news-list-card:hover .news-thumb-play,
.news-featured-banner:hover .news-thumb-play,
.news-card:hover .news-thumb-play {
  background: var(--color-primary);
  color: #000;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 20px rgba(139, 25, 255, 0.85);
}

/* Card Body */
.news-list-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

/* Badges row (category + tags) */
.news-list-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.news-list-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.3);
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.news-list-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--tag-c, #e53535);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Card Title */
.news-list-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.news-list-title a:hover {
  color: var(--color-primary);
}

/* Excerpt */
.news-list-excerpt {
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Meta */
.news-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--color-text-dim);
}

.news-list-meta-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.news-list-meta-left span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-list-meta-left i {
  color: var(--color-primary);
  font-size: 11px;
}

.news-list-source {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.news-list-source i {
  color: #38bdf8 !important;
}

.news-list-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(139, 25, 255, 0.08);
  border: 1px solid rgba(139, 25, 255, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.news-list-readmore:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

.news-list-readmore i {
  transition: transform 0.2s ease;
}

.news-list-readmore:hover i {
  transform: translateX(3px);
}

/* Featured banner in news page (Glassmorphism) */
.news-featured-banner {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 25, 255, 0.35);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 24px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.news-featured-banner:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(139, 25, 255, 0.25);
}

.news-featured-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #000;
  display: block;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-featured-banner:hover .news-featured-media img {
  transform: scale(1.05);
}

.news-featured-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-featured-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-featured-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.news-featured-title a:hover {
  color: var(--color-primary);
}

.news-featured-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-content .news-list-meta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.news-featured-content .news-list-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

@media (max-width: 540px) {
  .news-featured-content .news-list-meta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .news-featured-content .btn-read-featured {
    width: 100%;
    justify-content: center;
  }
}

/* Filter tabs enhancement in news page (Glassmorphism) */
.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-filter-tabs .filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-filter-tabs .filter-tab:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(139, 25, 255, 0.5);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.news-filter-tabs .filter-tab.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, #a855f7 100%);
  color: #ffffff !important;
  border-color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(139, 25, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Empty State (Glassmorphism) */
.news-empty-state {
  text-align: center;
  padding: 56px 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #cbd5e1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .news-empty-state,
html[data-theme="light"] .empty-state {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  color: #334155 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .news-empty-state p,
html[data-theme="light"] .empty-state p {
  color: #475569 !important;
  font-weight: 500 !important;
}

html[data-theme="light"] .news-empty-state i,
html[data-theme="light"] .empty-state i {
  color: var(--color-primary) !important;
  opacity: 0.85 !important;
}

.news-empty-state i {
  font-size: 48px;
  color: rgba(139, 25, 255, 0.4);
  margin-bottom: 14px;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .news-featured-banner {
    grid-template-columns: 1fr;
  }

  .news-featured-media {
    height: 200px;
    min-height: 200px;
  }

  .news-featured-content {
    padding: 16px;
  }

  .news-list-card {
    flex-direction: column;
  }

  .news-list-thumb {
    width: 100%;
    height: 190px;
    min-height: 190px;
  }

  .news-list-body {
    padding: 16px;
  }

  .news-list-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .news-list-readmore {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .news-mini {
    padding: 4px 6px;
    gap: 6px;
  }

  .news-mini-thumb {
    width: 85px;
    min-width: 85px;
  }

  .news-mini-body h4 {
    font-size: 11px;
  }
}

/* ── 3.5. TOÀN BỘ TRANG TIN TỨC (NEWS PAGE - ULTRA COMPACT) ── */
.news-page-hero,
.main-content .page-hero {
  padding: 10px 0 6px !important;
  background: transparent !important;
  border-bottom: none !important;
}

.news-featured-banner {
  grid-template-columns: 180px 1fr !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.news-featured-media {
  min-height: 110px !important;
  max-height: 110px !important;
  height: 110px !important;
  width: 180px !important;
}

.news-featured-content {
  padding: 7px 12px !important;
}

.news-featured-title {
  font-size: 13px !important;
  line-height: 1.35 !important;
  margin-bottom: 3px !important;
}

.news-featured-desc {
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  margin-bottom: 4px !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

.news-featured-content .news-list-meta {
  padding-top: 4px !important;
  margin-top: auto !important;
  gap: 8px !important;
}

.news-featured-content .news-list-meta-left {
  font-size: 9.5px !important;
  gap: 8px !important;
}

.news-filter-tabs {
  gap: 4px !important;
  margin-bottom: 8px !important;
  padding-bottom: 6px !important;
}

.news-filter-tabs .filter-tab {
  padding: 2px 8px !important;
  font-size: 10.5px !important;
  border-radius: 4px !important;
}

.news-list {
  gap: 6px !important;
  margin-top: 4px !important;
}

.news-list-card {
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.news-list-thumb {
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
}

.news-list-body {
  padding: 5px 10px !important;
}

.news-list-badges {
  margin-bottom: 2px !important;
  gap: 4px !important;
}

.news-list-cat {
  padding: 1px 6px !important;
  font-size: 9.5px !important;
  border-radius: 2px !important;
}

.news-list-tag-badge {
  padding: 1px 5px !important;
  font-size: 9px !important;
  border-radius: 2px !important;
}

.news-list-title {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  margin-bottom: 2px !important;
}

.news-list-title a {
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

.news-list-excerpt {
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  margin-bottom: 3px !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
}

.news-list-meta {
  padding-top: 3px !important;
  font-size: 9.5px !important;
}

.news-list-meta-left {
  gap: 8px !important;
}

.news-list-readmore {
  padding: 1.5px 7px !important;
  font-size: 9.5px !important;
  border-radius: 3px !important;
}

.news-empty-state {
  padding: 30px 15px !important;
}

.news-empty-state i {
  font-size: 32px !important;
  margin-bottom: 8px !important;
}

/* ── EXTRACTED FROM news.ejs EMBEDDED STYLE ── */
/* ===================================================
     GIAO DIỆN TIN TỨC GAMING CAO CẤP (NEWS PAGE PREMIUM)
  =================================================== */

/* ── 1. Page Hero Gọn Gàng (Chỉ áp dụng riêng cho Trang Tin Tức .news-page-hero) ── */
.news-page-hero {
  padding: 12px 0 8px !important;
  background: transparent !important;
  border-bottom: none !important;
}

.news-page-hero .page-hero-content {
  align-items: center !important;
  gap: 12px !important;
}

.news-page-hero .page-hero-icon {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  border: 1.5px solid rgba(139, 25, 255, 0.6) !important;
  color: var(--color-primary) !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.news-page-hero .page-hero-content h1 {
  font-family: 'Oswald', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 2px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8) !important;
}

.news-page-hero .page-hero-content p {
  font-size: 11px !important;
  color: #cbd5e1 !important;
  line-height: 1.35 !important;
  margin-bottom: 3px !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7) !important;
}

.news-page-hero .page-hero-meta {
  margin-top: 4px !important;
  gap: 6px !important;
}

.news-page-hero .page-hero-meta span {
  padding: 2px 8px !important;
  border-radius: 10px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

/* Breadcrumb */
.breadcrumb-bar {
  padding: 4px 0 !important;
  margin-bottom: 8px !important;
}

.breadcrumb {
  font-size: 11px !important;
}

/* Section Header */
.content-area .section {
  margin-bottom: 16px !important;
}

.news-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.news-section-header h2 {
  font-size: 14px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  color: var(--color-text, #ffffff) !important;
}

html[data-theme="light"] .news-section-header h2 {
  color: #0f172a !important;
}

html[data-theme="light"] .news-section-header {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

.news-section-header h2 i {
  color: var(--color-primary, var(--color-primary)) !important;
  font-size: 13px !important;
}

/* ── 2. Nút Chuyển Đổi View Switch (Grid 2 cột / List 1 cột) ── */
.news-view-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 6px !important;
  padding: 2px !important;
}

.view-btn {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  width: 28px !important;
  height: 24px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.view-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.view-btn.active {
  background: var(--color-primary, var(--color-primary)) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(139, 25, 255, 0.3) !important;
}

/* ── 3. BÀI NỔI BẬT (FEATURED HERO SPOTLIGHT) ── */
.news-featured-banner {
  display: grid !important;
  grid-template-columns: 290px 1fr !important;
  gap: 0 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(139, 25, 255, 0.35) !important;
  background: linear-gradient(135deg, rgba(22, 30, 50, 0.85) 0%, rgba(13, 18, 32, 0.95) 100%) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(139, 25, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.news-featured-banner:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(139, 25, 255, 0.65) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(139, 25, 255, 0.2) !important;
}

.news-featured-media {
  width: 290px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  height: 180px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #090d16 !important;
  display: block !important;
}

.news-featured-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.news-featured-banner:hover .news-featured-media img {
  transform: scale(1.06) !important;
}

.featured-badge-glow {
  position: absolute !important;
  top: 9px !important;
  left: 9px !important;
  z-index: 3 !important;
  background: linear-gradient(135deg, #ef4444, #8B19FF) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 3px 9px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.6) !important;
}

.news-featured-content {
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

.news-featured-title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-top: 5px !important;
  margin-bottom: 6px !important;
}

.news-featured-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.news-featured-title a:hover {
  color: var(--color-primary, var(--color-primary)) !important;
}

.news-featured-desc {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  color: #cbd5e1 !important;
  margin-bottom: 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-featured-content .news-list-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 8px !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 10.5px !important;
}

.btn-read-featured {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 10px rgba(139, 25, 255, 0.35) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.btn-read-featured:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

.btn-read-featured i {
  transition: transform 0.2s ease !important;
}

.btn-read-featured:hover i {
  transform: translateX(3px) !important;
}

/* ── 4. Bộ Filter Danh Mục (Gaming Tabs) ── */
.news-filter-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-bottom: 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.news-filter-tabs .filter-tab {
  padding: 3px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  transition: all 0.2s ease !important;
}

.news-filter-tabs .filter-tab:hover {
  color: var(--color-primary) !important;
  border-color: rgba(139, 25, 255, 0.4) !important;
  background: rgba(139, 25, 255, 0.1) !important;
}

.news-filter-tabs .filter-tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(139, 25, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* ── 5. CHẾ ĐỘ LƯỚI TỰ ĐỘNG CÂN BẰNG (RESPONSIVE AUTO-FILL GRID) ── */
.news-list,
.news-list.view-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 16px !important;
  margin-top: 12px !important;
}

.news-list .news-list-card,
.news-list.view-grid .news-list-card {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.news-list .news-list-card:hover,
.news-list.view-grid .news-list-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(139, 25, 255, 0.5) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 14px rgba(139, 25, 255, 0.18) !important;
}

.news-list .news-list-thumb,
.news-list.view-grid .news-list-thumb {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 155px !important;
  max-height: 220px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #090d16 !important;
  display: block !important;
}

.news-list .news-list-thumb img,
.news-list.view-grid .news-list-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.news-list .news-list-card:hover .news-list-thumb img,
.news-list.view-grid .news-list-card:hover .news-list-thumb img {
  transform: scale(1.06) !important;
}

.card-overlay-badge {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  z-index: 2 !important;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--cat-c, var(--color-primary)) !important;
  color: var(--cat-c, var(--color-primary)) !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  padding: 1.5px 5px !important;
  border-radius: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.card-overlay-tag {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 2 !important;
  background: var(--tag-c, #ef4444) !important;
  color: #fff !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  padding: 1.5px 4px !important;
  border-radius: 2px !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.news-list .news-list-body,
.news-list.view-grid .news-list-body {
  padding: 7px 8px 8px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.news-list .list-only-badges,
.news-list.view-grid .list-only-badges {
  display: none !important;
}

.news-list .news-list-title,
.news-list.view-grid .news-list-title {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin-bottom: 4px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 31px !important;
}

.news-list .news-list-title a,
.news-list.view-grid .news-list-title a {
  color: #f1f5f9 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.news-list .news-list-title a:hover,
.news-list.view-grid .news-list-title a:hover {
  color: var(--color-primary, var(--color-primary)) !important;
}

.news-list .news-list-excerpt,
.news-list.view-grid .news-list-excerpt {
  font-size: 10px !important;
  line-height: 1.35 !important;
  color: #94a3b8 !important;
  margin-bottom: 5px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-list .news-list-meta,
.news-list.view-grid .news-list-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 5px !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-size: 9px !important;
  color: #64748b !important;
}

.news-list .news-list-meta-left,
.news-list.view-grid .news-list-meta-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 9px !important;
}

.news-list .news-list-readmore,
.news-list.view-grid .news-list-readmore {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  color: var(--color-primary, var(--color-primary)) !important;
  text-decoration: none !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  background: rgba(139, 25, 255, 0.08) !important;
  border: 1px solid rgba(139, 25, 255, 0.25) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.news-list .news-list-readmore:hover,
.news-list.view-grid .news-list-readmore:hover {
  background: var(--color-primary, var(--color-primary)) !important;
  color: #ffffff !important;
}

/* ── 6. CHẾ ĐỘ LIST 1 CỘT (KHI BẤM XEM DANH SÁCH) ── */
.news-list.view-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.news-list.view-list .news-list-card {
  display: flex !important;
  flex-direction: row !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.2s ease !important;
}

.news-list.view-list .news-list-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(139, 25, 255, 0.45) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

.news-list.view-list .news-list-thumb {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  height: 98px !important;
  min-height: 98px !important;
  max-height: 98px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #090d16 !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.news-list.view-list .news-list-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.news-list.view-list .news-list-card:hover .news-list-thumb img {
  transform: scale(1.05) !important;
}

.news-list.view-list .card-overlay-badge,
.news-list.view-list .card-overlay-tag {
  display: none !important;
}

.news-list.view-list .news-list-body {
  padding: 8px 12px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

.news-list.view-list .list-only-badges {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-bottom: 3px !important;
}

.news-list.view-list .news-list-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin-bottom: 3px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-list.view-list .news-list-title a {
  color: #f1f5f9 !important;
  text-decoration: none !important;
}

.news-list.view-list .news-list-title a:hover {
  color: var(--color-primary, var(--color-primary)) !important;
}

.news-list.view-list .news-list-excerpt {
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #94a3b8 !important;
  margin-bottom: 5px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-list.view-list .news-list-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 5px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 10px !important;
  color: #64748b !important;
}

/* ── 7. Badges Chung ── */
.news-list-badges {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.news-list-cat {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 1.5px 6px !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  background: rgba(139, 25, 255, 0.12) !important;
  border: 1px solid var(--cat-c, var(--color-primary)) !important;
  color: var(--cat-c, var(--color-primary)) !important;
}

.news-list-tag-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 1.5px 6px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  color: #fff !important;
  background: var(--tag-c, #e53535) !important;
}

.news-list-meta-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 9.5px !important;
}

.news-list-meta-left span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.news-list-meta-left i {
  font-size: 9px !important;
  color: var(--color-primary, var(--color-primary)) !important;
}

.news-list-source {
  font-size: 9.5px !important;
  padding: 1px 5px !important;
  border-radius: 2px !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

/* Nút Play Video */
.news-thumb-play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.75) !important;
  border: 1.5px solid var(--color-primary, var(--color-primary)) !important;
  color: var(--color-primary, var(--color-primary)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  padding-left: 2px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.news-thumb-play.lg {
  width: 38px !important;
  height: 38px !important;
  font-size: 14px !important;
  border-width: 2px !important;
  box-shadow: 0 0 14px rgba(139, 25, 255, 0.5) !important;
}

/* Pagination */
.pagination {
  margin-top: 14px !important;
  gap: 4px !important;
}

.page-btn {
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 8px !important;
  font-size: 11.5px !important;
  border-radius: 4px !important;
}

/* ── 8. Responsive ── */
@media (max-width: 1200px) and (min-width: 901px) {

  .news-list,
  .news-list.view-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 900px) and (min-width: 651px) {

  .news-list,
  .news-list.view-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .news-featured-banner {
    grid-template-columns: 1fr !important;
  }

  .news-featured-media {
    width: 100% !important;
    height: 165px !important;
    max-height: 165px !important;
  }

  .news-list.view-list .news-list-thumb {
    width: 120px !important;
    min-width: 120px !important;
    height: 78px !important;
    min-height: 78px !important;
  }
}

@media (max-width: 650px) {

  .news-list,
  .news-list.view-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 420px) {

  .news-list,
  .news-list.view-grid {
    grid-template-columns: 1fr !important;
  }

  .news-list.view-list .news-list-thumb {
    width: 84px !important;
    min-width: 84px !important;
    height: 84px !important;
    min-height: 84px !important;
    flex-shrink: 0 !important;
  }
}

/* ── MODULE: pages/dashboard.css (85 dòng) ── */
.dashboard-header {
  animation: slideDown 0.5s ease;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dashboard-card {
  background: var(--color-bg-secondary);
  border: 1px solid rgba(212, 212, 232, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-content {
  min-width: 0;
  max-width: 100%;
}

.dashboard-card {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .dashboard-sidebar {
    order: 2;
  }

  .dashboard-content {
    order: 1;
  }
}

/* ── User Dashboard: Main Sidebar Panes ──────────── */
.dashboard-main-pane {
  display: none !important;
}

.dashboard-main-pane.active {
  display: block !important;
  animation: fadeInPane 0.25s ease;
}

/* ── DASHBOARD LAYOUT RESPONSIVE ── */
.dashboard-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 24px;
  margin: 30px 0;
}

@media (max-width: 991px) {
  .dashboard-content-layout {
    grid-template-columns: 1fr !important;
  }
}


/* ── EXTRACTED FROM user-dashboard.ejs ── */
@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── MODULE: pages/submit-server.css (40 dòng) ── */
/* 5. GIAO DIỆN TRANG ĐĂNG SERVER GLASSMORPHISM (HÒA VÀO THEME MÙA) */
.submit-server-hero,
.main-content .page-hero {
  background: transparent !important;
  border-bottom: none !important;
}

/* ── SUBMIT SERVER FORM RESPONSIVE ── */
.submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  max-width: 1200px;
  margin: 30px auto;
}

@media (max-width: 991px) {
  .submit-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .submit-sidebar {
    width: 100% !important;
  }
}


/* ── EXTRACTED FROM submit-server.ejs ── */
@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── MODULE: pages/advertise.css (749 dòng) ── */
/* ==============================================================================
   PLAYRADARX — ADVERTISE PAGE STYLESHEET (advertise.css)
   Phiên bản chuẩn hóa toàn diện: Desktop 4/3 Cột + Mobile 3 Cột Không Mất Chữ
   ============================================================================== */

/* ── 1. LƯỚI KHỐI CHÍNH SÁCH GIA HẠN DESKTOP (3 CỘT CÂN ĐỐI, BOX 7 BANNER FULL-WIDTH) ── */
.ad-policy-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}

.ad-policy-grid>.ad-policy-box:nth-child(7) {
  grid-column: 1 / -1 !important;
}

/* ── 2. LƯỚI QUY TRÌNH 4 BƯỚC DESKTOP (4 CỘT THẲNG HÀNG) ── */
.ad-step-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}

.ad-step-card {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 100px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

/* ── 3. BỐ CỤC KHUNG FORM & SIDEBAR DESKTOP ── */
.advertise-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}

@media (max-width: 991px) {
  .advertise-layout {
    grid-template-columns: 1fr;
  }
}

.advertise-form-wrap {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.advertise-form-wrap h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.advertise-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .advertise-form-grid {
    grid-template-columns: 1fr;
  }
}

.ad-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ad-form-group.full-width {
  grid-column: 1 / -1;
}

.ad-form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
}

.ad-form-group input,
.ad-form-group select,
.ad-form-group textarea {
  width: 100%;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 10px;
  color: #ffffff;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.ad-form-group input:focus,
.ad-form-group select:focus,
.ad-form-group textarea:focus {
  outline: none;
  border-color: #8B19FF;
  box-shadow: 0 0 8px rgba(139, 25, 255, 0.4);
}

.btn-ad-submit {
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #8B19FF 0%, #A855F7 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(139, 25, 255, 0.4);
}

.btn-ad-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(139, 25, 255, 0.6);
}

/* Sidebar Hotline & Chính Sách Nhanh */
.ad-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ad-hotline-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.ad-hotline-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-hotline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ad-hotline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ad-hotline-item:hover {
  background: rgba(139, 25, 255, 0.15);
  color: #ffffff;
}

.ad-policy-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.ad-policy-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-policy-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ad-policy-card li {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.35;
}

.ad-policy-card li i {
  color: #10b981;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Page Hero Compact */
.page-hero {
  padding: 20px 0 16px;
}

.page-hero-icon {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-hero-content h1 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.page-hero-content p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.page-hero-meta span {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── 4. LƯỚI BẢNG GIÁ VỊ TRÍ BANNER (DESKTOP) ── */
.ad-positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 14px;
}

.ad-pos-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;

  overflow: hidden !important;
}

.ad-pos-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 25, 255, 0.4);
  box-shadow: 0 8px 24px rgba(139, 25, 255, 0.2);
}

.ad-pos-preview {
  margin-bottom: 8px;
}

.ad-pos-preview>div {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.75rem;
}

.ad-pos-info h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 4px 0;
  line-height: 1.3;
}

.ad-pos-info p {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.ad-pos-badge-wrap {
  margin-bottom: 6px;
}

.ad-pos-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ad-pos-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 8px 0;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ad-pos-specs>span {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

.ad-pos-specs>span>i {
  font-size: 11px !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.ad-pos-specs>span>span {
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
  max-width: 82px !important;
  line-height: 1.35 !important;
}

.ad-pos-specs span strong,
.ad-pos-specs span .spec-val {
  color: #ffffff;
  font-weight: 500;
  text-align: right !important;
  flex: 1 !important;
  min-width: 0 !important;
  display: block !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.35 !important;
}

.ad-pos-price {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ad-pos-price strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #8B19FF;
}

.ad-pos-price span {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* ==============================================================================
   5. PHÂN TẦNG TABLET (MD: 769px - 991px)
   ============================================================================== */
@media (min-width: 769px) and (max-width: 991px) {
  .ad-positions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .ad-policy-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .ad-policy-grid>.ad-policy-box:nth-child(7) {
    grid-column: span 2 !important;
  }

  .ad-step-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* ==============================================================================
   6. PHÂN TẦNG MOBILE (<= 768px) — 3 CỘT (repeat(3, 1fr)) KHÔNG MẤT KÝ TỰ
   ============================================================================== */
@media (max-width: 768px) {

  /* 6.1. Bảng Giá 3 Cột */
  .ad-positions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .ad-pos-card {
    padding: 6px 4px !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .ad-pos-preview {
    margin-bottom: 3px !important;
  }

  .ad-pos-preview>div {
    height: 24px !important;
    font-size: 8px !important;
    gap: 2px !important;
    padding: 0 2px !important;
  }

  .ad-pos-preview span {
    font-size: 8px !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-overflow: clip !important;
    line-height: 1.15 !important;
  }

  .ad-pos-preview-skyscraper {
    gap: 3px !important;
  }

  .skyscraper-side {
    width: 20px !important;
    height: 24px !important;
  }

  .skyscraper-side span {
    font-size: 6.5px !important;
    white-space: nowrap !important;
  }

  .skyscraper-center {
    height: 24px !important;
    font-size: 7.5px !important;
    padding: 0 2px !important;
    gap: 2px !important;
    white-space: nowrap !important;
  }

  .skyscraper-web-text {
    font-size: 7px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ad-pos-info h3 {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    margin: 2px 0 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    min-height: 2.4em !important;
  }

  .ad-pos-info p {
    display: none !important;
  }

  .ad-pos-badge-wrap {
    margin-bottom: 2px !important;
  }

  .ad-pos-badge {
    font-size: 8px !important;
    padding: 1px 3px !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-overflow: clip !important;
  }

  .ad-pos-specs {
    gap: 3px !important;
    margin: 3px 0 !important;
    padding: 2px 0 !important;
  }

  .ad-pos-specs>span {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 3px !important;
    width: 100% !important;
  }

  .ad-pos-specs>span>i {
    font-size: 8px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .ad-pos-specs>span>span {
    max-width: 48px !important;
    font-size: 0.56rem !important;
    flex-shrink: 0 !important;
  }

  .ad-pos-specs span strong,
  .ad-pos-specs span .spec-val {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    font-size: 0.58rem !important;
    font-weight: 500 !important;
    text-align: right !important;
    flex: 1 !important;
    min-width: 0 !important;
    line-height: 1.2 !important;
  }

  .ad-pos-price {
    padding-top: 3px !important;
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1px !important;
  }

  .ad-pos-price strong {
    font-size: 0.78rem !important;
    line-height: 1.1 !important;
    word-break: break-all !important;
  }

  .ad-pos-price span {
    font-size: 0.56rem !important;
  }

  /* 6.2. Lưới Khối Chính Sách 3 Cột */
  .ad-policy-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .ad-policy-box {
    padding: 6px 5px !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 100% !important;
  }

  .ad-policy-box>div:first-child[style*="border-radius:50%"] {
    display: none !important;
  }

  .ad-policy-box i {
    font-size: 1rem !important;
    margin-bottom: 2px !important;
  }

  .ad-policy-title {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    margin: 2px 0 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    min-height: 2.4em !important;
  }

  .ad-policy-desc {
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    -webkit-line-clamp: none !important;
    display: block !important;
  }

  /* Cứu lại 100% Hộp Lưu Ý Khuyên Cáo Pháp Lý & Hướng Dẫn */
  .ad-policy-box>div:last-child {
    display: flex !important;
    align-items: flex-start !important;
    gap: 3px !important;
    padding: 4px 5px !important;
    font-size: 0.55rem !important;
    margin-top: 4px !important;
    border-radius: 4px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* 6.3. Lưới Quy Trình 4 Bước (Hàng 1: Bước 1-3, Hàng 2: Bước 4 Full-Width Thanh Hoàn Tất) */
  .ad-step-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .ad-step-card {
    padding: 6px 5px !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .ad-step-grid>.ad-step-card:nth-child(4) {
    grid-column: 1 / -1 !important;
  }

  .ad-step-card>div:first-child {
    font-size: 0.62rem !important;
    font-weight: 800 !important;
  }

  .ad-step-card h4 {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    margin: 2px 0 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
  }

  .ad-step-card p {
    font-size: 0.58rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: clip !important;
    -webkit-line-clamp: none !important;
    display: block !important;
  }
}

/* ==============================================================================
   7. PHÂN TẦNG MOBILE NHỎ (XS: <= 480px)
   ============================================================================== */
@media (max-width: 480px) {
  .ad-positions-grid {
    gap: 4px !important;
  }

  .ad-pos-card {
    padding: 5px 3px !important;
  }

  .ad-policy-grid {
    gap: 4px !important;
  }

  .ad-policy-box {
    padding: 5px 4px !important;
  }

  .ad-step-grid {
    gap: 4px !important;
  }

  .ad-step-card {
    padding: 5px 4px !important;
  }
}

/* ── MODULE: pages/contact.css (10 dòng) ── */
/* ── EXTRACTED FROM contact.ejs ── */
@media (max-width: 768px) {

  .contact-grid,
  .contact-form-row {
    grid-template-columns: 1fr !important;
  }
}

/* ── MODULE: pages/legal.css (555 dòng) ── */
/* ── EXTRACTED FROM privacy.ejs ── */
.privacy-hero {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0 28px;
}

.privacy-hero-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.privacy-hero-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}

.privacy-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.privacy-hero-sub {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

.privacy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.privacy-badge i {
  color: #10b981;
}

.privacy-layout {
  max-width: 1020px;
  margin: 28px auto 60px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-hero-inner {
    flex-direction: column;
    gap: 14px;
  }
}

.privacy-toc {
  position: sticky;
  top: 84px;
  background: var(--color-surface, rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
}

.privacy-toc-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #10b981;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.privacy-toc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.privacy-toc-list a:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.28);
}

.privacy-toc-list a span.num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #10b981;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-toc-switch {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-toc-switch a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(139, 25, 255, 0.1);
  border: 1px solid rgba(139, 25, 255, 0.3);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.privacy-toc-switch a:hover {
  background: rgba(139, 25, 255, 0.18);
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-card {
  background: var(--color-surface, rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px 28px;
  scroll-margin-top: 90px;
}

.privacy-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.privacy-card-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.privacy-card-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.privacy-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 12px;
}

.privacy-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 0.91rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-list li strong {
  color: #ffffff;
}

.privacy-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.privacy-subbox {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 16px;
}

.privacy-subbox h4 {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-subbox p {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.privacy-callout {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.privacy-callout i {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.privacy-callout.shield {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.privacy-callout.shield i {
  color: #10b981;
}

.privacy-callout.info {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
}

.privacy-callout.info i {
  color: #38bdf8;
}


/* ── EXTRACTED FROM terms.ejs ── */
.legal-hero {
  background: linear-gradient(180deg, rgba(139, 25, 255, 0.08) 0%, rgba(15, 23, 42, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0 28px;
}

.legal-hero-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.legal-hero-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: rgba(139, 25, 255, 0.14);
  border: 1px solid rgba(139, 25, 255, 0.4);
  color: var(--color-primary, var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(139, 25, 255, 0.18);
}

.legal-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.legal-hero-sub {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 14px;
}

.legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.legal-badge i {
  color: var(--color-primary, var(--color-primary));
}

.legal-layout {
  max-width: 1020px;
  margin: 28px auto 60px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-hero-inner {
    flex-direction: column;
    gap: 14px;
  }
}

.legal-toc {
  position: sticky;
  top: 84px;
  background: var(--color-surface, rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
}

.legal-toc-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary, var(--color-primary));
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.legal-toc-list a:hover {
  background: rgba(139, 25, 255, 0.1);
  color: #ffffff;
  border-color: rgba(139, 25, 255, 0.25);
}

.legal-toc-list a span.num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-primary, var(--color-primary));
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-toc-switch {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-toc-switch a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-toc-switch a:hover {
  background: rgba(56, 189, 248, 0.18);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-card {
  background: var(--color-surface, rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px 28px;
  scroll-margin-top: 90px;
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-card-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(139, 25, 255, 0.14);
  border: 1px solid rgba(139, 25, 255, 0.35);
  color: var(--color-primary, var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.legal-card-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}

.legal-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 12px;
}

.legal-list {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #cbd5e1;
  font-size: 0.91rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li strong {
  color: #ffffff;
}

.legal-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.legal-subbox {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 14px 16px;
}

.legal-subbox h4 {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-subbox p {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.legal-callout {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.legal-callout i {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.legal-callout.warn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.legal-callout.warn i {
  color: #ef4444;
}

.legal-callout.info {
  background: rgba(139, 25, 255, 0.1);
  border: 1px solid rgba(139, 25, 255, 0.3);
  color: #fde68a;
}

.legal-callout.info i {
  color: var(--color-primary);
}

.legal-callout.ok {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.legal-callout.ok i {
  color: #10b981;
}

/* ── MODULE: responsive/responsive.css (615 dòng) ── */
/**
 * ==============================================================================
 * PLAYRADARX V2 — RESPONSIVE & CROSS-DEVICE DESIGN SYSTEM (responsive.css)
 * ==============================================================================
 * Kiến trúc Mobile-First lũy tiến chuẩn W3C:
 *   - Base Mobile: 320px - 575px (Mặc định không dùng @media)
 *   - Phablet:     min-width: 576px (Màn hình điện thoại lớn / Phablet)
 *   - Tablet:      min-width: 768px (Máy tính bảng dọc - iPad 10.2, Mini)
 *   - Laptop:      min-width: 1024px (Laptop & Desktop tiêu chuẩn, chuyển đổi Navbar)
 *   - Desktop:     min-width: 1280px (Màn hình lớn Full HD 1080p, Container 1240px)
 *   - Ultra-Wide:  min-width: 1600px (Màn hình đồ họa 2K/4K, Container 1360px)
 * ==============================================================================
 */

/* ==============================================================================
   TẦNG 0: NỀN TẢNG MOBILE TOÀN CỤC & CHỐNG TRÀN LAYOUT (BASE SHIELD)
   ============================================================================== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  width: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  width: 100%;
  min-width: 320px;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Quy tắc cốt lõi chống tràn: Cho phép mọi Flex/Grid item co lại tự nhiên */
.content-area,
.sidebar,
.flex-child,
.grid-child,
.main-grid>*,
.container {
  min-width: 0;
}

/* Chống tràn ảnh, video, iframe, bảng biểu */
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

iframe {
  border: 0;
}

/* Tự động ngắt dòng văn bản dài, link dài, tiêu đề dài */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
label,
li,
td,
th {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

pre,
code {
  white-space: pre-wrap;
  word-break: break-all;
  max-width: 100%;
}

/* Chống tự động phóng to (Auto-Zoom) trên iPhone/iOS Safari */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
  font-size: 16px;
}

/* Khung chứa nội dung (Container) cơ sở */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

/* Bố cục nội dung chính mặc định trên mobile */
.main-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.content-area {
  width: 100%;
}

.sidebar {
  width: 100%;
}

/* Mặc định ẩn banner nổi trôi 2 bên (Skyscraper Float Ads) */
.ad-float,
.ad-float-left,
.ad-float-right {
  display: none !important;
}

/* ==============================================================================
   TẦNG 1: ĐIỆN THOẠI DI ĐỘNG & MOBILE COMPACT (MAX-WIDTH: 768px)
   ============================================================================== */
@media (max-width: 768px) {
  .container {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .content-area,
  .sidebar {
    width: 100% !important;
  }

  /* 7.1. TOPBAR & THÔNG BÁO TỐI GIẢN MOBILE */
  .topbar {
    padding: 3px 0 !important;
  }

  .topbar-text {
    font-size: 0.65rem !important;
  }

  /* 7.2. HEADER CHÍNH & BRANDING GAMING MOBILE */
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 6px 0 !important;
    background: rgba(10, 14, 26, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(139, 25, 255, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  }

  .header-main-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .logo-wrapper {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    max-width: 58% !important;
  }

  .logo-img {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 10px rgba(139, 25, 255, 0.6) !important;
  }

  .site-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 115px !important;
  }

  .site-tagline {
    display: none !important;
  }

  /* 7.3. CỤM TIỆN ÍCH MOBILE BÊN PHẢI (AUTH + THEME + LANG + BURGER) */
  .mobile-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: auto !important;
  }

  .btn-mobile-auth {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 4px 7px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
  }

  .btn-mobile-login {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .btn-mobile-register {
    background: linear-gradient(135deg, #8B19FF 0%, #00F0FF 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(139, 25, 255, 0.5) !important;
  }

  .mobile-theme-btn,
  .mobile-lang-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    font-size: 0.75rem !important;
    cursor: pointer !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 6px !important;
    background: rgba(139, 25, 255, 0.18) !important;
    border: 1px solid rgba(139, 25, 255, 0.45) !important;
    color: #00F0FF !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    box-shadow: 0 0 10px rgba(139, 25, 255, 0.3) !important;
  }

  /* 7.4. THANH ĐIỀU HƯỚNG DESKTOP ẨN TRÊN MOBILE */
  .desktop-nav,
  .header-nav {
    display: none !important;
  }

  /* 7.5. MOBILE DRAWER NAVIGATION MENU */
  .mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: rgba(10, 14, 26, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-left: 1px solid rgba(139, 25, 255, 0.4) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8) !important;
    z-index: 2000 !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 16px !important;
    overflow-y: auto !important;
  }

  .mobile-drawer.open {
    right: 0 !important;
  }

  .drawer-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 1999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .drawer-backdrop.open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* 7.6. HERO COMPACT & THỐNG KÊ MOBILE */
  .hero-compact {
    padding: 14px 0 10px !important;
  }

  .hero-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .stat-badge {
    padding: 3px 8px !important;
    font-size: 0.68rem !important;
  }

  /* 7.7. SERVER CARD COMPACT MOBILE */
  .server-card {
    padding: 10px 12px !important;
    border-radius: 8px !important;
  }

  .server-title {
    font-size: 0.88rem !important;
  }

  .server-meta {
    font-size: 0.7rem !important;
    gap: 6px !important;
  }

  /* 7.8. MODALS & POPUPS MOBILE */
  .modal-dialog {
    margin: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }

  /* 7.9. TABLES TRÊN MOBILE */
  .table-responsive {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 7.10. CHÍNH SÁCH VÀ QUY TRÌNH QUẢNG CÁO MOBILE */
  .ad-policy-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .ad-policy-box {
    padding: 6px 5px !important;
    border-radius: 6px !important;
  }

  .ad-step-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .ad-step-grid>.ad-step-card:nth-child(4) {
    grid-column: 1 / -1 !important;
  }

  .ad-positions-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 10px !important;
  }
}

/* ==============================================================================
   TẦNG 1.5: ĐIỆN THOẠI NHỎ (XS: <= 480px)
   ============================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .site-header .logo-main {
    font-size: 15px !important;
  }

  .page-hero-title,
  .page-hero h1 {
    font-size: 1.05rem !important;
  }

  .btn,
  .btn-primary,
  .btn-game {
    min-height: 38px;
    font-size: 0.85rem;
  }

  .categories-grid {
    gap: 8px !important;
  }

  .cat-card {
    padding: 8px 10px !important;
  }

  .cat-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 12px !important;
  }

  .sidebar {
    gap: 8px !important;
  }
}

/* ==============================================================================
   TẦNG 2: PHABLET & MÀN HÌNH ĐIỆN THOẠI LỚN (MIN-WIDTH: 576px)
   ============================================================================== */
@media (min-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

/* ==============================================================================
   TẦNG 3: MÁY TÍNH BẢNG DỌC (TABLET PORTRAIT: MIN-WIDTH: 768px)
   ============================================================================== */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Ẩn các nút điều hướng đặc thù mobile */
  .mobile-only-auth,
  .mobile-header-right,
  .mobile-menu-toggle,
  .mobile-guest-wrap,
  .mobile-theme-selector,
  .mobile-lang-selector,
  .mobile-user-profile-wrap {
    display: none !important;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ad-positions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ==============================================================================
   TẦNG 4: MÁY TÍNH XÁCH TAY & DESKTOP (LAPTOP & DESKTOP: MIN-WIDTH: 1024px)
   ============================================================================== */
@media (min-width: 1024px) {
  .container {
    max-width: 1140px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Kích hoạt thanh điều hướng Desktop */
  .desktop-nav,
  .header-nav {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }

  /* Bố cục 2 cột tiêu chuẩn: Nội dung chính + Cột Sidebar cố định */
  .main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 24px !important;
    align-items: start !important;
  }

  .content-area {
    min-width: 0;
    width: 100%;
  }

  .sidebar {
    min-width: 0;
    width: 300px !important;
  }

  /* Lưới máy chủ & thể loại desktop */
  .games-grid,
  .normal-servers-grid,
  .servers-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  /* Lưới Bảng Giá Quảng Cáo: 3-4 cột thoáng đãng */
  .ad-positions-grid {
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)) !important;
    gap: 14px !important;
  }

  /* Lưới Chính Sách 3 Cột */
  .ad-policy-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }

  .ad-policy-grid>.ad-policy-box:nth-child(7) {
    grid-column: 1 / -1 !important;
  }

  /* Lưới Quy Trình 4 Bước Thẳng Hàng */
  .ad-step-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
}

/* ==============================================================================
   TẦNG 5: MÀN HÌNH DESKTOP TIÊU CHUẨN (MIN-WIDTH: 1280px)
   ============================================================================== */
@media (min-width: 1280px) {
  .container {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 24px !important;
  }
}

/* ==============================================================================
   TẦNG 5.5: BANNER NỔI SKYSCRAPER TRÔI 2 BÊN (MIN-WIDTH: 1540px)
   ============================================================================== */
@media (min-width: 1540px) {
  .ad-float {
    display: flex !important;
    position: fixed;
    top: 220px;
    z-index: 850;
    width: 160px;
    transition: top 0.15s ease-out;
  }

  .ad-float-left {
    left: calc((100vw - 1280px) / 2 - 175px);
  }

  .ad-float-right {
    right: calc((100vw - 1280px) / 2 - 175px);
  }
}

/* ==============================================================================
   TẦNG 6: MÀN HÌNH SIÊU RỘNG & 2K/4K GAMING MONITORS (MIN-WIDTH: 1600px)
   ============================================================================== */
@media (min-width: 1600px) {
  .container {
    max-width: 1360px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .main-grid {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 28px !important;
  }
}

/* ==============================================================================
   QUANG ĐỘ CAO: FIX CHỮ SÁNG RÕ TRÊN BỘ LỌC DANH MỤC VÀ NÚT BẤM (HIGH CONTRAST)
   ============================================================================== */
.news-filter-tabs .filter-tab.active,
.news-filter-tabs .filter-tab.active *,
.filter-tabs .filter-tab.active,
.filter-tabs .filter-tab.active *,
.filter-tabs-form .filter-tab.active,
.filter-tabs-form .filter-tab.active *,
.btn-game-active,
.btn-game-active * {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.news-filter-tabs .filter-tab.active {
  background: linear-gradient(135deg, #9333ea, #7e22ce) !important;
  border-color: #a855f7 !important;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.45) !important;
}

.news-filter-tabs .filter-tab:hover,
.news-filter-tabs .filter-tab:hover * {
  color: #ffffff !important;
}

.view-btn.active,
.view-btn.active * {
  color: #ffffff !important;
}

.btn-read-featured,
.btn-read-featured * {
  color: #ffffff !important;
}

/* ── Light Theme Empty State (Đồng hóa nền trắng tinh tế) ── */
html[data-theme="light"] .news-empty-state,
html[data-theme="light"] .empty-state {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  color: #334155 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .news-empty-state p,
html[data-theme="light"] .empty-state p {
  color: #475569 !important;
  font-weight: 500 !important;
}

html[data-theme="light"] .news-empty-state i,
html[data-theme="light"] .empty-state i {
  color: #8B19FF !important;
  opacity: 0.85 !important;
}

/* ── Thông báo trong 7 hộp chính sách quảng cáo (Chống mờ & sáng quá mức) ── */
.ad-policy-notice {
  margin-top: 8px;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.ad-notice-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.ad-notice-sky {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}

.ad-notice-amber {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.ad-notice-violet {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.ad-notice-rose {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.ad-notice-pink {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #fbcfe8;
}

.ad-notice-indigo {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

/* Theme Sáng: Chữ đậm nét, tương phản cao, dễ đọc, không bị chói sáng */
html[data-theme="light"] .ad-policy-notice {
  font-weight: 600 !important;
}

html[data-theme="light"] .ad-notice-emerald {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #065f46 !important;
}

html[data-theme="light"] .ad-notice-sky {
  background: rgba(14, 165, 233, 0.1) !important;
  border: 1px solid rgba(14, 165, 233, 0.28) !important;
  color: #0369a1 !important;
}

html[data-theme="light"] .ad-notice-amber {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #92400e !important;
}

html[data-theme="light"] .ad-notice-violet {
  background: rgba(139, 92, 246, 0.1) !important;
  border: 1px solid rgba(139, 92, 246, 0.28) !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .ad-notice-rose {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  color: #991b1b !important;
}

html[data-theme="light"] .ad-notice-pink {
  background: rgba(236, 72, 153, 0.1) !important;
  border: 1px solid rgba(236, 72, 153, 0.28) !important;
  color: #9d174d !important;
}

html[data-theme="light"] .ad-notice-indigo {
  background: rgba(99, 102, 241, 0.1) !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  color: #312e81 !important;
}

/* ── FOOTER PARTNER & SPONSOR BANNERS (CHUẨN HÓA GIAO DIỆN HIỆN ĐẠI) ── */
.footer-partner-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.footer-partner-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(17, 21, 37, 0.7);
  border: 1px solid rgba(139, 25, 255, 0.25);
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-partner-badge:hover {
  background: rgba(26, 32, 53, 0.9);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(139, 25, 255, 0.35);
}

.footer-partner-badge.sponsor {
  border-color: rgba(245, 158, 11, 0.3);
}

.footer-partner-badge.sponsor .fp-badge-icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.footer-partner-badge.sponsor:hover {
  border-color: #f59e0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.fp-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(139, 25, 255, 0.12);
  border: 1px solid rgba(139, 25, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.fp-badge-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fp-badge-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.fp-badge-text small {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
  margin-top: 2px;
}

.fp-badge-arrow {
  font-size: 12px;
  color: var(--color-primary);
  opacity: 0.7;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}

.footer-partner-badge:hover .fp-badge-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Light Theme cho Footer Partner Badge */
html[data-theme="light"] .footer-partner-badge {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .footer-partner-badge:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 16px rgba(139, 25, 255, 0.18) !important;
}

html[data-theme="light"] .footer-partner-badge.sponsor:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2) !important;
}

html[data-theme="light"] .fp-badge-text strong {
  color: #0f172a !important;
}

html[data-theme="light"] .fp-badge-text small {
  color: #64748b !important;
}

/* ── PROFILE BADGE TRANG QUẢNG CÁO (ĐĂNG KÝ DƯỚI TÀI KHOẢN) ── */
.ad-user-badge-title {
  color: #ffffff;
}

html[data-theme="light"] .ad-user-badge {
  background: rgba(34, 197, 94, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
}

html[data-theme="light"] .ad-user-badge-title {
  color: #0f172a !important;
}

html[data-theme="light"] .ad-user-badge-email {
  color: #475569 !important;
}
