/* ═══════════════════════════════════════════════════════════════════════════
   GAMING ZONE — Complete Standalone CSS
   File: assets/css/gaming.css
   No external dependencies.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ─────────────────────────────────────────────────────────────────────────── */
/*  CSS CUSTOM PROPERTIES — Gaming Token System                               */
/* ─────────────────────────────────────────────────────────────────────────── */
:root {
  /* ==========================================
     LIGHT THEME (DEFAULT)
     ========================================== */
  --gz-bg:            #f8fafc;
  --gz-surface:       #ffffff;
  --gz-surface2:      #f1f5f9;
  --gz-border:        rgba(99, 102, 241, 0.12);
  --gz-border-glow:   rgba(99, 102, 241, 0.35);
  --gz-nav-bg:        rgba(255, 255, 255, 0.85);
  --gz-player-bar-bg: rgba(255, 255, 255, 0.75);

  /* Premium theme-aware colors for contrast fixes */
  --gz-cta-bg:        rgba(99, 102, 241, 0.06);
  --gz-cta-text:      #4f46e5;
  --gz-cta-border:    rgba(99, 102, 241, 0.2);
  --gz-spin-text:     #0f172a;
  
  /* Premium refined light accent colors */
  --gz-neon-violet: #6366f1;
  --gz-neon-cyan:   #06b6d4;
  --gz-neon-green:  #10b981;
  --gz-neon-orange: #f97316;
  --gz-neon-pink:   #ec4899;
  --gz-neon-yellow: #fbbf24;
  --gz-neon-red:    #ef4444;
  --gz-neon-blue:   #2563eb;

  /* Premium dark text colors for high readability */
  --gz-text-primary:   #0f172a;
  --gz-text-secondary: #475569;
  --gz-text-muted:     #64748b;

  /* Fonts */
  --gz-font-display: 'Orbitron', 'Share Tech Mono', monospace;
  --gz-font-ui:      'Rajdhani', sans-serif;
  --gz-font-mono:    'Share Tech Mono', monospace;

  /* Soft light shadows & glows */
  --gz-glow-sm:  0 4px 12px rgba(99, 102, 241, 0.04);
  --gz-glow-md:  0 8px 30px rgba(99, 102, 241, 0.08), 0 0 15px rgba(99, 102, 241, 0.03);
  --gz-glow-lg:  0 16px 40px rgba(99, 102, 241, 0.12), 0 0 30px rgba(99, 102, 241, 0.05);
  --gz-glow-xl:  0 24px 60px rgba(99, 102, 241, 0.16), 0 0 50px rgba(99, 102, 241, 0.08);

  /* Transitions */
  --gz-trans-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --gz-trans-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --gz-trans-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   DARK THEME OVERRIDES (VIBRANT NEONS)
   ========================================== */
#gaming-zone-wrapper.gz-dark {
  --gz-bg:            #060814;
  --gz-surface:       #0d1117;
  --gz-surface2:      #141922;
  --gz-border:        rgba(99, 102, 241, 0.2);
  --gz-border-glow:   rgba(99, 102, 241, 0.5);
  --gz-nav-bg:        rgba(6, 8, 20, 0.9);
  --gz-player-bar-bg: rgba(13, 17, 23, 0.8);

  /* Premium theme-aware colors for contrast fixes */
  --gz-cta-bg:        rgba(255, 255, 255, 0.05);
  --gz-cta-text:      #f1f5f9;
  --gz-cta-border:    rgba(99, 102, 241, 0.25);
  --gz-spin-text:     #f1f5f9;

  --gz-neon-violet: #8b5cf6;
  --gz-neon-cyan:   #06b6d4;
  --gz-neon-green:  #10b981;
  --gz-neon-orange: #f97316;
  --gz-neon-pink:   #ec4899;
  --gz-neon-yellow: #fbbf24;
  --gz-neon-red:    #ef4444;
  --gz-neon-blue:   #3b82f6;

  --gz-text-primary:   #f1f5f9;
  --gz-text-secondary: #94a3b8;
  --gz-text-muted:     #475569;

  --gz-glow-sm:  0 0 10px rgba(139,92,246,0.25);
  --gz-glow-md:  0 0 24px rgba(139,92,246,0.45);
  --gz-glow-lg:  0 0 48px rgba(139,92,246,0.65);
  --gz-glow-xl:  0 0 96px rgba(139,92,246,0.85);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  BASE RESET FOR GAMING ZONE                                                 */
/* ─────────────────────────────────────────────────────────────────────────── */
#gaming-zone-wrapper *,
#gaming-zone-wrapper *::before,
#gaming-zone-wrapper *::after {
  box-sizing: border-box;
}

#gaming-zone-wrapper {
  font-family: var(--gz-font-ui);
  background-color: var(--gz-bg);
  color: var(--gz-text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  ANIMATED BACKGROUND                                                        */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gz-grid-move 30s linear infinite;
}

@keyframes gz-grid-move {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.gz-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.gz-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.09) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: gz-orb-float-1 16s ease-in-out infinite;
}
.gz-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation: gz-orb-float-2 20s ease-in-out infinite;
}
.gz-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.07) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: gz-orb-float-1 24s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes gz-orb-float-1 {
  0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); filter: blur(120px) hue-rotate(0deg); }
  50%       { transform: translateY(-50px) scale(1.12) rotate(180deg); filter: blur(140px) hue-rotate(90deg); }
}

