/*
Theme Name: Gamexpert Theme
Theme URI: https://algamexpert.com
Author: md Zubayer Al Hasan
Author URI: https://www.linkedin.com/in/jubayerdev/
Description: High-performance hybrid WordPress theme for the GameXpert gaming platform. Engineered with semantic server-side rendering, LiteSpeed cache optimization, and modular interactive systems.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gamexpert-theme
Tags: gaming, entertainment, custom-header, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. GLOBAL RESET & BASELINE TYPOGRAPHY SYSTEM
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 18px; /* Desktop Target: 18px default base */
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  html {
    font-size: 17px; /* Tablet Target: 17px */
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px; /* Mobile Target: 16px (never smaller than 16px) */
  }
}

body {
  margin: 0;
  background-color: #07090e;
  color: #e2e8f0;
  font-size: 1rem; /* 18px desktop, 17px tablet, 16px mobile */
  line-height: 1.7; /* Target: 1.65–1.75 */
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==========================================================================
   GLOBAL 1400PX CONTAINER SYSTEM (Site-wide Standard)
   ========================================================================== */
.site-container {
  width: min(100% - 48px, 1400px);
  max-width: 1400px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .site-container {
    width: min(100% - 32px, 92vw);
    max-width: 92vw;
  }
}

@media (max-width: 640px) {
  .site-container {
    width: min(100% - 24px, 92vw);
    max-width: 94vw;
  }
}

/* ==========================================================================
   2. EDITORIAL PROSE & PARAGRAPH WIDTH LIMITS
   ========================================================================== */
p, .prose p, .entry-content p, .article-content p {
  max-width: 75ch; /* Target: 70–78ch for optimal eye-tracking and readability */
  line-height: 1.72;
  margin-top: 0;
  margin-bottom: 1.25em;
  color: #cbd5e1;
}

/* ==========================================================================
   3. RESPONSIVE HEADING SCALE
   ========================================================================== */
h1, .h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem); /* 32px to 52px */
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h2, .h2 {
  font-size: clamp(1.65rem, 2.2vw + 0.75rem, 2.35rem); /* 26px to 38px */
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.65rem;
}

