.skills-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.skills-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-main h2 i {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.skill-points-badge {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid #00d4ff;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-points-badge .label {
  font-size: 9px;
  color: #4a5d75;
  text-transform: uppercase;
  font-weight: 900;
}

.skill-points-badge .value {
  font-size: 1.1rem;
  color: #fff;
  font-family: "Space Mono", monospace;
  font-weight: 900;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  overflow-y: auto;
  padding-right: 10px;
  flex: 1;
}

.custom-scroll::-webkit-scrollbar {
  width: 4px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: rgba(5, 8, 12, 0.5);
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #1a2638;
  border-radius: 2px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #00d4ff;
}

.empty-category {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: #4a5d75;
  text-align: center;
  border: 1px dashed #1a2638;
  background: rgba(0, 0, 0, 0.2);
}

.empty-category i {
  font-size: 2rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-category p {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .skills-container {
    padding: 10px;
  }

  .header-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .skill-points-badge {
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
  }

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