/* CSS styling kommer her senere */

/* ========== CSS VARIABLES FOR THEMING ========== */
:root {
  /* Light mode colors */
  --bg-primary: #f0f0f0;
  --bg-secondary: white;
  --bg-tertiary: #f8f8f8;
  --text-primary: #333;
  --text-secondary: #666;
  --text-tertiary: #999;
  --border-color: #ddd;
  --border-light: #f0f0f0;
  --shadow: rgba(0,0,0,0.1);
  --shadow-hover: rgba(0,0,0,0.2);
  --accent-red: #cc0000;
  --accent-red-hover: #aa0000;
  --accent-blue: #3498db;
}

[data-theme="dark"] {
  /* Dark mode colors */
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-tertiary: #3a3a3a;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-tertiary: #808080;
  --border-color: #404040;
  --border-light: #353535;
  --shadow: rgba(0,0,0,0.4);
  --shadow-hover: rgba(0,0,0,0.6);
  --accent-red: #ff3333;
  --accent-red-hover: #ff5555;
  --accent-blue: #5dade2;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

header {
  background-color: var(--accent-red);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.header-pokemon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: bounce 2s infinite ease-in-out;
}

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

.header-content {
  flex: 1;
  max-width: 600px;
}

header h1 {
  margin: 0;
}

header p {
  margin: 5px 0 0 0;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .header-pokemon {
    width: 60px;
    height: 60px;
  }
}

/* Dark mode toggle button */
.theme-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.05);
}

.theme-toggle-text {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .theme-toggle {
    right: 10px;
    padding: 8px 12px;
    top: 20px;
    transform: none;
  }
  .theme-toggle-text {
    display: none;
  }
}

/* Language toggle button */
.lang-toggle {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-50%) scale(1.05);
}

.lang-text {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .lang-toggle {
    left: 10px;
    padding: 8px 12px;
    top: 20px;
    transform: none;
  }
  .lang-text {
    display: none;
  }
}

/* Navigation links */
.nav-links {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow);
}

.nav-link:hover {
  background: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--shadow-hover);
}

/* Weather selector */
.weather-container {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 15px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background-color 0.3s;
}

.weather-container h3 {
  margin: 0 0 15px 0;
  color: var(--text-primary);
  font-size: 18px;
  text-align: center;
}

.weather-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.weather-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 10px;
  background: var(--bg-tertiary);
  border: 3px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.weather-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--shadow-hover);
  border-color: var(--accent-blue);
}

.weather-btn.active {
  border-color: var(--accent-blue);
  background: linear-gradient(135deg, var(--accent-blue), #2980b9);
  color: white;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.weather-icon {
  font-size: 32px;
}

.weather-name {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.weather-boost-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
  border: 2px solid var(--accent-blue);
}

[data-theme="dark"] .weather-boost-info {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.weather-boost-info h4 {
  margin: 0 0 15px 0;
  color: var(--accent-blue);
  font-size: 18px;
  text-align: center;
}

.boosted-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.boosted-type-badge {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .weather-buttons {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }

  .weather-icon {
    font-size: 28px;
  }

  .weather-name {
    font-size: 11px;
  }
}

/* Søgefelt styling */
.search-container {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
  position: relative;
}

#search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  font-size: 16px;
  border: 2px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 25px;
  box-sizing: border-box;
  transition: all 0.3s;
  outline: none;
}

#search-input:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

#clear-search {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-red);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#clear-search:hover {
  background: var(--accent-red-hover);
}

/* Filter container styling */
.filter-container {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
}

.filter-container h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: var(--text-primary);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.filter-btn:hover {
  border-color: var(--accent-red);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent-red);
  color: white;
  border-color: var(--accent-red);
}

/* Responsivt design for filter knapper */
@media (max-width: 768px) {
  .filter-buttons {
    justify-content: center;
  }

  .filter-btn {
    font-size: 12px;
    padding: 8px 15px;
  }
}

/* Sort container styling */
.sort-container {
  max-width: 1200px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
}

.sort-container h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: var(--text-primary);
}

.sort-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.sort-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border-color);
  background: var(--bg-secondary);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.sort-btn:hover {
  border-color: var(--accent-blue);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.sort-btn.active {
  background: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

/* Responsivt design for sort knapper */
@media (max-width: 768px) {
  .sort-buttons {
    justify-content: center;
  }

  .sort-btn {
    font-size: 12px;
    padding: 8px 15px;
  }
}

.pokemon-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.generation-header {
  grid-column: 1 / -1;
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-red);
  padding: 20px 0 10px 0;
  border-bottom: 3px solid var(--accent-red);
  margin-top: 20px;
}

.pokemon-card {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
  text-align: center;
}

.pokemon-sprite {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.pokemon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.pokemon-card h3 {
  margin: 0 0 10px 0;
  color: var(--text-primary);
  font-size: 20px;
}

.pokemon-number {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: normal;
}

.pokemon-card .type {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Detalje side styling */
.details-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background-color 0.3s;
}

.back-button {
  background: var(--accent-red);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 20px;
  transition: background 0.2s;
}

.back-button:hover {
  background: var(--accent-red-hover);
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
}

.sprites-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sprite-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-sprite {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.sprite-label {
  margin: 5px 0 0 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-secondary);
}

.sprite-label.shiny-label {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF69B4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 16px;
  animation: shimmer 2s infinite;
}

.detail-header h2 {
  margin: 0;
  font-size: 32px;
  color: var(--text-primary);
}

.type-badge {
  background: var(--bg-tertiary);
  padding: 5px 15px;
  border-radius: 15px;
  display: inline-block;
  margin-top: 10px;
  color: var(--text-secondary);
}

.shiny-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF69B4);
  padding: 5px 15px;
  border-radius: 15px;
  display: inline-block;
  margin-top: 10px;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  animation: shimmer 2s infinite;
}

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

