/* How to Mint Section — Terminal/Notepad Style */
.how-to-mint {
  padding: var(--section-padding);
  position: relative;
}

.how-to-mint__container {
  max-width: 900px;
  margin: 0 auto;
}

/* Terminal Window */
.terminal {
  background: #1a1a2e;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 240, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.05);
}

.terminal__header {
  background: #111;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal__dots {
  display: flex;
  gap: 6px;
}

.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #ffbd2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.terminal__body {
  padding: 2rem;
}

/* Steps */
.mint-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mint-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.mint-step__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.mint-step__content {
  flex: 1;
}

.mint-step__title {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.mint-step__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Code block inside terminal */
.code-block {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--neon-green);
  overflow-x: auto;
  position: relative;
}

.code-block::before {
  content: '$ ';
  color: var(--neon-cyan);
}

.code-block .code-comment {
  color: var(--text-muted);
}

.code-block .code-string {
  color: var(--neon-orange);
}

.code-block .code-key {
  color: var(--neon-purple);
}

/* Response block */
.response-block {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--neon-green);
  border-radius: 0 8px 8px 0;
  padding: 1rem;
  margin-top: 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.response-block .response-status {
  color: var(--neon-green);
  font-weight: bold;
}

/* Animated typing cursor */
.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--neon-cyan);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 4px;
}

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

@media (max-width: 768px) {
  .terminal__body {
    padding: 1.2rem;
  }

  .mint-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .code-block {
    font-size: 0.7rem;
  }
}