@keyframes gz-orb-float-2 {
  0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); filter: blur(100px) hue-rotate(0deg); }
  50%       { transform: translateY(40px) scale(1.08) rotate(-180deg); filter: blur(120px) hue-rotate(-90deg); }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  PARTICLES CANVAS                                                           */
/* ─────────────────────────────────────────────────────────────────────────── */
#gz-particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  LAYOUT                                                                     */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.gz-page {
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.gz-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .gz-grid-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  HERO SECTION                                                               */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  position: relative;
}

.gz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 100px;
  font-family: var(--gz-font-mono);
  font-size: 0.7rem;
  color: var(--gz-neon-violet);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: gz-badge-pulse 2s ease-in-out infinite;
}

@keyframes gz-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,92,246,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(139,92,246,0); }
}

.gz-hero-badge .gz-live-dot {
  width: 6px;
  height: 6px;
  background: var(--gz-neon-green);
  border-radius: 50%;
  animation: gz-live-blink 1s ease-in-out infinite;
  box-shadow: 0 0 6px var(--gz-neon-green);
}

@keyframes gz-live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.gz-hero-title {
  font-family: var(--gz-font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--gz-text-primary) 20%, #8b5cf6 50%, #06b6d4 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(139,92,246,0.4));
}

.gz-hero-subtitle {
  font-size: 1.1rem;
  color: var(--gz-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-weight: 500;
}

.gz-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gz-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gz-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gz-text-secondary);
  transition: var(--gz-trans-normal);
}

.gz-stat-pill:hover {
  border-color: var(--gz-border-glow);
  color: var(--gz-text-primary);
  background: rgba(139,92,246,0.08);
}

.gz-stat-pill .gz-stat-value {
  font-family: var(--gz-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gz-neon-violet);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  PLAYER PROFILE BAR                                                         */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-player-bar {
  background: var(--gz-player-bar-bg);
  border: 1px solid var(--gz-border);
  border-radius: 20px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--gz-glow-md);
  transition: var(--gz-trans-slow);
}

.gz-player-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gz-neon-violet), var(--gz-neon-cyan), var(--gz-neon-violet));
  background-size: 200% 100%;
  animation: gz-border-flow 3s linear infinite;
}

@keyframes gz-border-flow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.gz-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gz-font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(139,92,246,0.5);
}

.gz-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: gz-ring-spin 4s linear infinite;
}

@keyframes gz-ring-spin {
  to { transform: rotate(360deg); }
}

.gz-player-info { flex: 1; min-width: 150px; }
.gz-player-name { font-family: var(--gz-font-display); font-size: 1rem; font-weight: 700; color: var(--gz-text-primary); }
.gz-player-title { font-size: 0.72rem; color: var(--gz-neon-violet); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

.gz-xp-block { min-width: 180px; }
.gz-xp-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gz-text-muted);
  margin-bottom: 0.35rem;
}
.gz-xp-label span:last-child { color: var(--gz-neon-cyan); font-family: var(--gz-font-mono); }
.gz-xp-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.gz-xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.gz-xp-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: gz-xp-shine 1.5s ease-in-out infinite;
}
@keyframes gz-xp-shine {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

.gz-currency-chips {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gz-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--gz-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--gz-font-mono);
  transition: var(--gz-trans-normal);
}

.gz-chip:hover { border-color: var(--gz-border-glow); background: rgba(139,92,246,0.1); }
.gz-chip-mc   { color: var(--gz-neon-yellow); }
.gz-chip-tg   { color: var(--gz-neon-violet); }
.gz-chip-sh   { color: var(--gz-neon-cyan); }

.gz-streak-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gz-neon-orange);
  font-family: var(--gz-font-mono);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  SECTION HEADERS                                                            */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-section { margin-bottom: 3rem; }

.gz-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gz-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--gz-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gz-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gz-section-title .gz-title-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.gz-section-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gz-neon-violet);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--gz-trans-fast);
}
.gz-section-link:hover { color: var(--gz-neon-cyan); gap: 0.5rem; }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  CARD BASE                                                                  */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-card {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--gz-trans-slow);
  backdrop-filter: blur(8px);
}

.gz-card:hover {
  border-color: var(--gz-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--gz-glow-lg), 0 0 30px rgba(139,92,246,0.06);
}

.gz-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gz-neon-cyan), var(--gz-neon-violet), var(--gz-neon-cyan), transparent);
  opacity: 0;
}

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

/* ─────────────────────────────────────────────────────────────────────────── */
/*  GAME MODE CARDS                                                            */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gz-mode-card {
  position: relative;
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  border-radius: 20px;
  padding: 1.75rem;
  cursor: pointer;
  transition: var(--gz-trans-slow);
  overflow: hidden;
  user-select: none;
}

.gz-mode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gz-mode-gradient, linear-gradient(135deg, rgba(139,92,246,0.05), rgba(6,182,212,0.05)));
  opacity: 0;
  transition: var(--gz-trans-normal);
  border-radius: inherit;
}

