/* ================= Commands Page Specific Styles ================ */

/* Command Sections */
.vs .command-section {
  background: var(--tile);
  border: 1px solid var(--ring);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: border-color 0.15s ease;
}

.vs .command-section:hover {
  border-color: var(--brand);
}

.vs .command-section h3 {
  color: var(--brand);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Command Items */
.vs .command-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--card);
  border-radius: 10px;
  border: 1px solid var(--ring);
  transition: all 0.15s ease;
}

.vs .command-item:hover {
  border-color: var(--brand);
  background: var(--tile);
}

.vs .command-key {
  background: var(--brand);
  color: #081018;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: bold;
  font-size: 12px;
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs .command-desc {
  flex: 1;
}

.vs .command-desc strong {
  color: var(--fg);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.vs .command-desc .sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Game Mode Badges */
.vs .game-mode-badge {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: bold;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vs .game-mode-badge.creative {
  background: #ffc107;
  color: #000;
}

.vs .game-mode-badge.survival {
  background: #28a745;
  color: white;
}

/* Back Link */
.vs .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.vs .back-link:hover {
  color: #79c0ff;
  text-decoration: underline;
}

.vs .back-link::before {
  content: "←";
  font-size: 18px;
}

/* Keyboard Shortcuts */
.vs .kbd {
  background: var(--tile);
  border: 1px solid var(--ring);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 12px;
  color: var(--fg);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/* Code Blocks in Commands */
.vs .command-desc code {
  background: var(--tile);
  color: var(--brand);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .vs .command-item {
    flex-direction: column;
    gap: 8px;
  }
  
  .vs .command-key {
    min-width: auto;
    width: 100%;
    justify-content: flex-start;
  }
  
  .vs .command-section {
    padding: 16px;
  }
}