/* === SECCIÓN TECNOLOGÍAS === */
#skills {
  background-color: transparent;
  color: #e6edf3;
  padding: 80px 10%;
  font-family: monospace;
  text-align: center;
}

#skills h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.skills-description {
  color: #c9d1d9;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.skills-description span {
  color: #4da6ff;
  font-weight: 600;
}

/* Contenedor general */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-content: center;
}

/* Tarjetas */
.skill-card {
  background: transparent;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 0 15px rgba(56, 139, 253, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(56, 139, 253, 0.4);
}

.skill-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CONTENEDOR PRINCIPAL */
.skills-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* IZQUIERDA */
.skills-content {
  flex: 1;
}

/* DERECHA (PIANO) */
.piano-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Íconos dentro de cada card */
.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-item:hover {
  transform: scale(1.1);
}

.icon-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  filter: brightness(0.85);
  transition: filter 0.3s;
}

.icon-item img:hover {
  filter: brightness(1.1);
}

.icon-item p {
  font-size: 0.9rem;
  line-height: 1.2;
}

.icon-item span {
  font-size: 0.75rem;
  color: #8b949e;
}

.img-card{
  border-radius: 10px;
  width: 100%;
  height: 80%;
}


@media (max-width: 768px) {
  .skills-layout {
    flex-direction: column;
  }

  .piano-container {
    order: -1; /* piano arriba */
  }
}


/* TERMINAL CONTENEDOR */
.terminal {
  background: rgba(13, 17, 23, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(77, 166, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  max-width: 700px;
  font-family: monospace;

  box-shadow: 
    0 0 20px rgba(0,0,0,0.4),
    0 0 40px rgba(77, 166, 255, 0.05);

  position: relative;
  overflow: hidden;
}

.terminal::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 15px;
  width: 10px;
  height: 10px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow:
    18px 0 #ffbd2e,
    36px 0 #27c93f;
}

.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(77,166,255,0.03),
    transparent 40%
  );
  pointer-events: none;
}

/* LINEA COMANDO */
.line {
  color: #e6edf3;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* PROMPT */
.prompt {
  color: #4da6ff;
  margin-right: 8px;
}

/* OUTPUT */
.output {
  margin-bottom: 15px;
  padding-left: 15px;
}

.output p {
  color: #8b949e;
  font-size: 0.85rem;
  margin: 2px 0;
  opacity: 0.85;
}

.output p:hover {
  color: #c9d1d9;
}

/* EFECTO HOVER SUAVE */
.terminal:hover {
  border-color: #4da6ff;
  box-shadow: 
    0 0 25px rgba(77, 166, 255, 0.1),
    0 0 60px rgba(77, 166, 255, 0.05);
  transform: translateY(-3px);
}

/* CURSOR */
.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #4da6ff;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}