.gz-mode-card:hover::before { opacity: 1; }

.gz-mode-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(139,92,246,0.08);
}

.gz-mode-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.gz-mode-title {
  font-family: var(--gz-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gz-text-primary);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.gz-mode-desc {
  font-size: 0.8rem;
  color: var(--gz-text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.gz-mode-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.gz-mode-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: var(--gz-text-muted);
  font-weight: 600;
}

.gz-mode-meta span { display: flex; align-items: center; gap: 0.25rem; }

.gz-mode-xp {
  font-family: var(--gz-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gz-neon-yellow);
  padding: 0.2rem 0.6rem;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 100px;
}

.gz-hot-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-family: var(--gz-font-mono);
  z-index: 2;
}

.gz-play-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: var(--gz-font-display);
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
  transition: var(--gz-trans-normal);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.gz-play-btn:hover { transform: scale(1.05); filter: brightness(1.15); }
.gz-play-btn:active { transform: scale(0.97); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  LEADERBOARD                                                                */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-leaderboard-wrap {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  border-radius: 20px;
  overflow: hidden;
}

.gz-lb-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gz-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.02);
}

.gz-lb-row {
  display: grid;
  grid-template-columns: 48px 1fr 120px 80px 60px;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(99,102,241,0.06);
  transition: var(--gz-trans-fast);
  gap: 0.5rem;
}

.gz-lb-row:last-child { border-bottom: none; }
.gz-lb-row:hover { background: rgba(139,92,246,0.04); }

.gz-lb-rank {
  font-family: var(--gz-font-display);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.gz-lb-rank.rank-1 { color: #fbbf24; text-shadow: 0 0 12px rgba(251,191,36,0.5); }
.gz-lb-rank.rank-2 { color: #94a3b8; }
.gz-lb-rank.rank-3 { color: #f97316; }

.gz-lb-player { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }

.gz-lb-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  font-family: var(--gz-font-display);
}

.gz-lb-name { font-size: 0.85rem; font-weight: 700; color: var(--gz-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gz-lb-handle { font-size: 0.68rem; color: var(--gz-text-muted); font-family: var(--gz-font-mono); }

.gz-lb-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--gz-neon-violet);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gz-lb-xp {
  font-family: var(--gz-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gz-neon-cyan);
  text-align: right;
}

.gz-lb-trend { display: flex; justify-content: center; font-size: 0.8rem; }
.gz-trend-up   { color: var(--gz-neon-green); }
.gz-trend-down { color: var(--gz-neon-red); }
.gz-trend-same { color: var(--gz-text-muted); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  QUESTS                                                                     */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-quest-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: rgba(255,255,255,0.03);
  padding: 0.3rem;
  border-radius: 12px;
  width: fit-content;
}

.gz-quest-tab {
  padding: 0.4rem 0.9rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--gz-font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  color: var(--gz-text-muted);
  background: transparent;
  transition: var(--gz-trans-fast);
}

.gz-quest-tab.active {
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  color: #fff;
  box-shadow: 0 4px 12px rgba(139,92,246,0.3);
}

.gz-quest-tab:hover:not(.active) { color: var(--gz-text-primary); background: rgba(255,255,255,0.05); }

.gz-quests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.gz-quest-card {
  background: var(--gz-surface2);
  border: 1px solid var(--gz-border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--gz-trans-normal);
  position: relative;
  overflow: hidden;
}

.gz-quest-card.completed {
  opacity: 0.55;
  border-color: rgba(16,185,129,0.3);
}

.gz-quest-card.completed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16,185,129,0.04);
}

.gz-quest-card:hover:not(.completed) {
  border-color: var(--gz-border-glow);
  transform: translateX(4px);
}

.gz-quest-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--gz-neon-violet);
}

.gz-quest-card.completed .gz-quest-icon {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.2);
  color: var(--gz-neon-green);
}

.gz-quest-body { flex: 1; min-width: 0; }
.gz-quest-title { font-size: 0.85rem; font-weight: 700; color: var(--gz-text-primary); margin-bottom: 0.5rem; }
.gz-quest-card.completed .gz-quest-title { text-decoration: line-through; color: var(--gz-text-muted); }

.gz-quest-prog-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.gz-quest-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  border-radius: 100px;
  transition: width 0.6s ease;
}

.gz-quest-card.completed .gz-quest-prog-fill {
  background: linear-gradient(90deg, var(--gz-neon-green), #34d399);
}

.gz-quest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--gz-text-muted);
  font-weight: 600;
}

.gz-quest-reward {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gz-quest-reward .xp { color: var(--gz-neon-yellow); font-family: var(--gz-font-mono); }
.gz-quest-reward .mc { color: var(--gz-neon-orange); font-family: var(--gz-font-mono); }

/* RPG Quest Claim Button */
.gz-quest-claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-family: var(--gz-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  outline: none;
}

.gz-quest-claim-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.gz-quest-claim-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.5), 
              0 0 10px rgba(6, 182, 212, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1);
}

.gz-quest-claim-btn:hover:not(:disabled)::before {
  left: 150%;
}

.gz-quest-claim-btn:active:not(:disabled) {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.2);
}

