/* Genre Mastery Panel Styles */

.genre-mastery-content {
  padding: 0;
  min-height: 400px;
}

.mastered-section,
.available-section {
  margin-bottom: 25px;
  padding: 0 5px;
}

.mastered-section h3,
.available-section h3 {
  color: #f39c12;
  /* Orange for headers */
  border-bottom: 2px solid #f39c12;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.genre-card {
  background: linear-gradient(135deg, #16213e 0%, #1a2640 100%);
  /* Dark blue cards */
  border: 2px solid #34495e;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.genre-card:hover {
  border-color: #f39c12;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
  transform: translateY(-2px);
}

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

.genre-icon {
  font-size: 2em;
}

.genre-info {
  flex: 1;
}

.genre-info h4 {
  margin: 0;
  color: #ecf0f1;
  /* Light text */
  font-size: 1.1em;
}

.genre-category {
  margin: 2px 0 0 0;
  color: #95a5a6;
  /* Lighter grey */
  font-size: 0.85em;
  text-transform: capitalize;
}

.genre-level {
  background: #f39c12;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9em;
}

.genre-description {
  color: #bdc3c7;
  /* Lighter for readability */
  font-size: 0.9em;
  margin: 10px 0;
  line-height: 1.4;
}

.genre-stats {
  display: flex;
  gap: 15px;
  margin: 10px 0;
}

.stat-item {
  font-size: 0.9em;
  color: #95a5a6;
  /* Light grey */
}

.stat-item strong {
  color: #f39c12;
  /* Orange accent */
}

.skill-tree {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.skill-tree h5 {
  margin: 0 0 10px 0;
  color: #f39c12;
  /* Orange for subheaders */
  font-size: 0.95em;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  transition: all 0.2s ease;
}

.skill-item.locked {
  background: rgba(0, 0, 0, 0.3);
  /* Dark locked */
  color: #7f8c8d;
}

.skill-item.available {
  background: rgba(39, 174, 96, 0.2);
  /* Green tint */
  color: #2ecc71;
  border: 1px solid #27ae60;
}

.skill-item.unlocked {
  background: rgba(39, 174, 96, 0.3);
  /* Brighter green */
  color: #2ecc71;
  font-weight: bold;
}

.skill-name {
  flex: 1;
}

.skill-level {
  font-size: 0.8em;
  color: #7f8c8d;
  margin-right: 10px;
}

.unlock-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85em;
  transition: all 0.2s ease;
}

.unlock-btn:hover {
  background: #229954;
  transform: scale(1.05);
}

.start-learning-btn {
  width: 100%;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.start-learning-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #95a5a6;
  background: linear-gradient(135deg, #16213e 0%, #1a2640 100%);
  /* Dark blue */
  border-radius: 12px;
  margin: 20px;
  border: 1px solid #34495e;
}

.empty-state p:first-child {
  font-size: 1.2em;
  margin-bottom: 10px;
}