/* ============================================================
   SKILLS.CSS
   ============================================================ */

#skills {
  background: #050505;
  padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
}

/* Background glow */
#skills::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(57,255,20,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.skills-header {
  margin-bottom: 4rem;
  position: relative;
}

.skills-header .s-title {
  font-size: clamp(3.5rem, 9vw, 9rem);
  margin-top: 0.5rem;
}

.skills-header .s-title .accent {
  color: #39FF14;
  text-shadow: 0 0 40px rgba(57,255,20,0.3);
}

/* ─── GRID ───────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1px;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  margin-top: 3rem;
}

.skill-group:nth-child(7) { grid-column: 1 / -1; }

.skill-group {
  background: #050505;
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-group::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(57,255,20,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-group:hover { background: #0a0a0a; }
.skill-group:hover::before { opacity: 1; }

.skill-group-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: #39FF14;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #1a1a1a;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: #555;
  border: 1px solid #1f1f1f;
  padding: 0.4rem 0.8rem;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  cursor: default;
  position: relative;
}

.skill-tag:hover {
  border-color: #39FF14;
  color: #f5f5f0;
  background: rgba(57,255,20,0.05);
  box-shadow: 0 0 12px rgba(57,255,20,0.15);
}

/* ─── MOBILE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
}

.skill-group {
  opacity: 1 !important;
  transform: none !important;
}