.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  min-height: 48px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-danger) 0%, var(--color-danger-dark) 100%);
  color: var(--color-text-bright);
  box-shadow: var(--shadow-sm), 0 0 12px var(--color-danger-glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md), 0 0 20px var(--color-danger-glow);
}

.btn-secondary {
  background: var(--color-bg-panel);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-panel-hover);
  border-color: var(--color-border-light);
}

.btn-success {
  background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
  color: var(--color-text-bright);
  box-shadow: var(--shadow-sm), 0 0 12px var(--color-success-glow);
}

.btn-warning {
  background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-sm);
}

.btn-large {
  min-height: 64px;
  font-size: 1.3rem;
  padding: var(--space-md) var(--space-xl);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  min-width: 48px;
  min-height: 48px;
  padding: var(--space-sm);
  border-radius: var(--radius-round);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.card {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.card-interactive {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.card-interactive:hover {
  background: var(--color-bg-panel-hover);
  border-color: var(--color-border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-interactive.selected {
  border-color: var(--color-border-active);
  box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-novice {
  background: var(--color-success);
  color: var(--color-text-bright);
}

.badge-intermediate {
  background: var(--color-warning);
  color: var(--color-bg-primary);
}

.badge-expert {
  background: var(--color-danger);
  color: var(--color-text-bright);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.modal-content {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.input-field {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  min-height: 48px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-border-active);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.2);
}

.input-field::placeholder {
  color: var(--color-text-muted);
}

.label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-lg) 0;
}

.text-center { text-align: center; }
.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-muted { color: var(--color-text-secondary); }
.text-accent { color: var(--color-text-accent); }

.flex-row { display: flex; gap: var(--space-md); }
.flex-col { display: flex; flex-direction: column; gap: var(--space-md); }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-sm { gap: var(--space-sm); }
.gap-xs { gap: var(--space-xs); }

.notification {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-notification);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  animation: slideDown 0.3s ease;
  max-width: 90%;
}

.notification-success {
  background: var(--color-success);
  color: var(--color-text-bright);
}

.notification-error {
  background: var(--color-danger);
  color: var(--color-text-bright);
}

.notification-info {
  background: var(--color-wire-blue);
  color: var(--color-text-bright);
}
