/* ============================================
   SKILLS — Skills Section & Marquee Columns
   ============================================ */
.skills-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5vw 10vw;
  box-sizing: border-box;
  z-index: 20;
}

.skills-container {
  width: 42vw;
  height: 75vh;
  display: flex;
  flex-direction: column;
}

.skills-container h2 {
  font-size: 4vw;
  margin-bottom: 1vw;
  letter-spacing: 2px;
  text-align: center;
  flex-shrink: 0;
}

.skills-columns-wrapper {
  display: flex;
  gap: 1.5vw;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

.skills-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5vw;
}

.col-down { animation: marquee-down 15s linear infinite; }
.col-up   { animation: marquee-up   15s linear infinite; }

.skill-card {
  background: #fdfdfd;
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 1.2vw;
  box-shadow: 4px 4px 0px var(--black);
  text-align: left;
}

.skill-card h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.6vw;
  margin-bottom: 0.5vw;
  letter-spacing: 1px;
}

.skill-card p {
  font-family: sans-serif;
  font-size: 0.9vw;
  line-height: 1.4;
  color: #333;
  font-weight: 600;
}

@keyframes marquee-down {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0%); }
}

@keyframes marquee-up {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(-50%); }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .skills-section {
    padding: 5vw 5vw;
    justify-content: center;
  }
  .skills-container {
    width: 65vw;
    height: 70vh;
  }
  .skills-container h2 { font-size: 6vw; }
  .skill-card h3 { font-size: 2.4vw; }
  .skill-card p { font-size: 1.6vw; }
  .skill-card { padding: 2vw; border-radius: 10px; }
  .skills-columns-wrapper { gap: 2vw; }
  .skills-col { gap: 2vw; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .skills-section {
    padding: 10vw 5vw;
    min-height: auto;
    justify-content: center;
  }
  .skills-container {
    width: 90vw;
    height: 70vh;
  }
  .skills-container h2 { font-size: 10vw; margin-bottom: 3vw; }
  .skills-columns-wrapper { gap: 3vw; }
  .skills-col { gap: 3vw; }
  .skill-card {
    padding: 3.5vw;
    border: 2px solid var(--black);
    box-shadow: 3px 3px 0px var(--black);
  }
  .skill-card h3 { font-size: 4vw; margin-bottom: 1vw; }
  .skill-card p { font-size: 3vw; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .skills-container {
    width: 95vw;
    height: 65vh;
  }
  .skill-card h3 { font-size: 4.5vw; }
  .skill-card p { font-size: 3.5vw; }
}
