/*
 * Página de Instrucciones de Uso
 */

.instructions-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.instructions-header {
  text-align: center;
  margin-bottom: 3rem;
}

.instructions-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.instructions-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contenedor de Pasos */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

/* Línea conectora (visible solo en desktop) */
@media (min-width: 768px) {
  .steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: calc(1.5rem + 25px); /* 1.5rem padding + mitad del ancho del círculo */
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-magenta));
    opacity: 0.3;
    z-index: 0;
  }
}

/* Paso Individual */
.step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateX(5px);
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 240, 255, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: var(--bg-primary);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step-description {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-icon {
  font-size: 2.5rem;
  color: var(--neon-cyan);
  opacity: 0.5;
  margin-left: auto;
  align-self: center;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.step:hover .step-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

/* Consejos / Tips Adicionales */
.instructions-tips {
  margin-top: 4rem;
  background-color: rgba(0, 240, 255, 0.05);
  border-left: 4px solid var(--neon-cyan);
  padding: 1.5rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.tips-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neon-cyan);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.tips-list {
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tips-list li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 767px) {
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .step-icon {
    margin: 1rem auto 0 auto;
  }
}