.gz-quest-claim-btn:disabled,
.gz-quest-claim-btn.claimed {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--gz-text-muted) !important;
  border-color: var(--gz-border) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  BADGES SHOWCASE                                                            */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.gz-badge-card {
  background: var(--gz-surface2);
  border: 1px solid var(--gz-border);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--gz-trans-slow);
  position: relative;
  overflow: hidden;
}

.gz-badge-card.earned {
  border-color: rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.05);
}

.gz-badge-card.locked { filter: grayscale(0.9); opacity: 0.45; }
.gz-badge-card.locked:hover { opacity: 0.65; filter: grayscale(0.5); }

.gz-badge-card.earned:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 60px rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.6);
}

.gz-badge-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.75rem;
  position: relative;
}

.gz-badge-card.earned .gz-badge-icon-wrap {
  animation: gz-badge-float 3s ease-in-out infinite;
}

@keyframes gz-badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.gz-rarity-mythic   { border: 2px solid #e879f9; box-shadow: 0 0 20px rgba(232,121,249,0.4); }
.gz-rarity-legendary{ border: 2px solid #fbbf24; box-shadow: 0 0 20px rgba(251,191,36,0.4); }
.gz-rarity-epic     { border: 2px solid #8b5cf6; box-shadow: 0 0 16px rgba(139,92,246,0.4); }
.gz-rarity-rare     { border: 2px solid #3b82f6; box-shadow: 0 0 12px rgba(59,130,246,0.3); }

.gz-badge-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gz-text-primary);
  font-family: var(--gz-font-display);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.gz-badge-rarity {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--gz-font-mono);
}

.gz-badge-rarity.mythic   { color: #e879f9; }
.gz-badge-rarity.legendary{ color: #fbbf24; }
.gz-badge-rarity.epic     { color: #8b5cf6; }
.gz-badge-rarity.rare     { color: #3b82f6; }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  LUCKY SPIN WHEEL                                                           */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-spin-wrap {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 1rem;
}

.gz-wheel-container {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}

.gz-wheel-pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  z-index: 10;
  filter: drop-shadow(0 0 8px var(--gz-neon-violet));
  animation: gz-pointer-bounce 1s ease-in-out infinite;
}

@keyframes gz-pointer-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-4px); }
}

#gz-spin-canvas {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(139,92,246,0.3), 0 0 120px rgba(139,92,246,0.1);
  cursor: pointer;
  transition: var(--gz-trans-normal);
}

#gz-spin-canvas:hover { box-shadow: 0 0 80px rgba(139,92,246,0.5), 0 0 160px rgba(139,92,246,0.15); }

.gz-spin-btn {
  font-family: var(--gz-font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.9rem 2.5rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  color: #fff;
  box-shadow: 0 8px 24px rgba(139,92,246,0.35);
  transition: var(--gz-trans-normal);
  position: relative;
  overflow: hidden;
}

.gz-spin-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: gz-btn-shine 2s ease-in-out infinite;
}

@keyframes gz-btn-shine {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.gz-spin-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 32px rgba(139,92,246,0.5); }
.gz-spin-btn:active { transform: scale(0.97); }
.gz-spin-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.gz-spin-cooldown {
  font-family: var(--gz-font-mono);
  font-size: 0.75rem;
  color: var(--gz-text-muted);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  QUIZ BATTLE MODAL                                                          */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 8, 20, 0.9);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gz-modal-overlay.open {
  display: flex;
  animation: gz-modal-in 0.25s ease;
}

@keyframes gz-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gz-modal-box {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  border-radius: 24px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: gz-modal-slide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 60px rgba(139,92,246,0.1);
}

@keyframes gz-modal-slide {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.gz-modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--gz-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(6,182,212,0.05));
}

.gz-modal-title {
  font-family: var(--gz-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gz-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gz-modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gz-border);
  background: rgba(255,255,255,0.04);
  color: var(--gz-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--gz-trans-fast);
  flex-shrink: 0;
}
.gz-modal-close:hover { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: var(--gz-neon-red); }

.gz-modal-body { padding: 1.75rem; }

/* ── Quiz Battle UI ── */
.gz-quiz-timer-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.gz-quiz-timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gz-neon-green), var(--gz-neon-yellow), var(--gz-neon-red));
  border-radius: 100px;
  transition: width 1s linear;
}

.gz-quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-family: var(--gz-font-mono);
  color: var(--gz-text-muted);
}

.gz-quiz-meta .gz-q-num { color: var(--gz-neon-cyan); font-weight: 700; }
.gz-quiz-meta .gz-q-score { color: var(--gz-neon-yellow); font-weight: 700; }

