/* Enhanced Console Styles */
.screen-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  font-size: 0.8rem;
  color: #10b981;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.metric-card.enhanced {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.metric-card.enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.metric-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.metric-trend {
  font-size: 0.75rem;
  color: #10b981;
  margin-top: 0.25rem;
}

.metric-fill.cpu {
  background: linear-gradient(90deg, #10b981, #059669);
}

.metric-fill.memory {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.metric-fill.network {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.metric-fill.players {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.console-preview.enhanced {
  max-height: 300px;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.console-title {
  font-weight: bold;
  color: #3b82f6;
}

.console-time-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.console-line.enhanced {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
}

.console-level {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  min-width: 80px;
  text-align: center;
}

.console-level.success {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.console-level.info {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.console-level.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.console-cursor {
  color: #10b981;
  animation: blink 1s infinite;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  margin-top: 0.5rem;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.server-glow.enhanced {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(20px);
}

/* Enhanced Console Specific Styles */
.console-section.enhanced {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.console-header.enhanced {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border-bottom: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px 12px 0 0;
}

.console-title-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #22c55e;
  font-weight: bold;
  font-size: 1.1rem;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #22c55e;
}

.status-dot.online {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.console-content.enhanced {
  padding: 1.5rem;
  max-height: 350px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
}

.log-success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.log-join {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.log-text {
  color: #e5e7eb;
  flex: 1;
}

.console-cursor-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Impressive Console Styling - NO HOVER ANIMATIONS */
.hero-visual {
  flex: 1;
  max-width: none;
}

.server-mockup {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}

.server-frame.impressive {
  min-height: 700px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: none !important;
  transition: none !important;
  position: relative;
  overflow: hidden;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .server-frame.impressive {
    min-height: 350px;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
}

/* Hero scan animation - disabled on mobile for performance */
@media (min-width: 768px) {
  .server-frame.impressive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(59, 130, 246, 0.15) 50%, transparent 51%);
    animation: heroScan 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
  }
}

@keyframes heroScan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.screen-header.impressive {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.screen-title {
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.2rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  color: #22c55e;
  font-size: 0.9rem;
  font-weight: 600;
}

.screen-content.impressive {
  padding: 2.5rem;
}

.metrics-grid.impressive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 767px) {
  .metrics-grid.impressive {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .metric-card.impressive {
    padding: 1rem;
  }
  
  .metric-value {
    font-size: 1.4rem !important;
  }
  
  .metric-label {
    font-size: 0.8rem !important;
  }
}

.metric-card.impressive {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transform: none !important;
  transition: none !important;
  position: relative;
  overflow: hidden;
}

/* Metric shimmer animations - disabled on mobile for performance */
@media (min-width: 768px) {
  .metric-card.impressive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: metricShimmer 3s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
  }

  .metric-card.impressive.cpu::before {
    animation-delay: 0s;
  }

  .metric-card.impressive.memory::before {
    animation-delay: 0.5s;
  }

  .metric-card.impressive.players::before {
    animation-delay: 1s;
  }
}

@keyframes metricShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.metric-card.impressive:hover {
  transform: none !important;
}

.server-frame.impressive:hover {
  transform: none !important;
}

.metric-card.impressive.cpu {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
}

.metric-card.impressive.memory {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
}

.metric-card.impressive.network {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.05);
}

.metric-card.impressive.players {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.metric-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.metric-info {
  margin-bottom: 1rem;
}

.metric-label {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.metric-value {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.metric-trend {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.cpu .metric-trend {
  color: #22c55e;
}

.memory .metric-trend,
.network .metric-trend {
  color: #3b82f6;
}

.players .metric-trend {
  color: #f59e0b;
}

.metric-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.cpu-fill {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.memory-fill {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.network-fill {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.players-fill {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.console-preview.impressive {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  height: 450px !important;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Console shimmer animation - disabled on mobile for performance */
@media (min-width: 768px) {
  .console-preview.impressive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
    animation: consoleShimmer 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
  }
}

@keyframes consoleShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.console-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .console-header-bar {
    padding: 0.75rem 1rem;
  }
  
  .console-title {
    font-size: 0.9rem !important;
  }
  
  .console-badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.5rem !important;
  }
}

.console-title {
  color: #3b82f6;
  font-weight: bold;
  font-size: 1.1rem;
}

.console-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.console-content {
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  flex: 1;
  overflow-y: auto;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 12px 12px;
  min-height: 350px !important;
}

/* Custom Console Scrollbar */
.console-content::-webkit-scrollbar {
  width: 8px;
}

.console-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 0;
}

.console-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(29, 78, 216, 0.8));
  border-radius: 4px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.console-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 1), rgba(29, 78, 216, 1));
  border-color: rgba(59, 130, 246, 0.5);
}

.console-content::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0.2);
}

/* Firefox Scrollbar Styling */
.console-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.8) rgba(0, 0, 0, 0.2);
}

.console-line.impressive {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
  z-index: 3;
  background: transparent;
}

@media (max-width: 767px) {
  .console-line.impressive {
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
  }
}

.console-time {
  color: #6b7280 !important;
  min-width: 70px;
  font-size: 0.75rem;
  opacity: 1 !important;
  visibility: visible !important;
}

.console-level {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  min-width: 70px;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
}

.console-level.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.console-level.info {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.console-level.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.console-text {
  color: #e5e7eb !important;
  flex: 1;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 1 !important;
  visibility: visible !important;
}