// ========================================
// 🎯 ROUTES PERFORMANCE DASHBOARD - FUTURISTIC DESIGN
// ========================================

// 🎨 Variáveis de Design Futurista
:root {
  // Cores Neon
  --neon-blue: #00D4FF;
  --neon-purple: #8B5CF6;
  --neon-green: #00FF88;
  --neon-orange: #FF6B35;
  --neon-red: #FF0055;
  --neon-yellow: #FFD700;
  
  // Backgrounds
  --bg-dark: #0A0A0F;
  --bg-surface: #1A1A2E;
  --bg-card: #16213E;
  --bg-glass: rgba(26, 26, 46, 0.8);
  
  // Gradientes Holográficos
  --gradient-primary: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
  --gradient-success: linear-gradient(135deg, var(--neon-green) 0%, #00CC6A 100%);
  --gradient-warning: linear-gradient(135deg, var(--neon-orange) 0%, #FF4500 100%);
  --gradient-danger: linear-gradient(135deg, var(--neon-red) 0%, #CC0044 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  // Sombras Neon
  --shadow-neon-blue: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-neon-green: 0 0 20px rgba(0, 255, 136, 0.3);
  --shadow-neon-orange: 0 0 20px rgba(255, 107, 53, 0.3);
  --shadow-neon-red: 0 0 20px rgba(255, 0, 85, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 40px rgba(0, 212, 255, 0.2);
}

// ========================================
// 🏗️ CONTAINER PRINCIPAL
// ========================================
.routes-performance-dashboard {
  width: 100%;
  min-height: 400px;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  
  // Efeito holográfico de fundo
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }
  
  // Modo compacto
  &.compact-mode {
    .metrics-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 12px;
    }
    
    .metric-card {
      padding: 16px;
      min-height: 200px;
    }
  }
}

// ========================================
// ⏳ LOADING STATE
// ========================================
.loading-container {
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  
  .loading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .loading-card {
    background: var(--bg-glass);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    .loading-shimmer {
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.2) 50%,
        transparent 100%
      );
      animation: shimmer 2s infinite;
    }
    
    .loading-content {
      .loading-icon {
        width: 40px;
        height: 40px;
        background: var(--gradient-primary);
        border-radius: 8px;
        margin-bottom: 12px;
        opacity: 0.3;
      }
      
      .loading-text {
        height: 16px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        margin-bottom: 8px;
        width: 60%;
      }
      
      .loading-value {
        height: 24px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        width: 40%;
      }
    }
  }
  
  .loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--neon-blue);
    font-size: 16px;
    font-weight: 500;
    
    .loading-spinner {
      width: 24px;
      height: 24px;
      border: 2px solid rgba(0, 212, 255, 0.3);
      border-top: 2px solid var(--neon-blue);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

// ========================================
// ❌ ERROR STATE
// ========================================
.error-container {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  
  .error-content {
    max-width: 400px;
    margin: 0 auto;
    
    .error-icon {
      font-size: 48px;
      color: var(--neon-red);
      margin-bottom: 20px;
      filter: drop-shadow(var(--shadow-neon-red));
    }
    
    h3 {
      color: #fff;
      font-size: 20px;
      font-weight: 600;
      margin: 0 0 12px 0;
    }
    
    p {
      color: rgba(255, 255, 255, 0.7);
      font-size: 14px;
      margin: 0 0 24px 0;
    }
    
    .retry-button {
      background: var(--gradient-primary);
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      
      &:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
      }
    }
  }
}

// ========================================
// 📊 DASHBOARD CONTENT
// ========================================
.dashboard-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