.gz-quiz-question {
  font-family: var(--gz-font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gz-text-primary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.gz-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gz-quiz-option {
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--gz-border);
  border-radius: 12px;
  background: var(--gz-surface2);
  color: var(--gz-text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gz-trans-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.gz-quiz-option:hover:not(.answered) {
  border-color: var(--gz-border-glow);
  background: rgba(139,92,246,0.08);
  transform: translateX(4px);
}

.gz-quiz-option.correct  { border-color: var(--gz-neon-green); background: rgba(16,185,129,0.1); color: var(--gz-neon-green); }
.gz-quiz-option.wrong    { border-color: var(--gz-neon-red);   background: rgba(239,68,68,0.1);  color: var(--gz-neon-red); }
.gz-quiz-option.answered { cursor: not-allowed; }

.gz-quiz-opt-label {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--gz-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--gz-font-mono);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  QUIZ BATTLE POWER-UPS & MANTRA FEEDBACK POPUPS                            */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-power-btn {
  font-family: var(--gz-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--gz-border);
  background: var(--gz-surface2);
  color: var(--gz-text-primary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--gz-glow-sm);
}

.gz-power-btn:hover:not(:disabled) {
  border-color: var(--gz-border-glow);
  transform: translateY(-2px);
  box-shadow: var(--gz-glow-md);
  background: rgba(139, 92, 246, 0.08);
  color: var(--gz-neon-violet);
}

.gz-power-btn:disabled,
.gz-power-btn.used {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--gz-border) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

@keyframes gz-fade-up {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gz-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.3); }
  50%       { box-shadow: 0 0 10px 4px rgba(251,191,36,0.1); }
}

.gz-quiz-result {
  text-align: center;
  padding: 2rem 1rem;
}

.gz-result-score {
  font-family: var(--gz-font-display);
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gz-neon-yellow), var(--gz-neon-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gz-result-xp {
  font-family: var(--gz-font-mono);
  font-size: 1rem;
  color: var(--gz-neon-green);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  CODING TYPING ARENA TYPOGRAPHY & EDGE GLOWS                                */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-typing-code-box {
  transition: border-color var(--gz-trans-normal), box-shadow var(--gz-trans-normal);
}

.gz-typing-code-box:hover,
.gz-typing-code-box.active-focus {
  border-color: var(--gz-border-glow) !important;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.6), 0 0 20px rgba(6,182,212,0.15) !important;
}

/* Character states */
.gz-char-correct {
  color: var(--gz-neon-green) !important;
  text-shadow: 0 0 8px rgba(16,185,129,0.5);
}

.gz-char-wrong {
  color: var(--gz-neon-red) !important;
  background: rgba(239,68,68,0.2) !important;
  text-decoration: underline wavy !important;
  animation: gz-char-wiggle 0.2s ease-in-out;
}

/* Blinking Caret Cursor */
.gz-char-cursor {
  background: var(--gz-neon-cyan);
  color: #090d16 !important;
  box-shadow: 0 0 10px var(--gz-neon-cyan);
  animation: gz-cursor-blink 1s steps(2, start) infinite;
}

@keyframes gz-cursor-blink {
  0%, 100% { background: var(--gz-neon-cyan); }
  50%       { background: transparent; }
}

@keyframes gz-char-wiggle {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-2px); }
  75%       { transform: translateX(2px); }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  SEASON PASS                                                                */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-season-track {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 1.5rem 0;
  scrollbar-width: none;
}
.gz-season-track::-webkit-scrollbar { display: none; }

.gz-season-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
  position: relative;
}

.gz-season-node::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(99,102,241,0.2);
  z-index: 0;
}

.gz-season-node:last-child::after { display: none; }

.gz-season-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid rgba(99,102,241,0.2);
  background: var(--gz-surface2);
  position: relative;
  z-index: 1;
  transition: var(--gz-trans-normal);
}

.gz-season-node.claimed .gz-season-dot {
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(139,92,246,0.4);
  color: #fff;
}

.gz-season-node.current .gz-season-dot {
  border-color: var(--gz-neon-yellow);
  box-shadow: 0 0 20px rgba(251,191,36,0.4);
  animation: gz-node-pulse 1.5s ease-in-out infinite;
}

@keyframes gz-node-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(251,191,36,0.4); }
  50%       { box-shadow: 0 0 40px rgba(251,191,36,0.6); }
}

.gz-season-tier {
  font-family: var(--gz-font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gz-text-muted);
  text-transform: uppercase;
}

.gz-season-reward {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gz-text-secondary);
  text-align: center;
  line-height: 1.2;
  max-width: 70px;
}

.gz-season-node.claimed .gz-season-reward { color: var(--gz-neon-green); }
.gz-season-node.current .gz-season-reward { color: var(--gz-neon-yellow); font-weight: 700; }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  TOURNAMENT CARDS                                                           */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.gz-tournament-card {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--gz-trans-slow);
}

.gz-tournament-card:hover {
  border-color: var(--gz-border-glow);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(139,92,246,0.1);
}

.gz-tournament-card.live {
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.03);
}

.gz-tournament-card.live::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gz-neon-green), var(--gz-neon-cyan));
}

.gz-t-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--gz-font-mono);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.gz-t-status.live     { background: rgba(16,185,129,0.12); color: var(--gz-neon-green); border: 1px solid rgba(16,185,129,0.3); }
.gz-t-status.upcoming { background: rgba(251,191,36,0.12); color: var(--gz-neon-yellow); border: 1px solid rgba(251,191,36,0.3); }

.gz-t-title {
  font-family: var(--gz-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gz-text-primary);
  margin-bottom: 0.5rem;
}