h3, .h3 {
  font-size: clamp(1.3rem, 1.5vw + 0.6rem, 1.75rem); /* 21px to 28px */
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h4, .h4 {
  font-size: clamp(1.15rem, 1vw + 0.5rem, 1.35rem); /* 18px to 22px */
  line-height: 1.35;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   4. UI TEXT & METADATA THRESHOLDS (NO TINY TEXT)
   ========================================================================== */
/* Minimum readable UI text is 14px */
.ui-text,
.text-ui {
  font-size: 0.875rem !important; /* 14px */
  line-height: 1.5;
}

/* Metadata text 13px–14px */
.meta-text,
.text-meta {
  font-size: 0.8125rem !important; /* 13px */
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* Overwrite accidental sub-12px micro-text with legible metadata */
.text-\[9px\],
.text-\[10px\],
.text-\[11px\] {
  font-size: 0.8125rem !important; /* 13px minimum legible threshold */
  line-height: 1.4 !important;
}

/* ==========================================================================
   5. BUTTON STANDARDS (14–16px, MIN 10px 16px PADDING)
   ========================================================================== */
button,
.btn,
a.btn,
.button {
  font-size: 0.875rem; /* 14px default, up to 16px */
  font-weight: 700;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem; /* 10px 18px */
  border-radius: 0.75rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* ==========================================================================
   6. GLOBAL CONTENT CONTAINER (1240px–1320px)
   ========================================================================== */
.site-container,
.main-container {
  max-width: 1300px;
  width: min(100% - 32px, 1300px);
  margin-inline: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .site-container,
  .main-container {
    width: min(100% - 48px, 1300px);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-container,
  .main-container {
    width: min(100% - 64px, 1300px);
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   7. CARD DESIGN & PADDING STANDARDS (18px–24px)
   ========================================================================== */
.gamexpert-card {
  background-color: #0f131d;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 1.25rem; /* 20px */
  transition: all 0.25s ease;
}

@media (min-width: 640px) {
  .gamexpert-card {
    padding: 1.375rem; /* 22px */
  }
}

.gamexpert-card:hover {
  background-color: #131826;
  border-color: rgba(59, 130, 246, 0.45);
}

/* ==========================================================================
   8. SECTION SPACING (64px–88px DESKTOP, 48px–64px TABLET, 40px–56px MOBILE)
   ========================================================================== */
.section-spacer {
  margin-top: 5rem; /* 80px */
  margin-bottom: 5rem;
}

@media (max-width: 1024px) {
  .section-spacer {
    margin-top: 3.5rem; /* 56px */
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 640px) {
  .section-spacer {
    margin-top: 2.75rem; /* 44px */
    margin-bottom: 2.75rem;
  }
}

/* ==========================================================================
   9. HEADER NAVIGATION BAR REFINEMENT
   ========================================================================== */
.header-nav-link {
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  color: #cbd5e1;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.header-nav-link:hover {
  color: #ffffff;
  background-color: rgba(30, 41, 59, 0.75);
}

.header-nav-link.active {
  color: #ffffff;
  background-color: rgba(30, 41, 59, 0.9);
  font-weight: 600;
}

/* Mobile Navigation Menu Toggle Button: Hidden on Desktop (>= 768px), Visible ONLY on Mobile (< 768px) */
#header-menu-toggle {
  display: none !important;
}

@media (min-width: 768px) {
  header nav {
    display: flex !important;
  }
  #header-menu-toggle {
    display: none !important;
  }
  #mobile-nav-backdrop,
  #mobile-nav-drawer {
    display: none !important;
  }
}

@media (max-width: 767px) {
  header nav {
    display: none !important;
  }
  #header-menu-toggle {
    display: inline-flex !important;
  }
}

/* ==========================================================================
   10. GLOBAL ACCESSIBLE PAGINATION DESIGN
   ========================================================================== */
.gamexpert-pagination-nav,
nav.pagination,
.navigation.pagination,
.posts-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 2.5rem !important;
  margin-bottom: 2rem !important;
}

.gamexpert-pagination-nav ul.page-numbers,
nav.pagination .nav-links,
.navigation.pagination .nav-links,
ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.page-numbers li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
}

.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.625rem !important; /* 42px */
  height: 2.625rem !important;
  padding: 0 0.875rem !important;
  border-radius: 0.75rem !important;
  font-size: 0.875rem !important; /* 14px */
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  background-color: #0d121e !important;
  border: 1px solid rgba(51, 65, 85, 0.75) !important;
  color: #94a3b8 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  user-select: none !important;
}

.page-numbers:hover:not(.current):not(.dots) {
  background-color: #172033 !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.5) !important;
}

.page-numbers.current {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  cursor: default !important;
}

.page-numbers.dots {
  background: transparent !important;
  border-color: transparent !important;
  color: #64748b !important;
  cursor: default !important;
  min-width: 1.75rem !important;
  padding: 0 0.25rem !important;
}

.page-numbers.prev,
.page-numbers.next {
  padding: 0 1rem !important;
  gap: 0.375rem !important;
  font-weight: 600 !important;
}

.page-numbers.prev svg,
.page-numbers.next svg {
  width: 1rem !important;
  height: 1rem !important;
  display: inline-block !important;
}

/* ==========================================================================
   11. AJAX SEARCH FILTERS & DYNAMIC LISTING SYSTEM
   ========================================================================== */
.gamexpert-ajax-hub {
  position: relative;
}

/* Dynamic Listing Results Container Loading State */
.ajax-results-container {
  position: relative;
  transition: opacity 0.2s ease, filter 0.2s ease;
  min-height: 200px;
}

.ajax-results-container.is-loading {
  opacity: 0.45 !important;
  pointer-events: none !important;
  filter: blur(0.5px);
}

/* Subtle top loading progress bar */
.ajax-loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #3b82f6);
  background-size: 200% 100%;
  animation: ajaxGradient 1.2s ease infinite;
  z-index: 40;
  border-radius: 9999px;
  display: none;
}

.ajax-results-container.is-loading .ajax-loading-bar {
  display: block;
}

