/* AIMonster Upgrades - Enhanced Transparent Panels Style (Based on WebuyApp) */

/* AI Monster Theme Variables */
:root {
  --ai-green: #00ff41;
  --ai-dark-green: #00cc33;
  --ai-light-green: #44ff77;
  --ai-neon-blue: #00ffff;
  --ai-purple: #8b00ff;
  --ai-orange: #ff6600;
  --ai-background: #0a0a0a;
  --ai-card: #1a1a1a;
  --ai-text: #ffffff;
  --ai-gray: #888888;
  --ai-light-gray: #cccccc;
  --ai-red: #ff3333;
  --ai-yellow: #ffff00;

  --section-gap: 2rem;
  --card-gap: 1rem;
  --border-radius: 12px;
  --small-radius: 6px;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background Image Loading with AI Theme */
body {
  font-family: 'Segoe UI', 'Roboto', monospace;
  /* Beautiful background image with multiple fallbacks */
  background-image:
    url('./assets/pc-background.jpg'),
    url('assets/pc-background.jpg'),
    linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a1a0a 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
  color: var(--ai-text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Fallback gradient overlay */
  background-blend-mode: normal;
  min-height: 100vh;
}

/* Add background image loading indicator with AI theme */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
    rgba(0, 255, 65, 0.1) 0%,
    rgba(0, 255, 255, 0.1) 25%,
    rgba(139, 0, 255, 0.1) 50%,
    rgba(0, 255, 65, 0.1) 75%,
    rgba(0, 255, 65, 0.1) 100%);
  background-size: 400% 400%;
  animation: aiBackgroundFlow 15s ease infinite;
  z-index: -2;
  opacity: 0.5;
}

@keyframes aiBackgroundFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Semi-transparent Overlay (Much Lighter) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Much lighter overlay to let background show through */
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: -1;
}

/* App Container */
.app-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* Header with Enhanced Semi-Transparent Effect */
.header {
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 20, 40, 0.45) 25%,
    rgba(20, 0, 40, 0.45) 50%,
    rgba(0, 20, 40, 0.45) 75%,
    rgba(0, 0, 0, 0.5) 100%);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: var(--section-gap);
  box-shadow:
    0 0 40px rgba(0, 255, 255, 0.3),
    0 0 80px rgba(139, 0, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

/* Electric border for header */
.header::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
    var(--ai-neon-blue) 0%,
    var(--ai-green) 25%,
    var(--ai-purple) 50%,
    var(--ai-neon-blue) 75%,
    var(--ai-green) 100%);
  background-size: 400% 400%;
  border-radius: var(--border-radius);
  z-index: -1;
  animation: electricBorder 3s linear infinite;
}

/* Subtle glow sweep - DISABLED */
/*
.header::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    rgba(139, 0, 255, 0.08),
    transparent);
  animation: headerGlow 6s infinite;
  z-index: 0;
}
*/

/* Header Glow Animation - DISABLED */
/*
@keyframes headerGlow {
  0%, 90%, 100% { left: -100%; opacity: 0; }
  95% { left: 100%; opacity: 1; }
}
*/

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.main-title {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg,
    var(--ai-green) 0%,
    var(--ai-neon-blue) 50%,
    var(--ai-green) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
  margin: 0;
  font-family: 'Orbitron', monospace, sans-serif;
  animation: titleShimmer 3s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.6));
  }
  100% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8));
  }
}

.sub-title {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-top: 0.5rem;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
  position: relative;
  z-index: 2;
}

.performance-indicator {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 20, 40, 0.8) 50%, rgba(0, 0, 0, 0.9) 100%);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow:
    0 0 30px rgba(0, 255, 255, 0.4),
    0 0 60px rgba(139, 0, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: dragonPulse 3s ease-in-out infinite alternate;
}

/* Electric border effect */
.performance-indicator::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg,
    var(--ai-neon-blue) 0%,
    var(--ai-purple) 25%,
    var(--ai-green) 50%,
    var(--ai-neon-blue) 75%,
    var(--ai-purple) 100%);
  background-size: 400% 400%;
  border-radius: 15px;
  z-index: -1;
  animation: electricBorder 2s linear infinite;
}

/* Lightning effect - DISABLED */
/*
.performance-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 255, 255, 0.3),
    rgba(139, 0, 255, 0.2),
    transparent);
  animation: lightningStrike 4s infinite;
  z-index: 1;
}
*/

