/**
 * Landing Page & Generator Design System - Professional Modal Edition
 * Mobile-responsive popup modal with 6 themes and 4 high-tech loaders
 */

/* ==========================================================================
   CSS Variables & Theme Tokens
   ========================================================================== */
:root {
  --landing-primary: #0ea5e9;
  --landing-secondary: #6366f1;
  --landing-accent-red: #e11d48;
  --landing-accent-gold: #ffc700;
  --landing-text: #f8fafc;
  --landing-muted: #94a3b8;
  --landing-card: #0b1a3d;
  --landing-border: #ffffff;
  --landing-glow: rgba(14, 165, 233, 0.35);
  --landing-card-bg: #0b1a3d;
  --landing-border-color: rgba(255, 255, 255, 0.16);
}

/* 1. Modern Gaming Theme (Esports Dark / Cyan & Crimson) */
.theme-modern_gaming {
  --landing-primary: #0ea5e9;
  --landing-secondary: #38bdf8;
  --landing-accent-red: #e11d48;
  --landing-accent-gold: #fbbf24;
  --landing-card-bg: #0b1a3d;
  --landing-border-color: rgba(14, 165, 233, 0.35);
  --landing-glow: rgba(14, 165, 233, 0.35);
}

/* 2. Dark Premium Theme (Gold VIP / Obsidian & Amber) */
.theme-dark_premium {
  --landing-primary: #f59e0b;
  --landing-secondary: #d97706;
  --landing-accent-red: #ef4444;
  --landing-accent-gold: #fbbf24;
  --landing-card-bg: #141416;
  --landing-border-color: rgba(245, 158, 11, 0.35);
  --landing-glow: rgba(245, 158, 11, 0.35);
}

/* 3. Neon Cyber Theme (High Tech / Matrix Emerald & Hot Pink) */
.theme-neon_cyber {
  --landing-primary: #10b981;
  --landing-secondary: #059669;
  --landing-accent-red: #ec4899;
  --landing-accent-gold: #10b981;
  --landing-card-bg: #030712;
  --landing-border-color: rgba(16, 185, 129, 0.35);
  --landing-glow: rgba(16, 185, 129, 0.4);
}

/* 4. Glass App Theme (Frosted UI / Royal Sapphire & Violet) */
.theme-glass_app {
  --landing-primary: #3b82f6;
  --landing-secondary: #8b5cf6;
  --landing-accent-red: #f43f5e;
  --landing-accent-gold: #38bdf8;
  --landing-card-bg: rgba(22, 21, 56, 0.94);
  --landing-border-color: rgba(255, 255, 255, 0.22);
  --landing-glow: rgba(139, 92, 246, 0.35);
}

/* 5. Clean Modern Theme (Tech Minimalist / Slate Navy & Ice Blue) */
.theme-clean_modern, .theme-clean_professional {
  --landing-primary: #0284c7;
  --landing-secondary: #2563eb;
  --landing-accent-red: #ef4444;
  --landing-accent-gold: #0ea5e9;
  --landing-card-bg: #0f172a;
  --landing-border-color: rgba(56, 189, 248, 0.25);
  --landing-glow: rgba(2, 132, 199, 0.3);
}

/* 6. Retro Arcade Theme (80s Synthwave / Sunset Purple & Orange) */
.theme-retro_arcade {
  --landing-primary: #f97316;
  --landing-secondary: #fb923c;
  --landing-accent-red: #a855f7;
  --landing-accent-gold: #f97316;
  --landing-card-bg: #1c0a2e;
  --landing-border-color: rgba(168, 85, 247, 0.4);
  --landing-glow: rgba(249, 115, 22, 0.4);
}

/* ==========================================================================
   Modal Layout & Backdrop Container
   ========================================================================== */
.landing-view-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
}

/* Hide all default scrollbars inside landing modal & containers */
#landing-page-root,
.landing-modal-wrapper,
.landing-modal-card,
.landing-card,
.landing-view-container {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#landing-page-root::-webkit-scrollbar,
.landing-modal-wrapper::-webkit-scrollbar,
.landing-modal-card::-webkit-scrollbar,
.landing-card::-webkit-scrollbar,
.landing-view-container::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.landing-modal-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
  padding: 10px 0 40px;
}

/* Modal Dialog Card (Compact, Mobile Responsive, Professional) */
.landing-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 10px auto;
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--landing-card-bg, #0b1a3d);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%), 
    linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%), 
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
  background-size: 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  border: 1.5px solid var(--landing-border-color, rgba(255, 255, 255, 0.16));
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 35px var(--landing-glow, rgba(14, 165, 233, 0.25));
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 10;
  box-sizing: border-box;
}

@keyframes modalSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Close Button */
.landing-exit-btn,
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 15px;
}
.landing-exit-btn:hover,
.modal-close-btn:hover {
  background: #e11d48;
  border-color: #ffffff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.6);
}
.landing-exit-btn img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

/* App / Game Cover Banner */
.modal-cover-banner {
  position: relative;
  width: 100%;
  height: 125px;
  background-color: #0f1c3f;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.modal-cover-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 61, 0.1) 0%, var(--landing-card-bg, #0b1a3d) 100%);
}

/* Legacy layers safely localized */
.landing-bg-layer,
.landing-overlay-layer {
  display: none;
}

/* Content Canvas */
.landing-content-canvas {
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0 auto;
}

#landing-layout-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* ==========================================================================
   Header Section & ONLINE GENERATOR Ribbon
   ========================================================================== */
.landing-hero-section {
  text-align: center;
  margin-bottom: 12px;
  padding: 0 16px;
  position: relative;
}