// ========================================
// 🎛️ HEADER CONTROLS
// ========================================
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  
  .header-info {
    .dashboard-title {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #fff;
      font-size: 24px;
      font-weight: 700;
      margin: 0 0 8px 0;
      
      i {
        color: var(--neon-blue);
        filter: drop-shadow(var(--shadow-neon-blue));
      }
    }
    
    .last-updated {
      display: flex;
      align-items: center;
      gap: 6px;
      color: rgba(255, 255, 255, 0.6);
      font-size: 12px;
      
      i {
        color: var(--neon-green);
      }
    }
  }
  
  .header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    
    .period-selector {
      display: flex;
      background: var(--bg-glass);
      border-radius: 8px;
      padding: 4px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      
      .period-button {
        background: transparent;
        color: rgba(255, 255, 255, 0.7);
        border: none;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        
        &:hover {
          color: #fff;
          background: rgba(255, 255, 255, 0.1);
        }
        
        &.active {
          background: var(--gradient-primary);
          color: #fff;
          box-shadow: var(--shadow-neon-blue);
        }
      }
    }
    
    .refresh-button {
      background: var(--bg-glass);
      color: var(--neon-blue);
      border: 1px solid rgba(0, 212, 255, 0.3);
      width: 40px;
      height: 40px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      
      &:hover:not(:disabled) {
        background: rgba(0, 212, 255, 0.1);
        box-shadow: var(--shadow-neon-blue);
        transform: translateY(-2px);
      }
      
      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
      
      .spinning {
        animation: spin 1s linear infinite;
      }
    }
  }
}

// ========================================
// 📈 METRICS GRID
// ========================================
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  
  // Layout específico para diferentes tamanhos
  @media (min-width: 1200px) {
    grid-template-columns: repeat(3, 1fr);
  }
  
  @media (min-width: 1600px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

// ========================================
// 🎴 METRIC CARDS
// ========================================
.metric-card {
  background: var(--bg-glass);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  
  // Efeito holográfico
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
  }
  
  &:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 212, 255, 0.3);
    
    &::before {
      opacity: 1;
      box-shadow: var(--shadow-neon-blue);
    }
  }
  
  // Cores específicas por tipo de card
  &.route-status-card::before { background: var(--gradient-primary); }
  &.vehicle-card::before { background: var(--gradient-success); }
  &.driver-card::before { background: var(--gradient-warning); }
  &.modal-card::before { background: var(--gradient-primary); }
  &.costs-card::before { background: var(--gradient-danger); }
  &.volume-card::before { background: var(--gradient-success); }
}

// ========================================
// 🎯 CARD HEADER
// ========================================
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  
  .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    
    i {
      font-size: 20px;
      color: #fff;
    }
    
    &.route-icon { background: var(--gradient-primary); }
    &.vehicle-icon { background: var(--gradient-success); }
    &.driver-icon { background: var(--gradient-warning); }
    &.modal-icon { background: var(--gradient-primary); }
    &.costs-icon { background: var(--gradient-danger); }
    &.volume-icon { background: var(--gradient-success); }
  }
  
  .card-title {
    flex: 1;
    
    h3 {
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      margin: 0 0 4px 0;
      line-height: 1.2;
    }
    
    .card-subtitle {
      color: rgba(255, 255, 255, 0.6);
      font-size: 12px;
      font-weight: 400;
    }
  }
  
  .card-trend {
    .trend-value {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      font-weight: 600;
      
      i {
        font-size: 10px;
      }
    }
  }
}

// ========================================
// 📊 CARD CONTENT ESPECÍFICO
// ========================================

// 🛣️ Route Status Card
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  
  .status-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    border-left: 3px solid var(--status-color);
    transition: all 0.3s ease;
    
    &:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateX(4px);
    }
    
    .status-icon {
      color: var(--status-color);
      font-size: 14px;
      margin-bottom: 8px;
    }
    
    .status-info {
      .status-name {
        color: rgba(255, 255, 255, 0.8);
        font-size: 11px;
        margin-bottom: 4px;
      }
      
      .status-count {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 2px;
      }
      
      .status-percentage {
        color: var(--status-color);
        font-size: 10px;
        font-weight: 500;
      }
    }
    
    .status-trend {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      font-weight: 600;
      margin-top: 8px;
    }
  }
}

// 🚛 Vehicle Card
.vehicle-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  
  .stat-item {
    text-align: center;
    
    .stat-label {
      display: block;
      color: rgba(255, 255, 255, 0.6);
      font-size: 10px;
      margin-bottom: 4px;
    }
    
    .stat-value {
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      justify-content: center;
      
      i {
        color: var(--neon-blue);
      }
    }
  }
}