@keyframes dragonPulse {
  0% {
    box-shadow:
      0 0 30px rgba(0, 255, 255, 0.4),
      0 0 60px rgba(139, 0, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow:
      0 0 50px rgba(0, 255, 255, 0.6),
      0 0 100px rgba(139, 0, 255, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

@keyframes electricBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Lightning Strike Animation - DISABLED */
/*
@keyframes lightningStrike {
  0%, 90%, 100% { left: -100%; opacity: 0; }
  95% { left: 100%; opacity: 1; }
}
*/

/* Sections with Enhanced Faded Panel Effect (Like WebuyApp) */
.section {
  /* Slightly less transparent panels for better readability */
  background: rgba(26, 26, 26, 0.6);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: var(--section-gap);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 255, 65, 0.4);
  backdrop-filter: blur(8px);
  /* Glass-like effect */
  position: relative;
  overflow: hidden;
}

/* Add subtle glass reflection effect */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  z-index: 1;
}

.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.08), transparent);
  animation: shimmerGlass 6s infinite;
  z-index: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 255, 65, 0.3);
  padding-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.section-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px var(--ai-green));
}

.section-title {
  flex: 1;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ai-green);
  margin: 0;
  text-shadow: 0 0 15px var(--ai-green);
}

/* Current PC Specs with Transparency */
.current-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.spec-item {
  /* More transparent sub-panel */
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid rgba(0, 255, 65, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 255, 65, 0.2);
  border-color: var(--ai-green);
  background: rgba(0, 255, 65, 0.15);
}

/* Machine Status with Transparency */
.machine-status {
  /* Less transparent info panel for better readability */
  background: rgba(0, 255, 65, 0.18);
  border: 2px solid rgba(0, 255, 65, 0.4);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: var(--section-gap);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.status-item {
  /* More transparent sub-panel */
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: var(--small-radius);
  padding: 1rem;
  backdrop-filter: blur(3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Upgrade Panels with Enhanced Transparency */
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.upgrade-panel {
  /* Less transparent sub-panels for better readability */
  background: rgba(56, 56, 56, 0.5);
  border: 2px solid rgba(0, 255, 65, 0.4);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.upgrade-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ai-green) 0%, var(--ai-neon-blue) 100%);
}

.upgrade-panel:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 65, 0.3);
  border-color: var(--ai-green);
  background: rgba(56, 56, 56, 0.4);
}

/* Component Suggestions with Transparency */
.component-suggestions {
  margin-top: 1.5rem;
}

.suggestion-item {
  /* More transparent component panels */
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: var(--small-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.suggestion-item:hover {
  background: rgba(0, 255, 65, 0.05);
  border-color: var(--ai-green);
}

/* Smart Strategy Section (Special Highlight) */
.section[style*="linear-gradient(145deg, rgba(0, 255, 65, 0.15)"] {
  /* Special transparent panel for smart strategy */
  background: rgba(0, 255, 65, 0.12) !important;
  border: 3px solid rgba(0, 255, 65, 0.5) !important;
  backdrop-filter: blur(10px);
}

/* Sub-panels within Smart Strategy */
.section[style*="linear-gradient(145deg, rgba(0, 255, 65, 0.15)"] > div > div[style*="background: rgba(0, 255, 65, 0.1)"] {
  background: rgba(0, 255, 65, 0.08) !important;
  border: 2px solid rgba(0, 255, 65, 0.4) !important;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced Form Elements with Transparency */
input, select, textarea, .category-dropdown, .ignore-input {
  background: rgba(26, 26, 26, 0.3) !important;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(0, 255, 65, 0.3) !important;
  color: var(--ai-text) !important;
  border-radius: var(--small-radius) !important;
}

input:focus, select:focus, textarea:focus {
  background: rgba(26, 26, 26, 0.4) !important;
  backdrop-filter: blur(8px);
  border-color: var(--ai-green) !important;
  box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.2) !important;
}

/* Enhanced Button Styling with Transparency */
.got-button, .fetch-btn, .add-ignore-btn {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.got-button:hover, .fetch-btn:hover:not(:disabled), .add-ignore-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 255, 65, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Component Image with Glass Effect */
.component-image {
  width: 80px;
  height: 80px;
  background: rgba(26, 26, 26, 0.5);
  border: 2px solid rgba(0, 255, 65, 0.3);
  border-radius: var(--small-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Performance Bars with Transparency */
.performance-bar, .progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.performance-fill, .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ai-red) 0%, var(--ai-yellow) 50%, var(--ai-green) 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Upgrade Impact Sections */
.upgrade-impact {
  /* More transparent info panel */
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: var(--small-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Enhanced scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--ai-green) 0%, var(--ai-neon-blue) 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--ai-light-green) 0%, var(--ai-green) 100%);
}

/* Selection styling */
::selection {
  background: rgba(0, 255, 65, 0.3);
  color: white;
}

/* Focus styling for accessibility */
button:focus, a:focus {
  outline: 2px solid var(--ai-green);
  outline-offset: 2px;
}

/* Performance Indicators */
.performance-score {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg,
    var(--ai-neon-blue) 0%,
    #4dc8ff 25%,
    var(--ai-purple) 50%,
    #b94dff 75%,
    var(--ai-neon-blue) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
  animation: scoreShimmer 2s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
}

@keyframes scoreShimmer {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
  }
  100% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 40px rgba(139, 0, 255, 0.8));
  }
}

