/* Pokemon of the Day - Complete Styles */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  /* Colors */
  --bg-gradient-start: #667eea;
  --bg-gradient-end: #764ba2;
  --card-bg: white;
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  /* Stat Colors */
  --stat-hp: #F08030;
  --stat-attack: #FF5959;
  --stat-defense: #F8D030;
  --stat-spatk: #6890F0;
  --stat-spdef: #78C850;
  --stat-speed: #F85888;
  
  /* Type Colors */
  --type-normal: #A8A878;
  --type-fire: #F08030;
  --type-water: #6890F0;
  --type-electric: #F8D030;
  --type-grass: #78C850;
  --type-ice: #98D8D8;
  --type-fighting: #C03028;
  --type-poison: #A040A0;
  --type-ground: #E0C068;
  --type-flying: #A890F0;
  --type-psychic: #F85888;
  --type-bug: #A8B820;
  --type-rock: #B8A038;
  --type-ghost: #705898;
  --type-dragon: #7038F8;
  --type-dark: #705848;
  --type-steel: #B8B8D0;
  --type-fairy: #EE99AC;
}

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

body {
  font-family: 'Press Start 2P', 'Courier New', monospace;
  background: #2d3748;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.5s ease;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.driven-highlight {
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bmc-button-container {
  display: flex;
  align-items: center;
}

/* Buy Me a Coffee button adjustments */
.bmc-button-container a {
  display: inline-flex !important;
  align-items: center !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: white;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

/* Navigation Tabs */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 15px 0;
}

.nav-tab {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.nav-tab.active {
  background: white;
  color: var(--bg-gradient-start);
  border: 2px solid white;
}

.nav-tab-games {
  background: #FFD700 !important;
  color: #2c3e50 !important;
  font-weight: 700;
  border: 2px solid #FFD700 !important;
}

.nav-tab-games:hover {
  background: #FFC700 !important;
  transform: translateY(-2px);
}

.title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: 'Press Start 2P', cursive;
  letter-spacing: 2px;
  line-height: 1.4;
}

.date {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Loading & Error States */
.loading, .error {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  border-radius: 20px;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: var(--shadow);
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--bg-gradient-start);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.loading-text, .error-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.hidden {
  display: none !important;
}

/* Content */
.content {
  margin-top: 30px;
}

/* Overview Hero Section */
.overview-hero {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 25px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dex-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

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

.badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-legendary {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: white;
}

.badge-mythical {
  background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
  color: white;
}

.badge-starter {
  background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  color: white;
}

.pokemon-display {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.pokemon-sprite {
  width: 200px;
  height: 200px;
  object-fit: contain;
  image-rendering: pixelated;
}

.pokemon-name {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: capitalize;
  text-align: center;
}

.type-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.type-badge {
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.type-normal { background: var(--type-normal); }
.type-fire { background: var(--type-fire); }
.type-water { background: var(--type-water); }
.type-electric { background: var(--type-electric); }
.type-grass { background: var(--type-grass); }
.type-ice { background: var(--type-ice); }
.type-fighting { background: var(--type-fighting); }
.type-poison { background: var(--type-poison); }
.type-ground { background: var(--type-ground); }
.type-flying { background: var(--type-flying); }
.type-psychic { background: var(--type-psychic); }
.type-bug { background: var(--type-bug); }
.type-rock { background: var(--type-rock); }
.type-ghost { background: var(--type-ghost); }
.type-dragon { background: var(--type-dragon); }
.type-dark { background: var(--type-dark); }
.type-steel { background: var(--type-steel); }
.type-fairy { background: var(--type-fairy); }

.abilities {
  width: 100%;
  text-align: center;
}

.abilities h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ability-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ability-badge {
  padding: 10px 16px;
  background: #f7fafc;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #e2e8f0;
}

.hidden-ability {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.quick-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px 0;
  padding: 15px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.quick-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.quick-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.quick-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* First Appearance Section */
.first-appearance {
  margin-bottom: 20px;
  padding: 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.first-appearance-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 12px;
}

.first-appearance-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.first-appearance-info div {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

/* Stats Section (Right Side) */
.hero-right {
  display: flex;
  flex-direction: column;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Press Start 2P', cursive;
  line-height: 1.4;
}

.stats-compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7fafc;
  padding: 20px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.stats-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Press Start 2P', cursive;
  line-height: 1.4;
}

.stat-row-compact {
  display: grid;
  grid-template-columns: 110px 50px 1fr;
  gap: 15px;
  align-items: center;
}

.stat-label-compact {
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.stat-value-compact {
  font-weight: 700;
  font-size: 0.96rem;
  text-align: right;
  color: var(--text-primary);
}

.stat-bar-compact {
  height: 24px;
  background: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.stat-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 1s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hp-fill { background: var(--stat-hp); }
.attack-fill { background: var(--stat-attack); }
.defense-fill { background: var(--stat-defense); }
.spatk-fill { background: var(--stat-spatk); }
.spdef-fill { background: var(--stat-spdef); }
.speed-fill { background: var(--stat-speed); }

.total-row-compact {
  grid-template-columns: 80px 50px;
  padding-top: 15px;
  border-top: 2px solid #e2e8f0;
  margin-top: 10px;
}

/* Battle Insights */
.battle-insights {
  margin-bottom: 20px;
  padding: 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.insights-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insights-container {
  display: flex;
  gap: 20px;
}

.insight-card {
  flex: 1;
  padding: 12px;
  background: #f7fafc;
  border-radius: 15px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s, border-color 0.3s;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.insight-card.offensive {
  border-left: 5px solid #F08030;
}

.insight-card.defensive {
  border-left: 5px solid #6890F0;
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.insight-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.insight-main-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Differential Bar */
.differential-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  background: white;
  border-radius: 10px;
}

.differential-bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.differential-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.differential-label-left,
.differential-label-right {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.differential-bar {
  height: 30px;
  background: #e2e8f0;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.differential-center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #64748b;
  z-index: 2;
}

.differential-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  transition: all 0.5s ease;
  border-radius: 15px;
}

.differential-fill.physical {
  right: 50%;
  background: #F08030;
}

.differential-fill.special {
  left: 50%;
  background: #6890F0;
}

.differential-fill.mixed {
  background: #94a3b8;
}

.differential-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.insight-indicators {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.indicator-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border-radius: 10px;
  border: 2px solid;
  transition: all 0.2s;
}

.indicator-item:hover {
  transform: scale(1.05);
}

.indicator-item.positive {
  border-color: #10b981;
}

.indicator-item.negative {
  border-color: #ef4444;
}

.indicator-item.neutral {
  border-color: #94a3b8;
}

.indicator-symbol {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.indicator-item.positive .indicator-symbol {
  color: #10b981;
}

.indicator-item.negative .indicator-symbol {
  color: #ef4444;
}

.indicator-item.neutral .indicator-symbol {
  color: #94a3b8;
}

.indicator-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Context Section */
.context-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.context-entries {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.context-entry {
  padding: 20px;
  background: #f7fafc;
  border-radius: 15px;
  border-left: 4px solid var(--bg-gradient-start);
}

.context-game {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.context-gen-badge {
  padding: 4px 10px;
  background: var(--bg-gradient-start);
  color: white;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.context-text {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

/* Similar Pokemon */
.similar-section-overview {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.similar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.similar-pokemon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  width: 150px;
}

.similar-pokemon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e0;
}

.similar-sprite {
  width: 110px;
  height: 110px;
  object-fit: contain;
  image-rendering: pixelated;
  background: white;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.similar-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  text-transform: capitalize;
}

/* Evolution Line Section */
.evolution-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.evolution-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.evolution-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #f7fafc;
  border-radius: 15px;
  flex-wrap: wrap;
}

.evolution-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  flex: 1 1 150px;
  min-width: 150px;
  max-width: 250px;
}

.evolution-stage:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e0;
}

.evolution-sprite {
  width: 110px;
  height: 110px;
  object-fit: contain;
  image-rendering: pixelated;
  background: white;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.evolution-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  text-transform: capitalize;
}

.evolution-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
}

.evolution-arrow {
  font-size: 2rem;
  color: var(--text-secondary);
  user-select: none;
}

.evolution-method {
  font-size: 0.7rem;
  color: #667eea;
  font-weight: 600;
  text-align: center;
  max-width: 120px;
  line-height: 1.3;
  font-style: italic;
}

/* Forms Section */
.forms-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.forms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
  width: 100%;
}

.form-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  flex: 1 1 150px;
  min-width: 150px;
  max-width: 250px;
}

.form-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e0;
}

.form-sprite {
  width: 110px;
  height: 110px;
  object-fit: contain;
  image-rendering: pixelated;
  background: white;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  text-transform: capitalize;
  word-wrap: break-word;
  width: 100%;
}

@media (max-width: 768px) {
  .form-item {
    width: 100px;
  }
  
  .form-sprite {
    width: 60px;
    height: 60px;
  }
}

/* Speed Distribution Chart */
.speed-distribution-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.speed-chart-container {
  position: relative;
  padding: 20px 0;
}

.speed-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 200px;
  padding: 20px 10px;
  background: #f7fafc;
  border-radius: 15px;
  position: relative;
}

.speed-bar {
  flex: 1;
  background: #cbd5e0;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 4px;
}

.speed-bar:hover {
  background: #a0aec0;
  transform: translateY(-3px);
}

.speed-bar.highlighted {
  background: var(--stat-speed);
  box-shadow: 0 0 15px rgba(248, 208, 48, 0.6);
  position: relative;
}

.speed-bar.highlighted:hover {
  background: #f0c030;
  transform: translateY(-3px);
}

.speed-bar-sprite {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  object-fit: contain;
  image-rendering: pixelated;
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--stat-speed);
  z-index: 10;
  pointer-events: none;
}

.speed-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding: 0 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.speed-label-min,
.speed-label-max {
  padding: 5px 10px;
  background: #e2e8f0;
  border-radius: 8px;
}

.speed-rank-comparison {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  padding: 30px;
  background: #f7fafc;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
}

.rank-comparison-item {
  text-align: center;
}

.rank-comparison-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.rank-comparison-values {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.rank-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.rank-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--stat-speed);
  line-height: 1;
}

.rank-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.chart-tooltip {
  position: absolute;
  background: rgba(45, 55, 72, 0.95);
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.chart-tooltip.visible {
  opacity: 1;
}

.tooltip-range {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--stat-speed);
}

.tooltip-count {
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* Game Appearances Section */
.game-appearances-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.game-appearances-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.generation-group {
  background: #f7fafc;
  border-radius: 15px;
  padding: 15px;
  border: 1px solid #e2e8f0;
}

.generation-header {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #cbd5e0;
  text-align: center;
}

.region-group {
  margin-bottom: 15px;
}

.region-group:last-child {
  margin-bottom: 0;
}

.region-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.games-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.game-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.game-badge.appears {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.game-badge.appears:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.game-badge.not-appears {
  background: #e2e8f0;
  color: #a0aec0;
  text-decoration: line-through;
}

/* All Stats Grid */
.all-stats-section {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.stats-grid-description {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

.stat-chart-card {
  background: #f7fafc;
  border-radius: 15px;
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-chart-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-chart-header {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-chart-header .stat-chart-info {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-style: italic;
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  margin-top: 5px;
}

.stat-chart-small {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 120px;
  padding: 10px;
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative;
}

.stat-bar-small {
  flex: 1;
  background: #cbd5e0;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 3px;
}

.stat-bar-small:hover {
  background: #a0aec0;
}

.stat-bar-small.highlighted {
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
}

.stat-chart-sprite {
  position: absolute;
  top: -50px;
  right: 10px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  image-rendering: pixelated;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: 3px solid #cbd5e0;
  z-index: 10;
  pointer-events: none;
}

.stat-chart-card[data-stat="hp"] .stat-bar-small.highlighted { background: var(--stat-hp); }
.stat-chart-card[data-stat="hp"] .stat-chart-sprite { border-color: var(--stat-hp); }

.stat-chart-card[data-stat="attack"] .stat-bar-small.highlighted { background: var(--stat-attack); }
.stat-chart-card[data-stat="attack"] .stat-chart-sprite { border-color: var(--stat-attack); }

.stat-chart-card[data-stat="defense"] .stat-bar-small.highlighted { background: var(--stat-defense); }
.stat-chart-card[data-stat="defense"] .stat-chart-sprite { border-color: var(--stat-defense); }

.stat-chart-card[data-stat="spatk"] .stat-bar-small.highlighted { background: var(--stat-spatk); }
.stat-chart-card[data-stat="spatk"] .stat-chart-sprite { border-color: var(--stat-spatk); }

.stat-chart-card[data-stat="spdef"] .stat-bar-small.highlighted { background: var(--stat-spdef); }
.stat-chart-card[data-stat="spdef"] .stat-chart-sprite { border-color: var(--stat-spdef); }

.stat-chart-card[data-stat="speed"] .stat-bar-small.highlighted { background: var(--stat-speed); }
.stat-chart-card[data-stat="speed"] .stat-chart-sprite { border-color: var(--stat-speed); }

.stat-chart-card[data-stat="total"] .stat-bar-small.highlighted { background: var(--bg-gradient-start); }
.stat-chart-card[data-stat="total"] .stat-chart-sprite { border-color: var(--bg-gradient-start); }

.stat-chart-card[data-stat="catchrate"] .stat-bar-small.highlighted { background: #10b981; }
.stat-chart-card[data-stat="catchrate"] .stat-chart-sprite { border-color: #10b981; }

.stat-chart-values {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 10px;
}

.stat-value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-chart-values-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.stat-value-item-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-chart-value-large {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.catch-rate-note {
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.stat-chart-value,
.stat-chart-rank,
.stat-chart-percentile {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-value-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px;
  color: white;
  font-size: 0.9rem;
  opacity: 0.8;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 15px;
  padding: 20px 25px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-link {
  margin-top: 10px;
  font-size: 0.85rem;
}

.privacy-link a {
  color: var(--text-secondary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-link a:hover {
  color: white;
}

/* Privacy Policy Page */
.privacy-content {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-primary);
  line-height: 1.8;
  font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.95rem;
}

.effective-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-align: center;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  color: var(--text-primary);
  font-size: 1.35rem;
  margin-bottom: 15px;
  margin-top: 30px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.privacy-section h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
  margin-top: 20px;
  font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.privacy-section p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.privacy-section ul {
  margin: 15px 0;
  padding-left: 25px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.privacy-section ul li {
  margin-bottom: 10px;
}

.privacy-section a {
  color: #6890F0;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-section a:hover {
  color: #4a6fd8;
}

.info-note {
  background: rgba(104, 144, 240, 0.1);
  border-left: 4px solid #6890F0;
  padding: 10px 15px;
  margin: 15px 0;
  border-radius: 5px;
  font-size: 0.85rem;
}

/* Dynamic type-based body backgrounds */
body.bg-type-single-normal { background: linear-gradient(to right, var(--type-normal) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-fire { background: linear-gradient(to right, var(--type-fire) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-water { background: linear-gradient(to right, var(--type-water) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-electric { background: linear-gradient(to right, var(--type-electric) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-grass { background: linear-gradient(to right, var(--type-grass) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-ice { background: linear-gradient(to right, var(--type-ice) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-fighting { background: linear-gradient(to right, var(--type-fighting) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-poison { background: linear-gradient(to right, var(--type-poison) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-ground { background: linear-gradient(to right, var(--type-ground) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-flying { background: linear-gradient(to right, var(--type-flying) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-psychic { background: linear-gradient(to right, var(--type-psychic) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-bug { background: linear-gradient(to right, var(--type-bug) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-rock { background: linear-gradient(to right, var(--type-rock) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-ghost { background: linear-gradient(to right, var(--type-ghost) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-dragon { background: linear-gradient(to right, var(--type-dragon) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-dark { background: linear-gradient(to right, var(--type-dark) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-steel { background: linear-gradient(to right, var(--type-steel) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }
body.bg-type-single-fairy { background: linear-gradient(to right, var(--type-fairy) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%); }

body.bg-type-dual-fire-flying { background: linear-gradient(to right, var(--type-fire) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%, #2d3748 75%, rgba(45, 55, 72, 0.5) 85%, var(--type-flying) 100%); }
body.bg-type-dual-water-ground { background: linear-gradient(to right, var(--type-water) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%, #2d3748 75%, rgba(45, 55, 72, 0.5) 85%, var(--type-ground) 100%); }
body.bg-type-dual-grass-poison { background: linear-gradient(to right, var(--type-grass) 0%, rgba(45, 55, 72, 0.5) 15%, #2d3748 25%, #2d3748 75%, rgba(45, 55, 72, 0.5) 85%, var(--type-poison) 100%); }

body.bg-type-dual-generic {
  background: linear-gradient(
    to right,
    var(--dynamic-type-1) 0%,
    rgba(45, 55, 72, 0.5) 15%,
    #2d3748 25%,
    #2d3748 75%,
    rgba(45, 55, 72, 0.5) 85%,
    var(--dynamic-type-2) 100%
  );
}

body.bg-type-single-generic {
  background: linear-gradient(
    to right,
    var(--dynamic-type-1) 0%,
    rgba(45, 55, 72, 0.5) 15%,
    #2d3748 25%
  );
}

/* Responsive Design */
@media (max-width: 1024px) {
  .overview-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-left, .hero-right {
    text-align: center;
  }

  .quick-info {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .title {
    font-size: 1.8rem;
  }

  .pokemon-display {
    width: 200px;
    height: 200px;
  }

  .pokemon-sprite {
    width: 150px;
    height: 150px;
  }

  .pokemon-name {
    font-size: 2rem;
  }

  .stat-row-compact {
    grid-template-columns: 70px 45px 1fr;
    gap: 10px;
  }

  .insights-container {
    flex-direction: column;
  }

  .game-appearances-container {
    grid-template-columns: 1fr;
  }

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


/* Responsive adjustments */
@media (max-width: 768px) {
  .effectiveness-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .effectiveness-category {
    padding: 15px;
  }
  
  .effectiveness-multiplier {
    font-size: 1.1rem;
  }
  
  .effectiveness-label {
    font-size: 0.6rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    min-width: auto;
  }
  
  .effectiveness-multiplier {
    font-size: 0.9rem;
  }
  
  .effectiveness-text {
    font-size: 0.6rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    width: auto;
  }
  
  .effectiveness-text {
    font-size: 0.65rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title-with-description {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    width: auto;
  }
  
  .effectiveness-text {
    font-size: 0.7rem;
  }
  
  .effectiveness-types-row .type-badge {
    font-size: 0.55rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title-with-description {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
  
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    width: auto;
  }
  
  .effectiveness-text {
    font-size: 0.7rem;
  }
  
  .effectiveness-types-row .type-badge {
    font-size: 0.55rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title-with-description {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
  
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    width: 100%;
    margin-left: 0;
  }
  
  .effectiveness-text {
    font-size: 0.7rem;
    text-align: left;
  }
  
  .effectiveness-types-row .type-badge {
    font-size: 0.55rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title-with-description {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
  
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    width: 100%;
    margin-left: 0;
  }
  
  .effectiveness-text {
    font-size: 0.7rem;
    text-align: left;
  }
  
  .effectiveness-types-row .type-badge {
    font-size: 0.55rem;
  }
}

/* Type Effectiveness Section - Row-based Layout */
.type-effectiveness-section {
  margin-bottom: 40px;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.section-title-with-description {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-subtitle-description {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.effectiveness-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.effectiveness-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 15px;
  background: #f7fafc;
  border-radius: 10px;
  border-left: 4px solid #667eea;
  min-height: 50px;
}

.effectiveness-label-row {
  width: 240px;
  flex-shrink: 0;
  background: #718096;
  padding: 10px 15px;
  border-radius: 8px;
  margin-left: -5px;
  text-align: right;
}

.effectiveness-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  font-family: 'Press Start 2P', cursive;
  white-space: nowrap;
  display: block;
  text-align: right;
}

.effectiveness-types-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
}

.effectiveness-types-row .type-badge {
  font-size: 0.6rem;
  padding: 4px 10px;
}

.effectiveness-types-row:empty::after {
  content: 'None';
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title-with-description {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
  
  .effectiveness-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .effectiveness-label-row {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  
  .effectiveness-text {
    font-size: 0.7rem;
    text-align: left;
  }
  
  .effectiveness-types-row .type-badge {
    font-size: 0.55rem;
  }
}

/* Learnable Moves Section */
.learnable-moves-section {
  margin-bottom: 40px;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.moves-table-container {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 500px;
  border-radius: 10px;
}

.moves-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
}

.moves-table thead {
  background: #718096;
  color: white;
}

.moves-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-size: 0.65rem;
}

.moves-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.moves-table tbody tr:hover {
  background-color: #f7fafc;
}

.moves-table tbody tr:last-child {
  border-bottom: none;
}

.moves-table td {
  padding: 10px;
  color: var(--text-primary);
  vertical-align: middle;
}

.moves-table td:first-child {
  font-weight: 700;
  text-transform: capitalize;
}

.moves-table .no-data {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  padding: 40px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .moves-table-container {
    overflow-x: scroll;
  }
  
  .moves-table {
    min-width: 700px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(20px);
    opacity: 0;
  }
}

.cookie-banner-content {
  position: relative;
}

.cookie-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #4a5568;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cookie-close:hover {
  background: #cbd5e0;
  transform: rotate(90deg);
}

.cookie-banner-text {
  margin-bottom: 15px;
  color: #2d3748;
}

.cookie-banner-text p {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-banner-text strong {
  font-size: 1rem;
  color: #1a202c;
}

.cookie-description {
  font-size: 0.8rem !important;
  color: #718096 !important;
  font-weight: 400 !important;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.cookie-btn-reject {
  background: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.cookie-btn-reject:hover {
  background: #edf2f7;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
  }
}


/* AdSense Side Ads */
.ad-container {
  position: fixed;
  top: 120px;
  width: 160px;
  z-index: 100;
}

.ad-container-left {
  left: 20px;
}

.ad-container-right {
  right: 20px;
}

.ad-placeholder {
  background: #f7fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #cbd5e0;
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
}

/* Hide ads on smaller screens */
@media (max-width: 1400px) {
  .ad-container {
    display: none;
  }
}