.gz-t-meta {
  font-size: 0.75rem;
  color: var(--gz-text-secondary);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gz-t-meta span { display: flex; align-items: center; gap: 0.4rem; }
.gz-t-meta i { width: 14px; color: var(--gz-text-muted); }

.gz-t-slots-bar {
  margin-bottom: 1rem;
}

.gz-t-slots-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-family: var(--gz-font-mono);
  color: var(--gz-text-muted);
  margin-bottom: 0.35rem;
}

.gz-t-slots-track {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.gz-t-slots-fill {
  height: 100%;
  border-radius: 100px;
}

.gz-t-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gz-t-prize {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gz-t-prize-xp {
  font-family: var(--gz-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gz-neon-yellow);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.gz-t-prize-badge {
  font-size: 0.65rem;
  color: var(--gz-text-muted);
  font-weight: 600;
}

.gz-join-btn {
  font-family: var(--gz-font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--gz-trans-normal);
}

.gz-join-btn:hover { transform: scale(1.05); filter: brightness(1.1); }
.gz-join-btn:active { transform: scale(0.97); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  ACHIEVEMENTS                                                               */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gz-achievement-card {
  background: var(--gz-surface2);
  border: 1px solid var(--gz-border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--gz-trans-normal);
  position: relative;
  overflow: hidden;
}

.gz-achievement-card.unlocked {
  border-color: rgba(251,191,36,0.25);
  background: rgba(251,191,36,0.04);
}

.gz-achievement-card:hover {
  border-color: var(--gz-border-glow);
  transform: translateX(4px);
}

.gz-achievement-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--gz-neon-violet);
}

.gz-achievement-card.unlocked .gz-achievement-icon {
  background: rgba(251,191,36,0.12);
  border-color: rgba(251,191,36,0.3);
  color: var(--gz-neon-yellow);
  box-shadow: 0 0 16px rgba(251,191,36,0.2);
}

.gz-achievement-body { flex: 1; min-width: 0; }
.gz-achievement-title { font-size: 0.85rem; font-weight: 700; color: var(--gz-text-primary); margin-bottom: 0.2rem; }
.gz-achievement-desc  { font-size: 0.72rem; color: var(--gz-text-muted); margin-bottom: 0.35rem; }
.gz-achievement-xp {
  font-family: var(--gz-font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gz-neon-yellow);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  SHOP                                                                       */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gz-shop-card {
  background: var(--gz-surface2);
  border: 1px solid var(--gz-border);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--gz-trans-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gz-shop-card:hover {
  border-color: var(--gz-border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(139,92,246,0.12);
}

.gz-shop-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 0.75rem;
}

.gz-shop-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gz-text-primary);
  margin-bottom: 0.35rem;
  font-family: var(--gz-font-display);
}

.gz-shop-desc { font-size: 0.68rem; color: var(--gz-text-muted); margin-bottom: 0.75rem; line-height: 1.4; }

.gz-shop-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.55rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--gz-font-display);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--gz-neon-violet);
  transition: var(--gz-trans-normal);
}

.gz-shop-buy-btn:hover {
  background: linear-gradient(135deg, var(--gz-neon-violet), var(--gz-neon-cyan));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(139,92,246,0.35);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  TOAST NOTIFICATION                                                         */
/* ─────────────────────────────────────────────────────────────────────────── */
#gz-toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.gz-toast {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 20px rgba(139,92,246,0.1);
  animation: gz-toast-in 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: all;
}

