/* Routes Page Styles */
.route-container {
  max-width: 700px; margin: 0 auto;
  padding: 60px 16px 40px;
  min-height: 100vh;
}

.header {
  text-align: center; margin-bottom: 20px;
}

.header h1 {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  background: linear-gradient(180deg, var(--poke-yellow), var(--poke-red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

/* Status Bar */
.status-bar {
  display: flex; justify-content: space-between;
  align-items: center; gap: 15px;
  padding: 15px 20px; margin-bottom: 25px;
  flex-wrap: wrap;
}

.status-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  flex: 1; min-width: 80px;
}

.status-item .label {
  font-size: 0.75rem; color: #aaa;
  font-family: 'Press Start 2P', monospace;
}

.status-item .value {
  font-size: 1.5rem; font-weight: 900;
  color: var(--poke-yellow);
}

.xp-bar-container {
  width: 100%; height: 12px;
  background: #333; border-radius: 10px;
  border: 2px solid #555; overflow: hidden;
  position: relative;
}

.xp-bar {
  height: 100%; background: linear-gradient(90deg, #FFCB05, #FF9800);
  border-radius: 8px; transition: width 0.5s ease;
}

.xp-text {
  font-size: 0.7rem; color: #ccc;
  font-family: 'Press Start 2P', monospace;
}

/* Routes Map */
.routes-map {
  display: flex; flex-direction: column;
  gap: 20px;
}

.route-card {
  position: relative;
  transition: all 0.3s;
  opacity: 0.6;
  filter: grayscale(50%);
}

.route-card.unlocked {
  opacity: 1;
  filter: grayscale(0%);
  cursor: pointer;
}

.route-card.unlocked:hover {
  transform: translateY(-3px);
  border-color: #fff;
}

/* Route-specific visual themes */
.route-card[data-route="1"] {
  border-color: rgba(76, 175, 80, 0.5);
}

.route-card[data-route="1"].unlocked {
  background: linear-gradient(145deg, #2a3a2a, #1e2e1e);
  border-color: #4CAF50;
}

.route-card[data-route="2"] {
  border-color: rgba(96, 125, 139, 0.5);
}

.route-card[data-route="2"].unlocked {
  background: linear-gradient(145deg, #2a2e3a, #1e222e);
  border-color: #607D8B;
}

.route-card[data-route="3"] {
  border-color: rgba(156, 39, 176, 0.5);
}

.route-card[data-route="3"].unlocked {
  background: linear-gradient(145deg, #3a2a4a, #2e1e3a);
  border-color: #9C27B0;
}

.route-card[data-route="4"] {
  border-color: rgba(244, 67, 54, 0.5);
}

.route-card[data-route="4"].unlocked {
  background: linear-gradient(145deg, #4a2a2a, #3a1e1e);
  border-color: #F44336;
  box-shadow: 0 0 20px rgba(244, 67, 54, 0.3);
}

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

.route-emoji {
  font-size: 2.5rem;
}

.route-info h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem; color: var(--poke-yellow);
  margin-bottom: 4px;
}

.route-level {
  font-size: 0.75rem; color: #aaa;
}

.lock-icon {
  margin-left: auto; font-size: 1.5rem;
  opacity: 0.5;
}

.route-desc {
  color: #ccc; font-size: 0.95rem;
  margin-bottom: 8px; line-height: 1.4;
}

.route-topic {
  background: rgba(255,203,5,0.15);
  border: 2px solid rgba(255,203,5,0.3);
  border-radius: 10px; padding: 8px 12px;
  font-size: 0.85rem; color: var(--poke-yellow);
  font-weight: 700; margin-bottom: 12px;
  display: inline-block;
}

.pokemon-preview {
  display: flex; gap: 8px;
  margin: 15px 0;
}

.preview-mon {
  font-size: 2.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
  transition: all 0.3s;
}

@media (min-width: 600px) {
  .preview-mon {
    font-size: 3rem;
  }
}

.preview-mon.rare {
  animation: bounce 2s infinite;
}

.preview-mon.legendary {
  animation: glow 1.5s infinite, bounce 2s infinite;
}

.preview-mon.silhouette {
  filter: brightness(0.3) grayscale(1);
  opacity: 0.4;
}

.route-card.unlocked .preview-mon:hover {
  transform: scale(1.2);
}

.route-btn {
  width: 100%;
  margin-top: 10px;
}

.route-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #555;
  border-color: #666;
}

.tips {
  background: rgba(255,203,5,0.05);
  border-color: rgba(255,203,5,0.3);
}

.tips p {
  margin: 6px 0;
  color: #ccc;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .route-header {
    flex-wrap: wrap;
  }
  
  .route-emoji {
    font-size: 2rem;
  }
  
  .pokemon-preview {
    justify-content: center;
  }
  
  .preview-mon {
    font-size: 1.5rem;
  }
}