.landing-app-icon-wrap {
  width: 72px;
  height: 72px;
  margin: -36px auto 12px auto;
  border-radius: 18px;
  border: 2.5px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px var(--landing-glow, rgba(56, 189, 248, 0.4));
  overflow: hidden;
  background: #0f172a;
  position: relative;
  z-index: 5;
}
.landing-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Red Angled Ribbon Banner */
.online-gen-ribbon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
.online-gen-ribbon {
  background: var(--landing-accent-red, #a855f7);
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 38px;
  clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* Ribbon Style Variations */
.online-gen-ribbon.status-style-white_capsule {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
}
.online-gen-ribbon.status-style-purple_neon {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.65);
  border-top: 2px solid #e9d5ff;
}
.online-gen-ribbon.status-style-cyber_matrix {
  background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  border-top: 2px solid #a7f3d0;
}
.online-gen-ribbon.status-style-gold_luxury {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.55);
  border-top: 2px solid #fef3c7;
}
.online-gen-ribbon.status-style-frosted_glass {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.online-gen-ribbon.status-style-esports_crimson {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.55);
  border-top: 2px solid #ffe4e6;
}

/* 3-Segment Stats Bar */
.online-gen-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #0f172a;
  border-radius: 4px;
  padding: 5px 12px;
  max-width: 370px;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Stats Bar Style Variations */