@keyframes gz-toast-in {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.gz-toast.out { animation: gz-toast-out 0.3s ease forwards; }

@keyframes gz-toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

.gz-toast-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.gz-toast-icon.success { background: rgba(16,185,129,0.15); color: var(--gz-neon-green); }
.gz-toast-icon.error   { background: rgba(239,68,68,0.15);  color: var(--gz-neon-red); }
.gz-toast-icon.info    { background: rgba(139,92,246,0.15); color: var(--gz-neon-violet); }
.gz-toast-icon.warning { background: rgba(251,191,36,0.15); color: var(--gz-neon-yellow); }

.gz-toast-text { flex: 1; }
.gz-toast-title { font-size: 0.82rem; font-weight: 700; color: var(--gz-text-primary); margin-bottom: 0.1rem; }
.gz-toast-body  { font-size: 0.72rem; color: var(--gz-text-secondary); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  LEVEL PROGRESS SECTION                                                     */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gz-level-card {
  background: var(--gz-surface2);
  border: 1px solid var(--gz-border);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: center;
  transition: var(--gz-trans-normal);
  position: relative;
  overflow: hidden;
}

.gz-level-card:hover {
  border-color: var(--gz-border-glow);
  transform: translateY(-3px);
}

.gz-level-num {
  font-family: var(--gz-font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.gz-level-title { font-size: 0.78rem; font-weight: 700; color: var(--gz-text-primary); margin-bottom: 0.25rem; }
.gz-level-xp    { font-family: var(--gz-font-mono); font-size: 0.65rem; color: var(--gz-text-muted); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  CATEGORY SELECTOR for Battle                                               */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.gz-cat-card {
  border: 2px solid var(--gz-border);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--gz-trans-normal);
  background: var(--gz-surface2);
}

.gz-cat-card:hover { border-color: var(--gz-border-glow); transform: scale(1.03); }
.gz-cat-card.selected { border-color: var(--gz-neon-violet); background: rgba(139,92,246,0.1); }

.gz-cat-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.gz-cat-label { font-size: 0.78rem; font-weight: 700; color: var(--gz-text-primary); margin-bottom: 0.2rem; }
.gz-cat-count { font-family: var(--gz-font-mono); font-size: 0.62rem; color: var(--gz-text-muted); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  SCROLLBAR STYLING                                                          */
/* ─────────────────────────────────────────────────────────────────────────── */
#gaming-zone-wrapper ::-webkit-scrollbar       { width: 4px; height: 4px; }
#gaming-zone-wrapper ::-webkit-scrollbar-track { background: var(--gz-surface); }
#gaming-zone-wrapper ::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 100px; }
#gaming-zone-wrapper ::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.6); }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  UTILITY CLASSES                                                            */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-text-neon-violet { color: var(--gz-neon-violet); }
.gz-text-neon-cyan   { color: var(--gz-neon-cyan); }
.gz-text-neon-green  { color: var(--gz-neon-green); }
.gz-text-neon-yellow { color: var(--gz-neon-yellow); }
.gz-text-neon-orange { color: var(--gz-neon-orange); }
.gz-text-neon-red    { color: var(--gz-neon-red); }
.gz-text-neon-pink   { color: var(--gz-neon-pink); }
.gz-text-muted       { color: var(--gz-text-muted); }
.gz-font-display     { font-family: var(--gz-font-display); }
.gz-font-mono        { font-family: var(--gz-font-mono); }
.gz-hidden           { display: none !important; }
.gz-flex             { display: flex; align-items: center; }
.gz-gap-1            { gap: 0.5rem; }
.gz-gap-2            { gap: 1rem; }

/* ─────────────────────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                                 */
/* ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .gz-player-bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .gz-hero-stats { gap: 1rem; }
  .gz-lb-row { grid-template-columns: 36px 1fr 80px; }
  .gz-lb-badge, .gz-lb-trend { display: none; }
  .gz-badges-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .gz-spin-wrap { flex-direction: column; }
  .gz-wheel-container { width: 260px; height: 260px; }
  #gz-spin-canvas { width: 260px; height: 260px; }
  .gz-quest-tabs { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .gz-hero-title { font-size: 2rem; }
  .gz-modes-grid { grid-template-columns: 1fr; }
  .gz-shop-grid  { grid-template-columns: repeat(2, 1fr); }
  .gz-levels-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  ENTRANCE ANIMATIONS                                                        */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gz-animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Level up burst */
.gz-level-burst {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gz-font-display);
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--gz-neon-yellow);
  text-shadow: 0 0 60px rgba(251,191,36,0.8);
  opacity: 0;
  animation: gz-burst 1.5s ease forwards;
}

@keyframes gz-burst {
  0%   { opacity: 0; transform: scale(0.5); }
  30%  { opacity: 1; transform: scale(1.1); }
  70%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.2); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHASE 3 — ADDITIONAL INTERACTIVE GAME MODES
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- 3D Flashcard Blitz --- */
.gz-flashcard-container {
  perspective: 1000px;
}

#gz-flashcard-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
}

#gz-flashcard-inner.flipped {
  transform: rotateY(180deg);
}

/* --- Tournament Bracket Tree --- */
.gz-t-node-active {
  border-color: var(--gz-neon-violet) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45) !important;
  transform: scale(1.02);
}

.gz-t-node-won {
  border-color: var(--gz-neon-green) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
}

.gz-t-node-lost {
  opacity: 0.45;
  filter: grayscale(70%);
}

/* --- Multiplayer Arena Simulation --- */
.gz-arena-peer-active {
  color: var(--gz-neon-cyan) !important;
  border-color: rgba(6, 182, 212, 0.4) !important;
  background: rgba(6, 182, 212, 0.06) !important;
}

.gz-arena-peer-ready {
  color: var(--gz-neon-green) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AAA GAME PLAYGROUND LAYOUTS — Cyberpunk Glassmorphism
   ═══════════════════════════════════════════════════════════════════════════ */

/* Glassmorphism Panels */
.gz-glass-card {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--gz-glow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.gz-glass-card:hover {
  border-color: var(--gz-border-glow);
  box-shadow: var(--gz-glow-md);
}

/* RPG Sidebar Menu Buttons */
.gz-menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem 0.6rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  margin-bottom: 0.6rem;
}
.gz-menu-header-line {
  width: 3px;
  height: 11px;
  background: var(--gz-neon-cyan);
  border-radius: 100px;
  box-shadow: 0 0 6px var(--gz-neon-cyan);
}
.gz-menu-header-text {
  font-family: var(--gz-font-mono);
  font-size: 0.62rem;
  font-weight: 950;
  color: var(--gz-neon-cyan);
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.gz-menu-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--gz-text-secondary);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  font-family: var(--gz-font-ui), sans-serif;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.gz-menu-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: all 0.22s ease;
}

.gz-menu-btn:hover::before,
.gz-menu-btn.active::before {
  background: var(--gz-neon-violet);
  box-shadow: 0 0 8px var(--gz-neon-violet);
}

.gz-menu-btn:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.15);
  color: var(--gz-neon-violet);
  padding-left: 1.25rem;
}

