/* Bot Simulation Styles for Hero Section */
.bot-simulation-container {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(16, 20, 32, 0.9) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.bot-simulation-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099cc, #00ff88);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Price Display */
.price-display {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.crypto-pair {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.symbol {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
}

.price {
  font-weight: 700;
  font-size: 1.5rem;
  color: #00d4ff;
  font-family: 'Courier New', monospace;
}

.price.price-flash {
  animation: priceFlash 0.3s ease;
}

@keyframes priceFlash {
  0%, 100% { color: #00d4ff; }
  50% { color: #00ff88; text-shadow: 0 0 10px #00ff88; }
}

.change {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
}

.change.positive {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.change.negative {
  background: rgba(255, 71, 87, 0.2);
  color: #ff4757;
}

/* Chart Area */
.chart-area {
  position: relative;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#simpleChart {
  display: block;
  margin: 0 auto;
  background: transparent;
}

.chart-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Bot Signal */
.bot-signal {
  background: rgba(16, 20, 32, 0.9);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.bot-signal.buy-signal {
  border-color: #00ff88;
  background: rgba(0, 255, 136, 0.2);
  animation: signalPulse 0.5s ease;
}

.bot-signal.sell-signal {
  border-color: #ffa500;
  background: rgba(255, 165, 0, 0.2);
  animation: signalPulse 0.5s ease;
}

@keyframes signalPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
}

.signal-icon {
  font-size: 1.2rem;
}

.signal-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  white-space: nowrap;
}

/* Profit Tracker */
.profit-tracker {
  background: rgba(16, 20, 32, 0.9);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  min-width: 120px;
}

.profit-label {
  font-size: 0.7rem;
  color: #a0a8b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profit-amount {
  font-weight: 700;
  font-size: 1.1rem;
  color: #00ff88;
  font-family: 'Courier New', monospace;
  margin: 0.25rem 0;
}

.profit-percent {
  font-size: 0.8rem;
  color: #00ff88;
  font-family: 'Courier New', monospace;
}

/* Top Bots Panel */
.top-bots-panel {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.live-indicator {
  background: linear-gradient(45deg, #ff4757, #ff6b7a);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.bots-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.bot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.bot-item.top-performer {
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.1);
}

.bot-item.updating {
  animation: botUpdate 0.5s ease;
  border-color: #00ff88;
}

@keyframes botUpdate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); background: rgba(0, 255, 136, 0.2); }
}

.bot-info {
  flex: 1;
}

.bot-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.bot-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
}

.bot-profit {
  color: #00ff88;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.bot-trades {
  color: #a0a8b8;
}

.bot-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bot-status.active {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.profit-indicator {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: #00ff88;
  border-radius: 50%;
  animation: profitBlink 1.5s infinite;
}

@keyframes profitBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Bot Control */
.bot-control {
  text-align: center;
}

.bot-activate-btn {
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 200px;
}

.bot-activate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.bot-activate-btn.executing {
  background: linear-gradient(135deg, #ff6b7a 0%, #ff4757 100%);
  animation: executing 1s infinite;
}

@keyframes executing {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-text {
  font-weight: 700;
}

.btn-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bot-activate-btn:hover .btn-glow {
  opacity: 1;
}

.bot-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: #00ff88;
  font-family: 'Courier New', monospace;
}

.stat-label {
  font-size: 0.75rem;
  color: #a0a8b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Profit Celebration */
.profit-celebration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 100;
  opacity: 0;
  transition: all 0.3s ease;
}

.profit-celebration.show {
  opacity: 1;
  animation: celebrationBurst 2s ease;
}

@keyframes celebrationBurst {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.celebration-burst {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: spin 2s ease-in-out;
}

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

.celebration-text {
  font-size: 2rem;
  font-weight: 700;
  color: #00ff88;
  text-shadow: 0 0 20px #00ff88;
  margin-bottom: 0.25rem;
  font-family: 'Courier New', monospace;
}

.celebration-subtext {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .bot-simulation-container {
    padding: 1rem;
    margin: 1rem;
  }

  .crypto-pair {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .chart-overlay {
    flex-direction: column;
    gap: 0.5rem;
  }

  .profit-tracker {
    text-align: center;
  }

  .bot-stats {
    gap: 1rem;
  }

  .bot-activate-btn {
    min-width: 180px;
    padding: 0.75rem 1.5rem;
  }

  .celebration-text {
    font-size: 1.5rem;
  }
}

/* Scrollbar Styling for Bots List */
.bots-list::-webkit-scrollbar {
  width: 4px;
}

.bots-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.bots-list::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 2px;
}

.bots-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.8);
}