/* MakiLauncher Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg-main: #0a0c11;
  --bg-sidebar: #07080c;
  --bg-card: #11141d;
  --bg-card-hover: #171b26;
  --bg-input: #0e1118;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(255, 42, 68, 0.6);
  
  --accent: #ff2a44;
  --accent-dark: #d81630;
  --accent-glow: rgba(255, 42, 68, 0.45);
  --accent-subtle: rgba(255, 42, 68, 0.15);
  --accent-hover: #e01d36;
  --accent-secondary: #8a2be2;
  
  --text-primary: #f0f3f8;
  --text-secondary: #8b94a5;
  --text-muted: #535b6d;
  
  --color-green: #00e676;
  --color-yellow: #ffb300;
  --color-discord: #5865f2;
  --color-tg: #229ed9;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  
  --font-pixel: 'Press Start 2P', monospace, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  -webkit-font-smoothing: antialiased;
}

input, button, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  transition: var(--transition);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Custom Pixel Fonts and Helpers */
.font-pixel {
  font-family: var(--font-pixel);
  letter-spacing: -0.5px;
}

.text-accent {
  color: var(--accent) !important;
}

.text-muted {
  color: var(--text-secondary);
}

/* Pure SVG Vector Icons (Zero Emojis) */
.ui-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.ui-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon-lg {
  width: 22px;
  height: 22px;
}

.ui-icon-sm {
  width: 13px;
  height: 13px;
}

/* Smooth Buttons with Radiant Animation */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d81630 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 22px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Glowing Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.badge-red {
  background: rgba(255, 42, 68, 0.18);
  color: #ff4d64;
  border: 1px solid rgba(255, 42, 68, 0.35);
}

.badge-red:hover {
  background: rgba(255, 42, 68, 0.28);
  box-shadow: 0 0 10px var(--accent-glow);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.badge-green {
  background: rgba(0, 230, 118, 0.15);
  color: var(--color-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

/* Modals with Ultra-Smooth Zoom Blur */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active, .modal-overlay.show {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
}

.modal-card {
  background: #11141d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 42, 68, 0.1);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}