@keyframes ajaxGradient {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Filter controls common styling */
.filter-search-input {
  background-color: #101524;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.filter-select {
  background-color: #101420;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.625rem 2.25rem 0.625rem 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem 1rem;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
}

.filter-select option {
  background-color: #0b0f19;
  color: #ffffff;
  padding: 0.5rem;
}

/* ==========================================================================
   12. RESPONSIVE TABLES, CODE BLOCKS, TOUCH TARGETS & OVERFLOW SAFEGUARDS
   ========================================================================== */

/* Word Break & Overflow Protection */
h1, h2, h3, h4, h5, h6,
p, a, span, .truncate-title {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Localized Horizontal Scrolling for Tables & Code */
.wp-block-table,
.table-responsive,
.overflow-x-auto {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.wp-block-table table,
table.responsive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

pre,
code {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

pre code {
  white-space: pre;
}

/* Touch Targets for Mobile & Pointer Devices */
@media (pointer: coarse) {
  button,
  .btn,
  a.btn,
  .button,
  .page-numbers,
  input[type="submit"],
  input[type="button"],
  input[type="reset"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ==========================================================================
   13. THREE PRIMARY SYSTEMS & HOMEPAGE EDITORIAL REFINEMENTS
   ========================================================================== */

/* System 01: Game Database (Blue / Cyan Theme) */
.system-card-database {
  background: linear-gradient(180deg, #0e1626 0%, #080d18 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.25) !important;
  border-radius: 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}
.system-card-database:hover {
  border-color: rgba(59, 130, 246, 0.55) !important;
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-2px);
}
.system-card-database::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3b82f6, #06b6d4, transparent);
  opacity: 0.85;
}

/* System 02: Gaming Tools (Emerald / Teal Theme) */
.system-card-tools {
  background: linear-gradient(180deg, #091b15 0%, #06110e 100%) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  border-radius: 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}
.system-card-tools:hover {
  border-color: rgba(16, 185, 129, 0.55) !important;
  box-shadow: 0 16px 36px -8px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(-2px);
}
.system-card-tools::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, #14b8a6, transparent);
  opacity: 0.85;
}

/* System 03: Sports & Live Scores (Amber / Gold / Orange Theme) */
.system-card-sports {
  background: linear-gradient(180deg, #1c1409 0%, #110d06 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: 1.5rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}
.system-card-sports:hover {
  border-color: rgba(245, 158, 11, 0.55) !important;
  box-shadow: 0 16px 36px -8px rgba(245, 158, 11, 0.25) !important;
  transform: translateY(-2px);
}
.system-card-sports::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f59e0b, #f97316, transparent);
  opacity: 0.85;
}

/* Consistent System Badges */
.system-badge-database {
  background-color: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  color: #93c5fd !important;
}
.system-badge-tools {
  background-color: rgba(6, 78, 59, 0.35) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #6ee7b7 !important;
}
.system-badge-sports {
  background-color: rgba(69, 26, 3, 0.4) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fcd34d !important;
}

/* System Buttons */
.system-btn-database {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%) !important;
  color: #ffffff !important;
}
.system-btn-database:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0369a1 100%) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

.system-btn-tools {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  color: #ffffff !important;
}
.system-btn-tools:hover {
  background: linear-gradient(135deg, #047857 0%, #0f766e 100%) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

.system-btn-sports {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%) !important;
  color: #ffffff !important;
}
.system-btn-sports:hover {
  background: linear-gradient(135deg, #b45309 0%, #c2410c 100%) !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
}

/* Consistent Section Header Classes */
.section-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-header-title {
  font-size: clamp(1.75rem, 2.5vw + 0.8rem, 2.25rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
}
.section-header-desc {
  font-size: 0.9375rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  max-width: 48rem;
  line-height: 1.6;
}

/* Hero Section Enhancements */
.hero-headline {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.75rem); /* 40px to 60px */
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #ffffff;
  line-height: 1.08;
}
.hero-desc {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem); /* 16px to 18px */
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 62ch;
}

/* Mid-Page Discovery Banner */
.mid-page-banner {
  background: linear-gradient(135deg, #0c1222 0%, #101428 50%, #15112c 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  border-radius: 1.75rem !important;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.8) !important;
  position: relative;
  overflow: hidden;
}
.mid-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #818cf8, transparent);
}

/* Sports Filter Pills */
.sport-filter-btn {
  padding: 0.375rem 0.875rem !important;
  border-radius: 0.625rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  background-color: #0f131d !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  color: #94a3b8 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
}
.sport-filter-btn:hover,
.sport-filter-btn.active {
  background-color: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
}

/* Empty State Box */
.gamexpert-empty-state {
  border-radius: 1rem;
  border: 1px dashed rgba(51, 65, 85, 0.7);
  background-color: rgba(15, 19, 29, 0.6);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #94a3b8;
}

/* Ecosystem Reminder Cards (Section 11) */
.ecosystem-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(51, 65, 85, 0.7);
  background-color: #0d121c;
  padding: 1.5rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ecosystem-card:hover {
  background-color: #121826;
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   14. GAME XPERT BLOG EDITORIAL TYPOGRAPHY & COMPONENT SYSTEM
   ========================================================================== */

/* Main Article Reading Prose Typography */
.gx-article {
  color: #cbd5e1;
  font-size: 1.0625rem; /* 17px tablet/desktop baseline */
  line-height: 1.78;
}

@media (min-width: 1024px) {
  .gx-article {
    font-size: 1.125rem; /* 18px on desktop */
  }
}

.gx-article p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
  max-width: 75ch;
}

.gx-article strong,
.gx-article b {
  color: #f8fafc;
  font-weight: 700;
}

/* Heading Hierarchy */
.gx-article h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.18;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.gx-article h2 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  scroll-margin-top: 5rem;
}

.gx-article h3 {
  font-size: clamp(1.25rem, 1.4vw + 0.6rem, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.32;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  scroll-margin-top: 5rem;
}

.gx-article h4 {
  font-size: clamp(1.125rem, 1vw + 0.5rem, 1.35rem);
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.4;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.gx-article h5 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.45;
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
}

.gx-article h6 {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Links (Standard editorial links with high-visibility styling and NO noopener/nofollow) */
.gx-article a:not(.btn):not(.gx-btn):not([class*="badge"]):not([class*="button"]) {
  color: #818cf8;
  text-decoration: underline;
  text-decoration-color: rgba(129, 140, 248, 0.45);
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.gx-article a:not(.btn):not(.gx-btn):not([class*="badge"]):not([class*="button"]):hover {
  color: #a5b4fc;
  text-decoration-color: #a5b4fc;
}

/* Unordered & Ordered Lists */
.gx-article ul:not(.gx-checklist):not([class*="menu"]) {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.gx-article ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.gx-article li {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.gx-article li::marker {
  color: #818cf8;
}

/* Blockquote Component */
.gx-article blockquote,
blockquote.gx-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid #6366f1;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.35) 0%, rgba(15, 23, 42, 0.4) 100%);
  border-radius: 0 1rem 1rem 0;
  color: #e2e8f0;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.75;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.gx-article blockquote p:last-child {
  margin-bottom: 0;
}

/* Table Component */
.gx-article table,
.gx-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.7);
  background-color: #0b0f19;
  font-size: 0.9375rem;
}

.gx-article table th {
  background-color: #111827;
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid rgba(71, 85, 105, 0.6);
  text-align: left;
}

.gx-article table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
  color: #cbd5e1;
  line-height: 1.6;
}

.gx-article table tr:nth-child(even) td {
  background-color: rgba(15, 23, 42, 0.5);
}

.gx-article table tr:hover td {
  background-color: rgba(30, 41, 59, 0.6);
}

/* Button Tag in Content */
.gx-article button,
.gx-btn,
.gx-article .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0.75rem 0;
}

.gx-article button:hover,
.gx-btn:hover,
.gx-article .btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

/* Direct Raw Custom Tag Support & Component Box Styling */
tip, warning, important, note, info, success, best-practice,
pros, cons, example, key-takeaway, quick-fact, did-you-know, myth, fact, definition {
  display: block;
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: 1.125rem;
  border: 1px solid rgba(51, 65, 85, 0.6);
  background-color: #0b0f19;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

/* 1. TIP: Emerald Neon Glow */
tip, .gx-tip {
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  border-left: 5px solid #10b981 !important;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.28) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
  box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.15) !important;
}

/* 2. WARNING: Warm Amber Caution */
warning, .gx-warning {
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-left: 5px solid #f59e0b !important;
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.28) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
  box-shadow: 0 12px 32px -8px rgba(245, 158, 11, 0.15) !important;
}

/* 3. IMPORTANT: Crimson Red Urgency */
important, .gx-important {
  border: 1px solid rgba(244, 63, 94, 0.45) !important;
  border-left: 5px solid #f43f5e !important;
  background: linear-gradient(135deg, rgba(136, 19, 55, 0.3) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
  box-shadow: 0 12px 32px -8px rgba(244, 63, 94, 0.18) !important;
}

/* 4. NOTE: Clean Steel Slate */
note, .gx-note {
  border: 1px solid rgba(100, 116, 139, 0.5) !important;
  border-left: 5px solid #94a3b8 !important;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
}

/* 5. INFO: Electric Cyan High-Tech */
info, .gx-info {
  border: 1px solid rgba(6, 182, 212, 0.4) !important;
  border-left: 5px solid #06b6d4 !important;
  background: linear-gradient(135deg, rgba(22, 78, 99, 0.3) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
  box-shadow: 0 12px 32px -8px rgba(6, 182, 212, 0.15) !important;
}

/* 6. SUCCESS: Mint Verified */
success, .gx-success {
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  border-left: 5px solid #34d399 !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
  box-shadow: 0 12px 32px -8px rgba(52, 211, 153, 0.15) !important;
}

/* 7. BEST PRACTICE: Royal Indigo Trophy */
best-practice, .gx-best-practice {
  border: 1px solid rgba(99, 102, 241, 0.45) !important;
  border-left: 5px solid #6366f1 !important;
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.35) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
  box-shadow: 0 12px 32px -8px rgba(99, 102, 241, 0.2) !important;
}

/* 8. PROS: Green Positive Dual-Tone Box */
pros, .gx-box-pros {
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.3) 0%, rgba(9, 14, 23, 0.9) 100%) !important;
  box-shadow: 0 14px 36px -10px rgba(16, 185, 129, 0.18) !important;
}
pros ul, .gx-box-pros ul {
  list-style: none !important;
  padding-left: 0 !important;
}
pros li, .gx-box-pros li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}
pros li::before, .gx-box-pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 900;
  font-size: 1.1rem;
}

/* 9. CONS: Crimson Negative Dual-Tone Box */
cons, .gx-box-cons {
  border: 1px solid rgba(244, 63, 94, 0.45) !important;
  background: linear-gradient(180deg, rgba(136, 19, 55, 0.3) 0%, rgba(9, 14, 23, 0.9) 100%) !important;
  box-shadow: 0 14px 36px -10px rgba(244, 63, 94, 0.18) !important;
}
cons ul, .gx-box-cons ul {
  list-style: none !important;
  padding-left: 0 !important;
}
cons li, .gx-box-cons li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}
cons li::before, .gx-box-cons li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #f43f5e;
  font-weight: 900;
  font-size: 1rem;
}

