/* Skills Tabs - Premium Style */
.skills-tabs-container {
  max-width: 900px;
  margin: 48px auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: var(--bg-elevated);
  border-radius: 10px;
  margin-bottom: 32px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.skills-tabs::before {
  content: 'Select a category:';
  position: absolute;
  top: -28px;
  left: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.skills-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms ease;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  flex: 1;
  white-space: nowrap;
  opacity: 0.6;
}

.skills-tab i {
  font-size: 1rem;
  transition: all 200ms ease;
  opacity: 0.7;
}

.skills-tab:hover:not(.active) {
  color: var(--text-primary);
  opacity: 0.8;
  background: rgba(99, 102, 241, 0.05);
}

.skills-tab:hover:not(.active) i {
  transform: translateY(-1px);
  opacity: 1;
}

.skills-tab.active {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4), 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: default;
  opacity: 1;
}

.skills-tab.active i {
  opacity: 1;
  color: #ffffff;
}

[data-theme="dark"] .skills-tab.active {
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(129, 140, 248, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.skills-tab-content {
  display: none;
  animation: fadeIn 300ms ease;
  width: 100%;
}

.skills-tab-content.active {
  display: block;
}

.skills-list {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: 12px;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  word-spacing: 0.3em;
  text-align: center;
}

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

.skills-tab:active {
  transform: scale(0.97);
}

.skills-tab span {
  display: inline-block;
}

@media (max-width: 768px) {
  .skills-tabs {
    gap: 4px;
    padding: 5px;
    max-width: 100%;
  }
  
  .skills-tab {
    padding: 10px 12px;
    font-size: 0.75rem;
    gap: 5px;
    flex-direction: column;
  }
  
  .skills-tab i {
    font-size: 1rem;
  }
  
  .skills-tab span {
    line-height: 1.2;
    text-align: center;
  }
  
  .skills-list {
    font-size: 0.95rem;
    line-height: 2;
    padding: 24px 20px;
    text-align: left;
  }
}