.vehicle-types {
  .vehicle-type {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    &:last-child {
      border-bottom: none;
    }
    
    .type-icon {
      width: 32px;
      height: 32px;
      background: var(--vehicle-color);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 12px;
      
      i {
        color: #fff;
        font-size: 14px;
      }
    }
    
    .type-info {
      flex: 1;
      
      .type-name {
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 2px;
      }
      
      .type-count {
        color: rgba(255, 255, 255, 0.6);
        font-size: 10px;
      }
      
      .type-performance {
        color: var(--vehicle-color);
        font-size: 10px;
        font-weight: 500;
      }
    }
    
    .type-bar {
      width: 60px;
      height: 4px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
      overflow: hidden;
      
      .bar-fill {
        height: 100%;
        background: var(--vehicle-color);
        border-radius: 2px;
        transition: width 0.8s ease;
      }
    }
  }
}

// 👨‍💼 Driver Card
.driver-stats {
  .stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    
    .stat-item {
      text-align: center;
      
      .stat-label {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 10px;
        margin-bottom: 4px;
      }
      
      .stat-value {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        
        &.highlight {
          color: var(--neon-green);
        }
      }
    }
  }
  
  .gender-distribution {
    .gender-item {
      display: flex;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      
      &:last-child {
        border-bottom: none;
      }
      
      .gender-icon {
        width: 36px;
        height: 36px;
        background: var(--gender-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        
        i {
          color: #fff;
          font-size: 16px;
        }
      }
      
      .gender-info {
        flex: 1;
        
        .gender-label {
          color: #fff;
          font-size: 12px;
          font-weight: 500;
          margin-bottom: 2px;
        }
        
        .gender-count {
          color: rgba(255, 255, 255, 0.6);
          font-size: 10px;
        }
        
        .gender-percentage {
          color: var(--gender-color);
          font-size: 10px;
          font-weight: 500;
        }
      }
      
      .performance-score {
        .score-circle {
          width: 40px;
          height: 40px;
          border: 2px solid var(--gender-color);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          
          span {
            color: var(--gender-color);
            font-size: 10px;
            font-weight: 600;
          }
        }
      }
    }
  }
}

// 🚚 Transport Modal Card
.modal-stats {
  .modal-highlights {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    
    .highlight-item {
      text-align: center;
      
      .highlight-label {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 10px;
        margin-bottom: 4px;
      }
      
      .highlight-value {
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 4px;
        justify-content: center;
        
        i {
          color: var(--neon-blue);
        }
      }
    }
  }
  
  .modal-types {
    .modal-type {
      margin-bottom: 12px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      border-left: 3px solid var(--modal-color);
      
      .modal-type-header {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        
        .modal-type-icon {
          width: 28px;
          height: 28px;
          background: var(--modal-color);
          border-radius: 6px;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 8px;
          
          i {
            color: #fff;
            font-size: 12px;
          }
        }
        
        .modal-type-info {
          flex: 1;
          
          .modal-type-name {
            color: #fff;
            font-size: 12px;
            font-weight: 500;
          }
          
          .modal-type-count {
            color: rgba(255, 255, 255, 0.6);
            font-size: 10px;
          }
        }
        
        .modal-type-percentage {
          color: var(--modal-color);
          font-size: 12px;
          font-weight: 600;
        }
      }
      
      .modal-metrics {
        display: flex;
        justify-content: space-between;
        
        .metric {
          .metric-label {
            display: block;
            color: rgba(255, 255, 255, 0.6);
            font-size: 9px;
            margin-bottom: 2px;
          }
          
          .metric-value {
            color: var(--modal-color);
            font-size: 10px;
            font-weight: 500;
          }
        }
      }
    }
  }
}