/* 10. EXAMPLE: Teal Terminal Container */
example, .gx-box-example {
  border: 1px solid rgba(14, 165, 233, 0.4) !important;
  border-left: 5px solid #0ea5e9 !important;
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.35) 0%, rgba(9, 14, 23, 0.85) 100%) !important;
}

/* 11. KEY TAKEAWAY: Vibrant Purple Banner */
key-takeaway, .gx-box-key-takeaway {
  border: 1px solid rgba(168, 85, 247, 0.5) !important;
  border-left: 5px solid #a855f7 !important;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.35) 0%, rgba(30, 27, 75, 0.5) 100%) !important;
  box-shadow: 0 14px 36px -10px rgba(168, 85, 247, 0.22) !important;
}

/* 12. QUICK FACT: Electric Violet Pulse */
quick-fact, .gx-box-quick-fact {
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  border-left: 5px solid #8b5cf6 !important;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.3) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
}

/* 13. DID YOU KNOW: Curious Aquamarine */
did-you-know, .gx-box-did-you-know {
  border: 1px solid rgba(20, 184, 166, 0.45) !important;
  border-left: 5px solid #14b8a6 !important;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.3) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
}

/* 14. MYTH: Amber Strikethrough Card */
myth, .gx-box-myth {
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  border-left: 5px solid #f59e0b !important;
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.25) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
}