.stats-section, .moveset-section, .cp-section, .counters-section {
  margin-bottom: 30px;
}

.stats-section h3, .moveset-section h3, .cp-section h3, .counters-section h3 {
  color: var(--accent-red);
  margin-bottom: 15px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stat-box {
  background: var(--bg-tertiary);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s;
}

.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 5px;
}

.stat-value {
  display: block;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: bold;
}

.moveset-text {
  background: var(--bg-tertiary);
  padding: 15px;
  border-radius: 8px;
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
  transition: background-color 0.3s;
}

.move-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: bold;
  margin-left: 8px;
}

.move-badge.elite {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}

.move-badge.legacy {
  background: linear-gradient(135deg, #8B0000, #DC143C);
  color: white;
}

.cp-table {
  width: 100%;
  border-collapse: collapse;
}

.cp-table th, .cp-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.cp-table th {
  background: var(--bg-tertiary);
  font-weight: bold;
  color: var(--text-primary);
}

.counters-list {
  display: grid;
  gap: 15px;
}

.counter-type-header {
  margin: 20px 0 10px 0;
  padding: 8px 15px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: white;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.counter-card {
  background: var(--bg-tertiary);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background-color 0.3s;
}

.counter-card.clickable-counter {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.counter-card.clickable-counter:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px var(--shadow-hover);
  background: var(--bg-secondary);
}

.counter-sprite {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.counter-info {
  flex: 1;
}

.counter-card h4 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
}

.counter-card .moveset {
  margin: 5px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.counter-card .effectiveness {
  margin: 5px 0;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: bold;
}

/* Top counters med DPS */
.top-counters-header {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #333;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 16px;
}

.type-counters-header {
  background: var(--bg-tertiary);
  padding: 10px 15px;
  border-radius: 8px;
  margin: 25px 0 15px 0;
  font-size: 16px;
  border-left: 4px solid var(--accent-blue);
}

.counter-subtype-header {
  color: var(--text-secondary);
  margin: 15px 0 10px 0;
  font-size: 14px;
  padding-left: 10px;
  border-left: 3px solid var(--border-color);
}

.counter-card.top-counter {
  position: relative;
  border-left: 4px solid #ffd700;
}

.rank-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  background: #666;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #333;
  font-size: 14px;
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
  color: #333;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #b87333);
  color: white;
}

.dps-value {
  margin: 5px 0;
  color: #27ae60;
  font-size: 14px;
  font-weight: bold;
}

[data-theme="dark"] .top-counters-header {
  background: linear-gradient(135deg, #b8860b, #8b6914);
  color: #fff;
}

[data-theme="dark"] .dps-value {
  color: #2ecc71;
}

/* Resistances section */
.resistances-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border: 2px solid #dee2e6;
}

.resistances-section h3 {
  margin: 0 0 15px 0;
  color: #495057;
  font-size: 20px;
}

.resistance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resistance-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.resistance-badge:hover {
  transform: scale(1.05);
}

.resistance-badge.double-resist {
  background: linear-gradient(135deg, #28a745, #20c997);
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.4);
}

.resistance-badge.immune {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #333;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(255, 215, 0, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.8);
  }
}

/* Difficulty badges på kort */
.difficulty-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.difficulty-badge.solo {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.5);
  animation: glow 2s infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.8);
  }
}

.difficulty-badge.duo {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.difficulty-badge.trio {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #333;
  box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.difficulty-badge.hard {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* Raid Simulator Section */
.raid-simulator-section {
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.raid-simulator-section h3 {
  margin: 0 0 20px 0;
  font-size: 24px;
  text-align: center;
}

.raid-difficulty {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.raid-difficulty h4 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.raid-difficulty p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}

.raid-difficulty .tip {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 10px;
  font-style: italic;
}

.raid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.raid-stat-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.raid-stat-label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.raid-stat-value {
  display: block;
  font-size: 24px;
  font-weight: bold;
}

.raid-tips {
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.raid-tips h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
}

.raid-tips ul {
  margin: 0;
  padding-left: 20px;
  list-style: none;
}

.raid-tips li {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ========== TEST TEAM SECTION ========== */
.test-team-section {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  margin: 25px 0;
}

.test-team-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.test-team-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.5);
}

.simulation-result {
  margin-top: 20px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sim-header {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.sim-header.win {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.sim-header.lose {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

.sim-header h3 {
  margin: 0;
  font-size: 22px;
}

.sim-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.sim-stat {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-label {
  font-size: 14px;
  color: #666;
}

.sim-value {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.sim-recommendation {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
}

.sim-team-breakdown {
  margin-top: 20px;
}

.sim-team-breakdown h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 18px;
}

.sim-team-member {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 8px;
}

.sim-mon-name {
  font-weight: bold;
  color: #333;
}

.sim-mon-dps {
  color: #667eea;
  font-weight: bold;
}

.warning {
  color: #856404;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  border-radius: 6px;
  margin: 0;
}
