/* ==========================================================================
   TOOLS.SALSABILMUS.COM — DESIGN SYSTEM & LUXURY RED-DARK THEME
   Aesthetics: Rich Dark Glassmorphism, Glossy Red Neon, Modern Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-deep: #06090e;
  --bg-card: #0c111a;
  --bg-card-hover: #121927;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(229, 9, 20, 0.35);
  --red-primary: #e50914;
  --red-hover: #ff1e27;
  --red-glow: rgba(229, 9, 20, 0.28);
  --gold-accent: #f59e0b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: #f1f5f9;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(229, 9, 20, 0.06) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(12, 17, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card {
  background: rgba(15, 21, 33, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(20, 28, 44, 0.85);
  border-color: rgba(229, 9, 20, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -8px rgba(229, 9, 20, 0.2);
}

/* Primary Button Styling */
.btn-red-primary {
  background: linear-gradient(135deg, #e50914 0%, #b8050e 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-red-primary:hover {
  background: linear-gradient(135deg, #ff1e27 0%, #d10712 100%);
  box-shadow: 0 6px 25px rgba(229, 9, 20, 0.55);
  transform: translateY(-1.5px);
}

.btn-red-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Special Spill SMM-SALSABILMUS Banner & Box */
.smm-spill-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.12) 0%, rgba(15, 21, 33, 0.95) 50%, rgba(245, 158, 11, 0.08) 100%);
  border: 1.5px solid rgba(229, 9, 20, 0.45);
  box-shadow: 0 15px 45px -10px rgba(229, 9, 20, 0.25);
  position: relative;
  overflow: hidden;
}

.smm-spill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 6s infinite;
}

@keyframes shineSweep {
  0% { left: -100%; }
  25% { left: 200%; }
  100% { left: 200%; }
}

/* Badge styles */
.badge-red {
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ff6b72;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

/* Tool Tab Buttons */
.tool-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.tool-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.tool-nav-btn.active {
  color: #ffffff;
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.25);
}

/* Interactive Input Groups */
.tool-input {
  background: #090e17;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  color: #ffffff;
  padding: 0.85rem 1.15rem;
  font-size: 0.925rem;
  transition: all 0.2s ease;
  width: 100%;
}

.tool-input:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.15);
  background: #0d1422;
}

/* ER Speedometer Gauge */
.gauge-container {
  position: relative;
  width: 220px;
  height: 110px;
  margin: 0 auto;
}

.gauge-arc {
  width: 220px;
  height: 110px;
  border-top-left-radius: 110px;
  border-top-right-radius: 110px;
  background: conic-gradient(from 180deg at 50% 100%, 
    #ef4444 0deg, 
    #f59e0b 60deg, 
    #10b981 120deg, 
    #06b6d4 180deg
  );
  position: relative;
  overflow: hidden;
}

.gauge-inner {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 180px;
  height: 90px;
  background: #0c111a;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
}

.gauge-needle {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 95px;
  background: #ffffff;
  transform-origin: 50% 100%;
  transform: rotate(-90deg);
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.gauge-needle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 16px;
  height: 16px;
  background: #e50914;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

/* Toast Notification */
#toastNotification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#toastNotification.show {
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #06090e;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e50914;
}

/* ==========================================================================
   LIVE FOLLOWER COUNT & STATS STYLES
   ========================================================================== */
.live-counter-number {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(229, 9, 20, 0.35);
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.live-counter-number.bump {
  transform: scale(1.08);
  color: #34d399;
  text-shadow: 0 0 35px rgba(52, 211, 153, 0.6);
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.4s infinite;
}

.live-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite;
}

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

.live-avatar-wrap {
  position: relative;
  display: inline-block;
}

.live-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.35);
}

.live-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #0095f6;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid #0c111a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.live-pill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live-pill-tag:hover, .live-pill-tag.active {
  background: rgba(229, 9, 20, 0.22);
  border-color: #e50914;
  color: #ffffff;
  transform: translateY(-1px);
}