/* 15. FACT: Emerald Verified Reality Card */
fact, .gx-box-fact {
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  border-left: 5px solid #10b981 !important;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.25) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
}

/* 16. DEFINITION: Sapphire Glossary Card */
definition, .gx-box-definition {
  border: 1px solid rgba(59, 130, 246, 0.45) !important;
  border-left: 5px solid #3b82f6 !important;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(11, 15, 25, 0.85) 100%) !important;
}

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

/* 17. CHECKLIST COMPONENT (VERIFIED & SIMPLE) */
.gx-checklist-card, checklist {
  display: block;
  margin: 2.25rem 0;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
}
.gx-simple-checklist, simple-checklist {
  display: block;
  margin: 1.75rem 0;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.7);
  background: #090e18;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5);
}
.gx-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  user-select: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.gx-checklist-item:hover {
  transform: translateX(3px);
}
.gx-checklist-item.gx-item-checked {
  background-color: rgba(6, 78, 59, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

/* 18. FAQ ACCORDION COMPONENT */
.gx-faq-accordion, faq {
  display: block;
  margin: 2.5rem 0;
}
.gx-faq-item {
  border-radius: 1.125rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background-color: #090f1d;
  margin-bottom: 0.875rem;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.gx-faq-item:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background-color: #0d1528;
}
.gx-faq-trigger {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
}
.gx-faq-trigger:hover .gx-faq-q-text {
  color: #a5b4fc !important;
}
.gx-faq-trigger:hover .gx-faq-badge {
  border-color: #818cf8 !important;
  background-color: #4f46e5 !important;
  color: #ffffff !important;
}
.gx-faq-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

/* Open Accordion State */
.gx-faq-item.gx-faq-open {
  border-color: rgba(99, 102, 241, 0.75) !important;
  background-color: #0c1424 !important;
  box-shadow: 0 16px 36px -8px rgba(79, 70, 229, 0.25);
}
.gx-faq-item.gx-faq-open .gx-faq-chevron {
  transform: rotate(180deg) !important;
  color: #a5b4fc !important;
}
.gx-faq-item.gx-faq-open .gx-faq-badge {
  background-color: #4f46e5 !important;
  border-color: #818cf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

/* FAQ Content Visibility */
.gx-faq-content {
  display: none;
}
.gx-faq-item.gx-faq-open .gx-faq-content {
  display: block !important;
}
.gx-faq-answer-inner {
  color: #cbd5e1;
  font-size: 0.975rem;
  line-height: 1.75;
}
.gx-faq-answer-inner p {
  margin: 0.5rem 0;
}
.gx-faq-answer-inner a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.gx-faq-answer-inner a:hover {
  color: #7dd3fc;
}

/* 18b. COMMENTS & COMMUNITY DISCUSSION */
.comment-reply-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
  padding: 0.375rem 0.875rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  background: rgba(15, 23, 42, 0.8) !important;
  color: #cbd5e1 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.comment-reply-link:hover {
  background: #4f46e5 !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}
.comment-respond label {
  user-select: none;
}

/* 19. CODE BLOCK COMPONENT */
.gx-code-block, code-block {
  display: block;
  margin: 2rem 0;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: #05070d;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.7);
}
.gx-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #0d121f;
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
}
.gx-code-content {
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #e2e8f0;
}

/* 20. BEFORE / AFTER COMPARISON SLIDER */
.gx-before-after-slider, before-after {
  display: block;
  position: relative;
  margin: 2.5rem 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  user-select: none;
}

/* 21. GALLERY GRID */
.gx-gallery-grid, gallery {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0;
}
@media (min-width: 640px) {
  .gx-gallery-grid, gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .gx-gallery-grid, gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.gx-gallery-item {
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.6);
  aspect-ratio: 16 / 9;
  background: #0d121d;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.gx-gallery-item:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.6);
}

/* 22. VIDEO PLACEHOLDER */
.gx-video-placeholder, video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 2.25rem 0;
  border-radius: 1.25rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: linear-gradient(135deg, #0b1120 0%, #060810 100%);
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

/* Images & Media within Article */
.gx-article img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.6);
  margin: 1.75rem 0;
  display: block;
}

/* ==========================================================================
   23. GAMEXPERT MODERN HOMEPAGE 2.0 DESIGN SYSTEM
   ========================================================================== */
.gx-gradient-text-sky {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #38bdf8;
  display: inline-block;
}

.gx-gradient-text-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #34d399;
  display: inline-block;
}