// 💰 Costs Card
.costs-overview {
  .overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    
    .overview-item {
      text-align: center;
      
      .overview-label {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 9px;
        margin-bottom: 4px;
      }
      
      .overview-value {
        color: #fff;
        font-size: 12px;
        font-weight: 600;
      }
    }
  }
  
  .costs-breakdown {
    .cost-item {
      margin-bottom: 12px;
      
      .cost-header {
        display: flex;
        align-items: center;
        margin-bottom: 6px;
        
        .cost-icon {
          width: 24px;
          height: 24px;
          background: var(--cost-color);
          border-radius: 4px;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 8px;
          
          i {
            color: #fff;
            font-size: 10px;
          }
        }
        
        .cost-info {
          flex: 1;
          
          .cost-name {
            color: #fff;
            font-size: 11px;
            font-weight: 500;
            margin-bottom: 2px;
          }
          
          .cost-amount {
            color: rgba(255, 255, 255, 0.6);
            font-size: 10px;
          }
        }
        
        .cost-trend {
          display: flex;
          align-items: center;
          gap: 4px;
          font-size: 10px;
          font-weight: 600;
        }
      }
      
      .cost-bar {
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        overflow: hidden;
        
        .bar-fill {
          height: 100%;
          background: var(--cost-color);
          border-radius: 2px;
          transition: width 0.8s ease;
        }
      }
    }
  }
}

// 📦 Volume Card
.volume-stats {
  .volume-overview {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    
    .overview-metric {
      text-align: center;
      
      .metric-label {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 10px;
        margin-bottom: 4px;
      }
      
      .metric-value {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        
        &.highlight {
          color: var(--neon-green);
        }
      }
    }
  }
  
  .volume-distribution {
    .distribution-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      
      &:last-child {
        border-bottom: none;
      }
      
      .distribution-label {
        color: rgba(255, 255, 255, 0.8);
        font-size: 11px;
        font-weight: 500;
        flex: 1;
      }
      
      .distribution-value {
        color: var(--distribution-color);
        font-size: 12px;
        font-weight: 600;
        margin: 0 12px;
      }
      
      .distribution-bar {
        width: 60px;
        height: 4px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
        overflow: hidden;
        
        .bar-fill {
          height: 100%;
          background: var(--distribution-color);
          border-radius: 2px;
          transition: width 0.8s ease;
        }
      }
    }
  }
}

// ========================================
// 📱 RESPONSIVIDADE
// ========================================
@media (max-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .routes-performance-dashboard {
    .dashboard-content {
      padding: 16px;
    }
    
    .dashboard-header {
      flex-direction: column;
      gap: 16px;
      align-items: stretch;
      
      .header-controls {
        justify-content: space-between;
        
        .period-selector {
          flex: 1;
          
          .period-button {
            flex: 1;
            padding: 8px 12px;
            font-size: 11px;
          }
        }
      }
    }
    
    .metrics-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    
    .metric-card {
      padding: 20px;
      min-height: 240px;
    }
    
    .card-header {
      .card-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
        
        i {
          font-size: 18px;
        }
      }
      
      .card-title h3 {
        font-size: 15px;
      }
    }
  }
}

@media (max-width: 480px) {
  .routes-performance-dashboard {
    border-radius: 8px;
    
    .dashboard-content {
      padding: 12px;
    }
    
    .metric-card {
      padding: 16px;
      min-height: 200px;
    }
    
    .status-grid {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    
    .overview-stats {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  }
}

// ========================================
// 🎨 ANIMAÇÕES AVANÇADAS
// ========================================
@keyframes pulse-neon {
  0%, 100% {
    box-shadow: 0 0 5px currentColor;
  }
  50% {
    box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

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

@keyframes glow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

// Aplicar animações em elementos específicos
.card-icon {
  animation: glow 3s ease-in-out infinite;
}

.trend-value {
  animation: pulse-neon 2s ease-in-out infinite;
}

// ========================================
// 🌟 EFEITOS ESPECIAIS
// ========================================
.metric-card {
  // Efeito de borda animada
  &::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  &:hover::after {
    opacity: 0.3;
  }
}

// Efeito de partículas (opcional)
.routes-performance-dashboard {
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.3), transparent),
      radial-gradient(2px 2px at 40px 70px, rgba(139, 92, 246, 0.3), transparent),
      radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 136, 0.3), transparent),
      radial-gradient(1px 1px at 130px 80px, rgba(255, 107, 53, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
  }
}