.online-gen-stats-bar.status-style-white_capsule {
  background: #ffffff;
  color: #0f172a;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.online-gen-stats-bar.status-style-white_capsule .stat-label { color: #475569; }
.online-gen-stats-bar.status-style-white_capsule .stat-val { color: #0f172a; font-weight: 900; }
.online-gen-stats-bar.status-style-white_capsule .stat-col:not(:last-child) { border-right: 1px solid #cbd5e1; }

.online-gen-stats-bar.status-style-purple_neon {
  background: rgba(24, 10, 42, 0.92);
  color: #f8fafc;
  border: 1.5px solid rgba(168, 85, 247, 0.6);
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}
.online-gen-stats-bar.status-style-purple_neon .stat-label { color: #d8b4fe; }
.online-gen-stats-bar.status-style-purple_neon .stat-val { color: #ffffff; font-weight: 900; }
.online-gen-stats-bar.status-style-purple_neon .stat-col:not(:last-child) { border-right: 1px solid rgba(168, 85, 247, 0.4); }

.online-gen-stats-bar.status-style-cyber_matrix {
  background: rgba(2, 6, 23, 0.94);
  color: #ecfeff;
  border: 1.5px solid rgba(16, 185, 129, 0.6);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}
.online-gen-stats-bar.status-style-cyber_matrix .stat-label { color: #6ee7b7; }
.online-gen-stats-bar.status-style-cyber_matrix .stat-val { color: #a7f3d0; font-weight: 900; }
.online-gen-stats-bar.status-style-cyber_matrix .stat-col:not(:last-child) { border-right: 1px solid rgba(16, 185, 129, 0.35); }

.online-gen-stats-bar.status-style-gold_luxury {
  background: #0c0a09;
  color: #fef3c7;
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}
.online-gen-stats-bar.status-style-gold_luxury .stat-label { color: #fbbf24; }
.online-gen-stats-bar.status-style-gold_luxury .stat-val { color: #ffffff; font-weight: 900; }
.online-gen-stats-bar.status-style-gold_luxury .stat-col:not(:last-child) { border-right: 1px solid rgba(245, 158, 11, 0.4); }

.online-gen-stats-bar.status-style-frosted_glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.online-gen-stats-bar.status-style-frosted_glass .stat-label { color: rgba(255, 255, 255, 0.7); }
.online-gen-stats-bar.status-style-frosted_glass .stat-val { color: #ffffff; font-weight: 900; }
.online-gen-stats-bar.status-style-frosted_glass .stat-col:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.2); }

.online-gen-stats-bar.status-style-esports_crimson {
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border: 1.5px solid rgba(225, 29, 72, 0.55);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.4);
}
.online-gen-stats-bar.status-style-esports_crimson .stat-label { color: #fda4af; }
.online-gen-stats-bar.status-style-esports_crimson .stat-val { color: #ffffff; font-weight: 900; }
.online-gen-stats-bar.status-style-esports_crimson .stat-col:not(:last-child) { border-right: 1px solid rgba(225, 29, 72, 0.4); }
.stat-col {
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-col:not(:last-child) {
  border-right: 1px solid #cbd5e1;
  padding-right: 10px;
}
.stat-label {
  color: #475569;
}
.stat-val {
  font-weight: 900;
  color: #0f172a;
}
.stat-online {
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hidden/Accessible Metadata for System Compatibility */
.landing-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.landing-meta-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
}
.landing-badge-online {
  color: #10b981;
}
.landing-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* ==========================================================================
   Main Flow Container & Steps
   ========================================================================== */
.landing-card {
  padding: 16px 20px 24px;
  box-sizing: border-box;
}

.step-card-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.landing-form-section {
  margin-bottom: 14px;
}

/* User Input Pill */
.game-input-pill {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  padding: 4px 6px 4px 12px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.game-input-pill:focus-within {
  border-color: var(--landing-primary, #0ea5e9);
  box-shadow: 0 0 16px var(--landing-glow, rgba(14, 165, 233, 0.4)), inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.game-input-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: #1e293b;
}
.game-input-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-username-field,
.landing-text-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  padding: 6px 0;
}
.game-username-field::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Platform Pills (Android / iOS) */
.game-platform-pills,
.landing-platform-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.game-platform-pill,
.landing-platform-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 9px 16px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.game-platform-pill i.fa-android {
  color: #10b981;
}
.game-platform-pill i.fa-apple {
  color: #ec4899;
}
.game-platform-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}
.game-platform-pill.selected {
  background: rgba(14, 165, 233, 0.2);
  border-color: var(--landing-primary, #0ea5e9);
  box-shadow: 0 0 14px var(--landing-glow, rgba(14, 165, 233, 0.4));
}

/* Validation Notice */
.landing-validation-notice {
  background: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.5);
  color: #fecdd3;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

/* Action Button: CONNECT */
.landing-btn-wrap {
  margin-top: 18px;
}
.game-btn-connect,
.landing-btn {
  position: relative;
  background: #ffb800;
  background: linear-gradient(180deg, #ffc72c 0%, #e59d00 100%);
  color: #1a1300 !important;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 12px 48px;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 184, 0, 0.4);
  transition: all 0.2s ease;
  display: inline-block;
}
.game-btn-connect:hover {
  background: linear-gradient(180deg, #ffd352 0%, #f0a800 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 184, 0, 0.6);
}
.game-btn-connect:active {
  transform: translateY(1px);
}
.btn-rivet {
  position: absolute;
  font-size: 12px;
  color: #634300;
  line-height: 1;
}
.rivet-tl { top: 3px; left: 5px; }
.rivet-tr { top: 3px; right: 5px; }
.rivet-bl { bottom: 3px; left: 5px; }
.rivet-br { bottom: 3px; right: 5px; }

/* ==========================================================================
   STEP 2: CONNECTING LOADERS (4 High-Tech Styles)
   ========================================================================== */
.connecting-content {
  padding: 24px 10px;
}
.connecting-dots-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.connecting-dot {
  width: 14px;
  height: 14px;
  background: var(--landing-accent-red, #e11d48);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--landing-accent-red, #e11d48);
  animation: pulseDot 1s infinite alternate;
}
.connecting-dot:nth-child(2) { animation-delay: 0.2s; }
.connecting-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 1; }
}

.connecting-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Loader 1: Pulse Bar */
.connecting-bar-wrap {
  width: 100%;
  max-width: 320px;
  height: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}
.connecting-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--landing-primary, #0ea5e9) 0%, var(--landing-accent-red, #e11d48) 100%);
  border-radius: 10px;
  box-shadow: 0 0 12px var(--landing-glow, rgba(14, 165, 233, 0.6));
  transition: width 0.08s linear;
}

/* Loader 2: Circular Radar */
.radar-spinner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.radar-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(14, 165, 233, 0.35);
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, var(--landing-primary, #0ea5e9) 360deg);
  animation: radarSpin 1.4s linear infinite;
}
@keyframes radarSpin {
  100% { transform: rotate(360deg); }
}
.radar-crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.radar-crosshair-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.radar-dot {
  position: absolute;
  top: 25%;
  left: 30%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1s infinite alternate;
}

/* Loader 3: Matrix Terminal */
.terminal-console-box {
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: #10b981;
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}
.terminal-line {
  margin-bottom: 6px;
  overflow: hidden;
  white-space: nowrap;
  animation: termType 0.5s steps(30, end);
}
.terminal-prefix {
  color: #38bdf8;
  margin-right: 4px;
}

/* Loader 4: Step Nodes */
.step-nodes-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
}
.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.step-node i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}
.step-node.active {
  color: #ffffff;
}
.step-node.active i {
  background: var(--landing-primary, #0ea5e9);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 16px var(--landing-glow, rgba(14, 165, 233, 0.6));
}
.step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   STEP 3: PLAYER CONNECTED & AMOUNT CARDS
   ========================================================================== */
.player-connected-box {
  background: #ffb800;
  background: linear-gradient(180deg, #ffc72c 0%, #e59d00 100%);
  color: #000000;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 16px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.player-connected-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 4px;
}
.player-connected-info {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 800;
}
.info-label {
  color: #453000;
  margin-right: 4px;
}

/* 4 Amount Cards Grid */
.amount-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.amount-card,
.landing-res-chip {
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.amount-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.amount-card.selected {
  background: rgba(14, 165, 233, 0.25);
  border-color: var(--landing-primary, #0ea5e9);
  box-shadow: 0 0 18px var(--landing-glow, rgba(14, 165, 233, 0.45));
}
.amount-card-icon,
.landing-res-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px auto;
}
.amount-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.amount-card-num {
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.amount-card-res {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
}

/* ==========================================================================
   STEP 4: GENERATING ANIMATION
   ========================================================================== */
.generating-content {
  padding: 20px 10px;
}
.generating-card-display {
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid var(--landing-primary, #0ea5e9);
  border-radius: 16px;
  padding: 16px;
  max-width: 220px;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 24px var(--landing-glow, rgba(14, 165, 233, 0.4));
}
.gen-card-icon-wrap {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px auto;
}
.gen-card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gen-card-counter {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
}
.gen-card-label {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
}

.generating-status-title {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.highlight-amount {
  color: #ffb800;
}
.generating-bar-wrap {
  width: 100%;
  max-width: 320px;
  height: 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  margin: 0 auto;
  overflow: hidden;
}
.generating-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb800 0%, #10b981 100%);
  border-radius: 10px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
  transition: width 0.05s linear;
}

/* ==========================================================================
   STEP 5: HUMAN VERIFICATION
   ========================================================================== */
.human-verification-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  padding: 24px 18px 20px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.hv-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.hv-shield-icon {
  color: var(--landing-primary, #0ea5e9);
  font-size: 13px;
}
.hv-status-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--landing-primary, #0ea5e9);
  text-transform: uppercase;
}

.hv-title {
  font-size: 21px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}
.hv-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin: 0 auto 16px auto;
  line-height: 1.45;
  max-width: 320px;
}

/* User & Device Credentials Bar */
.hv-credentials-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.hv-cred-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hv-cred-label {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.hv-cred-label i {
  color: var(--landing-primary, #0ea5e9);
  margin-right: 2px;
}
.hv-cred-value {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Unlocked Generated Resources Package Showcase */
.hv-unlocked-section {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hv-unlocked-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
.hv-unlocked-header i {
  color: var(--landing-primary, #0ea5e9);
  margin-right: 4px;
}
.hv-package-status {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.hv-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}
.hv-res-item-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.2s ease;
}
.hv-res-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--landing-primary, #0ea5e9);
}
.hv-res-item-icon-wrap {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}
.hv-res-item-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hv-res-item-info {
  text-align: center;
}
.hv-res-item-amount {
  font-size: 15px;
  font-weight: 900;
  color: #ffb800;
  line-height: 1.2;
  letter-spacing: 0.4px;
}
.hv-res-item-name {
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.hv-res-item-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

/* Spinner */
.hv-spinner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.hv-dots-spinner {
  width: 34px;
  height: 34px;
  border: 3.5px solid #e2e8f0;
  border-top-color: var(--landing-primary, #0ea5e9);
  border-radius: 50%;
  animation: spinnerRotate 0.8s linear infinite;
}
@keyframes spinnerRotate {
  100% { transform: rotate(360deg); }
}

/* Countdown */
.hv-timer-wrap {
  margin-bottom: 14px;
}
.hv-timer-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.hv-countdown-clock,
.hv-timer-clock {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.4px;
}

/* Verify Button */
.game-btn-verify {
  background: #ffb800;
  background: linear-gradient(180deg, #ffc72c 0%, #e59d00 100%);
  color: #000000 !important;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.8px;
  border-radius: 12px;
  padding: 13px 32px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(229, 157, 0, 0.45);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 300px;
}
.game-btn-verify:hover {
  background: linear-gradient(180deg, #ffd352 0%, #f0a800 100%);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.65);
  transform: translateY(-2px);
}

/* ==========================================================================
   ALERT MODAL POPUP & VALIDATION EFFECTS
   ========================================================================== */
.landing-alert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}
.landing-alert-box {
  background: #0f172a;
  border: 1.5px solid rgba(239, 68, 68, 0.6);
  border-radius: 18px;
  padding: 24px 20px 20px;
  max-width: 320px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(239, 68, 68, 0.25);
}
.landing-alert-icon-ring {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px auto;
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 22px;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35);
}
.landing-alert-title {
  font-size: 17px;
  font-weight: 900;
  color: #f8fafc;
  margin: 0 0 8px 0;
  letter-spacing: 0.6px;
}
.landing-alert-message {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 18px 0;
  font-weight: 500;
}
.landing-alert-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.8px;
  border-radius: 10px;
  padding: 10px 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
  transition: all 0.2s ease;
  width: 100%;
}
.landing-alert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.6);
}

/* Input Shake Animation */
.input-error-shake {
  animation: inputShake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  border-color: #ef4444 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45) !important;
}
@keyframes inputShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Sequential Resource Transition in Step 4 */
.resource-switch-flip {
  transform: scale(0.92);
  opacity: 0.3;
  transition: all 0.15s ease;
}
.counter-completed-pulse {
  animation: counterPulse 0.35s ease;
  color: #10b981 !important;
}
@keyframes counterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  .landing-modal-card {
    max-width: 420px;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .landing-modal-card {
    max-width: 100%;
    border-radius: 20px;
    margin: 4px auto 30px auto;
  }
  .online-gen-ribbon {
    font-size: 16px;
    padding: 7px 24px;
  }
  .online-gen-stats-bar {
    max-width: 300px;
    font-size: 9px;
  }
  .amount-card-num {
    font-size: 17px;
  }
  .game-platform-pills,
  .landing-platform-pills {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .game-platform-pill,
  .landing-platform-pill {
    padding: 8px 6px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }
  .hv-summary-row {
    flex-direction: column;
  }
  .hv-summary-right {
    width: 100%;
  }
}

/* ==========================================================================
   5 Modal Alert Entrance Animations
   ========================================================================== */
.alert-scale-bounce {
  animation: modalScaleBounce 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}
@keyframes modalScaleBounce {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  70% { transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.alert-slide-up {
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
@keyframes modalSlideUp {
  0% { opacity: 0; transform: translateY(32px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.alert-zoom-in {
  animation: modalZoomIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
}
@keyframes modalZoomIn {
  0% { opacity: 0; transform: scale(0.92); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.alert-glitch-holo {
  animation: modalHoloGlitch 0.45s ease-out forwards !important;
}
@keyframes modalHoloGlitch {
  0% { opacity: 0; transform: scale(0.94); filter: hue-rotate(90deg) brightness(2); }
  25% { opacity: 0.8; transform: translate(-3px, 2px) scale(0.98); }
  50% { opacity: 0.6; transform: translate(3px, -2px) scale(1.01); filter: hue-rotate(-45deg); }
  75% { opacity: 0.9; transform: translate(-1px, 1px) scale(1); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); filter: none; }
}

.alert-fade {
  animation: modalSoftFade 0.32s ease-in-out forwards !important;
}
@keyframes modalSoftFade {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5 Transition Styles
   ========================================================================== */
.trans-spring .amount-card,
.trans-spring .landing-platform-pill,
.trans-spring .gen-action-btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.trans-mechanical .amount-card,
.trans-mechanical .landing-platform-pill,
.trans-mechanical .gen-action-btn {
  transition: all 0.16s cubic-bezier(0, 0, 0.2, 1) !important;
}
.trans-fluid .amount-card,
.trans-fluid .landing-platform-pill,
.trans-fluid .gen-action-btn {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.trans-hyper .amount-card,
.trans-hyper .landing-platform-pill,
.trans-hyper .gen-action-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.trans-soft .amount-card,
.trans-soft .landing-platform-pill,
.trans-soft .gen-action-btn {
  transition: all 0.3s ease !important;
}

/* ==========================================================================
   Multi-Resource Step Wizard Tracker
   ========================================================================== */
.res-wizard-tracker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}
.res-wizard-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.res-wizard-res-badge {
  color: var(--landing-primary, #38bdf8);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 900;
}
.res-wizard-res-badge img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.res-wizard-dots {
  display: flex;
  gap: 8px;
  width: 100%;
}
.res-wizard-dot {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}
.res-wizard-dot.active {
  background: var(--landing-primary, #38bdf8);
  box-shadow: 0 0 10px var(--landing-primary, #38bdf8);
}
.res-wizard-dot.completed {
  background: #22c55e;
}

/* Custom Generator Background Surface */
.landing-custom-gen-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

/* 5 Generator Style Suites */
.gen-style-esports_neon {
  --landing-card-bg: #0b1426;
  border-color: rgba(14, 165, 233, 0.35) !important;
}
.gen-style-cyber_matrix {
  --landing-card-bg: #020b08;
  border-color: rgba(16, 185, 129, 0.45) !important;
}
.gen-style-dark_luxury {
  --landing-card-bg: #12100e;
  border-color: rgba(245, 158, 11, 0.4) !important;
}
.gen-style-glass_morphism {
  --landing-card-bg: rgba(20, 16, 45, 0.8);
  backdrop-filter: blur(20px);
  border-color: rgba(168, 85, 247, 0.35) !important;
}
.gen-style-clean_minimal {
  --landing-card-bg: #0f172a;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* ==========================================================================
   5 FRONTEND HOME UI & APP LIST STYLES
   ========================================================================== */

/* -------------------------------------------------------------
   STYLE 1: MODERN CYBER GLASS (DEFAULT ESPORTS)
   ------------------------------------------------------------- */
body.home-ui-modern_cyber .listing-item,
.home-style-modern_cyber .listing-item {
  border-radius: 20px !important;
}

/* -------------------------------------------------------------
   STYLE 2: ROYAL GOLDEN LUXURY (GOLDEN VIP STYLE)
   ------------------------------------------------------------- */
body.home-ui-store_minimal .listing-item,
body.home-ui-golden_luxury .listing-item,
.home-style-store_minimal .listing-item,
.home-style-golden_luxury .listing-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 0 18px 0 !important;
  border-radius: 22px !important;
  background: #110e08 !important;
  border: 2px solid transparent !important;
  background-image: linear-gradient(#110e08, #110e08), linear-gradient(135deg, #f59e0b, #fbbf24, #d97706, #fef08a) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.28), 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  height: 100% !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
body.home-ui-store_minimal .listing-item-cover-w,
body.home-ui-golden_luxury .listing-item-cover-w,
.home-style-store_minimal .listing-item-cover-w,
.home-style-golden_luxury .listing-item-cover-w {
  display: block !important;
  width: 100% !important;
  height: 110px !important;
  position: relative !important;
  overflow: hidden !important;
}
body.home-ui-store_minimal .listing-item-cover-w:after,
body.home-ui-golden_luxury .listing-item-cover-w:after,
.home-style-store_minimal .listing-item-cover-w:after,
.home-style-golden_luxury .listing-item-cover-w:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.15) 0%, rgba(17, 14, 8, 0.95) 100%) !important;
  pointer-events: none;
}
body.home-ui-store_minimal .listing-item-cover,
body.home-ui-golden_luxury .listing-item-cover,
.home-style-store_minimal .listing-item-cover,
.home-style-golden_luxury .listing-item-cover {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: block !important;
}
body.home-ui-store_minimal .listing-item .listing-item-left,
body.home-ui-golden_luxury .listing-item .listing-item-left,
.home-style-store_minimal .listing-item .listing-item-left,
.home-style-golden_luxury .listing-item .listing-item-left {
  width: 72px !important;
  height: 72px !important;
  margin: -36px auto 10px auto !important;
  flex: 0 0 72px !important;
  position: relative !important;
  z-index: 3 !important;
  float: none !important;
}
body.home-ui-store_minimal .listing-item .listing-item-img,
body.home-ui-golden_luxury .listing-item .listing-item-img,
.home-style-store_minimal .listing-item .listing-item-img,
.home-style-golden_luxury .listing-item .listing-item-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 18px !important;
  border: 2.5px solid #fbbf24 !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.55), 0 8px 20px rgba(0, 0, 0, 0.6) !important;
}
body.home-ui-store_minimal .listing-item .listing-item-right,
body.home-ui-golden_luxury .listing-item .listing-item-right,
.home-style-store_minimal .listing-item .listing-item-right,
.home-style-golden_luxury .listing-item .listing-item-right {
  width: 100% !important;
  padding: 0 14px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
body.home-ui-store_minimal .listing-item .listing-item-right-l,
body.home-ui-golden_luxury .listing-item .listing-item-right-l,
.home-style-store_minimal .listing-item .listing-item-right-l,
.home-style-golden_luxury .listing-item .listing-item-right-l {
  width: 100% !important;
  padding: 0 !important;
}
body.home-ui-store_minimal .listing-item-name-w,
body.home-ui-golden_luxury .listing-item-name-w,
.home-style-store_minimal .listing-item-name-w,
.home-style-golden_luxury .listing-item-name-w {
  margin: 0 0 6px 0 !important;
  width: 100% !important;
}
body.home-ui-store_minimal .listing-item-name,
body.home-ui-golden_luxury .listing-item-name,
.home-style-store_minimal .listing-item-name,
.home-style-golden_luxury .listing-item-name {
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  color: #fef08a !important;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.6) !important;
  text-align: center !important;
  height: auto !important;
  margin: 0 !important;
}
body.home-ui-store_minimal .listing-item-meta-w,
body.home-ui-golden_luxury .listing-item-meta-w,
.home-style-store_minimal .listing-item-meta-w,
.home-style-golden_luxury .listing-item-meta-w {
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
}
body.home-ui-store_minimal .listing-item-meta-col-c,
body.home-ui-golden_luxury .listing-item-meta-col-c,
.home-style-store_minimal .listing-item-meta-col-c,
.home-style-golden_luxury .listing-item-meta-col-c {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
body.home-ui-store_minimal .listing-item-meta-val,
body.home-ui-golden_luxury .listing-item-meta-val,
.home-style-store_minimal .listing-item-meta-val,
.home-style-golden_luxury .listing-item-meta-val {
  color: #fde047 !important;
  font-weight: 800 !important;
}
body.home-ui-store_minimal .listing-item .listing-item-right-r,
body.home-ui-golden_luxury .listing-item .listing-item-right-r,
.home-style-store_minimal .listing-item .listing-item-right-r,
.home-style-golden_luxury .listing-item .listing-item-right-r {
  display: block !important;
  width: 100% !important;
  margin-top: 12px !important;
}
body.home-ui-store_minimal .listing-item-d-btn,
body.home-ui-golden_luxury .listing-item-d-btn,
.home-style-store_minimal .listing-item-d-btn,
.home-style-golden_luxury .listing-item-d-btn {
  width: 100% !important;
  max-width: 130px !important;
  margin: 0 auto !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #0c0a09 !important;
  border-radius: 50px !important;
  padding: 6px 14px !important;
  height: 32px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.home-ui-store_minimal .listing-item-d-btn:after,
body.home-ui-golden_luxury .listing-item-d-btn:after,
.home-style-store_minimal .listing-item-d-btn:after,
.home-style-golden_luxury .listing-item-d-btn:after {
  content: 'VIP GOLD' !important;
}
body.home-ui-store_minimal .listing-item-d-btn img,
body.home-ui-golden_luxury .listing-item-d-btn img,
.home-style-store_minimal .listing-item-d-btn img,
.home-style-golden_luxury .listing-item-d-btn img {
  display: none !important;
}
body.home-ui-store_minimal .listing-item:hover,
body.home-ui-golden_luxury .listing-item:hover,
.home-style-store_minimal .listing-item:hover,
.home-style-golden_luxury .listing-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.6), 0 16px 36px rgba(0, 0, 0, 0.75) !important;
}

/* -------------------------------------------------------------
   STYLE 3: PRO GAMING ESPORTS (CYBER HUD GAMING STYLE)
   ------------------------------------------------------------- */
body.home-ui-streamline_list .listing-item,
body.home-ui-gaming_esports .listing-item,
.home-style-streamline_list .listing-item,
.home-style-gaming_esports .listing-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 0 18px 0 !important;
  border-radius: 20px !important;
  background: #090d16 !important;
  border: 2px solid transparent !important;
  background-image: linear-gradient(#090d16, #090d16), linear-gradient(135deg, #0ea5e9, #6366f1, #e11d48) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  height: 100% !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
body.home-ui-streamline_list .listing-item-cover-w,
body.home-ui-gaming_esports .listing-item-cover-w,
.home-style-streamline_list .listing-item-cover-w,
.home-style-gaming_esports .listing-item-cover-w {
  display: block !important;
  width: 100% !important;
  height: 110px !important;
  position: relative !important;
  overflow: hidden !important;
}
body.home-ui-streamline_list .listing-item-cover-w:after,
body.home-ui-gaming_esports .listing-item-cover-w:after,
.home-style-streamline_list .listing-item-cover-w:after,
.home-style-gaming_esports .listing-item-cover-w:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.15) 0%, rgba(9, 13, 22, 0.95) 100%) !important;
  pointer-events: none;
}
body.home-ui-streamline_list .listing-item-cover,
body.home-ui-gaming_esports .listing-item-cover,
.home-style-streamline_list .listing-item-cover,
.home-style-gaming_esports .listing-item-cover {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: block !important;
}
body.home-ui-streamline_list .listing-item .listing-item-left,
body.home-ui-gaming_esports .listing-item .listing-item-left,
.home-style-streamline_list .listing-item .listing-item-left,
.home-style-gaming_esports .listing-item .listing-item-left {
  width: 72px !important;
  height: 72px !important;
  margin: -36px auto 10px auto !important;
  flex: 0 0 72px !important;
  position: relative !important;
  z-index: 3 !important;
  float: none !important;
}
body.home-ui-streamline_list .listing-item .listing-item-img,
body.home-ui-gaming_esports .listing-item .listing-item-img,
.home-style-streamline_list .listing-item .listing-item-img,
.home-style-gaming_esports .listing-item .listing-item-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  border: 2.5px solid #0ea5e9 !important;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.65), 0 8px 20px rgba(0, 0, 0, 0.6) !important;
}
body.home-ui-streamline_list .listing-item .listing-item-right,
body.home-ui-gaming_esports .listing-item .listing-item-right,
.home-style-streamline_list .listing-item .listing-item-right,
.home-style-gaming_esports .listing-item .listing-item-right {
  width: 100% !important;
  padding: 0 14px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
body.home-ui-streamline_list .listing-item .listing-item-right-l,
body.home-ui-gaming_esports .listing-item .listing-item-right-l,
.home-style-streamline_list .listing-item .listing-item-right-l,
.home-style-gaming_esports .listing-item .listing-item-right-l {
  width: 100% !important;
  padding: 0 !important;
}
body.home-ui-streamline_list .listing-item-name-w,
body.home-ui-gaming_esports .listing-item-name-w,
.home-style-streamline_list .listing-item-name-w,
.home-style-gaming_esports .listing-item-name-w {
  margin: 0 0 6px 0 !important;
  width: 100% !important;
}
body.home-ui-streamline_list .listing-item-name,
body.home-ui-gaming_esports .listing-item-name,
.home-style-streamline_list .listing-item-name,
.home-style-gaming_esports .listing-item-name {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 0 12px rgba(14, 165, 233, 0.7) !important;
  text-align: center !important;
  height: auto !important;
  margin: 0 !important;
}
body.home-ui-streamline_list .listing-item-meta-w,
body.home-ui-gaming_esports .listing-item-meta-w,
.home-style-streamline_list .listing-item-meta-w,
.home-style-gaming_esports .listing-item-meta-w {
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
}
body.home-ui-streamline_list .listing-item-meta-col-c,
body.home-ui-gaming_esports .listing-item-meta-col-c,
.home-style-streamline_list .listing-item-meta-col-c,
.home-style-gaming_esports .listing-item-meta-col-c {
  background: rgba(14, 165, 233, 0.16) !important;
  border: 1px solid rgba(14, 165, 233, 0.5) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
body.home-ui-streamline_list .listing-item-meta-val,
body.home-ui-gaming_esports .listing-item-meta-val,
.home-style-streamline_list .listing-item-meta-val,
.home-style-gaming_esports .listing-item-meta-val {
  color: #38bdf8 !important;
  font-weight: 800 !important;
}
body.home-ui-streamline_list .listing-item .listing-item-right-r,
body.home-ui-gaming_esports .listing-item .listing-item-right-r,
.home-style-streamline_list .listing-item .listing-item-right-r,
.home-style-gaming_esports .listing-item .listing-item-right-r {
  display: block !important;
  width: 100% !important;
  margin-top: 12px !important;
}
body.home-ui-streamline_list .listing-item-d-btn,
body.home-ui-gaming_esports .listing-item-d-btn,
.home-style-streamline_list .listing-item-d-btn,
.home-style-gaming_esports .listing-item-d-btn {
  width: 100% !important;
  max-width: 130px !important;
  margin: 0 auto !important;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  height: 32px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.home-ui-streamline_list .listing-item-d-btn:after,
body.home-ui-gaming_esports .listing-item-d-btn:after,
.home-style-streamline_list .listing-item-d-btn:after,
.home-style-gaming_esports .listing-item-d-btn:after {
  content: 'PLAY NOW' !important;
}
body.home-ui-streamline_list .listing-item-d-btn img,
body.home-ui-gaming_esports .listing-item-d-btn img,
.home-style-streamline_list .listing-item-d-btn img,
.home-style-gaming_esports .listing-item-d-btn img {
  display: none !important;
}
body.home-ui-streamline_list .listing-item:hover,
body.home-ui-gaming_esports .listing-item:hover,
.home-style-streamline_list .listing-item:hover,
.home-style-gaming_esports .listing-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 0 32px rgba(14, 165, 233, 0.7), 0 0 45px rgba(225, 29, 72, 0.35) !important;
}

/* -------------------------------------------------------------
   STYLE 4: NEO-GLOW CYBERPUNK (SYNTHWAVE ARCADE)
   ------------------------------------------------------------- */
body.home-ui-neoglow_arcade .listing-item,
.home-style-neoglow_arcade .listing-item {
  background: #09090e !important;
  border: 2px solid transparent !important;
  background-image: linear-gradient(#09090e, #09090e), linear-gradient(135deg, #ec4899, #8b5cf6, #06b6d4) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  border-radius: 20px !important;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.35), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
}
body.home-ui-neoglow_arcade .listing-item:hover,
.home-style-neoglow_arcade .listing-item:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 0 28px rgba(236, 72, 153, 0.65), 0 0 45px rgba(139, 92, 246, 0.35) !important;
}
body.home-ui-neoglow_arcade .listing-item-cover-w,
.home-style-neoglow_arcade .listing-item-cover-w {
  display: block !important;
  height: 105px !important;
  position: relative !important;
}
body.home-ui-neoglow_arcade .listing-item-cover-w:after,
.home-style-neoglow_arcade .listing-item-cover-w:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1) 0%, rgba(9, 9, 14, 0.9) 100%) !important;
  pointer-events: none;
}
body.home-ui-neoglow_arcade .listing-item .listing-item-left,
.home-style-neoglow_arcade .listing-item .listing-item-left {
  margin: -38px auto 10px auto !important;
  position: relative !important;
  z-index: 2 !important;
}
body.home-ui-neoglow_arcade .listing-item .listing-item-img,
.home-style-neoglow_arcade .listing-item .listing-item-img {
  border: 2.5px solid #ec4899 !important;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.7) !important;
  border-radius: 16px !important;
}
body.home-ui-neoglow_arcade .listing-item-name,
.home-style-neoglow_arcade .listing-item-name {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.7), 0 0 20px rgba(139, 92, 246, 0.4) !important;
}
body.home-ui-neoglow_arcade .listing-item-meta-val,
.home-style-neoglow_arcade .listing-item-meta-val {
  color: #f472b6 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 8px rgba(244, 114, 182, 0.6) !important;
}

/* -------------------------------------------------------------
   STYLE 5: IMMERSIVE HERO SHOWCASE (STEAM CINEMATIC)
   ------------------------------------------------------------- */
body.home-ui-hero_showcase .listing-item,
.home-style-hero_showcase .listing-item {
  background: #0b1120 !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
body.home-ui-hero_showcase .listing-item:hover,
.home-style-hero_showcase .listing-item:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.35) !important;
  border-color: #f59e0b !important;
}
body.home-ui-hero_showcase .listing-item-cover-w,
.home-style-hero_showcase .listing-item-cover-w {
  display: block !important;
  height: 145px !important;
  position: relative !important;
  overflow: hidden !important;
}
body.home-ui-hero_showcase .listing-item-cover-w:after,
.home-style-hero_showcase .listing-item-cover-w:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(11, 17, 32, 0.95) 100%) !important;
  pointer-events: none;
}
body.home-ui-hero_showcase .listing-item .listing-item-left,
.home-style-hero_showcase .listing-item .listing-item-left {
  width: 72px !important;
  height: 72px !important;
  margin: -36px auto 10px auto !important;
  position: relative !important;
  z-index: 3 !important;
  flex: 0 0 72px !important;
  float: none !important;
}
body.home-ui-hero_showcase .listing-item .listing-item-img,
.home-style-hero_showcase .listing-item .listing-item-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 18px !important;
  border: 2.5px solid #f59e0b !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(245, 158, 11, 0.4) !important;
}
body.home-ui-hero_showcase .listing-item-name,
.home-style-hero_showcase .listing-item-name {
  color: #ffffff !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
}
body.home-ui-hero_showcase .listing-item-meta-w,
.home-style-hero_showcase .listing-item-meta-w {
  justify-content: center !important;
  margin-top: 4px !important;
}
body.home-ui-hero_showcase .listing-item-meta-col-c,
.home-style-hero_showcase .listing-item-meta-col-c {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 8px !important;
  padding: 3px 10px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2) !important;
}
body.home-ui-hero_showcase .listing-item-meta-val,
.home-style-hero_showcase .listing-item-meta-val {
  color: #fbbf24 !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   System Professional Processing Log Console
   ========================================================================== */
.sys-console-container {
  background: rgba(9, 13, 22, 0.94);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(14, 165, 233, 0.2);
  overflow: hidden;
  margin: 10px auto 14px;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  text-align: left;
}

/* Top Window Header */
.sys-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sys-console-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.dot-yellow { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.6); }
.dot-green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }

.sys-console-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
}
.console-title-icon {
  color: var(--landing-primary, #0ea5e9);
  font-size: 12px;
}
.sys-console-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
}
.console-pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: consolePulse 1.4s infinite ease-in-out;
}
.console-live-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.5px;
}

@keyframes consolePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Status Bar & Progress Line */
.sys-console-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 11px;
}
.console-status-info {
  display: flex;
  gap: 6px;
}
.console-status-label {
  color: #64748b;
  font-weight: 600;
}
.console-status-val {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.console-status-pct {
  color: #10b981;
  font-weight: 800;
  font-size: 11.5px;
}
.sys-console-pbar-wrap {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 14px 10px;
  border-radius: 2px;
  overflow: hidden;
}
.sys-console-pbar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, #10b981);
  box-shadow: 0 0 8px #0ea5e9;
  transition: width 0.25s ease;
}

/* Terminal Body & Dynamic Lines */
.sys-console-terminal-body {
  padding: 10px 14px 14px;
  min-height: 160px;
  max-height: 220px;
  overflow-y: auto;
  font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
  font-size: 11.5px;
  line-height: 1.55;
  background: rgba(2, 6, 23, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sys-console-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sys-console-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  animation: consoleLineFadeIn 0.22s ease-out;
  word-break: break-word;
}
@keyframes consoleLineFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.console-line-main {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-grow: 1;
}
.console-ts {
  color: #475569;
  font-size: 10px;
  flex-shrink: 0;
}
.console-tag {
  font-weight: 700;
  flex-shrink: 0;
}
.tag-system { color: #38bdf8; }
.tag-auth { color: #a78bfa; }
.tag-inject { color: #f59e0b; }
.tag-patch { color: #34d399; }
.tag-security { color: #ec4899; }
.tag-sync { color: #06b6d4; }

.console-msg {
  color: #e2e8f0;
  font-weight: 500;
}
.console-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: #10b981;
  vertical-align: middle;
  margin-left: 4px;
  animation: blinkCursor 0.9s infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Log Badges on right side */
.console-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.badge-ok {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}
.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.25);
}
.badge-active {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-wait {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
  animation: badgePulseWait 1.2s infinite ease-in-out;
}
@keyframes badgePulseWait {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Terminal Footer */
.sys-console-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.7);
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
}
.console-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.console-footer-pill i {
  color: #0ea5e9;
  font-size: 11px;
}