.gx-gradient-text-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fbbf24;
  display: inline-block;
}

.gx-hero-search {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.7);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-hero-search:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 16px 36px -10px rgba(14, 165, 233, 0.3);
}

.gx-card-gaming {
  background: linear-gradient(160deg, #10192e 0%, #0c1322 100%);
  border: 1px solid rgba(51, 65, 85, 0.7);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-card-gaming:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 20px 40px -12px rgba(14, 165, 233, 0.15);
}

.gx-tool-card {
  background: linear-gradient(160deg, #0f1c24 0%, #0b151b 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.2);
  background: linear-gradient(160deg, #13242e 0%, #0e1b23 100%);
}

.gx-sports-card {
  background: linear-gradient(160deg, #19140d 0%, #110e08 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-sports-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 20px 40px -12px rgba(245, 158, 11, 0.2);
  background: linear-gradient(160deg, #201a10 0%, #15110a 100%);
}

.gx-blog-card {
  background: linear-gradient(160deg, #13172e 0%, #0d1021 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gx-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.2);
  background: linear-gradient(160deg, #171d38 0%, #101429 100%);
}

.gx-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gx-link-highlight {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.5);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}
.gx-link-highlight:hover {
  color: #7dd3fc;
  text-decoration-color: #38bdf8;
}

.gx-radar-pulse {
  position: relative;
}
.gx-radar-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  background: inherit;
  opacity: 0.4;
  animation: gx-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes gx-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}




