/**
 * What Games Can I Run - Premium Dashboard Styles
 * Matching the GameRun Lab / GameCheck design aesthetic
 */

/* ============================================
   HERO SECTION
   ============================================ */
.wgcir-hero {
  position: relative;
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 1) 0%, 
    rgba(30, 41, 59, 1) 50%,
    rgba(15, 23, 42, 1) 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  overflow: hidden;
}

.wgcir-hero .hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.wgcir-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.wgcir-hero .hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.wgcir-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, #60a5fa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wgcir-hero p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.wgcir-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem;
}

@media (max-width: 1100px) {
  .wgcir-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SIDEBAR - YOUR RIG
   ============================================ */
.rig-sidebar {
  position: relative;
  background: linear-gradient(180deg, 
    rgba(30, 41, 59, 0.9) 0%, 
    rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 1rem;
}

.sidebar-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.sidebar-header {
  margin-bottom: 1.25rem;
  position: relative;
}

.sidebar-header h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin: 0 0 0.25rem;
}

.sidebar-subtitle {
  font-size: 0.75rem;
  color: #64748b;
}

/* Rig Components */
.rig-components {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rig-component {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  transition: all 0.2s;
}

.rig-component.bottleneck-active {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.component-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.component-details {
  flex: 1;
  min-width: 0;
}

.component-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.125rem;
}

.component-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottleneck-badge {
  display: inline-block;
  font-size: 0.65rem;
  color: #f87171;
  margin-top: 0.25rem;
}

/* Bottleneck Card */
.bottleneck-card {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.bottleneck-card.bottleneck-severe {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.bottleneck-card.bottleneck-moderate {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.bottleneck-card.bottleneck-balanced {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.bottleneck-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bottleneck-icon {
  font-size: 1rem;
}

.bottleneck-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.bottleneck-severe .bottleneck-title { color: #f87171; }
.bottleneck-moderate .bottleneck-title { color: #fbbf24; }
.bottleneck-balanced .bottleneck-title { color: #34d399; }

.bottleneck-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.bottleneck-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f87171;
  text-decoration: none;
  transition: color 0.2s;
}

.bottleneck-link:hover {
  color: #fca5a5;
}

.bottleneck-balanced .bottleneck-link {
  color: #34d399;
}

/* Change Hardware Button */
.change-hardware-btn {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.change-hardware-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Rig Form */
.rig-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.label-icon {
  font-size: 0.85rem;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 0.75rem 2rem 0.75rem 0.875rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  transition: all 0.2s;
}

.select-wrapper select:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.select-wrapper select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.select-arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.65rem;
  pointer-events: none;
}

.analyze-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.analyze-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Sidebar Links */
.sidebar-links {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.link-icon {
  font-size: 1rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.games-main {
  min-width: 0;
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-title h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.25rem;
}

.results-title p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.results-title a {
  color: #60a5fa;
  text-decoration: none;
}

.results-title a:hover {
  text-decoration: underline;
}

.action-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.action-btn-sm:hover {
  background: rgba(59, 130, 246, 0.25);
}

/* Filters Bar */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
  padding: 0.625rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.search-icon {
  color: #64748b;
  font-size: 0.9rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.9rem;
  outline: none;
}

.search-input::placeholder {
  color: #64748b;
}

.filter-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tag:hover {
  background: rgba(255, 255, 255, 0.1);
}

.filter-tag.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent;
  color: #fff;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  cursor: pointer;
  white-space: nowrap;
}

.toggle-input {
  display: none;
}

.toggle-switch {
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  transition: background 0.2s;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #64748b;
  border-radius: 50%;
  transition: all 0.2s;
}

.toggle-input:checked + .toggle-switch {
  background: #3b82f6;
}

.toggle-input:checked + .toggle-switch::after {
  left: 18px;
  background: #fff;
}

/* Games Table Header */
.games-table-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr 40px;
  gap: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

@media (max-width: 900px) {
  .games-table-header {
    display: none;
  }
}

/* Games List */
.games-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.game-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1.5fr 40px;
  gap: 1rem;
  align-items: center;
  padding: 0.875rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.game-row:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .game-row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }
  
  .col-requirements {
    display: none;
  }
}

/* Game Column */
.col-game {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.game-thumb {
  width: 80px;
  height: 45px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0.5;
}

.game-thumb.no-image .game-thumb-fallback {
  opacity: 1;
}

.game-info {
  min-width: 0;
}

.game-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-meta {
  font-size: 0.75rem;
  color: #64748b;
}

/* Requirements Column */
.col-requirements {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.req-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.req-label {
  color: #64748b;
  min-width: 30px;
}

.req-value {
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compatibility Column */
.col-compatibility {
  display: flex;
  justify-content: center;
}

.compat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compat-badge.compat-perfect {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.compat-badge.compat-playable {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.compat-badge.compat-struggle {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.compat-icon {
  font-size: 0.8rem;
}

/* Performance Column */
.col-performance {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.perf-fps {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.fps-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.fps-value.fps-excellent { color: #34d399; }
.fps-value.fps-good { color: #60a5fa; }
.fps-value.fps-playable { color: #fbbf24; }
.fps-value.fps-low { color: #f87171; }

.fps-unit {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.perf-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.perf-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease-out;
}

.perf-bar.fps-excellent { background: linear-gradient(90deg, #10b981, #34d399); }
.perf-bar.fps-good { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.perf-bar.fps-playable { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.perf-bar.fps-low { background: linear-gradient(90deg, #ef4444, #f87171); }

.perf-settings {
  font-size: 0.7rem;
  color: #64748b;
}

/* Action Column */
.col-action {
  display: flex;
  justify-content: center;
}

.row-arrow {
  font-size: 1.5rem;
  color: #64748b;
  transition: transform 0.2s;
}

.game-row:hover .row-arrow {
  transform: translateX(4px);
  color: #60a5fa;
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.load-more-btn {
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.load-more-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
}

.empty-state > p {
  color: #64748b;
  font-size: 1rem;
  margin: 0 0 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.empty-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.feature-icon {
  font-size: 1.25rem;
}

/* ============================================
   MODAL
   ============================================ */
.hardware-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.hardware-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 450px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.hardware-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-submit {
  margin-top: 0.5rem;
  padding: 0.875rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}


/* ============================================
   LIGHT MODE SUPPORT
   ============================================ */
[data-theme="light"] .wgcir-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  border-bottom-color: rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .wgcir-hero .hero-bg-pattern {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .wgcir-hero h1 {
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .wgcir-hero p {
  color: #475569;
}

[data-theme="light"] .hero-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
  border-color: rgba(59, 130, 246, 0.4);
  color: #2563eb;
}

/* Sidebar - Light Mode */
[data-theme="light"] .rig-sidebar {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar-glow {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .sidebar-header h2 {
  color: #475569;
}

[data-theme="light"] .sidebar-subtitle {
  color: #64748b;
}

[data-theme="light"] .rig-component {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .rig-component.bottleneck-active {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}

[data-theme="light"] .component-icon {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .component-label {
  color: #64748b;
}

[data-theme="light"] .component-name {
  color: #1e293b;
}

[data-theme="light"] .bottleneck-badge {
  color: #dc2626;
}

[data-theme="light"] .bottleneck-card.bottleneck-severe {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
}

[data-theme="light"] .bottleneck-card.bottleneck-moderate {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

[data-theme="light"] .bottleneck-card.bottleneck-balanced {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .bottleneck-title {
  color: #1e293b;
}

[data-theme="light"] .bottleneck-severe .bottleneck-title { color: #dc2626; }
[data-theme="light"] .bottleneck-moderate .bottleneck-title { color: #d97706; }
[data-theme="light"] .bottleneck-balanced .bottleneck-title { color: #059669; }

[data-theme="light"] .bottleneck-desc {
  color: #475569;
}

[data-theme="light"] .bottleneck-link {
  color: #dc2626;
}

[data-theme="light"] .bottleneck-balanced .bottleneck-link {
  color: #059669;
}

/* Sidebar Links - Light Mode */
[data-theme="light"] .sidebar-links {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .sidebar-link {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .sidebar-link:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: #2563eb;
}

[data-theme="light"] .change-hardware-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .change-hardware-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

[data-theme="light"] .form-label {
  color: #64748b;
}

[data-theme="light"] .select-wrapper select {
  background: #ffffff;
  border-color: #d1d5db;
  color: #1e293b;
}

[data-theme="light"] .select-wrapper select:hover {
  border-color: #3b82f6;
}

[data-theme="light"] .select-arrow {
  color: #64748b;
}

[data-theme="light"] .performance-target {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .performance-target h3 {
  color: #64748b;
}

[data-theme="light"] .target-tab {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .target-tab:hover {
  background: #f1f5f9;
}

[data-theme="light"] .target-label {
  color: #64748b;
}

[data-theme="light"] .target-value {
  color: #059669;
}

/* Main Content - Light Mode */
[data-theme="light"] .results-title h2 {
  color: #1e293b;
}

[data-theme="light"] .results-title p {
  color: #64748b;
}

[data-theme="light"] .results-title a {
  color: #2563eb;
}

[data-theme="light"] .action-btn-sm {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
  color: #2563eb;
}

[data-theme="light"] .action-btn-sm:hover {
  background: rgba(59, 130, 246, 0.15);
}

[data-theme="light"] .filters-bar {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .search-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .search-icon {
  color: #64748b;
}

[data-theme="light"] .search-input {
  color: #1e293b;
}

[data-theme="light"] .search-input::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .filter-tag {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .filter-tag:hover {
  background: #f1f5f9;
}

[data-theme="light"] .toggle-label {
  color: #475569;
}

[data-theme="light"] .toggle-switch {
  background: #e2e8f0;
}

[data-theme="light"] .toggle-switch::after {
  background: #94a3b8;
}

[data-theme="light"] .games-table-header {
  color: #64748b;
}

[data-theme="light"] .game-row {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .game-row:hover {
  background: #f8fafc;
  border-color: rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .game-thumb {
  background: #f1f5f9;
}

[data-theme="light"] .game-name {
  color: #1e293b;
}

[data-theme="light"] .game-meta {
  color: #64748b;
}

[data-theme="light"] .req-label {
  color: #64748b;
}

[data-theme="light"] .req-value {
  color: #475569;
}

[data-theme="light"] .compat-badge.compat-perfect {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

[data-theme="light"] .compat-badge.compat-playable {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

[data-theme="light"] .compat-badge.compat-struggle {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

[data-theme="light"] .fps-value.fps-excellent { color: #059669; }
[data-theme="light"] .fps-value.fps-good { color: #2563eb; }
[data-theme="light"] .fps-value.fps-playable { color: #d97706; }
[data-theme="light"] .fps-value.fps-low { color: #dc2626; }

[data-theme="light"] .fps-unit {
  color: #64748b;
}

[data-theme="light"] .perf-bar-wrap {
  background: #e2e8f0;
}

[data-theme="light"] .perf-settings {
  color: #64748b;
}

[data-theme="light"] .row-arrow {
  color: #94a3b8;
}

[data-theme="light"] .game-row:hover .row-arrow {
  color: #2563eb;
}

[data-theme="light"] .load-more-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .load-more-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
}

[data-theme="light"] .empty-state h2 {
  color: #1e293b;
}

[data-theme="light"] .empty-state > p {
  color: #64748b;
}

[data-theme="light"] .feature {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

/* Modal - Light Mode */
[data-theme="light"] .modal-content {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-header h3 {
  color: #1e293b;
}

[data-theme="light"] .modal-close {
  background: #f1f5f9;
  color: #64748b;
}

[data-theme="light"] .modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}