.gz-menu-btn.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.04) 100%);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--gz-text-primary);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08), inset 0 0 10px rgba(139, 92, 246, 0.03);
  padding-left: 1.25rem;
}

.gz-menu-num {
  font-family: var(--gz-font-mono);
  font-size: 0.65rem;
  color: var(--gz-text-muted);
  opacity: 0.6;
  margin-right: 0.1rem;
  transition: all 0.25s ease;
}

.gz-menu-btn:hover .gz-menu-num,
.gz-menu-btn.active .gz-menu-num {
  color: var(--gz-neon-cyan);
  opacity: 0.95;
}

.gz-menu-btn i {
  width: 16px;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  color: var(--gz-text-muted);
}

.gz-menu-btn:hover i,
.gz-menu-btn.active i {
  color: var(--gz-neon-cyan);
  filter: drop-shadow(0 0 4px var(--gz-neon-cyan));
  transform: scale(1.1);
}

.gz-menu-txt-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.gz-menu-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.gz-menu-desc {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--gz-text-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-top: -0.1rem;
}

/* Dynamic Tab Panel System */
.gz-tab-panel {
  display: none;
  animation: gz-tab-fade 0.4s ease;
}

.gz-tab-panel.active {
  display: block;
}

@keyframes gz-tab-fade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SVG Interactive Worlds Node Animation */
.gz-svg-world-node circle {
  transition: r 0.3s, stroke-width 0.3s, filter 0.3s;
}

.gz-svg-world-node:hover circle {
  r: 32;
  stroke-width: 4px;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.gz-svg-world-node text {
  transition: fill 0.3s, font-size 0.3s;
}

.gz-svg-world-node:hover text {
  fill: var(--gz-neon-cyan);
}

/* World Tier Progression Selection Pills */
.gz-world-tier-pill {
  background: var(--gz-surface);
  border: 1px solid var(--gz-border);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--gz-text-secondary);
}

.gz-world-tier-pill:hover {
  border-color: var(--gz-border-glow);
  color: var(--gz-text-primary);
  transform: translateY(-2px);
}

.gz-world-tier-pill.active {
  background: rgba(139,92,246,0.08);
  border-color: var(--gz-neon-violet);
  color: var(--gz-neon-violet);
}

.gz-world-tier-pill.lock {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.1);
}

/* Interactive Skill Tree Node Cards */
.gz-skill-node-card {
  background: var(--gz-surface);
  border: 2px solid var(--gz-border);
  padding: 0.9rem;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.gz-skill-node-card.unlocked {
  border-color: var(--gz-neon-green);
  background: rgba(16, 185, 129, 0.04);
}

.gz-skill-node-card.unlocked .gz-skill-node-icon {
  color: var(--gz-neon-green);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
}

.gz-skill-node-card.unlocked .gz-skill-node-status {
  color: var(--gz-neon-green);
}

.gz-skill-node-card.locked {
  border-color: var(--gz-border);
  opacity: 0.6;
}

.gz-skill-node-card:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.15);
}

.gz-skill-node-card.active-node {
  border-color: var(--gz-neon-violet) !important;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4) !important;
  transform: scale(1.08) translateY(-4px) !important;
}

.gz-skill-node-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--gz-text-muted);
}

.gz-skill-node-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gz-text-primary);
  margin-bottom: 0.25rem;
}

.gz-skill-node-status {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gz-text-muted);
}

/* Chat logs AI system bubbles */
.gz-ai-msg {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 90%;
  animation: gz-chat-in 0.3s ease forwards;
}

@keyframes gz-chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gz-ai-msg.system {
  align-self: flex-start;
  background: var(--gz-surface2);
  border: 1px solid var(--gz-border);
  color: var(--gz-text-primary);
}

.gz-ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.06));
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--gz-neon-cyan);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/*  RESPONSIVE LAYOUT UPGRADES                                                 */
/* ─────────────────────────────────────────────────────────────────────────── */
.gz-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem 1.5rem;
  background: var(--gz-nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  transition: background 0.4s;
}

.gz-nav-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.gz-page-layout {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.gz-sidebar {
  width: 270px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 6.5rem;
  height: fit-content;
  z-index: 5;
}

.gz-main-workspace {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gz-menu-btn-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 992px) {
  .gz-page-layout {
    flex-direction: column;
    padding-top: 8rem;
    gap: 1.5rem;
  }
  .gz-sidebar {
    width: 100%;
    position: static;
  }
  .gz-menu-header {
    display: none;
  }
  .gz-menu-btn-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
  }
  .gz-menu-btn {
    justify-content: center;
    padding: 0.6rem;
    font-size: 0.65rem;
    gap: 0.4rem;
  }
  .gz-menu-num,
  .gz-menu-desc {
    display: none;
  }
  .gz-menu-title {
    font-size: 0.72rem;
  }
  .gz-menu-btn::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .gz-navbar {
    padding: 0.6rem 1rem;
  }
  .gz-nav-container {
    justify-content: center;
    gap: 0.5rem;
  }
  .gz-page-layout {
    padding-top: 10.5rem; /* account for wrapped navbar */
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .gz-nav-text-hide {
    display: none;
  }
}

@media (max-width: 480px) {
  #gz-theme-toggle span {
    display: none;
  }
}