.performance-label {
  font-size: 1.1rem;
  color: var(--ai-neon-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    0 0 10px var(--ai-neon-blue),
    0 0 20px var(--ai-neon-blue),
    0 0 30px rgba(0, 255, 255, 0.5);
  position: relative;
  z-index: 2;
  animation: labelGlow 2.5s ease-in-out infinite alternate;
}

@keyframes labelGlow {
  0% {
    text-shadow:
      0 0 10px var(--ai-neon-blue),
      0 0 20px var(--ai-neon-blue),
      0 0 30px rgba(0, 255, 255, 0.5);
  }
  100% {
    text-shadow:
      0 0 15px var(--ai-neon-blue),
      0 0 30px var(--ai-neon-blue),
      0 0 45px rgba(0, 255, 255, 0.8),
      0 0 60px rgba(139, 0, 255, 0.4);
  }
}

/* Spec Categories */
.spec-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ai-green);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ai-text);
  margin-bottom: 0.5rem;
}

.spec-performance {
  font-size: 0.9rem;
  color: var(--ai-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Upgrade Priority Badge */
.upgrade-priority {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ai-green);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.4);
}

.upgrade-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ai-green);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--ai-green);
}

.upgrade-reason {
  color: var(--ai-light-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Component Info */
.component-info {
  flex: 1;
  min-width: 0;
}

.component-name {
  font-weight: 600;
  color: var(--ai-text);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.component-specs {
  color: var(--ai-gray);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.component-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ai-green);
  text-shadow: 0 0 5px var(--ai-green);
}

/* Component Actions */
.component-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.got-button {
  background: linear-gradient(135deg, var(--ai-green) 0%, var(--ai-dark-green) 100%);
  color: black;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.got-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 65, 0.5);
  background: linear-gradient(135deg, var(--ai-light-green) 0%, var(--ai-green) 100%);
}

.got-button.purchased {
  background: linear-gradient(135deg, var(--ai-gray) 0%, #666666 100%);
  color: white;
  cursor: not-allowed;
}

.got-button.purchased:hover {
  transform: none;
  box-shadow: none;
}

.awd-link {
  color: var(--ai-neon-blue);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--ai-neon-blue);
  border-radius: var(--small-radius);
  transition: all 0.2s ease;
}

.awd-link:hover {
  background: var(--ai-neon-blue);
  color: black;
  text-shadow: none;
}

/* Impact Lists */
.impact-title {
  font-weight: 600;
  color: var(--ai-green);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.impact-list {
  list-style: none;
  padding: 0;
}

.impact-list li {
  color: var(--ai-light-gray);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.impact-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: var(--ai-yellow);
}

/* Status Labels and Values */
.status-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ai-green);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--ai-green);
}

.status-label {
  font-size: 0.9rem;
  color: var(--ai-gray);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ai-green);
}

/* Progress Indicators */
.upgrade-progress {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 0.5rem;
  backdrop-filter: blur(5px);
}

.progress-text {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ai-light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-container {
    padding: 0.5rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .upgrade-grid {
    grid-template-columns: 1fr;
  }

  .current-specs {
    grid-template-columns: 1fr;
  }

  .suggestion-item {
    flex-direction: column;
    text-align: center;
  }

  .component-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  animation: spin 1s linear infinite;
}

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

/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--ai-green) 0%, var(--ai-dark-green) 100%);
  color: black;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 255, 65, 0.4);
  z-index: 1000;
  animation: slideIn 0.3s ease;
  backdrop-filter: blur(10px);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Loading Shimmer Effect */
.loading-shimmer {
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --ai-green: #00ff00;
    --ai-neon-blue: #00ffff;
    --ai-text: #ffffff;
    --ai-background: #000000;
  }

  .upgrade-panel {
    border-width: 3px !important;
  }

  .got-button {
    border: 2px solid var(--ai-green) !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shimmerGlass {
    display: none !important;
  }
}

/* Print styles */
@media print {
  body {
    background: white !important;
    color: black !important;
  }

  .upgrade-panel {
    border: 2px solid #000 !important;
    background: white !important;
    page-break-inside: avoid;
  }

  .got-button,
  .awd-link {
    display: none !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Additional utility classes */
.text-ai-green { color: var(--ai-green); }
.text-ai-blue { color: var(--ai-neon-blue); }
.bg-ai-dark { background: var(--ai-background); }
