/* ===========================
   SKILLS
   =========================== */
#skills { background: var(--bg2); }

.sk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.sk-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.sk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.sk-emoji { 
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.2rem;
}

.sk-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.sk-lv {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sk-lv.av { color: #16a34a; }
.sk-lv.in { color: #B8950A; }
.sk-lv.ini { color: var(--muted); }

.sk-bar {
  height: 3px;
  background: var(--tl-border);
  border-radius: 10px;
  overflow: hidden;
}
.sk-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1.1s ease;
}

.sk-footer-msg {
  text-align: center;
  margin-top: 4rem; 
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted); 
  letter-spacing: 0.03em;
}

.animated-dots span {
  display: inline-block;
  margin-left: 2px;
  font-size: 1.5em; 
  animation: wave-dot 1.4s infinite ease-in-out both;
}

.animated-dots span:nth-child(1) { animation-delay: -0.32s; }
.animated-dots span:nth-child(2) { animation-delay: -0.16s; }
.animated-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes wave-dot {
  0%, 80%, 100% { 
    opacity: 0.4; 
    transform: translateY(0);
  }
  40% { 
    opacity: 1; 
    transform: translateY(-3px); 
    color: var(--accent2); 
  }
}