/* Instructions Screen Styles */
.instructions-screen {
  background-image: url("../images/instruccion.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 2rem;
}

.instructions-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInDown 0.6s ease-out both;
}

.instructions-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-yellow);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.instructions-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.instruction-card {
  border: 4px solid;
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  backdrop-filter: var(--backdrop-blur);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-lg);
  animation: slideInUp 0.6s ease-out both;
}

.easy-instructions {
  border-color: var(--primary-green);
  animation-delay: 0.2s;
}

.hard-instructions {
  border-color: #ef4444;
  animation-delay: 0.4s;
}

.instruction-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.instruction-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.easy-instructions .instruction-header h2 {
  color: var(--primary-green);
}

.hard-instructions .instruction-header h2 {
  color: #ef4444;
}

.instruction-content {
  text-align: center;
}

.control-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
}

.control-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.control-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-white);
}

.hold-btn {
  background: var(--primary-green);
}

.tap-btn {
  background: #ef4444;
}

.control-demo span {
  color: var(--text-gray);
  font-weight: 600;
}

.instruction-details {
  text-align: left;
}

.instruction-details p {
  color: var(--text-gray);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.general-rules {
  max-width: 1000px;
  margin: 0 auto;
  border: 4px solid var(--primary-cyan);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  backdrop-filter: var(--backdrop-blur);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.6s ease-out 0.6s both;
}

.general-rules h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.rule-item {
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  backdrop-filter: var(--backdrop-blur);
  text-align: center;
}

.rule-item p {
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.rule-item strong {
  color: var(--primary-yellow);
}
